• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cannot start Tomcat as a service

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 820
IntelliJ IDE VI Editor Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic