activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkorab <jakub.korab.li...@gmail.com>
Subject Re: Need a way to configure org.apache.activemq.SERIALIZABLE_PACKAGES property in client
Date Wed, 28 Jun 2017 10:20:30 GMT
Hi,

>From reading that rode, it looks as though your consumer does not have the
GenericUIEvent on its classpath. Can you confirm?

Jakub

On Wed, Jun 28, 2017 at 8:06 AM, neelam [via ActiveMQ] <
ml+s2283324n4727985h15@n4.nabble.com> wrote:

> 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
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://activemq.2283324.n4.nabble.com/Need-a-way-to-
> configure-org-apache-activemq-SERIALIZABLE-PACKAGES-
> property-in-client-tp4727985.html
> To unsubscribe from ActiveMQ - User, click here
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2341805&code=amFrdWIua29yYWIubGlzdHNAZ21haWwuY29tfDIzNDE4MDV8LTY2MDk5MDU5MA==>
> .
> NAML
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://activemq.2283324.n4.nabble.com/Need-a-way-to-configure-org-apache-activemq-SERIALIZABLE-PACKAGES-property-in-client-tp4727985p4727992.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message