0 Replies Latest reply on Dec 15, 2015 10:42 AM by Juergen Weber

    Local EJB lookup with username/password

    Juergen Weber Novice



      I installed Axis2 WAR in Wildfly 10. Now, I try to call an EJB from an Axis2 module.


      The EJB is protected by <method-permission>


      How do I call this EJB with a username / password from within the WAR?


      Creating an InitialContext with java.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory

      does not work, looks like org.jboss.naming.remote.client.InitialContextFactory is not known within the server.