Uploaded image for project: 'iBatis for Java [READ ONLY]'
  1. iBatis for Java [READ ONLY]
  2. IBATIS-435

Bug Using iBATIS 2.3.0 And Spring Framework

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.3.1
    • Core
    • None
    • Solaris 9, WebSphere 6, Websphere MQ 6, Oracle 10g with XA driver, clustered JVMs

    Description

      The following error below occurs and shuts down the JVMs when ever we try to execute a statement...I believe this error may be due to statement caching.
      ============================================================================================

      "MessageListenerThreadPool : 0" daemon prio=5 tid=0x0183b678 nid=0x2d in Object.wait() [6e4fd000..6e4ffc30]
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:429)
      at com.ibatis.common.util.Throttle.increment(Throttle.java:70)

      • locked <0x83bc12d0> (a java.lang.Object)
        at com.ibatis.common.util.ThrottledPool.pop(ThrottledPool.java:57)
        at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.popSession(SqlMapExecutorDelegate.java:933)
        at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.<init>(SqlMapSessionImpl.java:51)
        at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.getLocalSqlMapSession(SqlMapClientImpl.java:259)
        at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForObject(SqlMapClientImpl.java:83)
        at org.springframework.orm.ibatis.SqlMapClientTemplate$1.doInSqlMapClient(SqlMapClientTemplate.java:224)
        at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:165)
        at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForObject(SqlMapClientTemplate.java:222)
        at gov.hhs.cms.cbss.das.application.persistence.ibatis.HomePageIbatisDao.getSupplierStats(Unknown Source)
        at gov.hhs.cms.cbss.das.application.persistence.ibatis.HomePageIbatisDao.getStatistics(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
        at $Proxy25.getStatistics(Unknown Source)
        at gov.hhs.cms.cbss.das.application.service.impl.HomePageServiceImpl.getStatistics(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
        at $Proxy31.getStatistics(Unknown Source)
        at gov.hhs.cms.cbss.messaging.services.HomePageService.execute(Unknown Source)
        at gov.hhs.cms.cbss.messaging.mbd.MessageManagerBean.onMessage(Unknown Source)
        at com.ibm.ejs.jms.listener.MDBWrapper$PriviledgedOnMessage.run(MDBWrapper.java:211)
        at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:56)
        at com.ibm.ejs.jms.listener.MDBWrapper.callOnMessage(MDBWrapper.java:200)
        at com.ibm.ejs.jms.listener.MDBWrapper.onMessage(MDBWrapper.java:178)
        at com.ibm.mq.jms.MQSession.run(MQSession.java:1588)
        at com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java:924)
        at com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(ServerSession.java:752)
        at com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.java:527)
        at com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.java:494)
        at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.ibm.ejs.jms.listener.ServerSessionDispatcher.dispatch(ServerSessionDispatcher.java:37)
        at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:91)
        at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:127)
        at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:375)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:937)

      Attachments

        Activity

          People

            cbegin Clinton Begin
            smbi2000 Sylvion Mbi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: