0 Replies Latest reply on Dec 22, 2013 9:49 PM by Trupti R

    org.jboss.remoting3.DuplicateRegistrationException: URI scheme 'remote://' is already registered to a provider

    Trupti R Newbie

      Hi all,

       

      I have three jboss 7.1 instances say A,B and C running in standalone mode. A invokes ejbs on B and C.

      For that I have defined receivers on A. My ejb-client.xml is as follows

                                         <jboss-ejb-client xmlns="urn:jboss:ejb-client:1.0">

                              <client-context>

                                       <ejb-receivers>

                                                <remoting-ejb-receiver outbound-connection-ref="remote-ejb-eus-connection"/>

                                                <remoting-ejb-receiver outbound-connection-ref="remote-ejb-eus-csk-connection"/>

                                       </ejb-receivers>

                              </client-context>

                     </jboss-ejb-client>

       

      I haven't specfied remote:// anywhere in the code. Still after deployment at random times I see following exception

                org.jboss.remoting3.DuplicateRegistrationException: URI scheme 'remote://' is already registered to a provider

       

      Any idea why its surfacing? I am also worried about its randomness. By random mean, some times host A successfully starts and invokes ejb on B and C.

      If I stop and then restart the server A, next time it either restart successfully or throws above exception.