transactions

2002-03-14 Thread Tom Koutn
Hi all, i'm trying transactions in Orion 1.5.4. I have SessionBean with transaction-typeContainer. The SessionBean has a methodwith trans-attributeNever.Then I change it to Mandatory. But bothsteps runs ok! By EJB specification one of that steps must throw some TransactionException. In

Re: Open JMS with Orion for MDB

2002-03-10 Thread Tom Koutn
Hi, I used Orion 1.5.4 with OpenJms 0.7.2. Look at resourceprovider.html page in Orion's docs, it describes how to map jndi names to the OpenJms scope. But what probably does not work is using durable subscriber in MDB (because there is no possibility to specify subscriber name in DD). TK -

javax.jms.MessageFormatException when ObjectMessage.getObject()

2002-03-04 Thread Tom Koutn
Hi, I'm sending message via topic: ObjectMessage message = session.createObjectMessage(new Event()); session.createPublisher(topic).publish(message, deliveryMode, priority, expiration); When I catch the message in my MDB,I get exception in getObject(): public void onMessage(Message msg)

Re: javax.jms.MessageFormatException when ObjectMessage.getObject()

2002-03-04 Thread Tom Koutn
I solved this problem by putting transmitting class (Event) into orion's lib directory.It's not clear solution, but it works. I realized that bean's classloader knows the where the class Event is, but message's classloader knows only path to orion's lib. TK - Original Message -

MDB, OpenJMS and topic subscription

2002-02-25 Thread Tom Koutn
Hi, I'm using Orion 1.5.4 with OpeJMS 0.7.2. I want to use topic with durable subscription. Does anybody know, how/where to specify subscription NAME? I think it must be in orion-ejb-jar.xml. I couldn't find this in neither docs nor conference. Thanks, Tom