Meghan,

Thanks for the advice.  I reran the commend and I got the same response:

D:\axis121\AXIS-1~1\samples\stock>java -cp %AXISCLASSPATH%
org.apache.axis.client.AdminClient -lhttp://localhost:8080/a
is/services/AdminService deploy.wsdd
Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.commons.logging.LogFactory
        at
org.apache.axis.components.logger.LogFactory.class$(LogFactory.java:45)
        at
org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.ja
va:41)
        at
org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33
)
        at
org.apache.axis.client.AdminClient.<clinit>(AdminClient.java:48)

Any idea?

Don


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 05, 2005 5:19 PM
To: axis-user@ws.apache.org
Subject: Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.commons???

Don,

>From your copy and paste below, it appears that you put the
AXISCLASSPATH variable in quotation marks.  Don't do that; you want the
shell to fill in the actual value--that's what the percent signs are
for.

Meghan Pietila
Granite Consulting




On a Win box, I followed the Axis 1.2 "Installation Guide" and tried the
"Run the admin client"

java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient
-lhttp://localhost:8080/axis/services/AdminService deploy.wsdd

I am pretty sure the path %AXISCLASSPATH% was set right, but I still got
this errors:

D:\axis121\AXIS-1~1\samples\stock>java -cp "%AXISCLASSPATH%"
org.apache.axis.
axis/services/AdminService deploy.wsdd
Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.commons
        at
org.apache.axis.components.logger.LogFactory.class$(LogFactory.jav
        at
org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.apache.axis.components.logger.LogFactory.getLogFactory(LogFact
        at
org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.j
        at
org.apache.axis.client.AdminClient.<clinit>(AdminClient.java:48)
 
Is this related to the JCL classloader issue or something else?  How can
I go around it?
 
This is my configure:  Axis 1.2 Tomcat5.5.9, WinXPPro, JRE1.5.
 
Thanks,
 
Don
 

Reply via email to