0 Replies Latest reply on Mar 20, 2015 7:58 AM by masuman82

    Destroying connection that could not be successfully matched

    masuman82

      One of our customers is facing an out of memory issue and in the logs we see that the below message is repeated around 130000 times.

       

       

      [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (Worker2423_QueryProcessorQueue1651075) IJ000612: Destroying connection that could not be successfully matched: org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@e5b2ffe9[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@dbbc1dd9 connection handles=0 lastUse=1426323632148 trackByTx=false pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@b8aae7bc pool internal context=SemaphoreArrayListManagedConnectionPool@736883ba[pool=SECURITY_WH_DATACOM_TCP_DEV_R140_SPRD5_CMGRQ1_DS] xaResource=LocalXAResourceImpl@b0a162f[connectionListener=e5b2ffe9 connectionManager=64743f42 warned=false currentXid=null] txSync=null]

       

       

      Our customer is using JBoss 7.1.1 and its not possible to upgrade to a different version at this point of time.

      The datasources are configured with a security domain.

       

       

      In a different thread (https://developer.jboss.org/thread/213157) it was suggested that adding  <pool><allow-multiple-users/></pool> to the datasource xml

      should resolve this issue. But it looks like these tags are not supported in JBoss 7.1.1. The below exception is thrown

       

       

      ERROR [org.jboss.msc.service.fail] (MSC service thread 1-16) MSC00001: Failed to start service jboss.deployment.unit."security-database-jdbc-ds.xml".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."security-database-jdbc-ds.xml".PARSE: Failed to process phase PARSE of deployment "security-database-jdbc-ds.xml"

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157) [rt.jar:1.7.0]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627) [rt.jar:1.7.0]

        at java.lang.Thread.run(Thread.java:801) [vm.jar:1.7.0]

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: IJ010061: Unexpected element: allow-multiple-users

        at org.jboss.as.connector.deployers.processors.DsXmlDeploymentParsingProcessor.deploy(DsXmlDeploymentParsingProcessor.java:85)

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

        ... 5 more

      Caused by: org.jboss.jca.common.metadata.ParserException: IJ010061: Unexpected element: allow-multiple-users

        at org.jboss.jca.common.metadata.AbstractParser.parsePool(AbstractParser.java:329)

        at org.jboss.jca.common.metadata.ds.DsParser.parseDataSource(DsParser.java:597)

        at org.jboss.jca.common.metadata.ds.DsParser.parseDataSources(DsParser.java:166)

        at org.jboss.jca.common.metadata.ds.DsParser.parse(DsParser.java:119)

        at org.jboss.jca.common.metadata.ds.DsParser.parse(DsParser.java:82)

        at org.jboss.as.connector.deployers.processors.DsXmlDeploymentParsingProcessor.deploy(DsXmlDeploymentParsingProcessor.java:80)

        ... 6 more

       

       

      Can anyone please suggest a fix or workaround to resolve this issue in JBoss 7.1.1.

       

       

      Regards,

      M.A.Suman.