[teiid-issues] [JBoss JIRA] (TEIID-3214) Dynamic vdb is redeployed twice

Ramesh Reddy (JIRA) issues at jboss.org
Thu Nov 13 10:47:29 EST 2014


    [ https://issues.jboss.org/browse/TEIID-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019817#comment-13019817 ] 

Ramesh Reddy commented on TEIID-3214:
-------------------------------------

The ".dodeploy" file something a user creates to deploy an artifact. A ".deploy" is an artifact file created by the JBoss EAP for management of that deployment.

The recommended way to deploy an artifact is using
 * web-console
 * CLI 
* Admin Shell
* Designer (during development)
* creating the ".dodeploy" file.

When you try to re-deploy/re-load without using known/recommended ways, we do not know how the JBoss EAP internals react to that change. All Teiid knows, it got a deployment event for that artifact. Clearly ".deploy" files are there for management of the artifacts after deployment for consistent behavior across domain, not for re-deploy purpose. There is README.txt file in the "deployments" folder of the EAP, please read that for correct ways to do a deployment.

Based on above, I am inclined to reject this JIRA 

> 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



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the teiid-issues mailing list