I have made progress on this issue since posting the question.
The underlying issue is that JBoss reports the wrong class missing, as noted
elsewhere in these forums (version 4.0.3sp1).
What makes this particularly insidious is that JBoss reports neither the root
cause class, nor the class it is trying to load, but a class "in between". In
our case, we are trying to do new A(). A imports B and B imports C. C seems
to be the root cause and B is reported as not found.
To debug the issue, I turned classloading tracing on via
| <appender name="UCL" class="org.apache.log4j.RollingFileAppender">
| <param name="File" value="${jboss.server.home.dir}/log/ucl.log"/>
| <param name="MaxFileSize" value="5MB"/>
| <param name="MaxBackupIndex" value="1"/>
| <layout class="org.apache.log4j.PatternLayout">
| <param name="ConversionPattern" value="[%r,%c{1},%t] %m%n"/>
| </layout>
| </appender>
|
| <category name="org.jboss.mx.loading" additivity="false">
| <priority value="TRACE" class="org.jboss.logging.XLevel"/>
| <appender-ref ref="UCL"/>
| </category>
|
(note that most JBoss pages mention the TRACE/XLevel bit but leave out the
appender configuration. Tracing does not work for us without the appender bit.)
I painstakingly went through the log right around the stack trace in this file
and found another class from another jar that appeared in the log. Adding THIS
jar seems to have addressed the problem (at least, the system now exhibits a
different error).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916899#3916899
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916899
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user