Thanks for your reply, David.
<br /><br />
As you suggested, I changed my mflow file:
<br />
<code>
<br />
<?xml version="1.0" encoding="UTF-8"?>
<br /><br />
<mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:tcp="http://www.mulesoft.org/schema/mule/tcp" xmlns:udp="http://www.mulesoft.org/schema/mule/udp" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" xmlns:core="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="EE-3.2.2" xsi:schemaLocation="
<br />
http://www.mulesoft.org/schema/mule/tcp http://www.mulesoft.org/schema/mule/tcp/current/mule-tcp.xsd
<br />
http://www.mulesoft.org/schema/mule/udp http://www.mulesoft.org/schema/mule/udp/current/mule-udp.xsd
<br />
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
<br />
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd ">
<br />
<tcp:connector name="TCP_C_L" validateConnections="false" receiveBufferSize="102400" sendBufferSize="102400" doc:name="TCP"/>
<br />
<tcp:connector name="TCP_C_81" validateConnections="false" receiveBufferSize="102400" sendBufferSize="102400" doc:name="TCP"/>
<br /><br />
<flow name="tcpFlow1" doc:name="tcpFlow1">
<br />
<tcp:inbound-endpoint address="tcp://localhost:3600" responseTimeout="10000" exchange-pattern="request-response" connector-ref="TCP_C_L" doc:name="TCP"/>
<br />
<tcp:outbound-endpoint host="192.168.140.81" port="3600" responseTimeout="10000" exchange-pattern="request-response" connector-ref="TCP_C_81" doc:name="TCP"/>
<br />
</flow>
<br />
</mule>
<br /><br />
</code>
<br /><br />
But I still get the same error:
<br />
<code>
<br />
ERROR 2012-06-19 13:24:11,748 [[mytest1].TCP_C_L.receiver.02] org.mule.exception.DefaultSystemExceptionStrategy: Caught exception in Exception Strategy: An error occurred while verifying your connection. You may not be using a consistent protocol on your TCP transport. Please read the documentation for the TCP transport, paying particular attention to the protocol parameter.
<br />
java.io.IOException: An error occurred while verifying your connection. You may not be using a consistent protocol on your TCP transport. Please read the documentation for the TCP transport, paying particular attention to the protocol parameter.
<br />
at org.mule.transport.tcp.protocols.SafeProtocol.helpUser(SafeProtocol.java:110)
<br />
at org.mule.transport.tcp.protocols.SafeProtocol.assertSiblingSafe(SafeProtocol.java:83)
<br />
at org.mule.transport.tcp.protocols.SafeProtocol.read(SafeProtocol.java:37)
<br />
at org.mule.transport.tcp.TcpMessageReceiver$TcpWorker.getNextMessage(TcpMessageReceiver.java:364)
<br />
at org.mule.transport.AbstractReceiverResourceWorker.doRun(AbstractReceiverResourceWorker.java:44)
<br />
at org.mule.transport.AbstractReceiverWorker.run(AbstractReceiverWorker.java:63)
<br />
at org.mule.work.WorkerContext.run(WorkerContext.java:310)
<br />
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
<br />
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
<br />
at java.lang.Thread.run(Thread.java:662)
<br />
Caused by: java.io.IOException: Length 189616968 exceeds limit: 26
<br />
at org.mule.transport.tcp.protocols.LengthProtocol.read(LengthProtocol.java:75)
<br />
at org.mule.transport.tcp.protocols.SafeProtocol.assertSiblingSafe(SafeProtocol.java:79)
<br />
... 8 more
<br />
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
<br />
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
<br />
at java.lang.Thread.run(Thread.java:662)
<br />
Caused by: java.io.IOException: Length 189616968 exceeds limit: 26
<br />
</code>
<br /><br />
The Length 189616968 is not right.
<br />
The limit 26 is not right either.
<br />
at org.mule.transport.tcp.protocols.LengthProtocol.read(LengthProtocol.java:75)
<br />
at org.mule.transport.tcp.protocols.SafeProtocol.assertSiblingSafe(SafeProtocol.java:79)
<br />
... 8 more
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email