rtm-

Can you confirm a couple of things for me:

In remoting-service.xml, you should have something like:


  |    <mbean code="org.jboss.remoting.transport.Connector"
  |           name="jboss.messaging:service=Connector,transport=socket"
  |           display-name="Socket transport Connector">
  |       <attribute name="Configuration">
  |          <config>
  |             <invoker transport="socket">
  |                <attribute name="marshaller" 
isParam="true">org.jboss.jms.server.remoting.JMSWireFormat</attribute>
  |                <attribute name="unmarshaller" 
isParam="true">org.jboss.jms.server.remoting.JMSWireFormat</attribute>
  |                <!-- Serialization type must be jms - do not change! -->
  |                <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">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>
  |             </invoker>
  |             <handlers>
  |                <handler 
subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
  |             </handlers>
  |          </config>
  |       </attribute>
  |       <depends>jboss.messaging:service=NetworkRegistry</depends>
  |    </mbean>
  | 

Can you verify you are specifying the clientSocketClass and serverSocketClass 
attributes as above?

Secondly, if you are using ServiceBindingManager to map your ports, can you 
verify, in your bindings xml file, you have something like:


  | <service-config name="jboss.messaging:service=Connector,transport=socket"
  |          
delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  |          <delegate-config>
  |          <attribute name="Configuration"><![CDATA[
  | <config>
  |             <invoker transport="socket">
  |                <attribute name="marshaller" 
isParam="true">org.jboss.jms.server.remoting.JMSWireFormat</attribute>
  |                <attribute name="unmarshaller" 
isParam="true">org.jboss.jms.server.remoting.JMSWireFormat</attribute>
  |                <!-- Serialization type must be jms - do not change! -->
  |                <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">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>
  |             </invoker>
  |             <handlers>
  |                <handler 
subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
  |             </handlers>
  |          </config>
  |             ]]>
  |          </attribute>
  |          </delegate-config>
  | 
  |          <binding port="7544"/>
  |       </service-config>
  | 

The remoting config in your bindings.xml file should exactly match the config 
in messaging-service.xml.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000884#4000884

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000884
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to