[jboss-user] [EJB 3.0] - Re: TimerService Restart Issue

jaikiran do-not-reply at jboss.com
Sun Feb 22 02:55:53 EST 2009

I think i understand what's happening. When the app servers starts, its triggering the jobs using a classloader which is not the one expected for your application. Can you please post the entire console logs and the entire exception stacktrace when you restart the server? Also if possible could you please enable the TRACE level logging of org.jboss.classloading and upload that log file to some accessible place (i would not recommend posting the logs here since its going to be too long). Here's how you can enable TRACE logging and redirect it to a specific file:

  | <appender name="CL_LOGS" class="org.jboss.logging.appender.RollingFileAppender">
  |      <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
  |      <param name="File" value="${jboss.server.log.dir}/cl.log"/>
  |      <param name="Append" value="false"/>
  |      <param name="MaxFileSize" value="5000KB"/>
  |      <param name="MaxBackupIndex" value="10"/>
  | 	 <param name="Threshold" value="TRACE"/>
  |      <layout class="org.apache.log4j.PatternLayout">
  |        <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
  |      </layout>	    
  |    </appender>
  |    ... //later in the file
  |    <category name="org.jboss.classloading">
  |      <priority value="TRACE" />
  |      <appender-ref ref="CL_LOGS"/>
  |    </category>

You can add this piece to the jboss-log4j.xml in the %JBOSS_HOME%/server/feudalism/conf folder.

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

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

More information about the jboss-user mailing list