The following line of code: Service s = new Service(); throws a runtime 
exception (see below) if the service is redeployed and ran. Deploying the 
service for the first time works fine. Restarting JBoss (without changing the 
.ear file) after an exception also "fixes" it. 

Using Axis 1.2.1 and JBoss 4.0.2

The following warnings were observed during undeployment (no idea if they are 
at all related to the issue): 
anonymous wrote : 
  | WARN  [org.jboss.system.ServiceController] Ignoring request to stop 
nonexistent service: null
  | WARN  [org.jboss.deployment.DeploymentInfo] Could not delete 
file:/C:/bb/data/AppServers/jboss-4.0.2/server/custom/tmp/deploy/tmp52607app.ear
 restart will delete it
  | 

anonymous wrote : 
  | Exception: java.lang.NullPointerException
  |     at 
org.jboss.mx.loading.RepositoryClassLoader.findResources(RepositoryClassLoader.java:543)
  |     at java.lang.ClassLoader.getResources(ClassLoader.java:1015)
  |     at java.lang.ClassLoader.getResources(ClassLoader.java:1011)
  |     at java.lang.ClassLoader.getResources(ClassLoader.java:1011)
  |     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:120)
  |     at java.security.AccessController.doPrivileged(Native Method)
  |     at 
org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:113)
  |     at 
org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java: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.(Service.java:112) 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884394#3884394

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884394


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to