Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
tomcat5 installing local war -> java.zip-error?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Wed Mar 02, 2005 8:38 am    Post subject: tomcat5 installing local war -> java.zip-error? Reply with quote

hi,

i have finally got my apache-2.0.52-r1 & tomcat5.0.27-r4 setup working (even mod_jk2 to forward jsp to tomcat ;)).
Well, working maybe the wrong word, i can browse, an the examples & co. get displayed.

But when i try to upload a local war-sample with the /manger/html/ interface, all i get is a completely blank page.
I guess this has already been discussed, but my search turned up with nothing related to that error-code.;\

It seems to be an java error, i found this in the tomcat-logs:
Code:

2005-03-01 22:25:43 StandardContext[/manager]HTMLManager: managerServlet.extract[/opt/tomcat5/webapps/sample.war]
java.util.zip.ZipException: error in opening zip file
   at java.util.zip.ZipFile.open(Native Method)
   at java.util.zip.ZipFile.<init>(ZipFile.java:112)
   at java.util.jar.JarFile.<init>(JarFile.java:127)
   at java.util.jar.JarFile.<init>(JarFile.java:92)
   at org.apache.catalina.manager.ManagerServlet.extractXml(ManagerServlet.java:1509)
   at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:234)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
   at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
   at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
   at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
   at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
   at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
   at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
   at java.lang.Thread.run(Thread.java:534)


UPDATE:
I just tried to first copy it to /opt/tomcat5/webapps/ but that gives me the same error...
_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Thu Mar 03, 2005 2:40 pm    Post subject: Reply with quote

*bump*
_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
kornnut
n00b
n00b


Joined: 02 Aug 2006
Posts: 1

PostPosted: Wed Aug 02, 2006 9:41 pm    Post subject: Reply with quote

Ive got the same exact problem.

I am trying to get a large existing application up and running onto my machine that has over 20 dependencies/jar requirements.

But, I am getting the same "error when opening zip file" error.

I've looked on this forum and others and the only suggestions that I have found have been to reinstall the Java SDK, but it doesn't seem to work for me.

Does any one have any other ideas?

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum