Thanks once again. I do see that this shows as timeout in the jmx-console for the
Connector. Looks like the .xml and the docs need to be updated.
http://labs.jboss.com/jbossremoting/docs/guide/ch05.html#d0e2491 Note that all the server
side socket invoker configurations will be set to their default values in this case. Also,
it is important to add CDATA to any locator uri that contains more than one parameter.
|
| The other way to configure the Connector and its server invoker in greater detail is
to provide an invoker sub-element within the config element of the Configuration
attribute. The only attribute of invoker element is transport, which will specify which
transport type to use (e.g.. socket, rmi, http, or multiplex). All the sub-elements of the
invoker element will be attribute elements with a name attribute specifying the
configuration property name and then the value. An isParam attribute can also be added to
indicate that the attribute should be added to the locator uri, in the case the attribute
needs to be used by the client. An example using this form of configuration is as
follows:
|
|
| <mbean code="org.jboss.remoting.transport.Connector"
| name="jboss.remoting:service=Connector,transport=Socket"
| display-name="Socket transport Connector">
|
| <attribute name="Configuration">
| <config>
|
| <invoker transport="socket">
| <attribute
name="numAcceptThreads">1</attribute>
| <attribute
name="maxPoolSize">303</attribute>
| <attribute name="clientMaxPoolSize"
isParam="true">304</attribute>
| <attribute
name="socketTimeout">60000</attribute>
| <attribute
name="serverBindAddress">192.168.0.82</attribute>
| <attribute
name="serverBindPort">6666</attribute>
| <attribute
name="clientConnectAddress">216.23.33.2</attribute>
| <attribute
name="clientConnectPort">7777</attribute>
| <attribute name="enableTcpNoDelay"
isParam="true">false</attribute>
| <attribute
name="backlog">200</attribute>
| </invoker>
|
| <handlers>
| <handler subsystem="mock">
|
org.jboss.remoting.transport.mock.MockServerInvocationHandler
| </handler>
| </handlers>
| </config>
| </attribute>
|
| </mbean>
| [/url][url]
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135036#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...