开发者

InstantiationError on HornetQDestination with JBOSS/HornetQ

开发者 https://www.devze.com 2023-01-10 15:12 出处:网络
When trying to connect to a remote JBOSS+HornetQ, we are getting the error in the subject.We can connect开发者_如何转开发 to a remote HornetQ on a different machine with no trouble.

When trying to connect to a remote JBOSS+HornetQ, we are getting the error in the subject. We can connect开发者_如何转开发 to a remote HornetQ on a different machine with no trouble.

We are using HermesJMS to try and make a JNDI connection to the JBOSS server and we are able to create the JNDI context, but not attach to any topics/queues/etc.

We are using JBOSS 5.1.0 GA and HornetQ 2.0.0 GA.

Does anyone know what could cause the InstantionError?

Thanks.


Probably a classpath issue. (You are probably missing a library, or have a version mismatch)

Anyway, hornetQ 2.0.0.GA is quite old. You should probably try a newer version, with your classpath fixed.

0

精彩评论

暂无评论...
验证码 换一张
取 消