axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Pruitt" <SPru...@exstream.com>
Subject RE: AdminClient not found - did it again
Date Wed, 30 Jul 2003 16:27:13 GMT
My apologies to the list.  I found my problem in record time.  Only two minutes after hitting
the send button.


:>(


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>(DefaultTypeMappingImpl.j
ava:153)
        at org.apache.axis.encoding.DefaultTypeMappingImpl.<init>(DefaultTypeMappingImpl.j
ava:130)
        at org.apache.axis.encoding.DefaultTypeMappingImpl.getSingleton(DefaultTypeMapping
Impl.java:124)
        at org.apache.axis.encoding.TypeMappingRegistryImpl.<init>(TypeMappingRegistryImpl
.java:180)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.java:510)
        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-tomcat-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:SPruitt@exstream.com] 
Sent: Wednesday, July 30, 2003 10:16 AM
To: axis-user@ws.apache.org
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




Mime
View raw message