Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Start Tomcat as a Service

Status
Not open for further replies.

RicardoPereira

Programmer
Jun 3, 2003
255
0
0
PT
I created a batch file to create the Tomcat service but, when i try to start the service i got the message:

Could not start Apache Tomcat Service on Local Computer.

What should i do?
Start on a remote computer ? :))
 
Here is what I did. I created an icon. Here is how it looks.

Target - "C:\Program Files\JRockit\7.0\1.3.1\bin\java.exe" -jar -Duser.dir="C:\Program Files\Apache Tomcat 4.0" "C:\Program Files\Apache Tomcat 4.0\bin\bootstrap.jar" start

Start in: "C:\Documents and Settings\admin1\Start Menu\Programs\Apache Tomcat 4.0"

You need to add a statement into your path statement in Environmental Variables: %JAVA_HOME%\bin

Hope this helps out some.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top