You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Fergus Gallagher <Fe...@OrbisUK.com> on 2000/10/11 10:30:33 UTC

Tomcat-4.0-M2: problem deploying application

I have downloaded tomcat-4.0-m2 and tried copying a (working) application 
from 3.1.  I have done/changed nothing except add the war file under 
./wabapps.

I get the following exceptions:  (Similar errors occur if I expand the war 
manually)

------cut---------
2000-10-11 08:19:39 StandardHost[localhost]: Deploying web application at 
context path /timesheet from URL 
jar:file:/opt/jakarta-tomcat-4.0-m2/webapps/timesheet.war!/
2000-10-11 08:19:41 StandardHost[localhost]: Error deploying application at 
context path /timesheet
java.lang.IllegalArgumentException: addRepositoryInternal: 
java.lang.NullPointerException
         at 
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1073)
         at 
org.apache.catalina.loader.StandardClassLoader.addRepository(StandardClassLoader.java:361)
         at 
org.apache.catalina.loader.StandardLoader.addRepository(StandardLoader.java:442)
         at

[deleted lines]

2000-10-11 08:19:41 HostConfig[localhost] Error deploying web application 
archive timesheet.war
java.io.IOException: java.lang.IllegalArgumentException: 
addRepositoryInternal: java.lang.NullPointerException
         at org.apache.catalina.core.StandardHost.deploy(StandardHost.java:556)
         at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:318)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:383)
[deleted lines]
------cut---------

Any suggestions appreciated.  The web-app was compiled with the 3.1 servlet.jar

Ta,

Fergus