Hi All,

*i currently on develop a web application using hibernate 3.3.2 and websphere 7, i having the following exception:*

--------------------------------------------------------------------------------------------------------------------
[11/25/09 12:37:32:277 GMT+08:00] 00000049 SystemErr R org.hibernate.TransactionException: could not register synchronization with JTA TransactionManager
at org.hibernate.jdbc.JDBCContext.registerSynchroniza tionIfPossible(JDBCContext.java:181)
at org.hibernate.impl.SessionImpl.checkTransactionSyn chStatus(SessionImpl.java:1867)
at org.hibernate.impl.SessionImpl.isOpen(SessionImpl. java:320)
at com.atquest.portal.common.util.HibernateUtil.close Session(HibernateUtil.java:235)
at com.atquest.portal.persistence.service.Registratio nService.getUserForLogin(RegistrationService.java: 275)
at com.dayaquest.scc.social.action.SocialPlaceMainAct ion.execute(SocialPlaceMainAction.java:71)
at org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:425)
at org.apache.struts.faces.application.FacesTilesRequ estProcessor.processActionPerform(FacesTilesReques tProcessor.java:255)
at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1443)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:790)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:443)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl .handleRequest(ServletWrapperImpl.java:175)
at com.ibm.ws.webcontainer.webapp.WebApp.handleReques t(WebApp.java:3610)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ est(WebGroup.java:274)
at com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:926)
at com.ibm.ws.webcontainer.WSWebContainer.handleReque st(WSWebContainer.java:1557)
at com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:173)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCa llback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$ SSLReadCompletedCallback.complete(SSLReadServiceCo ntext.java:1772)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListe ner.futureCompleted(AioReadCompletionListener.java :165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallbac k(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletion Actions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture .java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHand ler.java:202)
at com.ibm.io.async.ResultHandler.runEventProcessingL oop(ResultHandler.java:766)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler .java:896)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1527)
Caused by: java.lang.UnsupportedOperationException
at org.hibernate.transaction.WebSphereExtendedJTATran sactionLookup$TransactionManagerAdapter.getStatus( WebSphereExtendedJTATransactionLookup.java:87)
at org.hibernate.transaction.JTATransactionFactory.is TransactionInProgress(JTATransactionFactory.java:9 4)
at org.hibernate.jdbc.JDBCContext.isTransactionInProg ress(JDBCContext.java:187)
at org.hibernate.jdbc.JDBCContext.registerSynchroniza tionIfPossible(JDBCContext.java:159)
... 33 more
[11/25/09 12:37:32:277 GMT+08:00] 00000049 SystemErr R org.hibernate.TransactionException: could not register synchronization with JTA TransactionManager
at org.hibernate.jdbc.JDBCContext.registerSynchroniza tionIfPossible(JDBCContext.java:181)
at org.hibernate.impl.SessionImpl.checkTransactionSyn chStatus(SessionImpl.java:1867)
at org.hibernate.impl.SessionImpl.createCriteria(Sess ionImpl.java:1509)
at com.atquest.portal.persistence.model.common.base._ BaseRootDAO.createCriteria(_BaseRootDAO.java:221)
at com.atquest.portal.persistence.model.common.base._ BaseRootDAO.createCriteria(_BaseRootDAO.java:213)
at com.atquest.portal.persistence.model.social.dao.So cialProfileDAO.findByUUID(SocialProfileDAO.java:33 )
at com.atquest.portal.persistence.service.SocialPlace Service.findProfileByUUID(SocialPlaceService.java: 439)
at com.dayaquest.scc.social.action.SocialPlaceMainAct ion.execute(SocialPlaceMainAction.java:88)
at org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:425)
at org.apache.struts.faces.application.FacesTilesRequ estProcessor.processActionPerform(FacesTilesReques tProcessor.java:255)
at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1443)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:790)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:443)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl .handleRequest(ServletWrapperImpl.java:175)
at com.ibm.ws.webcontainer.webapp.WebApp.handleReques t(WebApp.java:3610)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ est(WebGroup.java:274)
at com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:926)
at com.ibm.ws.webcontainer.WSWebContainer.handleReque st(WSWebContainer.java:1557)
at com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:173)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCa llback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$ SSLReadCompletedCallback.complete(SSLReadServiceCo ntext.java:1772)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListe ner.futureCompleted(AioReadCompletionListener.java :165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallbac k(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletion Actions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture .java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHand ler.java:202)
at com.ibm.io.async.ResultHandler.runEventProcessingL oop(ResultHandler.java:766)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler .java:896)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1527)
Caused by: java.lang.UnsupportedOperationException
at org.hibernate.transaction.WebSphereExtendedJTATran sactionLookup$TransactionManagerAdapter.getStatus( WebSphereExtendedJTATransactionLookup.java:87)
at org.hibernate.transaction.JTATransactionFactory.is TransactionInProgress(JTATransactionFactory.java:9 4)
at org.hibernate.jdbc.JDBCContext.isTransactionInProg ress(JDBCContext.java:187)
at org.hibernate.jdbc.JDBCContext.registerSynchroniza tionIfPossible(JDBCContext.java:159)
... 35 more

--------------------------------------------------------------------------------------------------------------------

*my hibernate config file as folow:*

--------------------------------------------------------------------------------------------------------------------





java:hibernate/SessionFactory
jdbc/sccdb
org.hibernate.dialect.DB2Dialect
true

org.hibernate.transaction.JTATransactionFactory


org.hibernate.transaction.WebSphereExtendedJTATran sactionLookup


java:comp/UserTransaction



--------------------------------------------------------------------------------------------------------------------

*all the configuration is follow this site*
Link: [http://www.ibm.com/developerworks/we...9_alcott.html]

*any ideas to solve this error?*

Regards,
Wan