[
http://jira.jboss.com/jira/browse/JBREM-730?page=comments#action_12357416 ]
Ron Sigal commented on JBREM-730:
---------------------------------
Made two changes to JNDIDetector:
1.Uses Context.rebind(), and
2. Now it does a clean detection with first heartbeat.
Unit test: org.jboss.test.remoting.detection.jndi.CleanDetectionTestCase.
Waiting for cruisecontrol results.
JNDIDetector should use rebind() instead of bind() to add new local
detection messages
--------------------------------------------------------------------------------------
Key: JBREM-730
URL:
http://jira.jboss.com/jira/browse/JBREM-730
Project: JBoss Remoting
Issue Type: Task
Security Level: Public(Everyone can see)
Affects Versions: 2.4.0.Beta1 (Pinto)
Reporter: Ron Sigal
Assigned To: Ron Sigal
Fix For: 2.4.0.Beta1 (Pinto)
Currently, JNDIDetector.registerDetectionMsg() is using javax.naming.Context.bind() to
add a new local detection message to the JNDI server, which means it can't overwrite a
detection message that already exists. It should call Context.rebind() instead.
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira