tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GOMEZ Henri <hgo...@slib.fr>
Subject TC 4.0 run problem - WAS: [ANNOUNCEMENT] Apache Tomcat 4.0 Fina l Release
Date Thu, 20 Sep 2001 13:46:25 GMT
After rebuild of TC 4.0, I've got the following error :

1) webapps wars are not created under dist/webapp 

To fix, I'll have to go to /home/anyuser/jakarta-tomcat-4.0-src/webapps
and to do :

ant -Dwebapps.dist /home/anyuser/jakarta-tomcat-4.0-src/dist/webapps/

2) After that one, I've still got problems 

/home/anyuser/jakarta-tomcat-4.0-src/dist/catalina.sh run  =>

Using CLASSPATH:
/home/anyuser/jakarta-tomcat-4.0-src/dist//bin/bootstrap.jar:/opt/IBMJava2-1
3/lib/tools.jar
Using CATALINA_BASE: /home/anyuser/jakarta-tomcat-4.0-src/dist/
Using CATALINA_HOME: /home/anyuser/jakarta-tomcat-4.0-src/dist/
Using JAVA_HOME:     /opt/IBMJava2-13
Starting service Tomcat-Standalone
Apache Tomcat/4.0
java.lang.IllegalArgumentException: Document base
/home/anyuser/jakarta-tomcat-4.0-src/dist/webapps/examples does not exist or
is not a readable directory
    at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:18
2)
    at
org.apache.catalina.core.StandardContext.setResources(StandardContext.java:1
084)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3328)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
    at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
    at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
    at
org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:218)

It recall me a old problem in TC 4.0beta.
To fix, I've add to mkdir /home/anyuser/jakarta-tomcat-4.0-src/dist/webapps/
and then unzip
/home/anyuser/jakarta-tomcat-4.0-src/dist/webapps/examples.war 
into it.

Thanks for any informations on how to fix these problems.

-
Henri Gomez                 ___[_]____
EMAIL : anyuser@slib.fr        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 


Mime
View raw message