3 Replies Latest reply on Jul 17, 2009 1:42 PM by Ron Sigal

    JBoss5 && DetectorService

    Perry Rhodan Newbie

      Hello,

      i have written an Java-Client, that connects to an JBoss 5.1. This connection should first be possible, when the jboss server is fully started. Therefore i tried to get jboss remoting's detector service working in jboss and client.

      The client's detector seems to work, but the jboss server seems not to send any signal to the clients detector.

      On jboss server side i deploy an mbean which registers the network registry and the detector service:

      <?xml version="1.0" encoding="UTF-8"?>
      <server>
       <!-- The NetworkRegistry contains all the local and remote -->
       <!-- servers that it recognizes. The remote ones registered -->
       <!-- are dependant on the detectors running and which domains -->
       <!-- they are configured to identify. -->
       <mbean code="org.jboss.remoting.network.NetworkRegistry" name="jboss.remoting:service=NetworkRegistry">
       </mbean>
      
       <mbean code="org.jboss.remoting.detection.multicast.MulticastDetector"
       name="jboss.remoting:service=Detector,transport=multicast">
       <attribute name="Port">5400</attribute>
       <attribute name="Configuration">
       <domains>
       </domains>
       <!-- local /-->
       </attribute>
       </mbean>
      </server>


      Can somebody help how to geht Multicastdetector working withhin jboss 5?