Announcement Announcement Module
Collapse
No announcement yet.
Problem with user transaction while upgrading was6.1 to was7.0 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with user transaction while upgrading was6.1 to was7.0

    Hi ,

    I am trying to upgrade my spring based application from WAS6.1 to WAS7.0. My application is using message listner defined as bean and refering to

    TransactionManager bean shown below :
    <bean id="MessageListenerTemplate"
    class="com.fil.tars.framework.message.listener.Mes sageListenerContainer" abstract="true">
    <property name="transactionManager" ref="TxManager" />


    TransactionManager is defined
    <bean id="TxManager" class="org.springframework.transaction.jta.WebSphe reUowTransactionManager">
    <property name="autodetectUserTransaction" value="true"/>
    </bean>

    when I am upgrading th application to WAS7.0 I am getting following exception : can some one help ??


    000037 SystemErr R java.lang.NullPointerException
    [24/12/10 14:51:43:432 IST] 00000037 SystemErr R at com.ibm.ejs.container.EJSContainer.processTxContex tChange(EJSContainer.java:2434)
    [24/12/10 14:51:43:432 IST] 00000037 SystemErr R at com.ibm.ejs.container.UserTransactionWrapper.begin (UserTransactionWrapper.java:207)
    [24/12/10 14:51:43:432 IST] 00000037 SystemErr R at org.springframework.transaction.jta.JtaTransaction Manager.doJtaBegin(JtaTransactionManager.java:863)
    [24/12/10 14:51:43:432 IST] 00000037 SystemErr R at org.springframework.transaction.jta.JtaTransaction Manager.doBegin(JtaTransactionManager.java:820)
    [24/12/10 14:51:43:432 IST] 00000037 SystemErr R at org.springframework.transaction.support.AbstractPl atformTransactionManager.getTransaction(AbstractPl atformTransactionManager.java:371)
    [24/12/10 14:51:43:432 IST] 00000037 SystemErr R at org.springframework.jms.listener.AbstractPollingMe ssageListenerContainer.receiveAndExecute(AbstractP ollingMessageListenerContainer.java:240)
    [24/12/10 14:51:43:432 IST] 00000037 SystemErr R at org.springframework.jms.listener.DefaultMessageLis tenerContainer$AsyncMessageListenerInvoker.invokeL istener(DefaultMessageListenerContainer.java:1058)
    [24/12/10 14:51:43:432 IST] 00000037 SystemErr R at org.springframework.jms.listener.DefaultMessageLis tenerContainer$AsyncMessageListenerInvoker.run(Def aultMessageListenerContainer.java:952)
    [24/12/10 14:51:43:432 IST] 00000037 SystemErr R at org.springframework.scheduling.commonj.DelegatingW ork.run(DelegatingWork.java:61)
    [24/12/10 14:51:43:432 IST] 00000037 SystemErr R at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext .java:1150)
    [24/12/10 14:51:43:432 IST] 00000037 SystemErr R at com.ibm.ws.asynchbeans.WorkWithExecutionContextImp l.go(WorkWithExecutionContextImpl.java:199)
    [24/12/10 14:51:43:432 IST] 00000037 SystemErr R at com.ibm.ws.asynchbeans.CJWorkItemImpl.run(CJWorkIt emImpl.java:188)
Working...
X