axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Closed: (AXIS-1227) NullPointerExceptions for updated classes from JBoss classloader.
Date Sat, 27 Mar 2004 12:22:58 GMT
Message:

   The following issue has been closed.

   Resolver: Davanum Srinivas
       Date: Sat, 27 Mar 2004 4:22 AM

Updated commons-discovery.jar to latest CVS as of "Sat Mar 27 07:18:17 EST 2004"
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1227

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1227
    Summary: NullPointerExceptions for updated classes from JBoss classloader.
       Type: Bug

     Status: Closed
 Resolution: FIXED

    Project: Axis
 Components: 
             Basic Architecture
   Fix Fors:
             current (nightly)
   Versions:
             1.2 Alpha

   Assignee: 
   Reporter: _matthewHawthorne

    Created: Thu, 12 Feb 2004 12:27 AM
    Updated: Sat, 27 Mar 2004 4:22 AM
Environment: Operating System: Linux
Platform: PC

Description:
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)


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message