Hi Marcia,

I just installed axis couple of days ago, so I am new, too. Correct me if I
am wrong, but I believe the AdminClient class is in axis.jar and I don't
think you need to have soap.jar in your classpath for axis to work. I think
soap.jar belows to the SOAP project.

Shannon

-----Original Message-----
From: Marcia Perry (DSD staff) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 4:22 PM
To: [EMAIL PROTECTED]
Subject: Re: AdminClient not found - still thrashing


Hi Folks,
I'm a newbie, thrashing about and reading these posts before asking my 
own questions.  This helped me out so I'm checking my classpath. 
QUESTION: I see that Steve Pruitt's classpath has the soap.jar in 
tomcat's common/lib directory.  I am using Tomcat v4.1.24 and I do NOT 
have a soap.jar in the axis-1_1/ tree nor in Tomcat's common/lib or 
common/endorsed directories.  Where should I get the CORRECT VERSION of 
the soap.jar to work w/ Tomcat v4.1.24 and Axis v1.1?

Thanks,
Marcia

Steve Pruitt wrote:
> Yes, its been one of those days.  I wish I could have retracted that post.
I found my error about five minutes after hitting send.  With a distinct
possibility of committing the same sin.  I still have a class path problem
trying to install the same service, only now its
> 
> Exception in thread "main" java.lang.NoClassDefFoundError:
javax/xml/soap/SOAPException
>         at
org.apache.axis.encoding.DefaultTypeMappingImpl.<init>(DefaultTypeMappingImp
l.j
> ava:153)
>         at
org.apache.axis.encoding.DefaultTypeMappingImpl.<init>(DefaultTypeMappingImp
l.j
> ava:130)
>         at
org.apache.axis.encoding.DefaultTypeMappingImpl.getSingleton(DefaultTypeMapp
ing
> Impl.java:124)
>         at
org.apache.axis.encoding.TypeMappingRegistryImpl.<init>(TypeMappingRegistryI
mpl
> .java:180)
>         at
org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.java:51
0)
>         at
org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:104)
> ....
> 
> The classpath is
> 
> java -cp C:\jakarta-tomcat-4.1.24\webapps\axis\WEB-INF\lib\axis.ja
>
r;C:\jakarta-tomcat-4.1.24\webapps\axis\WEB-INF\lib\commons-discovery.jar;C:
\jakarta-tomca
>
t-4.1.24\webapps\axis\WEB-INF\lib\commons-logging.jar;C:\jakarta-tomcat-4.1.
24\webapps\axi
>
s\WEB-INF\lib\log4j-1.2.8.jar;C:\jakarta-tomcat-4.1.24\webapps\axis\WEB-INF\
lib\xml-apis.j
>
ar;C:\jakarta-tomcat-4.1.24\webapps\axis\WEB-INF\lib\jaxrpc.jar;C:\jakarta-t
omcat-4.1.24\c
> ommon\lib\soap.jar org.apache.axis.client.AdminClient deploy.wsdd
> 
> The last entry in my class path is the soap.jar.  The class should be
found in it.
> 
> 
> -Steve Pruitt
> 
> 
> No, it's not.  Navigate to the exact directory path in your classpath
> and you'll find you are missing the WEB-INF dir.
> 
> -----Original Message-----
> From: Steve Pruitt [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 30, 2003 10:16 AM
> To: [EMAIL PROTECTED]
> Subject: AdminClient not found
> 
> 
> All,
> 
> Running...
> 
> java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient deploy.wsdd
> 
> I get... 
> 
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/axis/client/AdminClient
> 
> 
> AXISCLASSPATH is defined...
> 
> AXISCLASSPATH=C:\jakarta-tomcat-4.1.24\webapps\axis\lib\axis.jar;C:\jaka
> rta-tomcat-4.1.24\
> webapps\axis\lib\commons-discovery.jar;C:\jakarta-tomcat-4.1.24\webapps\
> axis\lib\commons-l
> ogging.jar;C:\jakarta-tomcat-4.1.24\webapps\axis\lib\log4j-1.2.8.jar;C:\
> jakarta-tomcat-4.1
> .24\webapps\axis\lib\xml-apis.jar
> 
> The axis.jar is in the directory, so I am miffed.
> 
> 
> -Steve Pruitt
> 
> 
> 
> 


-- 
----------------------------------------------------------------
Marcia Perry                            [EMAIL PROTECTED]
Lawrence Berkeley National Laboratory   WORK#  (510) 486-6786
1 Cyclotron Road                        FAX#   (510) 486-6363
Berkeley, CA 94720                      MS: 50A-3111

Reply via email to