Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 30976 invoked from network); 21 Jan 2008 10:20:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jan 2008 10:20:43 -0000 Received: (qmail 21951 invoked by uid 500); 21 Jan 2008 10:20:32 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 21935 invoked by uid 500); 21 Jan 2008 10:20:32 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 21926 invoked by uid 99); 21 Jan 2008 10:20:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jan 2008 02:20:32 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of james.strachan@gmail.com designates 66.249.82.234 as permitted sender) Received: from [66.249.82.234] (HELO wx-out-0506.google.com) (66.249.82.234) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jan 2008 10:20:04 +0000 Received: by wx-out-0506.google.com with SMTP id s14so1278534wxc.26 for ; Mon, 21 Jan 2008 02:20:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=pENnNbfVvPJMZXIsbm3ojy+Yt8Psc1GvwvtlVh1OTXs=; b=P6ifQPyQ3TDPvBki3oohZ4H9jLwbW9i5WXb75PtyjVBlD2/TJMUBwAsz6dzDWNKkskuesnA4gmA9YL87wLeWNccts8lxX+Yhdz4AeeSuAZVqxQNhXqZAP4arY1HY+OylYeuq7mb6YFjqMIAwRQZNUdtvb953nLDQkrmMnc1z0wQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=xZ+ImuyWuFj7NFhSmdpfDyICRvDTPngHnPPObQU/VX2KTCoV9IIu8F0p+1VZlm+OPu3IwbNllKxGmf/UCQF+FzsLMajiO6f8Ozk8M1SCZk5V4fRGoF7zPSkts8Qhk0g3nVUiHzoER/ULIx8eetXV6Zl6lczw8lg4gVMQe/6Q+qA= Received: by 10.151.9.1 with SMTP id m1mr2236114ybi.81.1200910810385; Mon, 21 Jan 2008 02:20:10 -0800 (PST) Received: by 10.150.148.20 with HTTP; Mon, 21 Jan 2008 02:20:10 -0800 (PST) Message-ID: Date: Mon, 21 Jan 2008 10:20:10 +0000 From: "James Strachan" To: users@activemq.apache.org Subject: Re: Unknown data type: 47 ? In-Reply-To: <14981933.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <14981933.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org >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 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