5 Replies Latest reply on Feb 15, 2018 6:29 AM by Arkady Zelekman

    Wildfly 11 : client application doesn't read jboss-ejb-client.xml

    Arkady Zelekman Newbie

      Hello,

       

      I have a client application (war) which runs on Wildfly 11. It has the both files: jndi.properties and jboss-ejb-client.xml

      I supposed jboss-ejb-client.xml overrides jndi.properties, but I see it doesn't look on jboss-ejb-client.xml at all.

       

      It worked me fine in Wildfly 8 but doesn't work in Wildfly 11.

       

      jboss-ejb-client.xml:

       

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

          <client-context>

              <ejb-receivers>

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

              </ejb-receivers>

          </client-context>

      </jboss-ejb-client>

       

      I tried to put ijboss-ejb-client.xml in /WEB-INF and also in /WEB-INF/classes, but didn't help.

       

      standalone.xml:

              <subsystem xmlns="urn:jboss:domain:remoting:4.0">

                  <endpoint/>

                  <http-connector name="http-remoting-connector" connector-ref="default"/>

                  <outbound-connections>

                      <remote-outbound-connection name="remote-ejb-connection" outbound-socket-binding-ref="remote-ejb" protocol="https-remoting">

                          <properties>

                              <property name="SASL_POLICY_NOANONYMOUS" value="false"/>

                              <property name="SASL_POLICY_NOPLAINTEXT" value="false"/>

                              <property name="SSL_ENABLED" value="true"/>

                              <property name="SSL_STARTTLS" value="true"/>

                          </properties>

                      </remote-outbound-connection>

                  </outbound-connections>           

              </subsystem>

       

          <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">

      ...

              <outbound-socket-binding name="remote-ejb">

                  <remote-destination host="10.152.101.18" port="443"/>

              </outbound-socket-binding>       

          </socket-binding-group>

       

      What was changed since Wildfly 8 ????

       

      Thank you in advance.