activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Unknown data type: 47 ?
Date Mon, 21 Jan 2008 10:20:10 GMT
>From the stack trace you are using TCP; are you connecting TCP on the
client to HTTP on the server?

On 20/01/2008, Yohan Liyanage <yohanliyanage@gmail.com> wrote:
>
> Hi,
>
> I was trying out ActiveMQ 5 transports (using Spring 2.5 JmsTemplate) and I
> get this strange error when I am using HTTP Transport :
>
>  org.apache.activemq.ConnectionFailedException: The JMS connection has
> failed: Unknown data type: 47
>         at
> org.apache.activemq.ActiveMQConnection.checkClosedOrFailed(ActiveMQConnection.java:1233)
>         at
> org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:291)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at
> org.springframework.jms.connection.SingleConnectionFactory$SharedConnectionInvocationHandler.invoke(SingleConnectionFactory.java:423)
>         at $Proxy0.createSession(Unknown Source)
>         at
> org.springframework.jms.support.JmsAccessor.createSession(JmsAccessor.java:200)
>         at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:429)
>         ... 3 more
> Caused by: java.io.IOException: Unknown data type: 47
>         at
> org.apache.activemq.openwire.OpenWireFormat.doUnmarshal(OpenWireFormat.java:355)
>         at
> org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:275)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:192)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:184)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:172)
>         at java.lang.Thread.run(Unknown Source)
>
>
> The code works fine when I am using the TCP Transport. Whats wrong here?
>
> Thanks for help.
> --
> View this message in context: http://www.nabble.com/Unknown-data-type%3A-47---tp14981933s2354p14981933.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Mime
View raw message