[jboss-as7-dev] Configuration for (remote) EJB inside the server non-cluster vs. cluster (of the destination)

Wolf-Dieter Fink wfink at redhat.com
Tue Sep 18 06:55:10 EDT 2012


As I configure a server to use a different server as destination for a 
remote call
there is a outbound-connection.

But if the server behind is a member of a cluster the connection will 
throw a Exception:
[Server:app-main] 12:29:31,732 INFO 
[org.jboss.ejb.client.remoting.RemotingConnectionClusterNodeManager] 
(ejb-client-cluster-node-connection-creation-4-thread-4) Could not 
create a connection for cluster node ClusterNode{clusterName='ejb', 
nodeName='master:app-oneB', 
clientMappings=[ClientMapping{sourceNetworkAddress=/0:0:0:0:0:0:0:0, 
sourceNetworkMaskBits=0, destinationAddress='127.0.0.1', 
destinationPort=5147}], resolvedDestination=[Destination 
address=127.0.0.1, destination port=5147]} in cluster ejb: 
java.lang.RuntimeException: javax.net.ssl.SSLException: Unrecognized SSL 
message, plaintext connection?


If I add the clusters.cluster.name=ejb element to the main application 
jboss-ejb-client.xml it will work

BUT

for me it make no sense to have the configuration for non-cluster in the 
server and for cluster in the application because it is in 
responsibility of the server to find the connection.
Also such config sounds very confusing to me.

Is there a way to configure the cluster properties also in the profile?

- Wolf


More information about the jboss-as7-dev mailing list