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.


Reply via email to