Link to home
Start Free TrialLog in
Avatar of cartereverett
cartereverettFlag for United States of America

asked on

Setting Classpath for Tomcat

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

ASKER CERTIFIED SOLUTION
Avatar of matthewsb
matthewsb

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sivaramaprasadvemuri
sivaramaprasadvemuri

What if I did not install Tomcat as a service? Where do I set the classpath?