Yes, I am using the latest version of Eclipse 3.1.1.  It is not a bug related to Axis2 .94, I think.
Last night, I figure out what the problem is. In Eclipse, I define a user library named axis2 including all the jar's in the bin directory. An option for the user defined lib is the "system library (add to the boot class path)". I am not sure how this system library works. When I create the axis2 lib as a system library, the exceptions will come out. However, if the axis2 lib is not a system library, all the thing are OK. It seems that it is related to class loading as you said.

Thank you,

Don

On 1/13/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
Please log a bug. seems to be a classloader issue. Did you try latest
Eclipse 3.1?

thanks,
dims

On 1/12/06, Dong Liu <[EMAIL PROTECTED]> wrote:
> Hi, folks,
>
> All the clients in userguide work well in cmd. When I try to test the
> clients in Eclipse, I get such exceptions
>
> > Exception in thread "main"
> org.apache.commons.logging.LogConfigurationException :
> org.apache.commons.logging.LogConfigurationException:
> java.lang.NullPointerException (Caused by java.lang.NullPointerException)
> (Caused by
> org.apache.commons.logging.LogConfigurationException :
> java.lang.NullPointerException (Caused by java.lang.NullPointerException))
> > at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
> > at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance (LogFactoryImpl.java:235)
> > at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
> > at org.apache.commons.logging.LogFactory.getLog
> (LogFactory.java:351)
> > at
> org.apache.axis2.context.ConfigurationContextFactory.<init>(ConfigurationContextFactory.java:25)
> > at
> org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java :86)
> > at org.apache.axis2.client.ServiceClient
> .<init>(ServiceClient.java:148)
> > at
> userguide.clients.EchoBlockingClient.main(EchoBlockingClient.java:46)
> > Caused by:
> org.apache.commons.logging.LogConfigurationException:
> java.lang.NullPointerException (Caused by java.lang.NullPointerException)
> > at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor (LogFactoryImpl.java:397)
> > at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
> > ... 7 more
> > Caused by: java.lang.NullPointerException
> > at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374)
> > ... 8 more
> >
>
> I think that is related to the loggingmodule, but I cannot figure out how to
> configure it. All the jar's of axis2 are included in the project. Any
> suggestions?
>
> Cheers,
>
> Don
>


--
Davanum Srinivas : http://wso2.com/blogs/

Reply via email to