1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Tomcat problem : invalid or unreadable war !!

Discussion in 'Plesk for Linux - 8.x and Older' started by lavoyer, Mar 28, 2007.

  1. lavoyer

    lavoyer Guest

    0
     
    Since the upgrade to 8.1.1 tomcat dont work, so I uninstall tomcat and reinstall it again with apt-get install. Now tomcat start and i can upload a war file but the war file stay in orange and can't start.


    This is the log about this problem (invalide or unvalable WAR) :


    Using CATALINA_BASE: /usr/share/tomcat4
    Using CATALINA_HOME: /usr/share/tomcat4
    Using CATALINA_TMPDIR: /usr/share/tomcat4/temp
    Using JAVA_HOME: /usr/lib/j2se/1.4
    Using Security Manager
    Created MBeanServer with ID: f47bf5:111998a4f57:-8000:www.mydomain.com:1
    Mar 28, 2007 7:14:10 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8180
    Mar 28, 2007 7:14:10 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-9080
    Starting service Tomcat-Standalone
    Apache Tomcat/4.1
    Mar 28, 2007 7:14:11 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    Mar 28, 2007 7:14:11 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    Mar 28, 2007 7:14:12 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
    Mar 28, 2007 7:14:13 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8180
    Mar 28, 2007 7:14:13 PM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    Mar 28, 2007 7:14:13 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=1/58 config=/usr/share/tomcat4/conf/jk2.properties
    Starting service PSA
    Apache Tomcat/4.1
    WebappLoader[/manager]: Deploying class repositories to work directory /usr/share/tomcat4/work/PSA/domain.fr/manager
    ContextConfig[/manager]: Configured an authenticator for method BASIC
    StandardManager[/manager]: Seeding random number generator class java.security.SecureRandom
    StandardManager[/manager]: Seeding of random number generator has been completed
    StandardWrapper[/manager:default]: Loading container servlet default
    StandardWrapper[/manager:invoker]: Loading container servlet invoker
    Mar 28, 2007 7:14:13 PM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:9008
    Mar 28, 2007 7:14:13 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/104 config=/usr/share/tomcat4/conf/jk2.properties
    Mar 28, 2007 7:14:13 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-9080
    StandardWrapper[/manager:Manager]: Loading container servlet Manager
    StandardHost[domain.fr]: Installing web application at context path /lc1 from URL jar:file:/usr/share/tomcat4/psa-webapps/domain.fr/lc1.war!/
    StandardContext[/lc1]: Resources start failed:: java.lang.IllegalArgumentException: Invalid or unreadable WAR file : /usr/share/tomcat4/psa-webapps/domain.fr/lc1.war
    java.lang.IllegalArgumentException: Invalid or unreadable WAR file : /usr/share/tomcat4/psa-webapps/domain.fr/lc1.war
    at org.apache.naming.resources.WARDirContext.setDocBase(WARDirContext.java:125)
    at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3285)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3415)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:774)
    at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:115)
    at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:135)
    ...


    I try to unzip from shell and it's ok
    this is the same probleme with all my domains

    Thank your for your help
     
Loading...