WebSphere « Transaction « JPA Q&A





1. com.ibm.websphere.jtaextensions.NotSupportedException thrown under load    stackoverflow.com

I have an application containing 4 MDB's each of which receives SOAP messages over JMS from MQ. Once the messages have been received we process the XML into an object model ...

2. Help!!! Hibernate Transaction with Websphere    coderanch.com

I am using CMT. Transaction code is : public void insertOrUpdate(ProcessInstance pi) throws HibernateException { Session s = HibernateUtil.openSession(); Transaction tx = s.beginTransaction(); try { s.saveOrUpdate(pi); if (LOGGER.isLoggable(Level.FINE)) LOGGER.fine("Inserted or updated processInstance" + pi.getProcessInstanceId() ); tx.commit(); } catch (HibernateException he) { ... } finally { HibernateUtil.closeSession(s); } Above code works fine with JBoss and Weblogic, but throws an exception with WebSphere- ...

3. Attempts to flush session locks out websphere application    forum.hibernate.org

I am running Websphere 6.1.0.25 with Hibernate 3.2.7 and Spring 2.5. We have a scenario where a browser request to the application is preventing the entire application from processing additional request--this lasts for around 2 minutes, then the application behaves normal and starts processing again. This occurrs using different application request so we cannot establish a specific bug in the app ...

4. JTA Transaction Manager to be used with websphere 7.0    forum.hibernate.org

I did not get any response to this question in the forum but wanted to share my experience for people who may be facing a similar issue. WebSphereExtendedJTATransactionLookup will not support isolated transaction with its current code since begin method and commit method throws UnsupportedException. Hence in its current format TableHiLoGenerator will not work with WebSphereExtendedJTATransactionLookup. Intrestingly, Hibernate source code comment ...

5. transactions and session.iterate() (on websphere 5)    forum.hibernate.org

Hi folks, Normally when doing queries or loads and not any inserts or updates, I dont issue any session.beginTransaction(), and things seem to work just fine.. Suddenly it seems that session.iterate() does NOT work without being within a transaction, at least not on ibm websphere 5.. on websphere 4 it doesnt seem to matter.. my data source is enlisted with JTA. ...

6. Transaction problems in Websphere 5.1.2    forum.hibernate.org

Hi, All I'm having trouble with Hibernate in Websphere 5.12. I used the simple Cats example in the manual to create a sample app which I access from a a session bean via the universal test client. When I try to save a class websphere says: DSRA9350E: Operation Connection.commit is not allowed during a global transaction. The ONLY transaction configuration I ...

7. Websphere Transaction Manager Setup    forum.hibernate.org

Greetings ! I was trying to set up the websphere connection pool and the transaction manager but for some reason it throws me an error. I guess Im following everything in the doco. but still cant seem to make it work. If I do not have the following settings(marked between !-- and --) then, everything seems to be working fine which ...

8. WebSphere 5.1 Transaction Management and Hibernate 2.1.8    forum.hibernate.org

Newbie Joined: Wed Jan 05, 2005 11:32 pm Posts: 7 My application uses CMTs. I have been having problems with it in WebSphere 5.1 and Hibernate 2.1.6. If I tried to use java:comp/UserTransaction, I got a NameNotFoundException (as have others reported in this forum). After the release of Hibernate 2.1.8, I tried againg based on the fix this release contains to ...





11. WebSphere 5.1 and JTA transactions    forum.hibernate.org

I got this error when i specified java:comp/ in connection.datasource, but i did not get it when i specificed the value as jdbc/DS. Did u specify the following tag ? org.hibernate.transaction.CMTTransactionFactory Did u try to handle transaction anywhere in your code?? Moreover you should use session.getCurrentSession in case of a CMT. Paste the piece of code from which the error ...

12. NON-JTA use of Hibernate with WebSphere    forum.hibernate.org

Several posts have touched on this issue, but from what I gather they all apply to those using JTA with Hibernate & WebSphere.... I'm trying get Hibernate to work with WebSphere, using a plain JDBC transaction factory. I'm using Hibernate in the EJB container, where the EJBs are just acting as facades, and my Hibernate sessions are being stored in ThreadLocals. ...

13. Hibernate websphere and transaction.commit Problem    forum.hibernate.org

Hi, Can anybody give me some suggestion on this problem I am facing? I have websphere which uses XA driver to connect to Oracle database. My Hibernate is cofigured to to the jndi name of the websphere connection resource. Each time I am opening a session through Hibernate. Now when I am running a stored procedure, I am getting an error ...

14. WebSphere transaction manager    forum.hibernate.org

15. Unable to call rollback with Hibernate 2.1.6 and Websphere 6    forum.hibernate.org

Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp First: Yes I have read the FAQ on rollbacks and WAS. However, I am most definitely calling connection.setAutoCommit(false) on any connection to my transactional datasource inside of Websphere. I tried to post this on Developer works, but the answer I received was stop using Hibernate and use some IBM solution. This ...

16. Websphere JTA and multiple session    forum.hibernate.org

We are using the session per conversation model. But we also need to load some data from a 2nd database. We have done this successfully in a servlet. We just commit the TX for the conversation session, and start a new session/transaction from the other session factory. we load the data from the 2nd DB, close this new session/transaction, and finally ...