I am running Tomcat 4.0.24 on Red Hat Linux 7.3, I installed it from the jpackage RPM a few months ago.
Tomcat worked fine until this morning, when I upgraded the control panel server (SWsoft Plesk) for the server to a new major version (5.0.5 to 7.0.2).
The problem is that Tomcat doesn't start anymore as user "tomcat4", it starts fine as user "root", I am using the script /usr/bin/dtomcat4 to launch it. (I don't like the idea of running Tomcat as root!)
The control panel upgrade procedure did a few tasks on the server and I not sure what broke my Tomcat installation.
I cannot figure out what's wrong and log files are not helping much (check out below), I took a quick look at tomcat files/directories permissions and they look fine to me, but there may be something wrong that I am missing ...
Any idea?
Here is the content of the file catalina.out from a successfull start as "root":
--- May 18, 2004 6:59:39 AM org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information May 18, 2004 6:59:39 AM org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance May 18, 2004 6:59:39 AM org.apache.commons.modeler.Registry getServer INFO: Creating MBeanServer May 18, 2004 6:59:40 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080 Starting service Tomcat-Standalone Apache Tomcat/4.1 May 18, 2004 6:59:46 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8080 May 18, 2004 6:59:46 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 May 18, 2004 6:59:46 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=4/153 config=/var/tomcat4/conf/jk2.properties ---
Here is the content from a failed start as "tomcat4":
---
May 18, 2004 6:58:49 AM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
May 18, 2004 6:58:49 AM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
May 18, 2004 6:58:50 AM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
May 18, 2004 6:58:51 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1
java.lang.NullPointerException
at org.apache.catalina.startup.HostConfig.deployDescriptors(Unknown Source)
at org.apache.catalina.startup.HostConfig.deployApps(Unknown Source)
at org.apache.catalina.startup.HostConfig.start(Unknown Source)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(Unknown Source)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown Source)
at org.apache.catalina.core.ContainerBase.start(Unknown Source)
at org.apache.catalina.core.StandardHost.start(Unknown Source)
at org.apache.catalina.core.ContainerBase.start(Unknown Source)
at org.apache.catalina.core.StandardEngine.start(Unknown Source)
at org.apache.catalina.core.StandardService.start(Unknown Source)
at org.apache.catalina.core.StandardServer.start(Unknown Source)
at org.apache.catalina.startup.Catalina.start(Unknown Source)
at org.apache.catalina.startup.Catalina.execute(Unknown Source)
at org.apache.catalina.startup.Catalina.process(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
---
Thanks!
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
