activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hassen Bennour <>
Subject Re: ActiveMQ 5.13.3: Class is not trusted to be serialized as ObjectMessage payload
Date Tue, 21 Jun 2016 21:09:05 GMT

Via system property in catalina.bat or in the
<tomee-home>/conf/ file like mentioned here  must be ok for
your use normally,  did you tried with ActiveMQConnectionSupport like
mentioned here

Honestly i don't used resources adapter since years and i don't have my
laptop to check , hope this help.

        Thanks for the reply. For me with the same configuration it works
fine in TomEE 1.7.2 (ActiveMQ 5.10.0). TomEE has
activemq-client-5.X.Y,activemq-broker-5.X.Y jars in its lib. So how and
where (which file) can I configure the Serializable package stuff?

This is my JMS config defined in tomee.xml file:

<Resource id="MyJmsResourceAdapter" type="ActiveMQResourceAdapter">
        BrokerXmlConfig  = xbean:activemq.xml
        ServerUrl = vm://localhost:61616

<Resource id="JMSConnectionFactory" type="javax.jms.QueueConnectionFactory">
                connectionMaxIdleTime = 15 Minutes
                connectionMaxWaitTime = 5 seconds
                ResourceAdapter = MyJmsResourceAdapter
                poolMaxSize = 10
                poolMinSize = 0
                transactionSupport = xa

View this message in context:
Sent from the ActiveMQ - Dev mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message