Have you tried the method suggested in the Axis Installation Guide? I set this up today with no problems.
I set the following three environment variables: AXIS_HOME=c:\axis AXIS_LIB=%AXIS_HOME%\lib AXISCLASSPATH=%AXIS_LIB%\axis.jar;%AXIS_LIB%\commons-discovery.jar; %AXIS_LIB%\commons-logging.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\saaj.jar; %AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\xercesImpl.jar (With the appropriate paths, of course). Then when invoking the admin client, the -cp switch uses the AXISCLASSPATH: dos> java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient ... HTH, Mike > I would prefer not to add any classpaths to the shell seen as I have two > axis folders within tomcat one would overwrite the other.... > > Is there any other way I can tell the test folder where the adminclient > is? > > -----Original Message----- > From: Michael C. Clark [mailto:[EMAIL PROTECTED] > Sent: 08 December 2004 11:28 > To: [EMAIL PROTECTED] > Subject: RE: axis finding jar files in lib folder > > Have you tried adding a classpath to your environment that contains the > admin client? Either the CLASSPATH env var in Windows, or your shell > profile in *nix? > > -Mike > > >> Yes I can compile my java files, but I put in the classpath as I do it >> i.e. javac -classpath foo.jar:. *.java >> >> I want to run the admin client without having to hard code the > classpath >> though. I have set up two versions of Axis on tomcat one for testing >> purposes, for this I've renamed the axis folder to axis-testing. Do I >> need to change some setup docs in axis for this? Could this be the >> reason the axis cant find the admin client class? >> >> Thanks >> Suzy >> >> -----Original Message----- >> From: Koney, Satish [mailto:[EMAIL PROTECTED] >> Sent: 08 December 2004 02:56 >> To: [EMAIL PROTECTED] >> Subject: RE: axis finding jar files in lib folder >> >> Suzy, >> >> are u not able to compile the java files? put all the jars file >> that >> come with axis in the classpath...that's all.... >> no other jars are required unless your application is using other >> classes... >> >> Thanks, >> SSSS. >> >>> -----Original Message----- >>> From: Rajal Shah [SMTP:[EMAIL PROTECTED] >>> Sent: Wednesday, December 08, 2004 12:56 AM >>> To: [EMAIL PROTECTED] >>> Subject: RE: axis finding jar files in lib folder >>> >>> Hmm.. I have my service class files under axis/WEB-INF/classes.. (not >> as a >>> jar file but the regular package file structure).. I couldn't tell > why >> it >>> won't pick it up from the lib folder.. Myabe has to do something with >> the >>> server-config.wsdd processing and finding classes for the services >> defined >>> in it. >>> >>> -- >>> >>> Rajal >>> >>> >>> >>> >>> >>> _____ >>> >>> From: Suzy Fynes [mailto:[EMAIL PROTECTED] >>> Sent: Tuesday, December 07, 2004 3:18 AM >>> To: [EMAIL PROTECTED] >>> Subject: axis finding jar files in lib folder >>> >>> >>> >>> >>> >>> >>> >>> Hi, >>> >>> >>> >>> I've an application that I want to deploy as a web service, (in java) >> and >>> when I put the java file into the axis /servicedevelopment and try to >>> compile it I'm getting errors that it cant find a class that I >> created. I >>> have created a jar file of all classes that this service access and >> placed >>> the jar into axis/web-inf/lib but it still doesn't seem to find it... >>> >>> >>> >>> Anyone any ideas what I'm doing wrong ??? >>> >>> >>> >>> >>> >>> Thanks >>> >>> Suzy >>> >>> >> ____________________________________________ >> Confidential: This electronic message and all contents contain >> information >> from Syntel, Inc. which may be privileged, confidential or otherwise >> protected from disclosure. The information is intended to be for the >> addressee only. If you are not the addressee, any disclosure, copy, >> distribution or use of the contents of this message is prohibited. If >> you >> have received this electronic message in error, please notify the > sender >> immediately and destroy the original message and all copies. >> >> >> > > > > >