?
Solved

Setting Classpath for Tomcat

Posted on 2008-10-22
2
Medium Priority
?
4,251 Views
Last Modified: 2013-12-02
I have tomcat running as a service on Windows Server 2003 (32 bit).  I need to set the class path variable prior to starting tomcat, and I am getting this error using the code below.  

[420 prunsrv.c] [error]
The operation completed sucessfully.
[1327 prunsrv.c] [error]
Load configuration failed

Is it possible to do what I'm trying to do and does anyone know what I'm doing wrong?

Thanks in advance
set path=%JAVA_HOME%\jre\bin;%JAVA_HOME%\jre\bin\classic;%JAVA_HOME%\bin;%path%;
 
call "C:\Tomcat_5.5.25\bin\tomcat5.exe" "//RS//Tomcat5 ++Classpath=%ADVISOR_COMMON_HOME%\lib\hsqldb.jar;%CLASSPATH%;"

Open in new window

0
Comment
Question by:cartereverett
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
matthewsb earned 2000 total points
ID: 22779778
You should change the class path via the control panel supplied with Tomcat. If you installed in the standard location it will be:

C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin\tomcat55w.exe

Click on the Java tab to change the Class Path settings. Then click the OK button and restart the service if necessary.

I have attached a screen shot from Tomcat 6.0 but it looks pretty much the same for Tomcat 5.5.
tccp.png
0
 

Expert Comment

by:sivaramaprasadvemuri
ID: 23989335
What if I did not install Tomcat as a service? Where do I set the classpath?
0

Featured Post

Plug and play, no additional software required!

The ATEN UE3310 USB3.1 Gen1 Extender Cable allows users to extend the distance between the computer and USB devices up to 10 m (33 ft). The UE3310 is a high-quality, cost-effective solution for professional environments such as hospitals, factories and business facilities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month15 days, 4 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question