Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error with tomcat as win2k service  RSS feed

 
Reetesh Shrivastav
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help me with this problem. I have tomcat5 and jdk1.4 and win2k.
Now I used service.bat to install tomcat as win service.It installed properly.
But now from adminstrative tool-->services I start Apache tomcat service
its displays error as "service-specific error code 0"

I think the problem is that in the registry in HKEY_LOCAL_MACHINE-->System-->CurrentControlSet-->Services-->Tomcat5-->Parameter there are no JVM options being shown. How to get them.

Service.bat code snippet is--
"%EXECUTABLE%" //IS//%SERVICE_NAME% --StartClass org.apache.catalina.startup.Bootstrap --StopClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams stop

Please help me..
 
Roel De Nijs
Marshal
Posts: 10996
161
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we do have something like this:



Hope it helps
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!