You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by cmartin39 <cm...@yahoo.com> on 2016/07/20 23:36:49 UTC

ObjectMessage not a trusted to be serialized

Im getting this exception:

java.lang.ClassNotFoundException: Forbidden class com.test.TestStatus! This
class is not trusted to be serialized as ObjectMessage payload. Please take
a look at http://activemq.apache.org/objectmessage.html for more information
on how to configure trusted classes.

I have added -Dorg.apache.activemq.SERIALIZABLE_PACKAGES="*" to activeMQ.bat
file under the %ACTIVEMQ_OPTS% property. Can someone tell me what i am doing
wrong? 



--
View this message in context: http://activemq.2283324.n4.nabble.com/ObjectMessage-not-a-trusted-to-be-serialized-tp4714202.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.