Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3ED2469D3 for ; Tue, 12 Jul 2011 13:46:01 +0000 (UTC) Received: (qmail 73021 invoked by uid 500); 12 Jul 2011 13:46:00 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 72959 invoked by uid 500); 12 Jul 2011 13:46:00 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 72945 invoked by uid 99); 12 Jul 2011 13:45:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 13:45:59 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of james.mk.green@gmail.com designates 209.85.210.173 as permitted sender) Received: from [209.85.210.173] (HELO mail-iy0-f173.google.com) (209.85.210.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 13:45:55 +0000 Received: by iyb3 with SMTP id 3so5661101iyb.32 for ; Tue, 12 Jul 2011 06:45:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=8vK7m6yNUUobBGT7ef61dRJE2Pcj2FNS8nlDYLnIluQ=; b=KHNmd9qyFqihEIjYdm2yzrR10cpr9ln9MSuQtOdzUBqBBITeKviS9JCRgjlM8iCsfk DYlxRR1eEW4BNs0TI23TD1yl9brKpmvVdhJuxBEFhsDvMKjsFls8hMbkCyyoG+RduRnu jB0naxs7FtB8iuKvdxdYkIzIIUDyYFB538NlY= MIME-Version: 1.0 Received: by 10.231.114.104 with SMTP id d40mr5263362ibq.114.1310478334153; Tue, 12 Jul 2011 06:45:34 -0700 (PDT) Received: by 10.231.15.136 with HTTP; Tue, 12 Jul 2011 06:45:34 -0700 (PDT) In-Reply-To: <7D5EB8A4-173C-44A2-9B9A-D4208A3D494E@gmail.com> References: <7D5EB8A4-173C-44A2-9B9A-D4208A3D494E@gmail.com> Date: Tue, 12 Jul 2011 14:45:34 +0100 Message-ID: Subject: Re: XMPP says org.apache.activemq.command.ActiveMQQueue not found From: James Green To: users@camel.apache.org Content-Type: multipart/alternative; boundary=001636284db097d74004a7df83ec --001636284db097d74004a7df83ec Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable My point is, why should an XMPP client know anything about ActiveMQ? James On 12 July 2011 14:39, Freeman Fang wrote: > Hi, > > This error should come from java deserialization, that said you serialize > org.apache.activemq.command.**ActiveMQQueue on one side but try to > deserialize it on XMPP side but can't find the org.apache.activemq.comma= nd. > **ActiveMQQueue class from the XMPP side classloader. > > Freeman > > On 2011-7-12, at =E4=B8=8B=E5=8D=889:11, James Green wrote: > > This may not be Camel's fault but the problem is in front of us and we'r= e >> puzzelled! >> >> Essentially we have a route from an ActimeMQ queue into XMPP. At the XMP= P >> end we have a client that receives a message and it's underlying library >> throws the following: >> >> java.lang. >> ClassNotFoundException: org.apache.activemq.command.**ActiveMQQueue >> at java.net.URLClassLoader$1.run(**URLClassLoader.java:202) >> at java.security.**AccessController.doPrivileged(**Native Method) >> at java.net.URLClassLoader.**findClass(URLClassLoader.java:**190) >> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**307) >> at sun.misc.Launcher$**AppClassLoader.loadClass(**Launcher.java:301) >> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**248) >> at java.lang.Class.forName0(**Native Method) >> at java.lang.Class.forName(Class.**java:247) >> at java.io.ObjectInputStream.**resolveClass(** >> ObjectInputStream.java:604) >> at >> java.io.ObjectInputStream.**readNonProxyDesc(** >> ObjectInputStream.java:1575) >> at java.io.ObjectInputStream.**readClassDesc(** >> ObjectInputStream.java:1496) >> at >> java.io.ObjectInputStream.**readOrdinaryObject(** >> ObjectInputStream.java:1732) >> at java.io.ObjectInputStream.**readObject0(ObjectInputStream.** >> java:1329) >> at java.io.ObjectInputStream.**readObject(ObjectInputStream.**java:351= ) >> at >> org.jivesoftware.smack.util.**PacketParserUtils.**parseProperties(** >> PacketParserUtils.java:574) >> at >> org.jivesoftware.smack.util.**PacketParserUtils.**parseMessage(** >> PacketParserUtils.java:109) >> at >> org.jivesoftware.smack.**BOSHPacketReader.**responseReceived(** >> BOSHPacketReader.java:83) >> at com.kenai.jbosh.BOSHClient.**fireResponseReceived(** >> BOSHClient.java:1455) >> at com.kenai.jbosh.BOSHClient.**processExchange(BOSHClient.**java:1042= ) >> at com.kenai.jbosh.BOSHClient.**processMessages(BOSHClient.**java:976) >> at com.kenai.jbosh.BOSHClient.**access$000(BOSHClient.java:97) >> at com.kenai.jbosh.BOSHClient$1.**run(BOSHClient.java:215) >> at java.lang.Thread.run(Thread.**java:619) >> >> Any ideas why the XMPP library would ever want to invoke ActiveMQ at all= ? >> It >> should be being treated as a string message for our client's own use. >> >> James >> > > ------------------------------**--------------- > Freeman Fang > > FuseSource > Email:ffang@fusesource.com > Web: fusesource.com > Twitter: freemanfang > Blog: http://freemanfang.blogspot.**com > > > > > > > > > > --001636284db097d74004a7df83ec--