Bug 780374 (SOA-2785)

Summary: Adminshell/API - sequence of datasource creation/VDB deployment and queries results in deployment error
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Len DiMaggio <ldimaggi>
Component: EDSAssignee: Van Halbert <vhalbert>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.1.0.ER7CC: ldimaggi, rareddy
Target Milestone: ---Keywords: Regression
Target Release: 5.1.0.CR1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2785
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-02 21:13:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
DeployTest.groovy
none
server.log_DEBUG_deploy
none
server.log_TRACE_deploy
none
weather-ds.xml
none
weather-vdb.xml
none
teiid-cache-jbosscache-7.1.1.jar
none
server.log.ER8 none

Description Len DiMaggio 2011-01-14 20:31:33 UTC
Steps to Reproduce: Run the attached test with the attached VDB and DS file.


project_key: SOA

See attached standalone adminshell/adminAPI test - this is a new problem in ER7.

A sequence of 2 iterations of: datasource creation/VDB deployment and queries results in this error:

DEPLOYMENTS IN ERROR:
  Deployment "vfsfile:/jboss/local/51_ER7/jboss-soa-p-5/jboss-as/server/production/deploy/weather-vdb.xml" is in error due to the following reason(s): java.lang.ClassCastException: java.lang.String cannot be cast to org.teiid.dqp.internal.process.SessionAwareCache$CacheID

Comment 1 Len DiMaggio 2011-01-14 20:31:52 UTC
Affects Testing: Added: [Regression]


Comment 2 Len DiMaggio 2011-01-14 20:53:23 UTC
Note - once the problem occurs, the server is in a state where it much be restarted to clear - or subsequent deploys of that VDB fail on the first try too. Deleting the DS via the adminshell does not clear up the problem.



Comment 3 Len DiMaggio 2011-01-14 20:55:43 UTC
Attachment: Added: DeployTest.groovy
Attachment: Added: server.log_DEBUG_deploy
Attachment: Added: server.log_TRACE_deploy
Attachment: Added: weather-ds.xml
Attachment: Added: weather-vdb.xml


Comment 4 Van Halbert 2011-01-14 21:11:15 UTC
Link: Added: This issue Cloned to SOA-2787


Comment 7 Ramesh Reddy 2011-01-17 13:02:24 UTC
Attachment: Added: teiid-cache-jbosscache-7.1.1.jar


Comment 10 Len DiMaggio 2011-01-27 20:39:38 UTC
In ER8:

The problem is being seen with the ALL and PRODUCTION configs. 

The DEFAULT config is not affected by the bug (DEFAULT does not support clustering - keys are not being cached).



Comment 11 Len DiMaggio 2011-01-27 20:44:45 UTC
Attachment: Added: server.log.ER8


Comment 13 Len DiMaggio 2011-02-02 21:13:54 UTC
Fix verified in ER9 build.