Problem in running signed applet i

Hello every one..
i m getting exception in my applet (signed) which i m trying
to embade with html.
when i was running my application in intranet, it works fine.
but it gives me below exception when i m trying to run the
same application in internet. my application is running on
tomcat and jrun. both the server is giving me the exception.
the html code i have given is:
<BODY>
<applet archive ="repgen.jar,com.jar,org.jar"
code="com.sak.repgen.ui.MainFrame.class" width=980 height=600>
codebase="/"
</applet>
</BODY>
the exception i am getting is :
Java(TM) Plug-in: Version 1.4.0
Using JRE version 1.4.0 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\tausifk
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
java.io.IOException: Server returned HTTP response code: 403 for URL: http://202.144.57.221:8080/repgen.jar
     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:691)
     at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:369)
     at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(HttpURLConnection.java:1133)
     at sun.plugin.net.protocol.http.HttpURLConnection.checkCookieHeader(HttpURLConnection.java:330)
     at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:367)
     at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:39)
     at sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:311)
     at sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:131)
     at sun.plugin.cache.JarCache.get(JarCache.java:177)
     at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:71)
     at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:56)
     at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:498)
     at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:459)
     at sun.misc.URLClassPath$2.run(URLClassPath.java:255)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.misc.URLClassPath.getLoader(URLClassPath.java:244)
     at sun.misc.URLClassPath.getLoader(URLClassPath.java:221)
     at sun.misc.URLClassPath.getResource(URLClassPath.java:134)
     at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
     at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:132)
     at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:189)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
     at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:473)
     at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)
     at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1621)
     at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)
     at sun.applet.AppletPanel.run(AppletPanel.java:290)
     at java.lang.Thread.run(Thread.java:536)
java.io.IOException: Server returned HTTP response code: 403 for URL: http://202.144.57.221:8080/jasperreports.jar
     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:691)
     at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:369)
     at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(HttpURLConnection.java:1133)
     at sun.plugin.net.protocol.http.HttpURLConnection.checkCookieHeader(HttpURLConnection.java:330)
     at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:367)
     at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:39)
     at sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:311)
     at sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:131)
     at sun.plugin.cache.JarCache.get(JarCache.java:177)
     at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:71)
     at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:56)
     at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:498)
     at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:459)
     at sun.misc.URLClassPath$2.run(URLClassPath.java:255)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.misc.URLClassPath.getLoader(URLClassPath.java:244)
     at sun.misc.URLClassPath.getLoader(URLClassPath.java:221)
     at sun.misc.URLClassPath.getResource(URLClassPath.java:134)
     at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
     at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:132)
     at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:189)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
     at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:473)
     at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)
     at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1621)
     at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)
     at sun.applet.AppletPanel.run(AppletPanel.java:290)
     at java.lang.Thread.run(Thread.java:536)
java.io.IOException: Server returned HTTP response code: 403 for URL: http://202.144.57.221:8080/jcommon-0.8.0.jar
     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:691)
     at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:369)
     at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(HttpURLConnection.java:1133)
     at sun.plugin.net.protocol.http.HttpURLConnection.checkCookieHeader(HttpURLConnection.java:330)
     at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:367)
     at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:39)
     at sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:311)
     at sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:131)
     at sun.plugin.cache.JarCache.get(JarCache.java:177)
     at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:71)
     at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:56)
     at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:498)
     at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:459)
     at sun.misc.URLClassPath$2.run(URLClassPath.java:255)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.misc.URLClassPath.getLoader(URLClassPath.java:244)
     at sun.misc.URLClassPath.getLoader(URLClassPath.java:221)
     at sun.misc.URLClassPath.getResource(URLClassPath.java:134)
     at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
     at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:132)
     at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:189)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
     at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:473)
     at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)
     at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1621)
     at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)
     at sun.applet.AppletPanel.run(AppletPanel.java:290)
     at java.lang.Thread.run(Thread.java:536)
