Madhu-
I can get this to work fine, by specifying something like the following in the
sample-bindings.xml:
| <service-config
name="jboss.messaging:service=Connector,transport=bisocket"
|
delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
| <delegate-config>
| <attribute name="Configuration"><![CDATA[
| <config>
| <invoker transport="bisocket">
| <attribute name="marshaller"
isParam="true">org.jboss.jms.server.remoting.JMSWireFormat</attribute>
| <attribute name="unmarshaller"
isParam="true">org.jboss.jms.server.remoting.JMSWireFormat</attribute>
| <attribute name="serializationtype"
isParam="true">jms</attribute>
| <attribute name="dataType"
isParam="true">jms</attribute>
| <attribute name="socket.check_connection"
isParam="true">false</attribute>
| <attribute name="timeout"
isParam="true">0</attribute>
| <attribute
name="serverBindAddress">${jboss.bind.address}</attribute>
| <attribute
name="serverBindPort">4457</attribute>
| <attribute
name="leasePeriod">10000</attribute>
| <attribute
name="callbackStore">org.jboss.remoting.callback.CallbackStore</attribute>
| <attribute name="clientSocketClass"
isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
| <attribute
name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
| <attribute
name="callbackErrorsAllowed">1</attribute>
| <attribute name="numberOfRetries"
isParam="true">1</attribute>
| <attribute name="NumberOfCallRetries"
isParam="true">2</attribute>
| <attribute name="clientMaxPoolSize"
isParam="true">50</attribute>
| </invoker>
| <handlers>
| <handler
subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
| </handlers>
| </config>
| ]]></attribute>
| </delegate-config>
| <binding port="4457"/>
| </service-config>
|
| </server>
|
Looking at your original example, it seems you are specifying the "socket"
transport. 1.2.0 uses the bisocket transport.
You need to make sure the config specified in the service binding manager matches the
config in remoting-service.xml that you are using.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045744#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...