Hi,

I have recently upgraded activemq to 5.14.5 from 5.6.0  and after the
upgrade I see below errors in my client logs:

28 Jun 2017 11:22:17,221-[AWT-EventQueue-2] ERROR
com.powerup.configmgr.client.messaging.JMSMessagingManager  - Failed to
build body from content. Serializable class not available to broker. Reason:
java.lang.ClassNotFoundException: Forbidden class
com.powerup.configmgr.eventframework.events.ui.GenericUIEvent! 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.

As per http://activemq.apache.org/objectmessage.html I should set wild card
value for org.apache.activemq.SERIALIZABLE_PACKAGES property or use
setTrustedPackages to configure the trusted packages. But in my client I
don't use the ConnectionFactory and use jnlp file instead. I tried setting
the property as below in my jnlp file but it doesn't work. 

<property name="jnlp.org.apache.activemq.SERIALIZABLE_PACKAGES" value="*"/>

Let me know is there any other way I can set this value in the client.

Regards
Neelam




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Need-a-way-to-configure-org-apache-activemq-SERIALIZABLE-PACKAGES-property-in-client-tp4727985.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to