[jboss-user] [JNDI and Naming] - Re: Local lookup failing
shinosha
do-not-reply at jboss.com
Thu Jul 19 08:52:38 EDT 2012
shinosha [https://community.jboss.org/people/shinosha] created the discussion
"Re: Local lookup failing"
To view the discussion, visit: https://community.jboss.org/message/749037#749037
--------------------------------------------------------------
So I put my properties file in my src folder of my .war and it looks like this :
endpoint.name=client-endpoint
remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false
remote.connections=default
remote.connection.default.host=127.0.0.1
remote.connection.default.port = 4447
remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
remote.connection.default.username=Shinosha
remote.connection.default.password=*****
I of course have ejb-client.jar in my build path. But it's still asking me for an initial context :
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
What have I done wrong here ?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/749037#749037]
Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120719/6f67a48e/attachment.html
More information about the jboss-user
mailing list