facebook

Problem when deploy WAR on tomcat-linux.. [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #215598 Reply

    fit
    Member

    Hello,

    i create a .war from myeclipseIde “project deplyments”.

    When i move it on webappls directory of tomcat server (linux) i have thi error:

    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:204)
    at java.util.jar.JarFile.<init>(JarFile.java:132)
    at java.util.jar.JarFile.<init>(JarFile.java:97)
    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(ApplicationF
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java

    Who can help me ??

    Bye

    #215609 Reply

    Riyad Kalla
    Member

    It is likely that Tomcat is trying to unzip/deploy the WAR file before MyEclipse is done writing it out to the location. Try this:
    1) Shut down Tomcat
    2) Redeploy the WAR file from ME
    3) Start Tomcat

    Did the app deploy correctly and can you connect to the app?

    #215812 Reply

    fit
    Member

    OK.

    Now all is OK.

    thanks for all.

    #215817 Reply

    Riyad Kalla
    Member

    Glad to hear it sworking.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Problem when deploy WAR on tomcat-linux.. [Closed]

You must be logged in to post in the forum log in