That class should be in the commons-logging.jar, but the name of the jar file might be incomplete (missing the version number). Try to check under %AXISHOME%/lib and verify if the name corresponds to what you have in the %AXISCLASSPATH%.

--Luis R.

From: jim wang <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: "Exception in thread ..." error
Date: Sun, 17 Jul 2005 18:45:50 -0700 (PDT)

Any one, Please.

-Jim

jim wang <[EMAIL PROTECTED]> wrote:
Hi, everyone:

I am new user to the AXIS, I try to setup my WebService right on my PC(XP).

I have done all the setups according to instructions from http://ws.apache.org/axis/java/install.html#Introduction and everythink looks fine.

Also I have setup my environment variables as followings:
AXIS_HOME=C:\local\public_html\axis-1_2_1
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;.;

Now when I try to do run some exmaples and first of all play with depolyment descriptor and run the admin client:

1) cd %AXIS_HOME%\examples\stock
and run
2) java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClien
-lhttp://localhost:8080/axis/services/AdminService deploy.wsdd

I got the following error messages:

Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.commons.lo
gging.LogFactory
at org.apache.axis.components.logger.LogFactory.class$(LogFactory.java:4
5)
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)

I try to locate the LogFactory.java file under %AXIS_HOME%, can't find it, if any experter out there can give some light, I really appreciate.

Thanx.

-Jim


---------------------------------
Start your day with Yahoo! - make it your home page
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/

Reply via email to