]
Steven Hawkins resolved TEIID-3214.
-----------------------------------
Resolution: Rejected
Resolving as rejected based upon Ramesh's comment. Jan if you see duplicate
deployment with a supported deployment method let us know.
Dynamic vdb is redeployed twice
-------------------------------
Key: TEIID-3214
URL:
https://issues.jboss.org/browse/TEIID-3214
Project: Teiid
Issue Type: Bug
Reporter: Jan Stastny
Assignee: Steven Hawkins
I have a dynamic vdb. When I redeploy it with command 'touch
vdbname-vdb.xml.deployed' then the vdb is redeployed twice within 5 seconds. Whole the
procedure runs twice - see the log in the end of description. When the vdb is redeployed
by 'touch vdbname-vdb.xml' everything is fine. Happens only with dynamic vdbs,
static vdbs and wars,etc work fine.
Log:
09:23:13,599 INFO [org.teiid.RUNTIME] (MSC service thread 1-4) TEIID50026 VDB
"mat-views.1[Source{Source=Source, h2-override, java:/mat-views-ds}, View{}]"
undeployed.
09:23:13,604 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877:
Stopped deployment mat-views-vdb.xml (runtime-name: mat-views-vdb.xml) in 7ms
09:23:13,604 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876:
Starting deployment of "mat-views-vdb.xml" (runtime-name:
"mat-views-vdb.xml")
09:23:13,629 INFO [org.teiid.SECURITY] (MSC service thread 1-1) TEIID40009 Admin [null]
is terminating this session: ItnNDZmYCq/y.
09:23:13,633 INFO [org.teiid.RUNTIME] (MSC service thread 1-1) TEIID50029 VDB
mat-views.1 model "Source" metadata is currently being loaded. Start Time:
11/13/14 9:23 AM
09:23:13,634 INFO [org.teiid.RUNTIME] (MSC service thread 1-1) TEIID50029 VDB
mat-views.1 model "View" metadata is currently being loaded. Start Time:
11/13/14 9:23 AM
09:23:13,634 INFO [org.teiid.CONNECTOR] (teiid-async-threads - 3) H2ExecutionFactory
Commit=true;DatabaseProductName=H2;DatabaseProductVersion=@PROJECT_VERSION@
(2012-07-13);DriverMajorVersion=1;DriverMajorVersion=3;DriverName=H2 JDBC
Driver;DriverVersion=@PROJECT_VERSION@ (2012-07-13);IsolationLevel=2
09:23:13,636 INFO [org.teiid.RUNTIME] (teiid-async-threads - 2) TEIID50030 VDB
mat-views.1 model "View" metadata loaded. End Time: 11/13/14 9:23 AM
09:23:13,683 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018562:
Redeployed "mat-views-vdb.xml"
09:23:13,840 INFO [org.teiid.RUNTIME] (teiid-async-threads - 3) TEIID50030 VDB
mat-views.1 model "Source" metadata loaded. End Time: 11/13/14 9:23 AM
09:23:13,846 INFO [org.teiid.RUNTIME] (teiid-async-threads - 3) TEIID40003 VDB
mat-views.1 is set to ACTIVE
09:23:18,757 INFO [org.teiid.RUNTIME] (MSC service thread 1-1) TEIID50026 VDB
"mat-views.1[Source{Source=Source, h2-override, java:/mat-views-ds}, View{}]"
undeployed.
09:23:18,760 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877:
Stopped deployment mat-views-vdb.xml (runtime-name: mat-views-vdb.xml) in 4ms
09:23:18,761 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876:
Starting deployment of "mat-views-vdb.xml" (runtime-name:
"mat-views-vdb.xml")
09:23:18,789 INFO [org.teiid.RUNTIME] (MSC service thread 1-8) TEIID50029 VDB
mat-views.1 model "Source" metadata is currently being loaded. Start Time:
11/13/14 9:23 AM
09:23:18,791 INFO [org.teiid.RUNTIME] (MSC service thread 1-8) TEIID50029 VDB
mat-views.1 model "View" metadata is currently being loaded. Start Time:
11/13/14 9:23 AM
09:23:18,795 INFO [org.teiid.CONNECTOR] (teiid-async-threads - 2) H2ExecutionFactory
Commit=true;DatabaseProductName=H2;DatabaseProductVersion=@PROJECT_VERSION@
(2012-07-13);DriverMajorVersion=1;DriverMajorVersion=3;DriverName=H2 JDBC
Driver;DriverVersion=@PROJECT_VERSION@ (2012-07-13);IsolationLevel=2
09:23:18,807 INFO [org.teiid.RUNTIME] (teiid-async-threads - 3) TEIID50030 VDB
mat-views.1 model "View" metadata loaded. End Time: 11/13/14 9:23 AM
09:23:18,820 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018565:
Replaced deployment "mat-views-vdb.xml" with deployment
"mat-views-vdb.xml"
09:23:18,999 INFO [org.teiid.RUNTIME] (teiid-async-threads - 2) TEIID50030 VDB
mat-views.1 model "Source" metadata loaded. End Time: 11/13/14 9:23 AM
09:23:19,005 INFO [org.teiid.RUNTIME] (teiid-async-threads - 2) TEIID40003 VDB
mat-views.1 is set to ACTIVE