java.io.IOException: Server returned HTTP response code: 403 for URL: http://202.144.57.221:8080/jfreechart-0.9.8.jar
     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:691)
     at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:369)
     at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(HttpURLConnection.java:1133)
     at sun.plugin.net.protocol.http.HttpURLConnection.checkCookieHeader(HttpURLConnection.java:330)
     at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:367)
     at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:39)
     at sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:311)
     at sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:131)
     at sun.plugin.cache.JarCache.get(JarCache.java:177)
     at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:71)
     at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:56)
     at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:498)
     at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:459)
     at sun.misc.URLClassPath$2.run(URLClassPath.java:255)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.misc.URLClassPath.getLoader(URLClassPath.java:244)
     at sun.misc.URLClassPath.getLoader(URLClassPath.java:221)
     at sun.misc.URLClassPath.getResource(URLClassPath.java:134)
     at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
     at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:132)
     at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:189)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
     at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:473)
     at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)
     at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1621)
     at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)
     at sun.applet.AppletPanel.run(AppletPanel.java:290)
     at java.lang.Thread.run(Thread.java:536)
java.io.IOException: Server returned HTTP response code: 403 for URL: http://202.144.57.221:8080/xercesImpl.jar
     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:691)
     at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:369)
     at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(HttpURLConnection.java:1133)
     at sun.plugin.net.protocol.http.HttpURLConnection.checkCookieHeader(HttpURLConnection.java:330)
     at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:367)
     at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:39)
     at sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:311)
     at sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:131)
     at sun.plugin.cache.JarCache.get(JarCache.java:177)
     at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:71)
     at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:56)
     at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:498)
     at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:459)
     at sun.misc.URLClassPath$2.run(URLClassPath.java:255)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.misc.URLClassPath.getLoader(URLClassPath.java:244)
     at sun.misc.URLClassPath.getLoader(URLClassPath.java:221)
     at sun.misc.URLClassPath.getResource(URLClassPath.java:134)
     at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
     at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:132)
     at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:189)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
     at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:473)
     at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)
     at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1621)
     at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)
     at sun.applet.AppletPanel.run(AppletPanel.java:290)
     at java.lang.Thread.run(Thread.java:536)
java.io.IOException: Server returned HTTP response code: 403 for URL: http://202.144.57.221:8080/xmlParserAPIs.jar
     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:691)
     at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:369)
     at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(HttpURLConnection.java:1133)
     at sun.plugin.net.protocol.http.HttpURLConnection.checkCookieHeader(HttpURLConnection.java:330)
     at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:367)
     at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:39)
     at sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:311)
     at sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:131)
     at sun.plugin.cache.JarCache.get(JarCache.java:177)
     at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:71)
     at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:56)
     at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:498)
     at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:459)
     at sun.misc.URLClassPath$2.run(URLClassPath.java:255)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.misc.URLClassPath.getLoader(URLClassPath.java:244)
     at sun.misc.URLClassPath.getLoader(URLClassPath.java:221)
     at sun.misc.URLClassPath.getResource(URLClassPath.java:134)
     at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
     at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:132)
     at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:189)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
     at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:473)
     at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)
     at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1621)
     at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)
     at sun.applet.AppletPanel.run(AppletPanel.java:290)
     at java.lang.Thread.run(Thread.java:536)
load: class com.sak.repgen.ui.MainFrame.class not found.
java.lang.ClassNotFoundException: com.sak.repgen.ui.MainFrame.class
     at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:151)
     at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:189)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
     at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:478)
     at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)
     at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1621)
     at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)
     at sun.applet.AppletPanel.run(AppletPanel.java:290)
     at java.lang.Thread.run(Thread.java:536)
Caused by: java.io.IOException: open HTTP connection failed.
     at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:224)
     at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:40)
     at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:141)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:138)
     ... 10 more
CAN ANY ONE HELP ME PLEASE??
THANKS & REGARDS
Tausif

Now I have done all steps again on Linux Machine as follows :-
1) I installed the jmf-2_1_1e-linux-i586 on the linux machine (Server)
2) Compiled the TV Applet code given by SUN on this Linux machine
successfully.
3). On this Linux machine, in a single folder I have put the following
files :-
TVApplet.htm, TVApplet.class, TVApplet$ZoomButton.class,
TVApplet$CPanel.class, TVApplet$1.class, multiplayer.jar,
mediaplayer.jar, jmf.jar, moon.mpg
4) Configured the Tomcat Server correctly on this Linux machine.
5). Now when I access this applet on a client machine (window 2000
professional) then only a blank screen appears in the Internet
Browser window (version 6.0) and no sound hears.
6). My "TVApplet.htm" code is :-
<HTML>
<BODY>
<applet code="TVApplet" width=640 height=510 archive="jmf.jar,mediaplayer.jar,multiplayer.jar">
     <param name=file value="moon.mpg">
