]
Kurt Stam commented on JBESB-391:
---------------------------------
This has to do with the undeploying the sar. When the jboss-service.xml is touched, the
sar reloads, the MBeans are stopped which call unregister on the listener and gateways.
The unregister is not successful because of classloading issues.
If the jbossesb.xml is emptied the listeners unregister nicely. This clearly is a timing
issue.
Not sure how to get around this.
sometimes the parser is not found when doing a parameter reload.
----------------------------------------------------------------
Key: JBESB-391
URL:
http://jira.jboss.com/jira/browse/JBESB-391
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.0
Environment: any
Reporter: Kurt Stam
Assigned To: Mark Little
Fix For: 4.0
When running the deployToSar task of the hello world quickstart on a running jboss, the
timestamp on the jbossesb.xml changes and the parameters are reloaded. When this happens
sometimes see the following stacktrace:
15:18:25,687 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0
date=200610162339)] Started in 40s:875ms
15:18:47,296 ERROR [STDERR] Exception in thread "Thread-6"
15:18:47,296 ERROR [STDERR] org.apache.xerces.parsers.ObjectFactory$ConfigurationError:
Provider org.apache.xerces.parsers.XIncludeAwareParserConfiguration could not be
instantiated: java.lang.NullPointerException
15:18:47,296 ERROR [STDERR] at
org.apache.xerces.parsers.ObjectFactory.newInstance(Unknown Source)
15:18:47,296 ERROR [STDERR] at
org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
15:18:47,296 ERROR [STDERR] at
org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
15:18:47,296 ERROR [STDERR] at org.apache.xerces.parsers.DOMParser.<init>(Unknown
Source)
15:18:47,296 ERROR [STDERR] at org.apache.xerces.parsers.DOMParser.<init>(Unknown
Source)
15:18:47,296 ERROR [STDERR] at
org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source)
15:18:47,296 ERROR [STDERR] at
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)
15:18:47,296 ERROR [STDERR] at
org.jboss.soa.esb.listeners.config.XmlValidatorImpl.validate(XmlValidatorImpl.java:160)
15:18:47,296 ERROR [STDERR] at
org.jboss.soa.esb.listeners.config.ConfigurationController.processConfiguration(ConfigurationController.java:176)
15:18:47,296 ERROR [STDERR] at
org.jboss.soa.esb.listeners.config.ConfigurationController.run(ConfigurationController.java:113)
15:18:47,296 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
15:19:12,515 ERROR [STDERR] Exception in thread "Thread-15"
which is thrown from the line 160 in the XmlValidatorImpl:
parser = builderFactory.newDocumentBuilder();
The issue seems to fix it self, as it seems to be successful 5 seconds later.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: