0 Replies Latest reply on Sep 8, 2015 8:17 AM by ochaloup

    How is expected being set the ejb subsystem remote connector reference

    ochaloup

      Hi,

       

      I would like clarify (for me to understand) how the connector reference works in ejb subsystem. I'm trying to call an ejb on WildFly app server from jboss eap client of JBoss EAP6 server. For this to work I've opened a socket and defined a connector of subsystem remoting.

      
      
      
      <socket-binding-group name="standard-sockets" …
      …
      <socket-binding name="old" port="4777"/>
      
      <subsystem xmlns="urn:jboss:domain:remoting:3.0">
      …
      <connector name="remoting-connector" socket-binding="old" security-realm="ApplicationRealm" />
      
      
      
      
      

       

      then I thought that I will need to change element remote of ejb subystem where parameter connector-ref should points to newly created remoting connector remoting-connector. But as I found out the ejb subsystem does not need any change of the connector-ref attribute and just works immediately when remoting subsystem defines the remoting type (either as http-connector or connector). When both of the connectors are defined then I'm able to connect to server ejb either with protocol remote (from eap6 ejb client) and with protocol http-remoting (from eap7 ejb client).

       

      My question is just to clarify if this is expected behavior? And as I think it's intended then I would like check if there is some reason why ejb subsystem maintains the element remote?

       

      Adding the standalone-full.xml where remoting connector is set to points to newly created socket binding.

       

      Thank you for answer

      Ondra