We have an application written with camel v1.5 running on Tomcat....yes this is very old. The app has a constant listener on a given port that will process requests with services. After receiving data from the service, it will return the data to the original sender...somehow (this is my question). This works today.
We are removing the Tomcat server and moving the application onto websphere 8.5 restructuring the app into an ear file to run/listen. We've been able to successfully do this and the app gets the messages, processes, then however something breaks and nothing gets sent back to the client. Here's a sample system.out 0000007b DefaultCamelC I org.apache.camel.impl.DefaultCamelContext <init> JMX enabled. Using InstrumentationLifecycleStrategy. 0000007b AnnotationTyp I org.apache.camel.impl.converter.AnnotationTypeConverterLoader <init> Using WebSphere specific ResolverUtil 0000007b MinaConsumer I org.apache.camel.component.mina.MinaConsumer doStart Binding to server address: /0.0.0.0:2998 using acceptor: org.apache.mina.transport.socket.nio.SocketAcceptor@e55475e 0000009e MinaConsumer$ I org.apache.mina.util.SessionLog info [/123.92:58118] CREATED 0000009f MinaConsumer$ I org.apache.mina.util.SessionLog info [/123.16.238.92:58118] OPENED 000000a0 MinaConsumer$ I org.apache.mina.util.SessionLog info [/123.16.238.92:58118] RECEIVED: the request data in hex] 000000a0 DefaultTypeCo W org.apache.camel.impl.converter.DefaultTypeConverter addTypeConverter Overriding type converter from: StaticMethodTypeConverter: public static java.lang.String org.apache.camel.converter.IOConverter.toString(javax.xml.transform.Source) throws javax.xml.transform.TransformerException,java.io.IOException to: InstanceMethodTypeConverter: public java.lang.String org.apache.camel.converter.jaxp.XmlConverter.toString(javax.xml.transform.Source) throws javax.xml.transform.TransformerException 000000a0 SystemOut O Executing http POST method: https://blah.blah 000000a0 SystemOut O Http responseCode: 200 000000a0 SystemOut O Html response buffer: HeapBuffer[pos=0 lim=4584 cap=4584: lots of hex in here to be returned] 000000a0 MinaConsumer$ I org.apache.mina.util.SessionLog info [/123.16.238.92:58118] CLOSED 000000a0 MinaConsumer$ W org.apache.mina.util.SessionLog warn [/123.16.238.92:58118] Unexpected exception from exceptionCaught handler. org.apache.camel.CamelException: org.apache.camel.CamelExchangeException: Could not write body on the exchange: Exchange[Message: lots of hex data in here] at org.apache.camel.component.mina.MinaConsumer$ReceiveHandler.exceptionCaught(MinaConsumer.java:88) at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.exceptionCaught(AbstractIoFilterChain.java:564) at org.apache.mina.common.support.AbstractIoFilterChain.callNextExceptionCaught(AbstractIoFilterChain.java:345) at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:53) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.exceptionCaught(AbstractIoFilterChain.java:643) at org.apache.mina.common.IoFilterAdapter.exceptionCaught(IoFilterAdapter.java:75) at org.apache.mina.common.support.AbstractIoFilterChain.callNextExceptionCaught(AbstractIoFilterChain.java:345) at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:53) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.exceptionCaught(AbstractIoFilterChain.java:643) at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:224) at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51) at java.lang.Thread.run(Thread.java:790) -- View this message in context: http://camel.465427.n5.nabble.com/Converting-camel-project-getting-error-tp5773352.html Sent from the Camel - Users mailing list archive at Nabble.com.