Skip to content

Instantly share code, notes, and snippets.

@mariofts
Last active December 20, 2015 03:59
Show Gist options
  • Save mariofts/6067245 to your computer and use it in GitHub Desktop.
Save mariofts/6067245 to your computer and use it in GitHub Desktop.
jndi.properties for JbossAS7
java.naming.factory.url.pkgs=org.jboss.ejb.client.naming
#java.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory
#java.naming.provider.url=remote://localhost:4447
#java.naming.security.principal=ejbClient
#java.naming.security.credentials=client
remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false
remote.connections=default
remote.connection.default.host=localhost
remote.connection.default.port = 4447
remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
remote.connection.two.host=localhost
remote.connection.two.port = 4447
remote.connection.two.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
remote.connection.default.username=mario
remote.connection.default.password=caelum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment