[jboss-dev-forums] [Clustering Development] - Clustered Stateless Session bean

Vikky B do-not-reply at jboss.com
Tue May 22 16:58:00 EDT 2012


Vikky B [https://community.jboss.org/people/rzvikas] created the discussion

"Clustered Stateless Session bean"

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

--------------------------------------------------------------
I am trying to understand how clustering works with JBOSS 7.1

As per the JBOSS documentation I have read...Remote client can have  any one server entry into jboss-ejb-client.properties....from the list of cluster instances.But it is not working....Could someone please take a look at it.

Here is my configuration, When I bring down the server instance 1(4447) , then I can not send request to instace 2 anymore...I get this exception (Exception in thread "main" java.lang.IllegalStateException: No EJB receiver available for handling [appName:,modulename:sample,distinctname:])

On the server I have @Clustered / @Stateless simple java bean


Server Instance 1 :
----------------------------
standalone.bat -server-config=standalone-ha.xml -Djboss.server.base.dir=instance1 -Djboss.node.name=instance1


Server Instance 2 :
----------------------------
standalone.bat -server-config=standalone-ha.xml -Djboss.socket.binding.port-offset=200 -Djboss.node.name=instance2  -Djboss.server.base.dir=instance2

Client Configuration : 
------------------------------

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.default.connect.options.org.xnio.Options.SASL_POLICY_NOPLAINTEXT=false


remote.clusters=ejb


# Connection configuration(s) for the "ejb" cluster (these are just random examples. You might have to add username and password
# or callbackhandler depending on the security configuration(s) of these cluster node servers.
remote.cluster.ejb.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
remote.cluster.ejb.connect.options.org.xnio.Options.SSL_ENABLED=false
--------------------------------------------------------------

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

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

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


More information about the jboss-dev-forums mailing list