dcsimg
Error in JAR with Tomcat library
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Antonio_Baez
Posted On:   Tuesday, March 5, 2002 03:59 PM

I have one Jar (oasoorb.jar) that is in ./tomcat/webapps/rastreo/WEB-INF/lib/oasoorb.jar , because my JSP file is Import this JAR but, when I startup the tomcat, show this error: java.util.zip.ZipException: not a ZIP file (END header not found) at java.util.zip.ZipFile.findEND(ZipFile.java) at java.util.zip.ZipFile.readCEN(ZipFile.java) at java.util.zip.ZipFile. (ZipFile.java) at org.apache.tomcat.util.compat.SimpleClassLoader.doFindResource(SimpleClassLoader.java:490) at org.apache.tomcat.util.compat.SimpleClassLoader.loadClass(SimpleClassLoader.java:272) at java.lang.ClassLoader.loadClass(ClassLoader.java) at org.apache.tomca   More>>

I have one Jar (oasoorb.jar) that is in ./tomcat/webapps/rastreo/WEB-INF/lib/oasoorb.jar , because my JSP file is Import this JAR


but, when I startup the tomcat, show this error:


java.util.zip.ZipException: not a ZIP file (END header not found)


at java.util.zip.ZipFile.findEND(ZipFile.java)


at java.util.zip.ZipFile.readCEN(ZipFile.java)


at java.util.zip.ZipFile. (ZipFile.java)


at org.apache.tomcat.util.compat.SimpleClassLoader.doFindResource(SimpleClassLoader.java:490)


at org.apache.tomcat.util.compat.SimpleClassLoader.loadClass(SimpleClassLoader.java:272)


at java.lang.ClassLoader.loadClass(ClassLoader.java)


at org.apache.tomcat.modules.config.LoaderInterceptor11.checkJaxp(LoaderInterceptor11.java:305)


at org.apache.tomcat.modules.config.LoaderInterceptor11.prepareClassLoader(LoaderInterceptor11.java:233)


at org.apache.tomcat.modules.config.LoaderInterceptor11.contextInit(LoaderInterceptor11.java:199)


at org.apache.tomcat.core.Context.init(Context.java:542)


at org.apache.tomcat.core.ContextManager.init(ContextManager.java:597)


at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.java:443)


at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:564)


at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:548)


at org.apache.tomcat.util.compat.Jdk11Compat.doPrivileged(Jdk11Compat.java:106)


at org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:546)


at org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:87)


at org.apache.tomcat.startup.Main.execute(Main.java:313)


at org.apache.tomcat.startup.Main.main(Main.java:140)


Name= javax/xml/parsers/SAXParserFactory.class


/usr/local/jakarta-tomcat-3.3a-src/build/tomcat/webapps/rastreo/WEB-INF/lib/oasoorb.jar



which is my error?

   <<Less

Re: Error in JAR with Tomcat library

Posted By:   Anonymous  
Posted On:   Wednesday, March 6, 2002 12:31 AM

Check your JAR file using jar -tvf oasoorb.jar if it's not damaged.



You need Java SDK installed. jar program is in $JAVA_HOME/bin.



Best regards,

Gorazd.

About | Sitemap | Contact