Bugs item #798840, was opened at 2003-09-01 16:20 Message generated for change (Comment added) made by starksm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=798840&group_id=22866
Category: JBossMX Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: sal ingrilli (ingrilli) Assigned to: Scott M Stark (starksm) Summary: org/jboss/mx/loading/LoadMgr.java deadlock Initial Comment: JBOSS: Release ID: JBoss [WonderLand] 3.2.1 (build: CVSTag=JBoss_3_2_1 date=200305041533) OS: Microsoft Windows XP [Version 5.1.2600] CPU: Intel pentium 4 3Ghz, with hyperthreading JVM: java version "1.3.1_02", 1.3.1_02-b02 Stack traces: attached Related issues: 662098 I have 2 threads, each issuing a Class.forName () through the following util: public static Class forName (final String className) throws ClassNotFoundException { final Thread currentThread = Thread.currentThread (); final ClassLoader classLoader = currentThread.getContextClassLoader (); final Class newClass = classLoader.loadClass (className); return newClass; } I get a deadlock in the JBoss LoadMgr quite regularly during startup. ---------------------------------------------------------------------- >Comment By: Scott M Stark (starksm) Date: 2003-09-10 09:25 Message: Logged In: YES user_id=175228 This will not fit as an attachment. Send to me directly at [EMAIL PROTECTED] ---------------------------------------------------------------------- Comment By: sal ingrilli (ingrilli) Date: 2003-09-10 09:14 Message: Logged In: YES user_id=396317 Attached is a zipped 18Mb ucl.log ---------------------------------------------------------------------- Comment By: Scott M Stark (starksm) Date: 2003-09-04 03:48 Message: Logged In: YES user_id=175228 The log file only has 3 lines in it. See this link https://sourceforge.net/docman/display_doc.php?docid=14918&group_id=22866 for how to configure the trace level logging. It requires putting the following into the conf/log4j.xml file: <appender name="UCL" class="org.apache.log4j.FileAppender"> <param name="File" value="${jboss.server.home.dir}/log/ucl.log"/> <param name="Append" value="false"/> <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> ---------------------------------------------------------------------- Comment By: sal ingrilli (ingrilli) Date: 2003-09-03 12:48 Message: Logged In: YES user_id=396317 i attached ucl.log on 9/2 but didn't see an email notification for it. so this is just to generate the notification. ---------------------------------------------------------------------- Comment By: Scott M Stark (starksm) Date: 2003-09-01 20:15 Message: Logged In: YES user_id=175228 I'm going to need the trace level log as described in the docs section on class loading debugging. ---------------------------------------------------------------------- Comment By: sal ingrilli (ingrilli) Date: 2003-09-01 18:29 Message: Logged In: YES user_id=396317 i attached LoadMgr.nextTask.deadlock.txt in the original post. it contains the traces of 2 threads stuck in LoadMgr.nextTask () if you need something different, just shoot & i'll get it to you. ---------------------------------------------------------------------- Comment By: Scott M Stark (starksm) Date: 2003-09-01 17:36 Message: Logged In: YES user_id=175228 Attach a thread dump of the deadlock. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=798840&group_id=22866 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development