Expose class loading failures to caller
---------------------------------------
Key: JBESB-662
URL:
http://jira.jboss.com/jira/browse/JBESB-662
Project: JBoss ESB
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Configuration
Affects Versions: 4.2 Milestone Release 2
Reporter: Kevin Conner
Assigned To: Kevin Conner
Fix For: 4.2 Milestone Release 3
Following a recent discussion on the forums we discovered that errors during classloading
are being hidden from the caller.
The specific incident involved deploying an esb which had been created using jdk1.6.
No reasonable error message was displayed on the console (nor in the server.log) to
indicate the cause of this failure.
There are two locations which are responsible for this.
The first location is ClassUtil as it currently treats all CNFE as equal. It should be
checking to see if there is an associated exception and, if so, terminating the search at
that point.
The second location is ServicePublisher which is throwing a RuntimeException(!!!!) without
associating the cause.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira