users@jax-rpc.java.net

Re: Classpath Problem

From: Richard Jones <richardjones_at_email.com>
Date: Fri, 21 Mar 2003 11:11:30 +0000

I have tried your last piece of help and I could not get it to work I have taken catlina.bat and pasted it dierctly into my mail.

Since I have had this much trouble is there any other way around my problem

//----Catlina.bat
rem @echo off
if "%OS%" == "Windows_NT" setlocal
rem ---------------------------------------------------------------------------
rem Start/Stop Script for the CATALINA Server
rem
rem Environment Variable Prequisites
rem
rem JAVA_HOME Must point at your Java Development Kit installation.
rem
rem $Id: catalina.bat,v 1.32 2002/05/20 19:11:57 pluby Exp $
rem ---------------------------------------------------------------------------

rem Get standard environment variables
set PRG=%0
if exist %PRG%\..\setenv.bat goto gotCmdPath
rem %0 must have been found by DOS using the %PATH% so we assume that setenv.bat
rem will also be found in the %PATH%
call setenv.bat
goto doneSetenv
:gotCmdPath
call %PRG%\..\setenv.bat
:doneSetenv

rem Make sure prerequisite environment variables are set
if not "%JAVA_HOME%" == "" goto gotJavaHome
echo The JAVA_HOME environment variable is not defined
echo This environment variable is needed to run this program

goto end
:gotJavaHome

rem Setting application classpaths
set CP=c:\topme\xerces\xerces.jar;c:\topme\castor\castr-0.9.4.1.jar;c:\TOPS\classes;c:\oracle9\jdbc\lib\classes12.jar;c:\oracle9\jdbc\lib\nls_charset12.jar;c:\oracle9\jdbc\lib\ocrs12.jar;c:\oracle9\jdbc\lib\ojdbc14.jar;c:\oracle9\jdbc\lib\classes12dms.jar;c:\oracle9\jdbc\lib\classes12dms_g.jar;c:\oracle9\jdbc\lib\ojdbc14_g.jar;c:\TOPS\classes\jep\jep210.jar;c:\TOPS\classes\HTTPClient.zip;.
set CLASSPATH=%CP%


rem Get command line arguments and save them
set CMD_LINE_ARGS=
:setArgs
if ""%1""=="""" goto doneSetArgs
set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
shift
goto setArgs
:doneSetArgs
--
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup