Project

General

Profile

Actions

Bug #831

closed

[Websphere] Méthodes de l'ejb nécessitant une transaction

Added by Sébastien ROCHET over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Start date:
07/26/2010
Due date:
% Done:

100%

Estimated time:
4.00 h
Spent time:
Navigateur:
Votre version de Silverpeas:
5.3
Système d'exploitation:
Windows XP
Votre base de données:
Toutes
Livraison en TEST:
Livraison en PROD:

Description

Vu par Jocelyn lors de la première étude:

"On avait des erreurs sur la création de publications / sous-thèmes dans un thème. La création se faisait quand même, mais des exceptions du type CSITransactionRolledbackException étaient lancées. Pour régler ce problème, il a fallu modifier le descripteur de déploiement de KmeliaBm pour que les méthodes createPublicationIntoTopic et addSubTopic requièrent une transaction (mode TRANSACTION_REQUIRED). Il semblerait que ce problème soit dû au fait que WAS requiert que l’EJB démarrant une transaction soit celui qui la termine (c’est également le standard J2EE), "

Ci-dessous un exemple d'exception (action Terminer lors de la création du publication par l'assistant):

org.omg.CORBA.TRANSACTION_ROLLEDBACK: javax.transaction.TransactionRolledbackException: ; nested exception is:
com.ibm.websphere.csi.CSITransactionRolledbackException: vmcid: 0x0 minor code: 0 completed: No
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:44)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
at java.lang.reflect.Constructor.newInstance(Constructor.java:516)
at com.ibm.rmi.util.ProxyUtil.copyObject(ProxyUtil.java:251)
at com.ibm.CORBA.iiop.UtilDelegateImpl.copyObject(UtilDelegateImpl.java:848)
at javax.rmi.CORBA.Util.copyObject(Util.java:333)
at com.stratelia.webactiv.kmelia.control.ejb._KmeliaBm_Stub.draftOutPublication(_KmeliaBm_Stub.java:2374)
at com.stratelia.webactiv.kmelia.control.KmeliaSessionController.draftOutPublication(KmeliaSessionController.java:1923)
at com.stratelia.webactiv.kmelia.servlets.KmeliaRequestRouter.processWizard(KmeliaRequestRouter.java:2329)
at com.stratelia.webactiv.kmelia.servlets.KmeliaRequestRouter.getDestination(KmeliaRequestRouter.java:1506)
at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.computeDestination(ComponentRequestRouter.java:194)
at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.doPost(ComponentRequestRouter.java:83)
at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.doGet(ComponentRequestRouter.java:97)
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.service(ServletWrapper.java:1655)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1595)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
at com.silverpeas.whitePages.filters.ComponentRequestRouterFilter.doFilter(ComponentRequestRouterFilter.java:93)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:895)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:932)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3810)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:183)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)


Related issues

Related to GED - Bug #973: Sortie du mode brouillon (Intranoo 5.3 snapshot)ClosedNicolas Eysseric09/07/2010

Actions
Actions #1

Updated by Sébastien ROCHET over 11 years ago

  • Status changed from New to In progress...
Actions #2

Updated by Sébastien ROCHET over 11 years ago

  • Status changed from In progress... to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Nicolas Eysseric over 11 years ago

  • Status changed from Resolved to Closed
  • Votre base de données changed from Oracle to Toutes
Actions

Also available in: Atom PDF