Wow, good call Martin. I had the same sort of issue when I installed tomcat
and changed the folder name to get rid of spaces. But, I didn't think that a
listing with spaces would cause following ones to be unrecognized. I'll try
that too.

Thanks a lot for the input.

-----Original Message-----
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 12, 2005 4:18 PM
To: [EMAIL PROTECTED]
Subject: Re: ServiceManagerClient classpath issues


Dave-

Most ANT build.xml and most java compilers dont understand longwinded NTFS
folder names e.g. C:\Program Files
which is why any folder which follows the longwinded name in a environment
var wont be regosnised at the end of the path
to be safe always put in the 8 character directory name
so
set
CLASSPATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\j
2sdk1.4.2_01;C:\Program Files\Microsoft
SQLServer\80\Tools\BINN;C:\apacheSoap\soap2_3_1\lib

becomes
SET
CLASSPATH=C:\APACHE~1\SOAP2_~1\lib\soap.jar;C:\J2RE14~1.2_0;C:\PROGRA~1\MICR
OS~1\80\Tools\binn

(Yes. ..this is a re-affirmation of Scotts suggestion)

Martin-




----- Original Message ----- 
From: "David Vick" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 12, 2005 3:56 PM
Subject: RE: ServiceManagerClient classpath issues


> I'm pretty sure I tried that, but I'll give it a shot when I get home
> tonight. This is one of those cases where I've tried so many different
> things I can't remember what I have and haven't tried.
>
> Thanks for the fast reply, I'll post my results when I get them.
>
> Dave
>
> -----Original Message-----
> From: Scott Nichol [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 12, 2005 3:56 PM
> To: [EMAIL PROTECTED]
> Subject: Re: ServiceManagerClient classpath issues
>
>
> You need something like
>
> set CLASSPATH=.;C:\apacheSoap\soap2_3_1\lib\soap.jar
>
> Scott Nichol
>
> Do not send e-mail directly to this e-mail address,
> because it is filtered to accept only mail from
> specific mail lists.
> ----- Original Message ----- 
> From: "David Vick" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 12, 2005 3:47 PM
> Subject: ServiceManagerClient classpath issues
>
>
> > Hi all:
> >
> > I've got some issues and it driving me nuts trying to figure out why. I
> keep
> > getting a no class def found when I try to verify the client side
> > installation with the following:
> >
> > C:\>java org.apache.soap.server.ServiceManagerClient
> > http://localhost:8080/soap/servlet/rpcrouter list
> >
> > The exception is:
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/soap/server/ServiceManagerClient
> >
> > Here is the rest of my information:
> >
> > Windows XP version 2002 SP2
> >
> > Environment variables:
> > Path
> >
>
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\j2sdk1.4.2_
> > 01;C:\Program Files\Microsoft SQL
> > Server\80\Tools\BINN;C:\apacheSoap\soap2_3_1\lib
> >
> > JAVA_HOME
> > C:\j2sdk1.4.2_01
> >
> > J2EE_HOME
> > C:\j2sdkee1.3
> >
> > Locations of Jar files:
> > Soap 2.3.1
> > C:\apacheSoap\soap2_3_1\lib
> >
> > Java
> > C:\j2sdk1.4.2_01\lib
> >
> > J2EE
> > C:\j2sdkee1.3\lib
> >
> > JavaBeans Activation Framework
> > C:\JAF\jaf-1.0.2
> >
> > Tomcat
> > C:\Program Files\ApacheTomcat4.0
> >
> > JavaMail
> > C:\Program Files\ApacheTomcat4.0\common\lib
> >
> > Xerces.jar
> > C:\Program Files\ApacheTomcat4.0\common\lib
> >
> > I've tried with all sorts of different combinations of PATH and
CLASSPATH
> > variables but to no avail. I did a search and have no other soap.jar
files
> > on the machine. The server side installation tests are fine. Tomcat is
> > running fine as well all of the other java development I do.
> >
> > If anyone can shed any light on this I'd appreciate it.
> >
> > Thanks
> >
> > Dave
> >
>

Reply via email to