[teiid-issues] [JBoss JIRA] Resolved: (TEIID-1350) Teiid 7.2 in JBoss EAP cluster (with clustered cache on) will not deploy VDBs

Ramesh Reddy (JIRA) jira-events at lists.jboss.org
Tue Nov 9 12:32:01 EST 2010


     [ https://jira.jboss.org/browse/TEIID-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramesh Reddy resolved TEIID-1350.
---------------------------------

    Resolution: Done


Having "expiration" setting at root node not needed, as on this node "setResident" is set to true.  However, this setting was being interpreted by SessionAwareCache as CacheID, which is true on all the children nodes, not on the root.

Setting "expiration" as "string" key under the specific JBoss Cache node is expected behaviour by JBoss Cache

> Teiid 7.2 in JBoss EAP cluster (with clustered cache on) will not deploy VDBs
> -----------------------------------------------------------------------------
>
>                 Key: TEIID-1350
>                 URL: https://jira.jboss.org/browse/TEIID-1350
>             Project: Teiid
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 7.2
>         Environment: RHEL 5.5 running Sun JVM 1.6 using JBoss EAP 5.1 from RHN (rpm install)
>            Reporter: Graeme Gillies
>            Assignee: Steven Hawkins
>             Fix For: 7.1.1, 7.3
>
>
> Hi,
> We have an JBoss EAP 5.1 environment running in clustered mode, using the "production" jboss configuration.
> We have upgraded the environment to Teiid 7.2 (from teiid 7.1) and now when we attempt to start jboss/deploy vdbs we see the following error
> {code}
> 2010-11-08 14:30:16,807 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Real: name=vfszip:/var/lib/jbossas/server/production/deploy/DataStoreBNE.vdb/ state=PreReal mode=Manual requiredState=Real
> org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/var/lib/jbossas/server/production/deploy/Test.vdb/
>         at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
>         at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185)
>         at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)
>         at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)
>         at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)
>         at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
>         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
>         at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)
>         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
>         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)
>         at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
>         at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
>         at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)
>         at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)
>         at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
>         at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
>         at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
>         at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
>         at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
>         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
>         at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)
>         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
>         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)
>         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)
>         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)
>         at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
>         at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)
>         at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
>         at org.jboss.Main.boot(Main.java:221)
>         at org.jboss.Main$1.run(Main.java:556)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to org.teiid.dqp.internal.process.SessionAwareCache$CacheID
>         at org.teiid.dqp.internal.process.SessionAwareCache.clearCache(SessionAwareCache.java:195)
>         at org.teiid.dqp.internal.process.SessionAwareCache.clearForVDB(SessionAwareCache.java:189)
>         at org.teiid.dqp.internal.process.DQPCore.clearResultSetCache(DQPCore.java:568)
>         at org.teiid.dqp.internal.process.DQPCore.clearCache(DQPCore.java:617)
>         at org.teiid.jboss.deployers.RuntimeEngineDeployer$1.added(RuntimeEngineDeployer.java:231)
>         at org.teiid.deployers.VDBRepository.notifyAdd(VDBRepository.java:227)
>         at org.teiid.deployers.VDBRepository.addVDB(VDBRepository.java:86)
>         at org.teiid.deployers.VDBDeployer.deploy(VDBDeployer.java:145)
>         at org.teiid.deployers.VDBDeployer.deploy(VDBDeployer.java:60)
>         at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
>         at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
>         at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
>         ... 29 more
> {code}
> It happens with all our VDBs, none of them deploy. We tried recreating/deploying the VDBs using a nightly version of the teiid designer and the problem persists.
> I have enabled clustering in Teiid by simply renaming the file teiid-cache-manager-jboss-beans-rename-me.xml to teiid-cache-manager-jboss-beans.xml in the teiid deploy directory

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list