Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-1580

CME on VDB deploy

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.3
    • Fix Version/s: 7.4
    • Component/s: Server
    • Labels:

      Description

      Rarely (1 out of 20 times, perhaps), we geta concurrent modification exception when we deploy the dynamic vdb. Subsequent to that, the VDB is not active. Stack trace below:

      07 May 2011 02:46:07,720 GMT ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (New I/O server worker #2-1) Error installing to Real: name=vfsfile:/u/users/atlasadm/chorus/jboss-5.1.0.GA-teiid7.3/server/default/deploy/chorus-vdb.xml state=PreReal mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/u/users/atlasadm/chorus/jboss-5.1.0.GA-teiid7.3/server/default/deploy/chorus-vdb.xml
      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
      at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
      at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:263)
      at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
      at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
      at org.jboss.remoting.Client.invoke(Client.java:1724)
      at org.jboss.remoting.Client.invoke(Client.java:629)
      at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:305)
      at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:190)
      at org.jboss.profileservice.management.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:231)
      at org.jboss.profileservice.management.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:88)
      at org.teiid.adminapi.jboss.ManagedUtil.execute(ManagedUtil.java:295)
      at org.teiid.adminapi.jboss.ManagedUtil.deployArchive(ManagedUtil.java:250)
      at org.teiid.adminapi.jboss.ManagedUtil.deployArchive(ManagedUtil.java:228)
      at org.teiid.adminapi.jboss.Admin.deployVDB(Admin.java:186)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:611)
      at org.teiid.logging.LogManager$LoggingProxy.invoke(LogManager.java:121)
      at org.teiid.jboss.deployers.RuntimeEngineDeployer$2.invoke(RuntimeEngineDeployer.java:303)
      at $Proxy295.deployVDB(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:611)
      at org.teiid.transport.ServerWorkItem.run(ServerWorkItem.java:81)
      at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:188)
      at org.teiid.transport.SocketClientInstance.processMessagePacket(SocketClientInstance.java:160)
      at org.teiid.transport.SocketClientInstance.receivedMessage(SocketClientInstance.java:149)
      at org.teiid.transport.SSLAwareChannelHandler.messageReceived(SSLAwareChannelHandler.java:210)
      at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:100)
      at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
      at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:754)
      at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:144)
      at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
      at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:754)
      at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:302)
      at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:317)
      at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:299)
      at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:214)
      at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
      at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
      at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:540)
      at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274)
      at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261)
      at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:349)
      at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:281)
      at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:201)
      at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
      at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
      at java.lang.Thread.run(Thread.java:737)
      Caused by:
      java.util.ConcurrentModificationException
      at java.util.AbstractList$SimpleListIterator.next(AbstractList.java:59)
      at org.teiid.query.metadata.CompositeMetadataStore.<init>(CompositeMetadataStore.java:51)
      at org.teiid.deployers.CompositeVDB.buildTransformationMetaData(CompositeVDB.java:108)
      at org.teiid.deployers.CompositeVDB.update(CompositeVDB.java:93)
      at org.teiid.deployers.CompositeVDB.<init>(CompositeVDB.java:73)
      at org.teiid.deployers.VDBRepository.addVDB(VDBRepository.java:84)
      at org.teiid.deployers.VDBDeployer.deploy(VDBDeployer.java:146)
      at org.teiid.deployers.VDBDeployer.deploy(VDBDeployer.java:61)
      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
      ... 66 more
      07 May 2011 02:46:07,721 GMT WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (JBoss System Threads(1)-4) Destroying connection that could not be successfully matched: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@a9c71a6[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@9b4843b handles=0 lastUse=1304736362752 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@81114f7 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@a95b60b xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@9b4844a txSync=null]
      07 May 2011 02:46:07,723 GMT WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (JBoss System Threads(1)-8) Destroying connection that could not be successfully matched: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@a9bc6fa[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@9c4a42a handles=0 lastUse=1304736362597 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@81115c8 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@a96ce24 xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@9c4a439 txSync=null]

        Attachments

          Activity

            People

            Assignee:
            rhn-engineering-shawkins Steven Hawkins
            Reporter:
            markaddleman_jira Mark Addleman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: