users@jax-rpc.java.net

Re: Classpath Problem

From: Akhil Nagpal <akhil.nagpal_at_PARTNER.SAMSUNG.COM>
Date: Fri, 21 Mar 2003 20:25:38 +0900

I too have stuck some times with classpath problem...in such a situation hit
and trial has been a solution:)
like you may be having some charaactre like ";" missing between two jar
files in ur system or file classpath...
i have checked ur classpth for this file can u check ur system
classpath..keep the dot "." ahead of everything not in last.....
 try it and let me know
Ak

----- Original Message -----
From: "Richard Jones" <richardjones_at_EMAIL.COM>
To: <JAXRPC-INTEREST_at_JAVA.SUN.COM>
Sent: Friday, March 21, 2003 8:11 PM
Subject: Re: Classpath Problem


> 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\clas
ses;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\jd
bc\lib\classes12dms.jar;c:\oracle9\jdbc\lib\classes12dms_g.jar;c:\oracle9\jd
bc\lib\ojdbc14_g.jar;c:\TOPS\classes\jep\jep210.jar;c:\TOPS\classes\HTTPClie
nt.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
>