Axis2 uses commons logging with log4j indirectly. If you're using the war file then 2 configuration files are in the WEB-INF/classes. You can try changing the log4j level to debug for a specific packages. It's possible that websphere logging could be interfering with these files or logging location. Websphere entries here could be helpful http://wiki.apache.org/jakarta-commons/Logging/FrequentlyAskedQuestions
On Wed, Nov 11, 2009 at 10:01 PM, Chinh Do <c...@lumenos.com> wrote: > Hello all: > > I am trying to diagnose a NullPointerException (see trace below) from > org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription. > This problem only occurs on a specific node. I downloaded the axis2 source > code from http://ws.apache.org/axis2/download.cgi and I can see that the > createServiceDescription method write several debug log entries. What I > can't seem to figure out is how to get these entries to show up some where. > > How do I turn on axi2 debug logging? > > Thanks for any help in advance. > > Chinh > > Exception Trace: > > Caused by: java.lang.NullPointerException > at > jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:102) > at > org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:79) > at > org.apache.axis2.jaxws.description.DescriptionFactory.createServiceDescription(DescriptionFactory.java:76) > at > org.apache.axis2.jaxws.spi.ServiceDelegate.<init>(ServiceDelegate.java:211) > at > org.apache.axis2.jaxws.spi.Provider.createServiceDelegate(Provider.java:59) > at javax.xml.ws.Service.<init>(Service.java:67) > at javax.xml.ws.Service.create(Service.java:691) > at > org.springframework.remoting.jaxws.LocalJaxWsServiceFactory.createJaxWsService(LocalJaxWsServiceFactory.java:134) > at > org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.prepare(JaxWsPortClientInterceptor.java:288) > at > org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.afterPropertiesSet(JaxWsPortClientInterceptor.java:278) > at > org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean.afterPropertiesSet(JaxWsPortProxyFactoryBean.java:49) > > > > IMPORTANT WARNING: > This e-mail is intended for the use of the person to whom it is addressed > and may contain information that is privileged and confidential, the > disclosure of which is governed by applicable law. Dissemination, > distribution or copying of this information in an unauthorized manner is > strictly prohibited. Sender accepts no liability for any damage caused by > any virus transmitted by this e-mail. If you receive this in error, please > notify the sender. > ============================================================================== > -- http://upulgodage.com