0 Replies Latest reply on May 30, 2017 2:45 AM by dbdbdb

    Dynamically configuration of an in-server EJB lookup. (add a receiver for remote server-to-server EJB invocations)

    dbdbdb

      Hi

       

      It is possible to configure dynamically an in-server ClientContext (server-to-server EJB invocations) in order to add remoting ejb receiver outbound connections?

      Something like changing the jboss-ejb-client.xml configuration at runtime.

      Initially I tried to configure the InitialContext with the remote.connection.xxxx.hostproperties. But the server simply ignores. Also ignores the jboss-ejb-client.properties file in classpath. After that, I tried to configure dynamically with EJBClientContext.setSelector(someSelector), but apparently I can't due security reasons (SecurityException or so).

      thanks!