daniloprevides 27 de set. de 2007
Boa Tarde!
Ja tentou habilitar o javadebug… nas configurações do java.
Pode estar ocorrendo algum exception na hora da inicialização do programa…
brunoblas 28 de set. de 2007
Olá Danilo,
Ja tentou habilitar o javadebug… nas configurações do java.
Pode estar ocorrendo algum exception na hora da inicialização do programa…
Sim, tentei, mas não apresenta nenhuma exception. Tá foda!!!
Obrigado!!
brunoblas 28 de set. de 2007
Olá Galera,
Percebi que quando não coloco a seguinte declaração no arquivo jnlp, ele faz o download, inicia aquela splash screen do JWS, mas minha aplicação mesmo não aparece.
<security>
<all-permissions/>
</security>
Porém quando coloco , ele mostra a seguinte execption:
Error: JAR resources in JNLP file are not signed by same certificate
JNLPException[category: Launch File Error : Exception: null : LaunchDesc:
<jnlp spec= "1.0" codebase= "http://localhost/GCC/" href= "http://localhost/GCC/Gerencia_CallCenter_Planetarium.jnlp" >
<information>
<title> Gerencia_CallCenter_Planetarium</title>
<vendor> BLAS</vendor>
<homepage href= "http://localhost/GCC/index.html" />
<icon href= "http://localhost/GCC/default" kind= "default" />
<shortcut online= "true" />
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<update check= "timeout" policy= "always" />
<resources>
<java href= "http://java.sun.com/products/autodl/j2se" version= "1.5+" />
<jar href= "http://localhost/GCC/dist/Gerencia_CallCenter_Planetarium.jar" download= "eager" main= "true" />
<jar href= "http://localhost/GCC/dist/lib/AbsoluteLayout.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/commons-beanutils-1.7.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/commons-collections-2.1.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/commons-digester-1.7.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/commons-logging-1.0.2.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/commons-logging-api-1.0.2.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/customizer.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/gcchelp.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/itext-1.3.1.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/itext-2.0.2.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/jasperreports-1.3.4.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/javaws.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/jcommon-1.0.10.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/jfreechart-1.0.6.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/jfreechart-1.0.6-swt.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/jga-0.7.2-cddl.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/jh.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/jhall.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/jhbasic.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/jmf.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/jsearch.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/junit.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/mediaplayer.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/multiplayer.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/servlet.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/skeleton-pro-1.9.1.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/sound.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/swinglabs-0.8.0.jar" download= "eager" main= "false" />
<jar href= "http://localhost/GCC/dist/lib/swing-layout-1.0.jar" download= "eager" main= "false" />
</resources>
<application-desc main-class= "br.com.gerenciacallcenter.view.LoginForm" />
</jnlp> ]
at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Só que todos os .jars estão assinados pelo mesmo certificado!!!
fabio_lemos 19 de mai. de 2009
Estou tendo o mesmo problema. Voce conseguiu resolver ?
estou ficando louco…
grato Fabio…
Felagund 7 de jul. de 2009
O problema significa JavaHelp
A Sun disponibiliza os jars do JavaHelp já assinados, vc não pode ter jars assinados de forma diferente.
Mas vc pode criar compoenentes.
Arquivo jnlpcomponent1
& lt ; ? xml version = "1.0" encoding = "UTF-8" ? & gt ;
& lt ; jnlp spec = "1.0+" codebase = "" & gt ;
& lt ; information & gt ;
& lt ; title & gt ; jnlpcomponent1 & lt ; / title & gt ;
& lt ; vendor & gt ; SUN_MICR & lt ; / vendor & gt ;
& lt ; / information & gt ;
& lt ; security & gt ;
& lt ; all - permissions /& gt ;
& lt ; / security & gt ;
& lt ; resources & gt ;
& lt ; jar href = "lib/jh-2.0.jar" download = "eager" /& gt ;
& lt ; jar href = "lib/jhall-2.0.jar" download = "eager" /& gt ;
& lt ; jar href = "lib/jhbasic-2.0.jar" download = "eager" /& gt ;
& lt ; jar href = "lib/jsearch-2.0.jar" download = "eager" /& gt ;
& lt ; / resources & gt ;
& lt ; component - desc /& gt ;
& lt ; / jnlp & gt ;
Levando em consideração os jars do java help no diretorio lib. e esse arquivo coloque junto com o launch.jnlp
e no arquivo launch.jnlp, remova as libs do java help e adiciona o seguinte linha abaixo das bibliotecas
& lt ; extension name = "jnlpcomponent1" href = "jnlpcomponent1.jnlp" /& gt ;
evitem utilizar jars já assinados, utilizem a ferramenta jarsigner que vem junto com o JDK
jarsigner -- verify arquivo . jar
[]'s
Felagund 7 de jul. de 2009
a biblioteca mail também já e assinada, tem que ir em um arquivo separado, identico o arquivo jnlpcomponent1 acima.
mudando os jars somente.
[]'s
valzinha 1 de jun. de 2010
Rafael, no meu caso não tem nunhum arquivo do JavaHelp (pelo menos eu acho) e sempre aparece a mensagem de erro na certificação.
Segue em anexo meu arquivo jnlp
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jnlp codebase= "file:/C:/Documents%20and%20Settings/Usuario/Meus%20documentos/Valeria/SGPOffine-fontes/dist/" href= "launch.jnlp" spec= "1.0+" >
<information>
<title> SGP Offline</title>
<vendor> StarLine LTDA</vendor>
<homepage href= "http://www.sistemasmart.com.br" />
<description> Sistema de Gestão de Provas Offline</description>
<description kind= "short" > SGP Offline</description>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version= "1.5+" />
<jar eager= "true" href= "SGPOffline.jar" main= "true" />
<jar href= "lib/activation.jar" />
<jar href= "lib/appframework-1.0.3.jar" />
<jar href= "lib/asm-attrs.jar" />
<jar href= "lib/asm.jar" />
<jar href= "lib/aspectjweaver.jar" />
<jar href= "lib/axis-jaxrpc-1.4.jar" />
<jar href= "lib/axis-saaj-1.4.jar" />
<jar href= "lib/axis-wsdl4j-1.5.1.jar" />
<jar href= "lib/axis.jar" />
<jar href= "lib/beansbinding-1.2.1.jar" />
<jar href= "lib/cglib-2.1_3.jar" />
<jar href= "lib/cglib-nodep-2.1_3.jar" />
<jar href= "lib/commons-dbcp-1.2.2.jar" />
<jar href= "lib/commons-dbutils-1.1.jar" />
<jar href= "lib/commons-discovery-0.4.jar" />
<jar href= "lib/commons-logging-1.1.1.jar" />
<jar href= "lib/commons-logging-1.1.jar" />
<jar href= "lib/commons-pool-1.4.jar" />
<jar href= "lib/FastInfoset.jar" />
<jar href= "lib/hsqldb.jar" />
<jar href= "lib/http.jar" />
<jar href= "lib/jaxb-api.jar" />
<jar href= "lib/jaxb-impl.jar" />
<jar href= "lib/jaxb-xjc.jar" />
<jar href= "lib/jaxrpc.jar" />
<jar href= "lib/jaxws-api.jar" />
<jar href= "lib/jaxws-rt.jar" />
<jar href= "lib/jaxws-tools.jar" />
<jar href= "lib/jsr173_api.jar" />
<jar href= "lib/jsr181-api.jar" />
<jar href= "lib/jsr250-api.jar" />
<jar href= "lib/log4j-1.2.15.jar" />
<jar href= "lib/saaj-api.jar" />
<jar href= "lib/saaj-impl.jar" />
<jar href= "lib/SGPOfflineWS.jar" />
<jar href= "lib/sjsxp.jar" />
<jar href= "lib/spring-2.5.4.jar" />
<jar href= "lib/spring-2.5.jar" />
<jar href= "lib/spring-agent.jar" />
<jar href= "lib/spring-aspects.jar" />
<jar href= "lib/stax-ex.jar" />
<jar href= "lib/streambuffer.jar" />
<jar href= "lib/swing-layout-1.0.3.jar" />
<jar href= "lib/swing-worker-1.1.jar" />
</resources>
<application-desc main-class= "br.com.sgpoffline.presentation.util.Splasher" >
</application-desc>
</jnlp>
Já tentei de tudo e não consigo resolver o problema