Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 58048 invoked from network); 12 Jul 2008 16:16:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jul 2008 16:16:47 -0000 Received: (qmail 27572 invoked by uid 500); 12 Jul 2008 16:16:46 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 27540 invoked by uid 500); 12 Jul 2008 16:16:46 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 27529 invoked by uid 99); 12 Jul 2008 16:16:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jul 2008 09:16:46 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kevan.miller@gmail.com designates 74.125.46.29 as permitted sender) Received: from [74.125.46.29] (HELO yw-out-2324.google.com) (74.125.46.29) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jul 2008 16:15:51 +0000 Received: by yw-out-2324.google.com with SMTP id 2so2027329ywt.85 for ; Sat, 12 Jul 2008 09:15:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:mime-version:subject:date:references :x-mailer; bh=MwJ57AFboGcyO9fCxcfEHD2bkRFzfZUIx58kmeHE1RE=; b=bPpkB0tFqQrM3xjbZnxVn7D5MhxPZZXFRi+5ch0349Kg5dEFZrqIq3rBNtrA4zLXPY /38AmsME80qPhDAayAGaDQYr357QEUgnLv/SsJosAGVNTuHirAqU6maHIHrKe0KsUmC3 zfKDh6TQM53iQlTpAnfF17NI1sW4HQCgiWv5M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:mime-version:subject :date:references:x-mailer; b=e24Nqit10HZTbFcMis/XYJ+RKhcU22X7QJ1IrU1Qp8A2jKloZPRtdhCv1WiLGfgmFp evcaQz7Un8on/taHekksmeH+P6Hm3zTC50kp4msNCA3Lf1RspfhTrNmmpSMzJpBU+LiW dS60eQuO4G2EpGiv+dKweg8lDLh+X4iGQx6F8= Received: by 10.151.143.14 with SMTP id v14mr17707599ybn.69.1215879313200; Sat, 12 Jul 2008 09:15:13 -0700 (PDT) Received: from ?10.0.1.190? ( [65.190.205.55]) by mx.google.com with ESMTPS id 7sm1486127ywo.7.2008.07.12.09.15.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 12 Jul 2008 09:15:10 -0700 (PDT) Message-Id: From: Kevan Miller To: user@geronimo.apache.org In-Reply-To: <18404327.post@talk.nabble.com> Content-Type: multipart/alternative; boundary=Apple-Mail-22--798575187 Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: javax.jms.JMSException: Failed to build body from bytes Date: Sat, 12 Jul 2008 12:15:09 -0400 References: <18404327.post@talk.nabble.com> X-Mailer: Apple Mail (2.926) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-22--798575187 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit What's the structure of your app(s)? This exception indicates that you're using JMS ObjectMessages and there's a problem deserializing the message bytes into an Object. The class app.entity.QuartzJobIssued is not being found. Where is that class packaged? --kevan On Jul 11, 2008, at 9:51 AM, jklcom99 wrote: > > I've upgraded to G2.1.2 and activemq-core 4.1.2. Now I'm getting the > following JMS exception: > > [java] 13:20:00,099 WARN [AppBrokerImpl] javax.jms.JMSException: > Failed > to build body from bytes. Reason: java.io.IOException: > app.entity.QuartzJobI > ssued > [java] 13:20:00,099 ERROR [TokenBrokerImpl] JMSException > processing > JMS message. > [java] javax.jms.JMSException: Failed to build body from bytes. > Reason: > jav > a.io.IOException: app.entity.QuartzJobIssued > [java] at > org.apache.activemq.util.JMSExceptionSupport.create(JMSExcept > ionSupport.java:33) > [java] at > org.apache.activemq.command.ActiveMQObjectMessage.getObject(A > ctiveMQObjectMessage.java:172) > [java] at > app.messaging.TokenBrokerImpl.onMessage(TokenBrokerImpl.java:105) > [java] at > app.jms.AppThreadListener.onMessage(AppThreadListener.java:35) > [java] at > org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQ > MessageConsumer.java:854) > [java] at > org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQ > SessionExecutor.java:104) > [java] at > org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQS > essionExecutor.java:171) > [java] at > org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTas > kRunner.java:120) > [java] at > org.apache.activemq.thread.PooledTaskRunner.access$100(Pooled > TaskRunner.java:26) > [java] at > org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskR > unner.java:47) > [java] at > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExec > utor$Worker.runTask(ThreadPoolExecutor.java:665) > [java] at > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExec > utor$Worker.run(ThreadPoolExecutor.java:690) > [java] at java.lang.Thread.run(Thread.java:619) > [java] Caused by: java.io.IOException: app.entity.QuartzJobIssued > [java] at > org.apache.activemq.command.ActiveMQObjectMessage.getObject(A > ctiveMQObjectMessage.java:168) > [java] ... 11 more > -- > View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p18404327.html > Sent from the Apache Geronimo - Users mailing list archive at > Nabble.com. > --Apple-Mail-22--798575187 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
What's the structure of = your app(s)?