</applet>
</BODY>
</HTML>
7) On this client machine no any jmf api is installed.
So I don't know what is wrong here. Does it require more files to run correctly ??? If yes then what are these files and where I should put these.
Thanks

Similar Messages

  • Problem with a signed applet and a user machine.

    Hello. I´m having some problems with a signed applet with some dependences.
    In one particular computer the applet doesn´t load.
    The java version installed in that computer is 1.6.0_25.
    The invocation tag:
    <applet name=applet id="applet" code=Applet/RequestApplet.class width=155 height=21 archive="RequestApplet.jar " MAYSCRIPT>
       <param id="parametro1" name="usuario" value="<Computed Value>">
    </applet>The RequestApplet.jar and dependences:
       bcmail-jdk13-145.jar(signed by bouncy castle), jce-ext-jdk13-145.jar(signed by bouncy castle), AbsoluteLayout.jar, plugin.jar, RequestApplet.jar(signed by me)*this files are all in the same folder.
    The requestApplet.jar manifest:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.1
    X-COMMENT: Main-Class will be added automatically by build
    Class-Path: bcmail-jdk13-145.jar jce-ext-jdk13-145.jar plugin.jar Abso
    luteLayout.jar
    Created-By: 10.0-b23 (Sun Microsystems Inc.)
    Main-Class: Applet.RequestApplet
    Name: Applet/ResponseApplet$1.class
    SHA1-Digest: fO5IPiwEH3OhvlprhBecmMIAVJI=
    Name: Applet/NewJApplet.class
    SHA1-Digest: 6XSpm7lQEQRi39TegoUYv2aFJrk=
    Name: Applet/ResponseApplet.class
    SHA1-Digest: v1EbKUFB+QdvO05xx8UzAMNIyRs=
    Name: Applet/ResponseApplet$4.class
    SHA1-Digest: XH4I67psXZTelpz0AMAYc/Ej8QY=
    Name: Applet/RequestApplet$1.class
    SHA1-Digest: KAP5sAC4Thv/6GClkFAdGUVzgYA=
    Name: Applet/ResponseApplet$5.class
    SHA1-Digest: CVPnKrW2SgNEkRzYnVnQe3KGrIU=
    Name: Applet/ResponseApplet$3.class
    SHA1-Digest: SjfW1k1K7BA9m3AxmHi+jvRE+9o=
    Name: Applet/ResponseApplet$2.class
    SHA1-Digest: 3Pu18CZMLuEh7/n3y7XxFSkuNQY=
    Name: Applet/RequestApplet.class
    SHA1-Digest: Tky85es5+o371adetH9XVEI2Z+o=The error:
    java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
         at java.lang.Class.getConstructor0(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$12.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         ... 20 more

    Thanks. I´ll try with your tips. But if i put all the dependences in archive I get this error.
    The tag:
    <applet name=applet id="applet" CODEBASE="." code="Applet/RequestApplet.class" width=155 height=21 archive="bcmail-jdk13-145.jar, jce-ext-jdk13-145.jar, AbsoluteLayout.jar, plugin.jar, RequestApplet.jar " MAYSCRIPT>
       <param id="parametro1" name="usuario" value="<Computed Value>">
    </applet>The error:
    Java Plug-in 1.6.0_25
    Usar versión JRE 1.6.0_25-b06 Java HotSpot(TM) Client VM
    Directorio local del usuario = C:\Documents and Settings\Administrator
    c:   borrar ventana de consola
    f:   finalizar objetos en la cola de finalización
    g:   liberación de recursos
    h:   presentar este mensaje de ayuda
    l:   volcar lista del cargador de clases
    m:   imprimir sintaxis de memoria
    o:   activar registro
    q:   ocultar consola
    r:   recargar configuración de norma
    s:   volcar propiedades del sistema y de despliegue
    t:   volcar lista de subprocesos
    v:   volcar pila de subprocesos
    x:   borrar antememoria del cargador de clases
    0-5: establecer nivel de rastreo en <n>
    basic: Receptor de progreso agregado: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@f39b3a
    basic: Plugin2ClassLoader.addURL parent called for http://desarrollo.isaltda.com.uy/CertReq.nsf/bcmail-jdk13-145.jar
    basic: Plugin2ClassLoader.addURL parent called for http://desarrollo.isaltda.com.uy/CertReq.nsf/jce-ext-jdk13-145.jar
    basic: Plugin2ClassLoader.addURL parent called for http://desarrollo.isaltda.com.uy/CertReq.nsf/AbsoluteLayout.jar
    basic: Plugin2ClassLoader.addURL parent called for http://desarrollo.isaltda.com.uy/CertReq.nsf/plugin.jar
    basic: Plugin2ClassLoader.addURL parent called for http://desarrollo.isaltda.com.uy/CertReq.nsf/RequestApplet.jar

  • Problem with accessing Signed Applet from javascript method

    Hi,
    I am facing the following problem while accessing Signed Applet from javascript method.
    java.security.AccessControlException: access denied (java.io.FilePermission c:/temp.txt read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at FileTest.testPerm(FileTest.java:19)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.javascript.invoke.JSInvoke.invoke(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
         at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
    I am using jdk1.5 for my development...
    Can anyone help to resolve this security issue. Urgent...
    Thanks in advance.

    Hey thanks. I wasn't able to get it to work with that sample but I did find this very similar code that does allow javascript to call JFileChooser in an applets public method.
    java.security.AccessController.doPrivileged(
    new java.security.PrivilegedAction()
    public Object run(){                           
    //do your special code here
    return null; //return whatever you want
    It seems a bit tempermental in that if you don't select a file quickly, it will hang the browser....no perfect solution but I'm going in the right direction.
    Thanks,
    Scott

  • Problem running signed applet in 1.4 plugin

    Hello,
    We have a signed applet which we're trying to run on clients downloaded over the web. Our client applet is developed for Java 1.4.0. We're signing the applet because it is expected to access local client resources. The client applet runs successfully on some machines and on both IE6 and Netscape 7. We have installed Java Plugin 1.4 on all machines. But on some machines we receive the following exception:
    java.security.AccessControlException: access denied (java.util.PropertyPermission java.home read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
    at java.lang.System.getProperty(Unknown Source)
    at com.bilten.kizilay.gui.CommPackageLoader.dataTransferToClient(CommPackageLoader.java:9)
    at com.bilten.kizilay.gui.Depo.init(Depo.java:138)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)The problem seems to be related with jre configuration rather than browser's. Has anyone a clue?
    Muzaffer Ozakca

    in the console, hit "s" to dump system properties on one machine that is working and one that is not, and post the dumps here. If it is a configuration issue, that will likely point to the problem.

  • Running signed applet on Java 5: Certificate not verified

    Hello!
    I am running my signed applet, it uses Bouncy Castle provider bcprov-jdk15-125.jar.
    My applet.jar is signed by my own certificate. When running from a browser, I get error message:
    Certificate Not Verified. Code will be treated as unsigned. Clicking on details button, read:
    Check leaf key usage failed in certificate. Then goes the stack trace.
    What is the problem? I was successfully ran it on J2SDK 1.4.2_05.
    Thanks.

    I get this same error for a signed webstart app in Java 5.0.
    In 1.4.2.x it works fine.
    Sun?

  • Is it necessary to have java installed on each system to run sign applet?

    I have successfully signed an applet, and I am using it from my website. I havesigned the applet digitally. But the problem is that it's run successfully on the system in which java is installed but it do not not run on the system on which java is not installed. There is warning java plug-ins missing. I have tried to run many banking website which is using signed applet from Trusted parties they run successfully. I have searched many tutorials and forums but not able to find any help.
    Thanks in advance.

    jsrpanky wrote:
    Thanks sabre,
    I think you are right, I know I'm right!
    because I was going through a article and found that it is possible to auto-download the Java Runtime Environment (JRE) onto the users machine.But I don't have any idea of how to auto-download JRE.
    Could you give me some hints so that I could some idea about this.Not really. I just put a link to the Sun site and ask the user to follow the directions. Google is your friend.

  • Problem of running rmi applet and client for Javacard 3.0.2 Connected

    Need help for running rmi application for Java Card 3.0.2 connected version. I am trying to move a working rmi applet & client from 3.0.2 Classic version to Connected version. Then I found that they are so different and I have no idea how to run my application :(
    Here are what I have done:
    - I have modified the Classic HelloWorld applet to an rmi applet. It is OK when I build and run the application in netbeans. The Applet can be selected successfully.
    My problems are:
    - How to connect a rmi client to the rmi applet? Here are what I have done:
    + Run rmi applet in netbeans
    + Run 'rmic' command to generate stub
    + Run rmiregistry outside of netbeans
    + Build and run rmi client application outside of netbeans by typing "ant all"
    However, the rmi client was not able to connect to the applet:
    [java] java.net.ConnectException: Connection refused: connect
    Would this be a problem of netbeans? Could someone tell me how to run rmi applet/client within or outside netbeans. Thanks a lot!

    Well finally I figured out that CREF-emulators (from JCDK 2.2.1, 2.2.2, 3.0.1 classic) do not support cryptographic extensions at all.
    BUT JCWDE(from JCDK 2.2.1, 2.2.2) - support, but this kind of simulator quite hard to use, because it does not have state between launches.
    About CJCRE(from JCDK 3.0.1 connected) - still don't know, seems not support cryptographic extensions.

  • Problems with RSA Signed Applets methods called by JavaScript

    Hi Folks,
    I need to give all permissions to an Applet used in an Intranet application, so I signed the jar containing it with a RSA self-cert and I did the same for all the other jar files userd by the applet.
    The applet runs under Java Plugin with JRE 1.5.0_06: I am requested by the browser to install the cert and all works fine.
    When a JavaScript function calls a public method of the applet I received a security exception when the code tries to read a system property.
    The same method works fine if called by the applet itself or by a gui event (i.e. a button click) inside the applet, so the problem seems to be related to the fact the applet is used by JavaScript (in Explorer 6).
    Does anyone know some way to overcome this problem????
    Message was edited by:
    piero

    If I may be so bold as to ask you to elaborate on this fix? I have encountered an identical issue, but I have no idea about your reference to your fix, sorry.

  • Problem with a sign Applet - certificate isn't recognized

    Hello to all the java experts
    I have created a certificate using keytool. I have exported the certificate and installed it on the computers of the users. The certificate worked well on all the computers except one. I have got a message:
    java.security.cert.certificateException unable to verify the certificate CA root
    I want to add that when I installed this certificate I got a message that it was imported successfully and I have also seen that the certificate is valid. I imported it by double-clicking on the crt file and choosing "install certificate". I also tried to import it by using the command: keytool -import -alias company -keystore carets -storepass changeit -file c:\crtfile.crt.
    I have checked that the certificate was imported by the command:
    keytool -list -v -keystore company
    The only thing which is different on this computer is the plugin of swing (1.3.01 and not 1.3.02)
    What can cause to this problem? How can I fix it?

    Noone has any idea?

  • After upgrading to Java 7 update 71 JVM doesen't allow to run signed applets

    How to reproduce:
    - delete all 32-bit Java in Control Panel
    - delete contents of c:\%USER%\AppData\LocalLow\Sun\
    - install http://java.sun.com/update/1.7.0/jinstall-7u71-windows-i586.cab
    - go to site https://www.sod.pfron.org.pl/ - URL, site contains signed aplets and SSL
    You will get
    " javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target  "
    Exception.
    On previous version of java (update 51, update 67) everythings works fine.
    But there are some differences between versions:
    java 51 contains c:\%HOME%\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
    java 67 doesn't contains c:\%HOME%\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs but works
    java 71 doesn't contains c:\%HOME%\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs and don't work

    With Java 7u11 Oracle increased the default security level to help reduce the of recently discovered exploits getting past the security sandbox.
    That said, I seem to recall from a few years ago that any untrusted component delivered to the client might cause the entire application to be treated as untrusted (as it should), and this may be the case here.
    Although license issues may prevent you from doing this, I have found that unpacking and then repacking-and-resigning (with your own key) all 3rd party JARs can get around this, but only you can decide whether this is (a) legal and (b) advisable in the first place.

  • IIS, Javascript, Signed Applet and ASP Blank Page Problem

    Hi,
    I'm having a problem using a Signed Applet in a site that runs in a IIS (Windows Server 2003).
    My aspx web page uses the applet to read my smart card and get information from it.
    This applet uses an auxiliar dll (stored in a second Signed Jar file) in order to read the information from my smart card.
    The way the solution is design:
    1) Aspx page is asked from server
    2) Internet Explorer recieve the page and asks the server for it content (images, applet, javascripts, etc)
    3) After this the JVM runs (console opens)
    4) After the Aspx page render fully a javascript register onload fires and call an applet method
    5) Applet receive the call and run the logic of the method:
         - reads the smart card;
         - calls Javascript function in order to fill aspx fields with information from smart card
         - calls Javascript function the simulates a click in a botton of aspx page (in order to call server side part sending data readed from smart card to server)
    5) The server makes some logic with the information receive and responds to client registering in aspx page a call to another Javascrit function
    6) The client received the asnwer from server and runs the Javascript function registered on step 5)
         This Javascript calls another method from applet and runs the following logic:
         - reads more information from smart card;
         - call javascript function in order to fill more fields of aspx page with the information readed
         - calls Javascript function the simulates a click in a botton of aspx page (in order to call server side part sending data readed from smart card to server)
    7) The server makes some logic and call another pages with no Applets
    8) Client asks for a second page with the same applet and we start with another logic express on steps 1);2);3),4);5) and then 7).
    This is all ok, until sometimes the server stop responding correcly for requests regarding this two pages with the Applet.
    When this happens the server just responds with a blank page.
         - with fiddler I can seer the request for the aspx page (that uses the applet)
         - but server responds with a blank html page
    The JVM doesn't fire.
    The IIS log don't show errors.
    The eventviewer doesn't show errors.
    The problem is solved with an IIS reset or a Application Pool reset.
    After a while the problem returns.
    This problem occours for other user in another machine, the server just stops responding correcly to request regarding pages with applets, the other pages still continue to work.
    If we disable Java Control Panel->Advanced->Java Plug-in->Enable the next-generation Java Plug-in the problem seend to stop, but we can't force all clients to disable this option right?
    Or there is a way to force the Applet to run with this option disabled?
    As anyone experience similar problem?
    Regards,
    OF

    This is all ok, until sometimes the server stop responding correcly for requests regarding this two pages with the Applet.
    When this happens the server just responds with a blank page.
    - with fiddler I can seer the request for the aspx page (that uses the applet)
    - but server responds with a blank html pageWell, if http requests look identical in case of success and failure (pay attention to cookies, etc) then it has to be something on the server side.
    It could be that server gets into this wrong state because of previous requests made by applet but it is hard to tell.
    I am not clear how old/new plugin can make a difference unless your applets run in the legacy mode (i.e. you are actually trying to reuse SAME instance of the applet when
    it is loaded next time).
    I'd start with
    1) carefully comparing good/bad sessions
    2) checking whether server will serve correct response to another client when it serves "bad" page for current client
    3) add debug statements to aspx - it is scripted page, may be some condition is not met and then it returns blank?
    4) record all http requests in one session until you get to "error" state and then use any http server testing tool to "replay" this set of requests.
    You should be able to get server into the same state without use of applet. Then you can try to tweak set of requests to see what makes a difference.

  • Signed Applet problems in Vista + JMF

    Hi All,
    I'm new to Java Applet programming. I wrote an application which works as a VoIP Client in a webpage (Using JMF). Its working very fine in allmost all Windows XP machines.
    But not in Windows Vista machines. In Vista i'm getting the following error :
    "No permission to capture from applet" - Since its a Signed applet. The application is digitally signed from a CA. Even though its not working in Vista (IE and Mozilla Firefox also).
    I have went through the following link which says IE in Vista will run on protected mode, so Signed Applet will not have all the permission eventhough its signed for "AllPermission".
    ----- http://java.sun.com/javase/6/webnotes/install/system-configurations.html
    And also I'm not able to create a customized jar file for JMF using JMF Customizer. (JMF Customizer is an application which creates a jar file with specified classes). While creating a jar file I'm getting particular class is not available. (In Windows XP, this class is compilled at run time).
    Please let me know the following things,
    a) Is there any security settings i have to make to run Signed Applet in Windows Vista ?
    b) What is Java Policy file? I don't have any policy file - will it affect the application ?
    c) Do I need to sign each applet (say i have 5 applets in single jar file) ?
    d) In Vista how Mozilla Firefox are running (like IE7's restricted environment or XP compatiable mode) ?
    Thanks in Advance,
    Karthikeyan R

    I have exatly the same problem but not with the class itself. I have the problem with an jar that my class calls.
    I use jdk1.4.2. I think it's basicaly the same problem as "lfpgMW".
    I'll also whould like an idea...
    thanks

  • Signed applet not working with weblogic 5.1

    I have a problem with a signed applet. The applet is signed correctly
    and it starts up the dynamic trust management console in java plugin
    1.3.1_02 when accessed locally with the browser. But when trying to
    access the applet through weblogic (5.1) the dynamic trust management
    doesn't popup, as if the applet is not recognized as signed. In the
    weblogic policy file in WLS I have set permissions to include the
    applet class (AllPermission given to codeBase https://-, and file:/-
    to be sure that it's not the problem).
    I have tryed to run it under both http and https. I'm not making an
    rmi connection back to WL. I'm simply trying to write on the local
    file system with the applet.
    The error received in the javaconsole is java.lang.SecurityException:
    java.lang.SecurityException: Unable to create temporary file
         at java.io.File.checkAndCreate(Unknown Source)
         at java.io.File.createTempFile(Unknown Source)
         at java.io.File.createTempFile(Unknown Source)
         at com.primelog.applet.DirectPrintAppletSigned.downloadFileToPrint(DirectPrintAppletSigned.java:64)
         at com.primelog.applet.DirectPrintAppletSigned.run(DirectPrintAppletSigned.java:32)
         at java.lang.Thread.run(Unknown Source)
    I really apreaciate any tips you might have!

    yeah. I noticed the same thing. now the splash screen comes on without the flashing green squares and just hangs. i tried unintalling and then reinstalling and still no go. kind of annoying but they will probably come out with an update pretty soon

  • How to develop signed applet

    Hello Friends
    I am working on chat application using applet.
    But simple applet throw exception for different database server than application server.
    So how can solve this problem ?
    Is Signed Applet a solution ?
    If yes how to develop signed applet ?

    Hello Friends
    I am working on chat application using applet.
    But simple applet throw exception for different
    database server than application server.
    So how can solve this problem ?Best by not letting your applet access the database, and letting the application server do that instead.
    Is Signed Applet a solution ?Yes.
    If yes how to develop signed applet ?http://www.google.com/search?hl=en&q=how+to+sign+an+applet

  • Safari will not run a signed applet on mac os x 10.5.7 with new Java update

    Hi Everyone,
    I've got a problem that hopefully you guys can help me solve. I have an applet that runs on windows, mac and linux that is signed by a verisign certificate my work has. The certificate is valid and everything works just fine on windows and linux, but after I upgraded our macs with the newest java update for mac (which gave macs Java 1.6.13), the applets won't work. When the applet is loaded in Safari or Firefox, it asks if I want to trust the certificate. When I tell it to trust it, Safari comes back with a message saying that it will not trust the code and will treat it as unsigned code.
    For a long time the applet was built and signed on windows, but now it can be built and signed on windows and mac. Building and signing on either platform gives the same results and the mac signed applet works just fine on windows.
    Has anyone else run across this problem? Any help or advice will be appreciated.
    Thanks,
    Robbie

    BenGlancy wrote:
    How did you tell it to fully trust it? I thought the dialog comes up asking the user whether to trust it.
    I only ask because it's not practical to expect all users to dig around for settings to trust a particular certificate.They don't have to dig around. When a signed Applet is loaded, if the certificate chain contains a certificate not in the trust store then a dialogue box asks the user if he wants to run it anyway. This dialogue box also has check box to indicate the the user should always trust this certificate and checking this means the user will not be asked again.

Maybe you are looking for

  • XML encoding "UTF-8" ignored

    HI all, we try to post an XML message (cXML invoice) to a receiver but it doesn´t work. We use a communication channel "http-destination" where we configure content-type "text/xml" together with XML encoding "UTF-8". The configured URL works fine and

  • Workflow step skipped while execution

    Hello Friends, I have an issue with a custom workflow. it has 2 levels of approval , the first level has executed successfully and the second level of approval ( which is a sub workflow ) has been just skipped. i see that the graphical workflow just

  • Reject Quotation Item after sales order

    Hi, I want to reject a line item from quotation after quotation is migrated to sales order steps 1- create quotation 2- create sales order with ref to quotation 3- rejecgt item in sales order 4- Now I cannot reject the same item in the quotation!!! A

  • Correct  Version of   Opatch  for  RDBMS

    Hello to all ; Can i get Correct (latest) Version of Opatch for RDBMS 10.2.0.4 and 11g r2 ? Is there any doc_id to refer correct version of Opatch for RDBMS home ?If so , kindly provide the metalink to download it and doc_id to refer it. Thanks ..

  • Changing user profiles activity

    Hi everyone! Anyone there who can help me on how I can change a user profile by maintaining a SAP_all profile but his access to activity is only "Display"... Thanks, Bryle