Failed to build body from content. Serializable class not available to
broker. Reason: java.lang.ClassNotFoundException: Forbidden class
com.bhn.services.dto.TuneToChannelDto! This class is not allowed to be
serialized. Add package with 'org.apache.activemq.SERIALIZABLE_PACKAGES'
system property.

I added
-Dorg.apache.activemq.SERIALIZABLE_PACKAGES="java.lang,java.util,org.apache.activemq,org.fusesource.hawtbuf,com.thoughtworks.xstream.mapper,com.bhn.services.dto"
to argLine of maven-surefire-plugin, in the test itself, etc. and I still
get the same error.



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/This-class-is-not-allowed-to-be-serialized-Add-package-with-org-apache-activemq-SERIALIZABLE-PACKAGEy-tp4677229.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to