Kirill Mikhailov [https://community.jboss.org/people/kmrol] created the discussion
"Re: Remote EJB3 client deploy fail." To view the discussion, visit: https://community.jboss.org/message/762626#762626 -------------------------------------------------------------- Hi Bob, 1. add "Dependencies: org.jboss.remote-naming" to META-INF/manifest.mf of your .WAR file. This will load org.jboss.remote-naming module and eliminate "Failed instantiate InitialContextFactory" exception. 2. do not use (remove) property "jboss.naming.client.ejb.context": true from jndi map instead of this, make jboss-ejb-client.properties file and place it to WEB-INF folder vs content like this: remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false remote.connections=default remote.connection.default.host=your host remote.connection.default.port=your port remote.connection.default.username=you user remote.connection.default.password=you password remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false https://docs.jboss.org/author/display/AS71/Class+Loading+in+AS7 https://docs.jboss.org/author/display/AS71/Class+Loading+in+AS7 https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+client+using+JNDI https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+client+using+JNDI Good luck! -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/762626#762626] Start a new discussion in EJB3 at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
