[ http://jira.jboss.com/jira/browse/JBREM-66?page=history ]
Tom Elrod updated JBREM-66:
----------------------------
Fix Version: 1.0.2 final
(was: 1.2.0 beta)
> Race condition on startup
> -------------------------
>
> Key: JBREM-66
> URL: http://jira.jboss.com/jira/browse/JBREM-66
> Project: JBoss Remoting
> Type: Bug
> Versions: 1.0.1 final
> Environment: linux, jobss 4.0.1, jdk 1.5_01
> Reporter: james ahlborn
> Assignee: Tom Elrod
> Priority: Minor
> Fix For: 1.0.2 final
>
> Original Estimate: 1 day
> Remaining: 1 day
>
> I occassionally get this exception trace on jboss startup:
> 2005-02-25 13:51:26,981 ERROR
> [org.jboss.remoting.detection.multicast.MulticastD
> etector] Error during detection of: Detection [identity:JBOSS Identity
> [address:
> itsy.hmsonline.com/10.67.89.58,instanceid:9d49962ca1854d0cx21bc15d1x1014159608ax
> -7fff718,JMX id:itsy.hmsonline.com_1109263894685,domain:JBOSS],locators:2]
> javax.management.RuntimeOperationsException
> at
> org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java
> :495)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:636)
> at
> org.jboss.remoting.detection.AbstractDetector.detect(AbstractDetector.java:
> 327)
> at
> org.jboss.remoting.detection.multicast.MulticastDetector.listen(MulticastDe
> tector.java:212)
> at
> org.jboss.remoting.detection.multicast.MulticastDetector.access$100(Multica
> stDetector.java:32)
> at
> org.jboss.remoting.detection.multicast.MulticastDetector$Listener.run(Multi
> castDetector.java:240)
> Caused by: java.lang.IllegalArgumentException: null object name
> ... 6 more
> I traced it through the 4.0.1 source code, and it seems that the "null"
> pointer is the member variable registryObjectName in AbstractDetector.java.
> this variable only is set during the start() method of this class, and if the
> value is "null", a warning is logged. i don't see this warning, so i am
> assuming this variable is set to a non-null value during the start() method.
> this implies that this member variable is sometimes being accessed before the
> start() method completes. This is probably because the
> MulticaseDetector$Listener class is running on a separate thread. it should
> probably block until the outer class is done starting.
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development