You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2004/02/12 01:27:11 UTC
DO NOT REPLY [Bug 26875] New: -
NullPointerExceptions for updated classes from JBoss classloader.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26875>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26875
NullPointerExceptions for updated classes from JBoss classloader.
Summary: NullPointerExceptions for updated classes from JBoss
classloader.
Product: Axis
Version: 1.2 Alpha
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Major
Priority: Other
Component: Basic Architecture
AssignedTo: axis-dev@ws.apache.org
ReportedBy: mhawthorne@alumni.pitt.edu
JBoss is infamous for its UnifiedClassLoader, which doesn't seem to behave like
a typical J2EE classloader. I've tried numerous JBoss configurations, but none
of them seem to do everything that I need.
I've checked their bug reports and they seem to think it's a problem with "the
Apache guys" caching classes.
I am deploying session beans in an ear file, and using the java:EJB provider to
invoke them as web services. This works great on a fresh deployment with a
newly started server, but when I redeploy, I frequently have problems with
NullPointerExceptions.
Does anyone have a thought or suggestion about this problem? I would be willing
to help out with testing in JBoss.
Thanks for any help or info that you can provide!
java.lang.NullPointerException
at
org.jboss.mx.loading.UnifiedClassLoader.findResources(UnifiedClassLoader.java:374)
at java.lang.ClassLoader.getResources(ClassLoader.java:825)
at java.lang.ClassLoader.getResources(ClassLoader.java:821)
at java.lang.ClassLoader.getResources(ClassLoader.java:821)
at org.apache.commons.discovery.jdk.JDK12Hooks.getResources(JDK12Hooks.java:150)
at
org.apache.commons.discovery.resource.DiscoverResources$1.getNextResources(DiscoverResources.java:153)
at
org.apache.commons.discovery.resource.DiscoverResources$1.getNextResource(DiscoverResources.java:129)
at
org.apache.commons.discovery.resource.DiscoverResources$1.hasNext(DiscoverResources.java:116)
at
org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNextClassNames(DiscoverNamesInFile.java:186)
at
org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNextClassName(DiscoverNamesInFile.java:170)
at
org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.hasNext(DiscoverNamesInFile.java:157)
at
org.apache.commons.discovery.resource.names.NameDiscoverers$1.getNextIterator(NameDiscoverers.java:143)
at
org.apache.commons.discovery.resource.names.NameDiscoverers$1.hasNext(NameDiscoverers.java:126)
at
org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$1.getNextResource(ResourceClassDiscoverImpl.java:159)
at
org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$1.hasNext(ResourceClassDiscoverImpl.java:147)
at
org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(EngineConfigurationFactoryFinder.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:152)
at
org.apache.axis.transport.http.AxisServletBase.getEngineEnvironment(AxisServletBase.java:285)
at
org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:208)
at
org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:187)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:785)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)