[jboss-user] [Remoting] - CompressingMarshaller and clientConnectAddress

klauserber do-not-reply at jboss.com
Fri Sep 14 04:56:27 EDT 2007


Hello,

we are using JBoss-4.2.1.GA and need to configure compression and a clientConnectAddress at the same time for the ejb3 connector.

To configure compression we have make a change in ejb3.deployer/META-INF/jboss-service.xml:

	  
  | ...
  | <attribute name="InvokerLocator">socket://${jboss.bind.address}:3873/?marshaller=org.jboss.remoting.marshal.compress.CompressingMarshaller&unmarshaller=org.jboss.remoting.marshal.compress.CompressingUnMarshaller</attribute>
  | ...
  | 

To configure a clientConnectAddress we have replaced the hole connector with:



  | 	<mbean code="org.jboss.remoting.transport.Connector"
  | 			name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
  |       <depends>jboss.aop:service=AspectDeployer</depends>
  |       <attribute name="Configuration">
  |          <config>
  |             <invoker transport="socket">
  |                <attribute name="numAcceptThreads">1</attribute>
  |                <attribute name="maxPoolSize">360</attribute>
  |                <attribute name="clientMaxPoolSize" isParam="true">50</attribute>
  |                <attribute name="timeout" isParam="true">60000</attribute>
  |                <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
  |                <attribute name="serverBindPort">3873</attribute>
  |                <attribute name="clientConnectAddress">
  | ###THE_CLIENT_CONNECT_ADDRESS###</attribute>
  |                <attribute name="backlog">200</attribute>
  | 			</invoker>
  |             <handlers>
  |                <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
  |             </handlers>
  |          </config>
  |       </attribute>
  |    </mbean>
  | 

How can we do the both things at the same time?

Thank you for your help.

Regards
Klaus Erber

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

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



More information about the jboss-user mailing list