This exception indicates that = you're using JMS ObjectMessages and there's a problem deserializing the = message bytes into an Object. The class app.entity.QuartzJobIssued = is not being found. Where is that class = packaged?

--kevan

O= n Jul 11, 2008, at 9:51 AM, jklcom99 wrote:


I've upgraded to G2.1.2 and activemq-core 4.1.2. =  Now I'm getting the
following JMS exception:

=     [java] 13:20:00,099 WARN  [AppBrokerImpl] = javax.jms.JMSException:
Failed
to build body from bytes. Reason: = java.io.IOException:
app.entity.QuartzJobI
ssued
=     [java] 13:20:00,099 ERROR [TokenBrokerImpl] = JMSException processing
JMS message.
=     [java] javax.jms.JMSException: Failed to build = body from bytes. Reason:
jav
a.io.IOException: = app.entity.QuartzJobIssued
    [java] =     at
org.apache.activemq.util.JMSExceptionSupport= .create(JMSExcept
ionSupport.java:33)
=     [java] =     at
org.apache.activemq.command.ActiveMQObjectMe= ssage.getObject(A
ctiveMQObjectMessage.java:172)
=     [java] =     at
app.messaging.TokenBrokerImpl.onMessage(Toke= nBrokerImpl.java:105)
    [java] =     at
app.jms.AppThreadListener.onMessage(AppThrea= dListener.java:35)
    [java] =     at
org.apache.activemq.ActiveMQMessageConsumer.= dispatch(ActiveMQ
MessageConsumer.java:854)
=     [java] =     at
org.apache.activemq.ActiveMQSessionExecutor.= dispatch(ActiveMQ
SessionExecutor.java:104)
=     [java] =     at
org.apache.activemq.ActiveMQSessionExecutor.= iterate(ActiveMQS
essionExecutor.java:171)
=     [java] =     at
org.apache.activemq.thread.PooledTaskRunner.= runTask(PooledTas
kRunner.java:120)
=     [java] =     at
org.apache.activemq.thread.PooledTaskRunner.= access$100(Pooled
TaskRunner.java:26)
=     [java] =     at
org.apache.activemq.thread.PooledTaskRunner$= 1.run(PooledTaskR
unner.java:47)
    [java] =     at
edu.emory.mathcs.backport.java.util.concurre= nt.ThreadPoolExec
utor$Worker.runTask(ThreadPoolExecutor.java:665)
=     [java] =     at
edu.emory.mathcs.backport.java.util.concurre= nt.ThreadPoolExec
utor$Worker.run(ThreadPoolExecutor.java:690)
=     [java]     at = java.lang.Thread.run(Thread.java:619)
    [java] = Caused by: java.io.IOException: app.entity.QuartzJobIssued
=     [java] =     at
org.apache.activemq.command.ActiveMQObjectMe= ssage.getObject(A
ctiveMQObjectMessage.java:168)
=     [java]     ... 11 more
-- =
View this message in context: http://www.nabble.com/javax.jm= s.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p18404327.= html
Sent from the Apache Geronimo - Users mailing list archive = at Nabble.com.


= --Apple-Mail-22--798575187--