[jboss-user] [JBoss Messaging] - Re: Can't get ConnectionFactory for JMS from JNDI when using custom security domain

Somefname1 Somelname1 do-not-reply at jboss.com
Wed Apr 17 06:53:48 EDT 2013


Somefname1 Somelname1 [https://community.jboss.org/people/mybrandnewusername] created the discussion

"Re: Can't get ConnectionFactory for JMS from JNDI when using custom security domain"

To view the discussion, visit: https://community.jboss.org/message/808798#808798

--------------------------------------------------------------
Finaly found property set, that worked:

params.setProperty("jboss.naming.client.connect.options.org.xnio.Options.SASL_POLICY_NOPLAINTEXT", "false");
params.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.remote.client.InitialContextFactory");
params.setProperty(Context.PROVIDER_URL, "remote://localhost:4447");
params.setProperty(Context.SECURITY_PRINCIPAL, "user");
params.setProperty(Context.SECURITY_CREDENTIALS, "password");
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/808798#808798]

Start a new discussion in JBoss Messaging at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130417/22f686a6/attachment.html 


More information about the jboss-user mailing list