Running Consumer sample:
"Thomas, Ivy" <ithomas-T2hhe/[email protected]>
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <EF5625F9F795C94BA28B150706A21548B2E6D1@MAIL> |
Hello,
Lookup of topic failed. Here is what I did.
1. startup -config ../config/tcp_jms.xml
2. runconsumer -topic topic1 -mode tcp -persistent
The error is :
examples client.console.SimpleConsumer -topic topic1 -mode tcp -persistent
java.lang.ClassCastException
at
openjms.examples.client.console.SimpleConsumer.main(SimpleConsumer.ja
va:251)
Fatal error: java.lang.ClassCastException
Exiting.....
In the non persistent mode the Consumer (createtopic instead of lookup)
works fine. It is failing at lookup of the topic name. I ran this example
after my code started failing on lookup:(
Appreciate your help.
Thanks
Ivy