[jboss-dev-forums] [JBoss AS 7 Development] - Re: EJB bean is not working in Multi threading of JBoss 7.1.1 Final

Oliver Katzer do-not-reply at jboss.com
Mon Aug 20 10:56:12 EDT 2012


Oliver Katzer [https://community.jboss.org/people/olli24] created the discussion

"Re: EJB bean is not working in Multi threading of JBoss 7.1.1 Final"

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

--------------------------------------------------------------
Thanks for fast answer.

I can confirm that the multithreading case works, if the EJB Client properties are set via file jboss-ejb-client.properties, instead of setting them as InitContext properties.

My only InitContext property is now:
properties = new Properties();
properties.put(Context.URL_PKG_PREFIXES, "org.jboss.ejb.client.naming");
return new InitialContext(properties);

The other properties are now defined in the file jboss-ejb-client.properties:
remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false
remote.connections=default
remote.connection.default.host=oliver2
remote.connection.default.port=9000
remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120820/f9409716/attachment.html 


More information about the jboss-dev-forums mailing list