Hi there, I got useful information regarding this issue. Please find the given link
http://mail-archives.apache.org/mod_mbox/tomcat-users/200605.mbox/%3c446 [EMAIL PROTECTED] Thanks, A Srivani. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] org] On Behalf Of Srivani Ausula Sent: Friday, May 05, 2006 11:57 PM To: Jakarta Commons Users List Subject: RE: Axis and Tomcat - java.lang.NullPointerException Assuming the problem could be at common-discovery I posted here. Getting some pointers from tomcat-users-list but the issue is not yet resolved.If I am able to solve the problem I would definitely post the solution. Thanks, A Srivani. ________________________________ From: [EMAIL PROTECTED] on behalf of Henri Yandell Sent: Thu 5/4/2006 5:29 PM To: Jakarta Commons Users List Subject: Re: Axis and Tomcat - java.lang.NullPointerException Of course, it could be a bug in commons-discovery as that dominates the stack trace. Did you find a solution on the Axis list? Hen On 4/29/06, Martin van den Bemt <[EMAIL PROTECTED]> wrote: > The lack of response is probably coming from the fact that this issue has nothing to do with > commons, so it's better to ask this on the tomcat-user list or axis user list.. > > Mvgr, > Martin > > Srivani Ausula wrote: > > Hi, > > > > Does anyone came across the below issue? > > I surfed the forums related to the problem and found that some are suggesting to make reloadable=true in server.xml.But it is not possible for me. > > > > After debugging the tomcat source(org.apache.catalina.loader.WebAppClassLoader.java), found that when the application is redeployed, axis.jar is available but it is not able to load 'org.apache.axis.EngineConfigurationFactory' class which is invoked from org.apache.axis.Service' constructor to get AxisEngine. Thus resulting Null pointer Exception. > > > > Any pointers to solve the problem?Is it possible not to package axis.jar with my application? > > > > Thanks in advance...... > > > > - A Srivani. > > > > ________________________________ > > > > From: [EMAIL PROTECTED] on behalf of Srivani Ausula > > Sent: Wed 4/26/2006 11:44 PM > > To: [email protected] > > Subject: Axis and Tomcat - java.lang.NullPointerException > > > > > > > > Hi there, > > > > In my webapplication axis is used to connect webservices. If the > > axis.jar is in WEB-INF/lib I can reload my app and everything is fine. > > But when I moved axis.jar to CATALINA_HOME/shared/lib to shrink the size > > of my war file I get a NullPointerException (stack trace follows) when > > the > > application has been reloaded and I try to connect to a service. The > > application runs fine until I try to connect to a webservice. What could > > be the reason for this? > > > > java.lang.NullPointerException > > at > > org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLo > > ader.java:956) > > at java.lang.ClassLoader.getResources(ClassLoader.java:1015) > > at > > org.apache.commons.discovery.jdk.JDK12Hooks.getResources(JDK12Hooks.java > > :150) > > at > > org.apache.commons.discovery.resource.DiscoverResources$1.getNextResourc > > es(DiscoverResources.java:153) > > at > > org.apache.commons.discovery.resource.DiscoverResources$1.getNextResourc > > e(DiscoverResources.java:129) > > at > > org.apache.commons.discovery.resource.DiscoverResources$1.hasNext(Discov > > erResources.java:116) > > at > > org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNex > > tClassNames(DiscoverNamesInFile.java: > > 186) > > at > > org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNex > > tClassName(DiscoverNamesInFile.java:1 > > 70) > > at > > org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.hasNex > > t(DiscoverNamesInFile.java:157) > > at > > org.apache.commons.discovery.resource.names.NameDiscoverers$1.getNextIte > > rator(NameDiscoverers.java:143) > > at > > org.apache.commons.discovery.resource.names.NameDiscoverers$1.hasNext(Na > > meDiscoverers.java:126) > > at > > org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$ > > 1.getNextResource(ResourceClassDiscov > > erImpl.java:159) > > at > > org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$ > > 1.hasNext(ResourceClassDiscoverImpl.j > > ava:147) > > at > > org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(Eng > > ineConfigurationFactoryFinder.java:12 > > 0) > > at java.security.AccessController.doPrivileged(Native Method) > > at > > org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactor > > y(EngineConfigurationFactoryFinder.ja > > va:113) > > at > > org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactor > > y(EngineConfigurationFactoryFinder.ja > > va:160) > > at > > org.apache.axis.client.Service.getEngineConfiguration(Service.java:812) > > at > > org.apache.axis.client.Service.getAxisClient(Service.java:103) > > at org.apache.axis.client.Service.<init>(Service.java:112) > > at > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
