Hi
i have an applet that is launched on page loading and cached for offline purpose.
below html code snippet is working in windows but not working in Ubuntu linux
<object classid="clsid:CAFEEFAC-0016-0000-0000-ABCDEFFEDCBA" name="generalapp" height="0" width="0"><param value="com.gofrugal.raymedi.print.GeneralApplet.class" name="CODE"><param value="../print.jar" name="archive"><param value="../print.jar" name="cache_archive"><param value="1.1.3.8" name="cache_version"><param value="true" name="MAYSCRIPT"><param value="true" name="scriptable"><param value="false" name="codebase_lookup"><param value="application/x-java-applet;version=1.6" name="type"><comment><embed codebase_lookup="false" cache_option="Plugin" cache_version="1.1.3.8" cache_archive="../print.jar" code="com.gofrugal.raymedi.print.GeneralApplet.class" archive="../print.jar" name="generalapp" type="application/x-java-applet;version=1.6" height="0" width="0"></comment></object>
Java debugging log
basic: New window ID: 2a00b77
basic: Value of xembed: 1
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1d99a4d, refcount=1
basic: setWindow: call before applet exists:2a00b77
network: Version checking for ../print.jar, specified version is 1.1.3.8
basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@691f36
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: completed perf rollup
network: Cache entry not found [url: h ttp://yohi:9191/RayMedi_WebPOS/print.jar, version: 1.1.3.8] network: Cache entry not found [url: h ttp://yohi:9191/RayMedi_WebPOS/print.jar, version: 1.1.3.8] network: Connecting h ttp://yohi:9191/RayMedi_WebPOS/print.jar?version-id=1.1.3.8 with proxy=DIRECT network: Connecting socket://yohi:9191 with proxy=DIRECT java.net.UnknownHostException: yohi at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:519) at sun.net.NetworkClient.doConnect(NetworkClient.java:161) at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) at sun.net.www.http.HttpClient.(HttpClient.java:233) at sun.net.www.http.HttpClient.New(HttpClient.java:306) at sun.net.www.http.HttpClient.New(HttpClient.java:323) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:790) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:731) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:656) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:979) at sun.plugin.PluginURLJarFileCallBack.downloadJAR(PluginURLJarFileCallBack.java:74) at sun.plugin.PluginURLJarFileCallBack.access$000(PluginURLJarFileCallBack.java:48) at sun.plugin.PluginURLJarFileCallBack$2.run(PluginURLJarFileCallBack.java:133) at java.security.AccessController.doPrivileged(Native Method) at sun.plugin.PluginURLJarFileCallBack.retrieve(PluginURLJarFileCallBack.java:120) at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:186) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:50) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:68) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104) at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:189) at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(CachedJarURLConnection.java:144) at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:90) at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:647) at sun.misc.URLClassPath$JarLoader.access$600(URLClassPath.java:538) at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:605) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:597) at sun.misc.URLClassPath$JarLoader.(URLClassPath.java:559) at sun.misc.URLClassPath$3.run(URLClassPath.java:331) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath.getLoader(URLClassPath.java:320) at sun.misc.URLClassPath.getLoader(URLClassPath.java:297) at sun.misc.URLClassPath.getResource(URLClassPath.java:167) at java.net.URLClassLoader$1.run(URLClassLoader.java:192) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:155) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:127) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:632) at sun.applet.AppletPanel.createApplet(AppletPanel.java:785) at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2302) at sun.applet.AppletPanel.runLoader(AppletPanel.java:714) at sun.applet.AppletPanel.run(AppletPanel.java:368) at java.lang.Thread.run(Thread.java:619) network: Cache entry not found [url: h ttp://yohi:9191/RayMedi_WebPOS/print.jar, version: 1.1.3.8] network: Cache entry not found [url: h ttp://yohi:9191/RayMedi_WebPOS/print.jar, version: 1.1.3.8] network: Connecting h ttp://yohi:9191/RayMedi_WebPOS/print.jar?version-id=1.1.3.8 with proxy=DIRECT network: Connecting socket://yohi:9191 with proxy=DIRECT load: class com.print.GeneralApplet.class not found. java.lang.ClassNotFoundException: com.print.GeneralApplet.class at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:164) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:127) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:640) at sun.applet.AppletPanel.createApplet(AppletPanel.java:785) at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2302) at sun.applet.AppletPanel.runLoader(AppletPanel.java:714) at sun.applet.AppletPanel.run(AppletPanel.java:368) at java.lang.Thread.run(Thread.java:619) basic: Exception: java.lang.ClassNotFoundException: com.print.GeneralApplet.class Ignored exception: java.lang.ClassNotFoundException: com.print.GeneralApplet.class basic: New window ID: 0 basic: Stopping applet ... basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@691f36 basic: Destroying applet ... basic: Disposing applet ... basic: Joining applet thread ... basic: Joined applet thread ... basic: Finding information ... basic: Releasing classloader: sun.plugin.ClassLoaderInfo@1d99a4d, refcount=0 basic: Caching classloader: sun.plugin.ClassLoaderInfo@1d99a4d basic: Current classloader cache size: 1 basic: Done ... basic: Quiting applet ...
Help me
Thanks Yohi