-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Problem "Error performing isolated work"
PostPosted: Sat Jan 27, 2007 2:58 am 
Newbie

Joined: Fri Jan 26, 2007 10:13 pm
Posts: 9
Hibernate version: 3.2 RC3


Full stack trace of any exception that occurs:
Caused by: java.rmi.RemoteException: ; nested exception is:
org.hibernate.HibernateException: error performing isolated work
at org.hibernate.engine.transaction.Isolater$JtaDelegate.delegateWork(Isolater.java:142)
at org.hibernate.engine.transaction.Isolater.doIsolatedWork(Isolater.java:40)
at org.hibernate.engine.TransactionHelper.doWorkInNewTransaction(TransactionHelper.java:51)
at com.generali.ruby.utils.persistance.RubyPIDGenerator.generate(RubyPIDGenerator.java:146)
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:98)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:186)
at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:175)
at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
at com.generali.ruby.bo.BusinessObject.save(BusinessObject.java:67)
at com.generali.ruby.workflow.BusinessProcessManager.createBusinessProcess(BusinessProcessManager.java:202)
at com.generali.ruby.services.workflow.WorkflowFacadeBean.createBusinessProcess(WorkflowFacadeBean.java:128)
at com.generali.ruby.services.workflow.EJSRemoteStatelessWorkflowFacade_e9815e81.createBusinessProcess(EJSRemoteStatelessWorkflowFacade_e9815e81.java:175)
at com.generali.ruby.services.workflow._WorkflowFacade_Stub.createBusinessProcess(_WorkflowFacade_Stub.java:309)
... 39 more
Caused by: org.hibernate.HibernateException: error performing isolated work
... 57 more


Name and version of the database you are using: DB2 V 7.2.005

[b] App server : WAS 6.0.2.15[b/]


We have implemented our own id generator. The doWorkInIsolation() method throws up the above error when it tries to suspend the JTA transaction and open a JDBC connection.

Please advice.


Top
 Profile  
 
 Post subject: Re: Problem "Error performing isolated work"
PostPosted: Mon Apr 05, 2010 12:03 am 
Newbie

Joined: Mon Mar 29, 2010 10:45 pm
Posts: 6
We too have the very same issue while working with Websphere 6.1 and EJB3 Feature pack along with Hibernate as persistence provider. I could see several queries raised on the same subject but with no valid response on the issue.

With websphere in specific, an attempt to suspend() the transaction throws unsupported exception. But the work around of using WebsphereTransactionManager instead of WebsphereExtendedTransactionManagerLookup works.

Can anyone please confirm if there is a neat solution to this problem ?
We've tried with almost all versions of hibernate starting with 3.0.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.