Bugs item #798840, was opened at 2003-09-01 23:20
Message generated for change (Comment added) made by ingrilli
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: Works For Me
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: sal ingrilli (ingrilli)
Date: 2004-01-24 01:07
Message:
Logged In: YES
user_id=396317
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
JVM: java version "1.3.1_02", 1.3.1_02-b02
Stack traces: attached
Related issues: 662098
Scott:
I was finally able to recreate this with UCL tracing ON as you
had requested.
Let me know what else I can do to help resolve this.
Sal.
----------------------------------------------------------------------
Comment By: Scott M Stark (starksm)
Date: 2003-10-13 07:26
Message:
Logged In: YES
user_id=175228
Reopen when you have a log that shows the deadlock.
----------------------------------------------------------------------
Comment By: Scott M Stark (starksm)
Date: 2003-09-10 16: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 16: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 10: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 19: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-02 03: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-02 01: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-02 00: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
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development