Solved

Setting Classpath for Tomcat

Posted on 2008-10-22
2
4,229 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 500 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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

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 …
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

707 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