JDK 1.4 WIN2K Server Tomcat 4.1.27 Hi everyone, I could not start Tomcat as a service (i.e. through Start|Settings|Control Panel|Administrative Tools|Services). And whenever I try to start it, I'll recieve the following error message: Could not start Apache Tomcat 4.1 service on Local Computer. The service did not return an error. This could be an internal Windows error or an internal service error. However I can start Tomcat through the command prompt by typing "startup.bat". But I recieved the following messages/errors. Does anyone knows what's wrong? ----------
Aug 12, 2003 8:41:50 PM org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information Aug 12, 2003 8:41:50 PM org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance Aug 12, 2003 8:41:51 PM org.apache.commons.modeler.Registry getServer INFO: Creating MBeanServer Aug 12, 2003 8:41:54 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.27 Aug 12, 2003 8:41:58 PM org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru e Aug 12, 2003 8:41:58 PM org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul l=true Aug 12, 2003 8:41:59 PM org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', retur nNull=true Aug 12, 2003 8:42:03 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8080 Aug 12, 2003 8:42:03 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Aug 12, 2003 8:42:03 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/16 config=C:\Tomcat4.1\conf\jk2.properties ----- ps: I've edited the environment variable and path.
I get the same messages when running startup.bat It seems to say that tomcat started successfully. You can test if this is so by going to start/programs/apache Tomcat 4.1/Tomcat Administration If that app starts then Tomcat is running. You can look up your password for this administration application in Tomcat/conf/tomcat-users.xml As for why the service doesn't start from the other services dialog, I don't know. The following thread on Devshed seems to offer insight into running tomcat as a service: http://forums.devshed.com/t60625/s940c795a6145da1b1922460646955518.html