Re: Problem using the gnujaxp jar in an applet

Arnaud Vandyck <[email protected]>
Newsgroups gmane.comp.java.classpath.extensions.xml
Organization STE-Formations Informatiques, ULg
Message-ID <[email protected]>
1° Did you compile gnujaxp and your classes with jdk1.2 (or above) and
   try to execute without a java-plugin for your browser?

2° Does your applet have all the permissions?

If gnujaxp works in a swing application but not in the applet, I do
not see what other thing it can be?

Hope it helps...

 ___________________________________________________________
/ Sean Cavanaugh <[email protected]> wrote:
| Hello,
| 
| I am attempting to use the gnujaxp.jar file to support an applet I am 
| writing for a school project. However, when I attempt to load the 
| applet, it doesn't work, instead the java console displays a stack trace 
| (see below) complaining of a duplicate entry for META-INF/
| 
| I just can't seem to get this to work. The code does work from a regular 
| swing application.
| 
| Anyone have any ideas how I can get this working?
| 
| Thanks.
| 
| The stack trace:
| 
| java.util.zip.ZipException: duplicate entry: META-INF/
| at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:163)
| at sun.plugin.cache.CachedJarLoader.decompress(CachedJarLoader.java:394)
| at sun.plugin.cache.CachedJarLoader.access$500(CachedJarLoader.java:53)
| at sun.plugin.cache.CachedJarLoader$5.run(CachedJarLoader.java:335)
| at java.security.AccessController.doPrivileged(Native Method)
| at sun.plugin.cache.Cache.privileged(Cache.java:219)
| at sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:320)
| at sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:128)
| at sun.plugin.cache.JarCache.get(JarCache.java:172)
| at 
| sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:93)
| at 
| sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:78)
| at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:580)
| at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:541)
| at sun.misc.URLClassPath$3.run(URLClassPath.java:319)
| at java.security.AccessController.doPrivileged(Native Method)
| at sun.misc.URLClassPath.getLoader(URLClassPath.java:308)
| at sun.misc.URLClassPath.getLoader(URLClassPath.java:285)
| at sun.misc.URLClassPath.getResource(URLClassPath.java:155)
| 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:134)
| at 
| sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:168)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
| at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
| at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:501)
| at sun.applet.AppletPanel.createApplet(AppletPanel.java:566)
| at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1775)
| at sun.applet.AppletPanel.runLoader(AppletPanel.java:495)
| at sun.applet.AppletPanel.run(AppletPanel.java:292)
| at java.lang.Thread.run(Thread.java:536)


-- arnaud @ home
FingerPrint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2

_______________________________________________
Classpathx-xml mailing list
[email protected]
http://mail.gnu.org/mailman/listinfo/classpathx-xml
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+hNQe4vzFZu62tMIRAjhAAKC0B7hU0PCvlRcJh36plIgwzRN0eACdEQHL
CfeChEThwYH04TOC9hDwmwo=
=6fMN
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.