• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Tomcat problem : invalid or unreadable war !!

L

lavoyer

Guest
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
 
Back
Top