Versão atual:

Applet BlockedException

Olá a todos,

Estou com a seguinte situação: Tenho uma applet para comunicação com a impressora daruma com seus respectivos .jar

Ex.:

- DarumaFrameworkJNA.jar

- jna.jar

- platform.jar

quanto tento executar essa applet estou obtendo do java o seguinte erro => com.sun.deploy.security.BlockedException

Alguem saberia o possivel motivo deste erro/aviso.

Segue abaixo o log do java

network: Entrada de cache encontrada [url: http://127.0.0.1:8087/webrun/apps/daruma/launch.jnlp, versão: null] prevalidated=false/0 cache: Adding MemoryCache entry: http://127.0.0.1:8087/webrun/apps/daruma/launch.jnlp temp: new XMLParser with source: temp: <?xml version="1.0" encoding="UTF-8" standalone="no"?>

Hp g42 ImpFiscal ImpFiscal

temp:

returning ROOT as follows:

Hp g42 ImpFiscal ImpFiscal network: Created version ID: 1.7+ network: Created version ID: 1.9 temp: returning LaunchDesc from XMLFormat.parse(): Hp g42 ImpFiscal ImpFiscal cache: Resource http://127.0.0.1:8087/webrun/apps/daruma/launch.jnlp has expired. network: Conectando http://127.0.0.1:8087/webrun/apps/daruma/launch.jnlp ao proxy=DIRECT network: Conectando http://127.0.0.1:8087/ ao proxy=DIRECT network: Conectando http://127.0.0.1:8087/webrun/apps/daruma/launch.jnlp ao cookie "JSESSIONID=A946502994ADD40B3D8FA86B3831F8DF; WebrunSelectedSystem=DRA; JSESSIONID=D75D25354D3F4C9F35FFF0D45CC4BEFC" network: ResponseCode de http://127.0.0.1:8087/webrun/apps/daruma/launch.jnlp : 304 network: Codificação de http://127.0.0.1:8087/webrun/apps/daruma/launch.jnlp : null network: Cancelar conexão a http://127.0.0.1:8087/webrun/apps/daruma/launch.jnlp temp: new XMLParser with source: temp: <?xml version="1.0" encoding="UTF-8" standalone="no"?> Hp g42 ImpFiscal ImpFiscal

temp:

returning ROOT as follows:

Hp g42 ImpFiscal ImpFiscal network: Created version ID: 1.7+ network: Created version ID: 1.9 temp: returning LaunchDesc from XMLFormat.parse():

Hp g42 ImpFiscal ImpFiscal cache: JNLPPreverifyClassLoader.initialize: FAILED: http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar basic: Plugin2ClassLoader.addURL2 called for http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar basic: Plugin2ClassLoader.addURL2 called for http://127.0.0.1:8087/webrun/apps/daruma/lib/DarumaFrameworkJNA.jar basic: Plugin2ClassLoader.addURL2 called for http://127.0.0.1:8087/webrun/apps/daruma/lib/jna.jar basic: Plugin2ClassLoader.addURL2 called for http://127.0.0.1:8087/webrun/apps/daruma/lib/platform.jar basic: Plugin2ClassLoader.drainPendingURLs addURL called for http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar basic: Plugin2ClassLoader.drainPendingURLs addURL called for http://127.0.0.1:8087/webrun/apps/daruma/lib/DarumaFrameworkJNA.jar basic: Plugin2ClassLoader.drainPendingURLs addURL called for http://127.0.0.1:8087/webrun/apps/daruma/lib/jna.jar basic: Plugin2ClassLoader.drainPendingURLs addURL called for http://127.0.0.1:8087/webrun/apps/daruma/lib/platform.jar network: LaunchDownload: concurrent downloads from LD: 4 network: Total size to download: -1 security: Security check for progress jars: allSigned=true security: blacklist: created: NEED_CREATE, lastModified: 0 security: blacklist: hasBeenModifiedSince 1385562178398 (we have 0) network: Entrada de cache encontrada [url: http://127.0.0.1:8087/webrun/apps/daruma/lib/DarumaFrameworkJNA.jar, versão: null] prevalidated=false/0 cache: Adding MemoryCache entry: http://127.0.0.1:8087/webrun/apps/daruma/lib/DarumaFrameworkJNA.jar cache: Resource http://127.0.0.1:8087/webrun/apps/daruma/lib/DarumaFrameworkJNA.jar has expired. network: Conectando http://127.0.0.1:8087/webrun/apps/daruma/lib/DarumaFrameworkJNA.jar ao proxy=DIRECT security: blacklist: hasBeenModifiedSince 1385562178399 (we have 0) network: Entrada de cache encontrada [url: http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar, versão: null] prevalidated=false/0 cache: Adding MemoryCache entry: http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar cache: Resource http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar has expired. network: Conectando http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar ao proxy=DIRECT network: Conectando http://127.0.0.1:8087/ ao proxy=DIRECT security: blacklist: hasBeenModifiedSince 1385562178572 (we have 0) security: blacklist: hasBeenModifiedSince 1385562178756 (we have 0) network: Entrada de cache encontrada [url: http://127.0.0.1:8087/webrun/apps/daruma/lib/platform.jar, versão: null] prevalidated=false/0 cache: Adding MemoryCache entry: http://127.0.0.1:8087/webrun/apps/daruma/lib/platform.jar cache: Resource http://127.0.0.1:8087/webrun/apps/daruma/lib/platform.jar has expired. network: Entrada de cache encontrada [url: http://127.0.0.1:8087/webrun/apps/daruma/lib/jna.jar, versão: null] prevalidated=false/0 network: Conectando http://127.0.0.1:8087/webrun/apps/daruma/lib/platform.jar ao proxy=DIRECT cache: Adding MemoryCache entry: http://127.0.0.1:8087/webrun/apps/daruma/lib/jna.jar cache: Resource http://127.0.0.1:8087/webrun/apps/daruma/lib/jna.jar has expired. network: Conectando http://127.0.0.1:8087/webrun/apps/daruma/lib/jna.jar ao proxy=DIRECT network: Conectando http://127.0.0.1:8087/ ao proxy=DIRECT network: Conectando http://127.0.0.1:8087/ ao proxy=DIRECT network: Conectando http://127.0.0.1:8087/webrun/apps/daruma/lib/DarumaFrameworkJNA.jar ao cookie "JSESSIONID=A946502994ADD40B3D8FA86B3831F8DF; WebrunSelectedSystem=DRA; JSESSIONID=D75D25354D3F4C9F35FFF0D45CC4BEFC" network: ResponseCode de http://127.0.0.1:8087/webrun/apps/daruma/lib/DarumaFrameworkJNA.jar : 304 network: Codificação de http://127.0.0.1:8087/webrun/apps/daruma/lib/DarumaFrameworkJNA.jar : null network: Cancelar conexão a http://127.0.0.1:8087/webrun/apps/daruma/lib/DarumaFrameworkJNA.jar network: Conectando http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar ao cookie "JSESSIONID=A946502994ADD40B3D8FA86B3831F8DF; WebrunSelectedSystem=DRA; JSESSIONID=D75D25354D3F4C9F35FFF0D45CC4BEFC" network: ResponseCode de http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar : 304 network: Codificação de http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar : null network: Cancelar conexão a http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar network: Download Progress: jarsDone: 1 network: Download Progress: jarsDone: 2 network: Conectando http://127.0.0.1:8087/webrun/apps/daruma/lib/platform.jar ao cookie "JSESSIONID=A946502994ADD40B3D8FA86B3831F8DF; WebrunSelectedSystem=DRA; JSESSIONID=D75D25354D3F4C9F35FFF0D45CC4BEFC" network: ResponseCode de http://127.0.0.1:8087/webrun/apps/daruma/lib/platform.jar : 304 network: Codificação de http://127.0.0.1:8087/webrun/apps/daruma/lib/platform.jar : null network: Cancelar conexão a http://127.0.0.1:8087/webrun/apps/daruma/lib/platform.jar network: Download Progress: jarsDone: 3 network: Conectando http://127.0.0.1:8087/webrun/apps/daruma/lib/jna.jar ao cookie "JSESSIONID=A946502994ADD40B3D8FA86B3831F8DF; WebrunSelectedSystem=DRA; JSESSIONID=D75D25354D3F4C9F35FFF0D45CC4BEFC" network: ResponseCode de http://127.0.0.1:8087/webrun/apps/daruma/lib/jna.jar : 304 network: Codificação de http://127.0.0.1:8087/webrun/apps/daruma/lib/jna.jar : null network: Cancelar conexão a http://127.0.0.1:8087/webrun/apps/daruma/lib/jna.jar network: Download Progress: jarsDone: 4 network: Created version ID: 1.7+ network: Created version ID: 1.7 network: Created version ID: 1.7.0.45 network: Created version ID: 1.7 network: Created version ID: 2.2.45 basic: LaunchDesc.selectJRE(false, false) returning selected jre: JREInfo for index 0: platform is: 1.7 product is: 1.7.0_45 location is: http://java.sun.com/products/autodl/j2se path is: C:\Program Files\Java\jre7\bin\javaw.exe args is: native platform is: Windows, x86 [ x86, 32bit ] JavaFX runtime is: JavaFX 2.2.45 found at C:\Program Files\Java\jre7\ enabled is: true registered is: true system is: true

basic: LaunchDesc location: http://127.0.0.1:8087/webrun/apps/daruma/launch.jnlp security: --- parseCommandLine converted : into: [] network: Created version ID: 1.0+ network: Created version ID: 7.0 security: A confiança em: http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar encerrou: Wed Dec 31 21:00:00 GMT-03:00 1969 security: A confiança em: http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar encerrou: Wed Dec 31 21:00:00 GMT-03:00 1969 cache: Read manifest for http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar: read=255 full=4198 cache: Loading full manifest for http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jarsecurity: Validating cached jar url=http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar ffile=C:\Users\lucas\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\4\733edec4-5884d20d com.sun.deploy.cache.CachedJarFile@436cec cache: Reading Signers from 878 http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar | C:\Users\lucas\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\4\733edec4-5884d20d.idx cache: Done readSigners(http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar) security: A confiança em: http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar encerrou: Wed Dec 31 21:00:00 GMT-03:00 1969 security: A confiança em: http://127.0.0.1:8087/webrun/apps/daruma/lib/DarumaFrameworkJNA.jar encerrou: Wed Dec 31 21:00:00 GMT-03:00 1969 cache: Read manifest for http://127.0.0.1:8087/webrun/apps/daruma/lib/DarumaFrameworkJNA.jar: read=560 full=560 security: Validating cached jar url=http://127.0.0.1:8087/webrun/apps/daruma/lib/DarumaFrameworkJNA.jar ffile=C:\Users\lucas\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\16\3dcb2690-12aeb6a2 com.sun.deploy.cache.CachedJarFile@402ecb cache: Reading Signers from 878 http://127.0.0.1:8087/webrun/apps/daruma/lib/DarumaFrameworkJNA.jar | C:\Users\lucas\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\16\3dcb2690-12aeb6a2.idx cache: Done readSigners(http://127.0.0.1:8087/webrun/apps/daruma/lib/DarumaFrameworkJNA.jar) security: A confiança em: http://127.0.0.1:8087/webrun/apps/daruma/lib/DarumaFrameworkJNA.jar encerrou: Wed Dec 31 21:00:00 GMT-03:00 1969 security: A confiança em: http://127.0.0.1:8087/webrun/apps/daruma/lib/jna.jar encerrou: Wed Dec 31 21:00:00 GMT-03:00 1969 cache: Read manifest for http://127.0.0.1:8087/webrun/apps/daruma/lib/jna.jar: read=294 full=5221 cache: Loading full manifest for http://127.0.0.1:8087/webrun/apps/daruma/lib/jna.jarsecurity: Validating cached jar url=http://127.0.0.1:8087/webrun/apps/daruma/lib/jna.jar ffile=C:\Users\lucas\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\23\67d08597-7a6f5f75 com.sun.deploy.cache.CachedJarFile@1df50a3 cache: Reading Signers from 878 http://127.0.0.1:8087/webrun/apps/daruma/lib/jna.jar | C:\Users\lucas\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\23\67d08597-7a6f5f75.idx cache: Done readSigners(http://127.0.0.1:8087/webrun/apps/daruma/lib/jna.jar) security: A confiança em: http://127.0.0.1:8087/webrun/apps/daruma/lib/jna.jar encerrou: Wed Dec 31 21:00:00 GMT-03:00 1969 security: A confiança em: http://127.0.0.1:8087/webrun/apps/daruma/lib/platform.jar encerrou: Wed Dec 31 21:00:00 GMT-03:00 1969 cache: Read manifest for http://127.0.0.1:8087/webrun/apps/daruma/lib/platform.jar: read=106 full=14683 cache: Loading full manifest for http://127.0.0.1:8087/webrun/apps/daruma/lib/platform.jarsecurity: Validating cached jar url=http://127.0.0.1:8087/webrun/apps/daruma/lib/platform.jar ffile=C:\Users\lucas\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\41\6ce3e0e9-3f4fd145 com.sun.deploy.cache.CachedJarFile@b0dffe cache: Reading Signers from 878 http://127.0.0.1:8087/webrun/apps/daruma/lib/platform.jar | C:\Users\lucas\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\41\6ce3e0e9-3f4fd145.idx cache: Done readSigners(http://127.0.0.1:8087/webrun/apps/daruma/lib/platform.jar) security: A confiança em: http://127.0.0.1:8087/webrun/apps/daruma/lib/platform.jar encerrou: Wed Dec 31 21:00:00 GMT-03:00 1969 java.lang.SecurityException: JAR manifest codebase mismatch for http://127.0.0.1:8087/webrun/apps/daruma/ImpFiscal.jar at com.sun.deploy.security.DeployManifestChecker.verify(Unknown Source) at com.sun.deploy.security.DeployManifestChecker.verify(Unknown Source) at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(Unknown Source) at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source) at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source) at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source) at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) basic: null basic: Dialog type is not candidate for embedding basic: exceção: As definições de segurança do Java impediram a execução desta aplicação. Você pode mudar esse comportamento no Painel de Controle Java.. ExitException[ 3]com.sun.deploy.security.BlockedException: As definições de segurança do Java impediram a execução desta aplicação. Você pode mudar esse comportamento no Painel de Controle Java. at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source) at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Ignored exception: ExitException[ 3]com.sun.deploy.security.BlockedException: As definições de segurança do Java impediram a execução desta aplicação. Você pode mudar esse comportamento no Painel de Controle Java. security: Redefinir armazenamento de certificados da sessão negada basic: Dialog type is not candidate for embedding

Versões(2):

Ver a versão formatada

Applet BlockedException

Comentário

new question