I was never able to get JMS to work in Orion.  The test code wouldn't
compiler, and some of the classes couldn't be instantiated.  I asked several
times on this list and no one had any success with the JMS support.


----- Original Message -----
From: "Harsh Waghmare" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, April 28, 2000 2:39 AM
Subject: JMS TopicSession Transactions ...


> does the Orion implementation of TopicSession support transactions ?
> I have a topic session which I am creating like this
>
> TopicSession topicSession =
>
> topicConn.createTopicSession(true,TopicSession.AUTO_ACKNOWLEDGE);
>
> the topic session is therefore transacted. whenever i publish messages, i
> follow them with a call to commit
>
> publisher.publish(mapMsg1);
> publisher.publish(mapMsg2);
> topicSession.commit();
>
> however, the commit() gives me the following error
>
> java.lang.ClassCastException: com.evermind.server.jms.cp
>         at com.evermind.server.jms.b2.iu(JAX)
>         at com.evermind.server.jms.b2.commit(JAX)
>         at StockServer.run(StockServer.java:108)
>         at java.lang.Thread.run(Thread.java:479)
>
> any ideas ? anyone out there tried transacted topic sessions ?
> of course, the ejb stuff in orion works great !
>
> Harsh
>
>
>
>
>


Reply via email to