On 06/03/2015 09:45 AM, Erik Aschenbrenner wrote:
> Dear Qpid-Users,
>
> I just tried to use the new proton based Qpid JMS 0.2.0 client.
>
> I removed the jars of the old client (Qpid JMS 0.32) and added the jars of
> the new client to my project.
>
> When I try to start my application I'm getting this exception:
> javax.naming.NoInitialContextException: Cannot instantiate class:
> org.apache.qpid.amqp_1_0.jms.jndi.PropertiesFileInitialContextFactory [Root
> exception is java.lang.ClassNotFoundException:
> org.apache.qpid.amqp_1_0.jms.jndi.PropertiesFileInitialContextFactory]
>       at 
> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)
>
> Is there something else that has to be changed in the code to get new Qpid
> JMS client working?
>
> Regards,
> Erik
>
>
>
> --
> View this message in context: 
> http://qpid.2158936.n2.nabble.com/Changing-from-old-Qpid-JMS-client-to-Qpid-JMS-0-2-0-tp7625652.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
The JNDI configuration you are using will need to be updated to reflect
the new client code.  There is some documentation for this in the Git tree:

https://github.com/apache/qpid-jms/blob/master/qpid-jms-docs/Configuration.md

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
[email protected] | www.redhat.com 
twitter: @tabish121
blog: http://timbish.blogspot.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to