Solved

Setting Classpath for Tomcat

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

708 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now