The error persists even after I added excludes with the class that is not being
serialized. Turning serialization off however, stops this error from getting
reported. However, I would like to test serialization. Any thoughts?
Also sorry to attach a long file in my previous post in this thread.
<defaults>
<exclude name="local_*"/>
<exclude name="LOCAL_*"/>
<exclude name="EndpointKey"/>
<exclude name="ContextClusteringCommandCollection"/>
</defaults>
<context class="org.apache.axis2.context.ConfigurationContext">
<exclude name="UseAsyncOperations"/>
<exclude name="SequencePropertyBeanMap"/>
<exclude name="EndpointKey"/>
<exclude name="ContextClusteringCommandCollection"/>
</context>
<context class="org.apache.axis2.context.ServiceGroupContext">
<exclude name="my.sandesha.*"/>
<exclude name="ContextClusteringCommandCollection"/>
</context>
<context class="org.apache.axis2.context.ServiceContext">
<exclude name="my.sandesha.*"/>
<exclude name="EndpointKey"/>
<exclude name="ContextClusteringCommandCollection"/>
</context>
Thank You and Best Regards
Sincerely
Shailesh
________________________________
From: Shailesh Potnis <[email protected]>
To: [email protected]
Sent: Fri, January 29, 2010 3:13:16 PM
Subject: Serialization error while deploying Axis2 Cluster
Hi All:
I am getting the following error when I deploy a sinple service version to
axis2 cluster. Here is the error
Could not send command message ContextClusteringCommandCollection to group
since it is not serializable.
Also it seems that it cannot bind to one of the servers in the cluster:
[INFO] New member 10.xxx.xxx.xxx:4001(apache.axis2.domain) joined cluster.
Jan 29, 2010 2:40:07 PM org.apache.catalina.tribes.transport.ReceiverBase bind
INFO: Unable to bind server socket to:abc.com/10.xxx.xxx.xxx:4
099 throwing error.
Jan 29, 2010 2:40:07 PM org.apache.catalina.tribes.transport.nio.NioReceiver sta
rt
SEVERE: Unable to start cluster receiver
java.net.BindException: Cannot assign requested address
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:
119)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
at org.apache.catalina.tribes.transport.ReceiverBase.bind(ReceiverBase.j
ava:205)
at org.apache.catalina.tribes.transport.ReceiverBase.bind(ReceiverBase.j
ava:217)
at org.apache.catalina.tribes.transport.ReceiverBase.bind(ReceiverBase.j
I have attached my axis2.xml file (renamed as axis2.txt)
Could someone please suggest what may be causing it.
Thanks
Shailesh
Thank You and Best Regards
Sincerely
Shailesh