axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alvin Yao <a...@eqo.com>
Subject RE: NoClassDefFoundError for org.apache.commons.logging.LogFactory
Date Tue, 13 Mar 2007 20:48:03 GMT
yes, they are same.
Seems commons.logging had issue. Any idea?
Thanks

Alvin

[root@ayao axis-1_4]# echo $CLASSPATH
/usr/local/axis-1_4/lib/axis.jar:/usr/local/axis-1_4/lib/commons-
discovery.jar:/usr/local/axis-1_4/lib/commons-
logging.jar:/usr/local/axis-1_4/lib/jaxrpc.jar:/usr/local/axis-1_4/lib/saaj.jar:/usr/local/axis-1_4/lib/log4j-1.2.8.jar:/usr/local/axis-1_4/lib/wsdl4j-1.5.1.jar:/usr/local/axis-1_4/lib/axis-ant.jar:/usr/local/xerces/xercesImpl.jar:/usr/local/xerces/xml-apis.jar

[root@ayao axis-1_4]# echo $AXISCLASSPATH
/usr/local/axis-1_4/lib/axis.jar:/usr/local/axis-1_4/lib/commons-
discovery.jar:/usr/local/axis-1_4/lib/commons-
logging.jar:/usr/local/axis-1_4/lib/jaxrpc.jar:/usr/local/axis-1_4/lib/saaj.jar:/usr/local/axis-1_4/lib/log4j-1.2.8.jar:/usr/local/axis-1_4/lib/wsdl4j-1.5.1.jar:/usr/local/axis-1_4/lib/axis-ant.jar:/usr/local/xerces/xercesImpl.jar:/usr/local/xerces/xml-apis.jar



On Tue, 2007-03-13 at 13:25 -0600, Ryan Nelsestuen wrote:
> You are passing in $AXISCLASSPATH and echoing $CLASSPATH - are they the
> same?
> 
> -----Original Message-----
> From: Alvin Yao [mailto:ayao@eqo.com] 
> Sent: Tuesday, March 13, 2007 2:20 PM
> To: axis-user@ws.apache.org
> Subject: NoClassDefFoundError for org.apache.commons.logging.LogFactory
> 
> Hi, 
> > 
> > I set the classpath as following. when i run java -cp $CLASSPATH
> > org.apache.axis.client.AdminClient, 
> > -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd
> > I got following ERR MSG, could any one know how to fix it?
> > Many thanks.
> > 
> > Alvin
> > 
> >  
> > [root@ayao stock]# java -cp $AXISCLASSPATH
> > org.apache.axis.client.AdminClient -
> > lhttp://localhost:8080/axis/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.java:41)
> >         at
> >
> org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
> >         at
> > org.apache.axis.client.AdminClient.<clinit>(AdminClient.java:48)
> > 
> > 
> > 
> > [root@ayao ~]# echo $CLASSPATH
> > /usr/local/axis-1_4/lib/axis.jar:/usr/local/axis-1_4/lib/commons-
> > discovery.jar:/usr/local/axis-1_4/lib/commons-
> >
> logging.jar:/usr/local/axis-1_4/lib/jaxrpc.jar:/usr/local/axis-1_4/lib/saaj.
> jar:/usr/local/axis-1_4/lib/log4j-1.2.8.jar:/usr/local/axis-1_4/lib/wsdl4j-1
> .5.1.jar:/usr/local/axis-1_4/lib/axis-ant.jar:/usr/local/axis-1_4/lib/xml-ap
> is.jar:/usr/local/axis-1_4/lib/xercesImpl.jar
> > [root@ayao ~]# cd /usr/local/axis-1_4/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message