2 Replies Latest reply on Jan 31, 2008 11:12 AM by prashantpk

    NoSuchMethodError XAManagedConnectionFactory.getValidateOnMa

    prashantpk

      I have a XA datasource that throws this exception. any idea ?

      INFO | jvm 1 | 2008/01/30 14:43:20 | 14:43:20,342 WARN [JBossManagedConnectionPool] Throwable while trying to match ManagedConnection, destroying connection: org.jboss.reso
      urce.connectionmanager.TxConnectionManager$TxConnectionEventListener@15b6382[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@e1fbe3 handles=0 lastUse=12017
      22200317 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject@60090d context=org.jboss.resource.connectionmanager.Intern
      alManagedConnectionPool@f23ad3 xaResource=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@e1fbe3 txSync=null]
      INFO | jvm 1 | 2008/01/30 14:43:20 | java.lang.NoSuchMethodError: org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.getValidateOnMatch()Z
      INFO | jvm 1 | 2008/01/30 14:43:20 | at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.matchManagedConnections(XAManagedConnectionFactory.java:191)
      INFO | jvm 1 | 2008/01/30 14:43:20 | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:187)
      INFO | jvm 1 | 2008/01/30 14:43:20 | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:417)
      INFO | jvm 1 | 2008/01/30 14:43:20 | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324)

        • 1. Re: NoSuchMethodError XAManagedConnectionFactory.getValidate
          vickyk

           

          INFO | jvm 1 | 2008/01/30 14:43:20 | java.lang.NoSuchMethodError: org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.getValidateOnMatch()Z

          Strange , this error should not come up .
          What Jboss version are you using and how frequently are you getting this error?
          I suspect that you might have updated jdbc related rar from newer version of Jboss in the older version of Jboss , have you done this ?




          • 2. Re: NoSuchMethodError XAManagedConnectionFactory.getValidate
            prashantpk

            You are right...the jdbc rar file was of different size than what the default jboss4.0.4 came with. Some one from my team must have copied a wrong a rar. The issue seems to be resolved and I don't see that exception. Thank you so much for your prompt reply.