[jboss-user] [JBoss Messaging] - Re: Bridge error because of network problems also influences

mclu do-not-reply at jboss.com
Mon Mar 16 04:37:40 EDT 2009


Hi Howard!

I did some tests over the weekend.
I added 
true
or 
true
to my invoker configuration (see below)

But this results in timeouts while getting connections so bridge or in general JMS does not work then:

  | Caused by: org.jboss.remoting.ConnectionFailedException: Timed out trying to create control socket
  |         at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.handleConnect(BisocketClientInvoker.java:272)
  |         at org.jboss.remoting.MicroRemoteClientInvoker.connect(MicroRemoteClientInvoker.java:263)
  |         at org.jboss.remoting.Client.connect(Client.java:1528)
  |         at org.jboss.remoting.Client.connect(Client.java:468)
  |         at org.jboss.remoting.callback.ServerInvokerCallbackHandler.connect(ServerInvokerCallbackHandler.java:161)
  |         at org.jboss.remoting.ServerInvoker.getCallbackHandler(ServerInvoker.java:1863)
  |         at org.jboss.remoting.ServerInvoker.handleInternalInvocation(ServerInvoker.java:1497)
  |         at org.jboss.remoting.transport.bisocket.BisocketServerInvoker.handleInternalInvocation(BisocketServerInvoker.java:643)
  |         at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:853)
  |         at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
  |         at org.jboss.remoting.Client.invoke(Client.java:1640)
  |         at org.jboss.remoting.Client.addCallbackListener(Client.java:1709)
  |         at org.jboss.remoting.Client.addListener(Client.java:927)
  |         at org.jboss.jms.client.remoting.JMSRemotingConnection.addInvokerCallbackHandler(JMSRemotingConnection.java:259)
  | 

By the way! I am using an SSL Bisocket connector from the the sslbisocket example configuration.

This is my remoting-bisocket-service.xml:


  | <server>
  |   <mbean code="org.jboss.remoting.transport.Connector"
  |     name="jboss.messaging:service=Connector,transport=sslbisocket"
  |     display-name="SSL Bisocket Transport Connector">
  |     <attribute name="Configuration">
  |       <config>
  |         <invoker transport="sslbisocket">
  |           <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
  |           <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
  |           <attribute name="dataType" isParam="true">jms</attribute>
  |           <attribute name="socket.check_connection" isParam="true">false</attribute>
  |           <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
  |           <attribute name="serverBindPort">24457</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="serverSocketFactory">jboss.messaging:service=ServerSocketFactory,type=SSL</attribute>
  |           <attribute name="numberOfCallRetries" isParam="true">1</attribute>
  |           <attribute name="pingFrequency" isParam="true">214748364</attribute>
  |           <attribute name="pingWindowFactor" isParam="true">10</attribute>
  |           <attribute name="onewayThreadPool">org.jboss.jms.server.remoting.DirectThreadPool</attribute>
  |           <attribute name="stopLeaseOnFailure" isParam="true">true</attribute>
  |           <attribute name="clientLeasePeriod" isParam="true">10000</attribute>
  |           <attribute name="timeout" isParam="true">0</attribute>
  |           <attribute name="numberOfRetries" isParam="true">10</attribute>
  |           <attribute name="JBM_clientMaxPoolSize" isParam="true">200</attribute>
  |           <attribute name="callbackTimeout">10000</attribute>
  |           <!-- <attribute name="force_remote">true</attribute> -->
  |         </invoker>
  |         <handlers>
  |           <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
  |         </handlers>
  |       </config>
  |     </attribute>
  |     <depends>jboss.messaging:service=ServerSocketFactory,type=SSL</depends>
  |   </mbean>
  |   
  |   <mbean code="org.jboss.remoting.security.SSLServerSocketFactoryService" 
  |          name="jboss.messaging:service=ServerSocketFactory,type=SSL" 
  |          display-name="SSL Server Socket Factory">
  |     <depends optional-attribute-name="SSLSocketBuilder" proxy-type="attribute">jboss.messaging:service=SocketBuilder,type=SSL</depends>
  |   </mbean>
  |   
  |   <mbean code="org.jboss.remoting.security.SSLSocketBuilder" 
  |          name="jboss.messaging:service=SocketBuilder,type=SSL" 
  |          display-name="SSL Server Socket Factory Builder">
  |     <attribute name="UseSSLServerSocketFactory">true</attribute>
  |   </mbean>
  | 
  | </server>
  | 

What should we do now?


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

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218145



More information about the jboss-user mailing list