My teiid instance and my script are all on the same server. Everything is on localhost except for my mongodb instance which has the correct ip address. Below is my server.log.
I have also noticed another issue, when I redeploy, the standalone-teiid.xml seems to go back to default. Is this expected?
14:02:00,239 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-39) TEIID40120 VDB vcf.1 will be removed from the repository
14:02:00,257 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-39) TEIID40119 VDB vcf.1 removed from the repository
14:02:00,271 INFO [org.teiid.RUNTIME] (MSC service thread 1-39) TEIID50026 VDB "vcf.1[vcf{vcf=vcf, mongodb, java:/mongoDS}]" undeployed.
14:02:00,309 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-22) TEIID40120 VDB vcf.1 will be removed from the repository
14:02:00,369 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015877: Stopped deployment mongodb-vdb.xml (runtime-name: mongodb-vdb.xml) in 158ms
14:02:00,371 INFO [org.jboss.as.server.deployment] (MSC service thread 1-13) JBAS015876: Starting deployment of "mongodb-vdb.xml" (runtime-name: "mongodb-vdb.xml")
14:02:00,449 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-39) TEIID40118 VDB vcf.1 added to the repository - is reloading false
14:02:00,450 INFO [org.teiid.RUNTIME] (MSC service thread 1-39) TEIID50029 VDB vcf.1 model "vcf" metadata is currently being loaded. Start Time: 10/19/14 2:02 PM
14:02:00,454 INFO [org.teiid.RUNTIME] (teiid-async-threads - 2) TEIID50030 VDB vcf.1 model "vcf" metadata loaded. End Time: 10/19/14 2:02 PM
14:02:00,459 INFO [org.teiid.RUNTIME] (teiid-async-threads - 2) Data Source java:/mongoDS not accessible.
14:02:00,459 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (teiid-async-threads - 2) TEIID40003 VDB vcf.1 is set to ACTIVE
14:02:00,473 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018565: Replaced deployment "mongodb-vdb.xml" with deployment "mongodb-vdb.xml"
14:09:50,861 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-5) TEIID40120 VDB vcf.1 will be removed from the repository
14:09:50,863 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-5) TEIID40119 VDB vcf.1 removed from the repository
14:09:50,866 INFO [org.teiid.RUNTIME] (MSC service thread 1-5) TEIID50026 VDB "vcf.1[vcf{vcf=vcf, mongodb, java:/mongoDS}]" undeployed.
14:09:50,868 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-16) TEIID40120 VDB vcf.1 will be removed from the repository
14:09:50,880 INFO [org.jboss.as.server.deployment] (MSC service thread 1-11) JBAS015877: Stopped deployment mongodb-vdb.xml (runtime-name: mongodb-vdb.xml) in 20ms
14:09:50,900 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "mongodb-vdb.xml" (runtime-name: "mongodb-vdb.xml")
14:17:18,649 INFO [org.jboss.as.repository] (management-handler-thread - 4) JBAS014900: Content added at location /opt/jboss/standalone/data/content/69/620cb8b5b09404843e175ec135f5097a986680/content
14:17:18,651 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "mongodb-vdb.xml" (runtime-name: "mongodb-vdb.xml")
14:17:18,736 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-16) TEIID40118 VDB vcf.1 added to the repository - is reloading false
14:17:18,738 INFO [org.teiid.RUNTIME] (MSC service thread 1-16) TEIID50029 VDB vcf.1 model "vcf" metadata is currently being loaded. Start Time: 10/19/14 2:17 PM
14:17:18,741 INFO [org.teiid.RUNTIME] (teiid-async-threads - 3) TEIID50030 VDB vcf.1 model "vcf" metadata loaded. End Time: 10/19/14 2:17 PM
14:17:18,743 INFO [org.teiid.RUNTIME] (teiid-async-threads - 3) Data Source java:/mongoDS not accessible.
14:17:18,743 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (teiid-async-threads - 3) TEIID40003 VDB vcf.1 is set to ACTIVE
14:17:18,758 INFO [org.jboss.as.server] (management-handler-thread - 4) JBAS018559: Deployed "mongodb-vdb.xml" (runtime-name : "mongodb-vdb.xml")
14:21:31,400 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-9) TEIID40120 VDB vcf.1 will be removed from the repository
14:21:31,403 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-9) TEIID40119 VDB vcf.1 removed from the repository
14:21:31,405 INFO [org.teiid.RUNTIME] (MSC service thread 1-9) TEIID50026 VDB "vcf.1[vcf{vcf=vcf, mongodb, java:/mongoDS}]" undeployed.
14:21:31,407 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-44) TEIID40120 VDB vcf.1 will be removed from the repository
14:21:31,419 INFO [org.jboss.as.server.deployment] (MSC service thread 1-48) JBAS015877: Stopped deployment mongodb-vdb.xml (runtime-name: mongodb-vdb.xml) in 22ms
14:21:31,422 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "mongodb-vdb.xml" (runtime-name: "mongodb-vdb.xml")
14:21:31,476 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-30) TEIID40118 VDB vcf.1 added to the repository - is reloading false
14:21:31,478 INFO [org.teiid.RUNTIME] (MSC service thread 1-30) TEIID50029 VDB vcf.1 model "vcf" metadata is currently being loaded. Start Time: 10/19/14 2:21 PM
14:21:31,481 INFO [org.teiid.RUNTIME] (teiid-async-threads - 4) TEIID50030 VDB vcf.1 model "vcf" metadata loaded. End Time: 10/19/14 2:21 PM
14:21:31,482 INFO [org.teiid.RUNTIME] (teiid-async-threads - 4) Data Source java:/mongoDS not accessible.
14:21:31,483 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (teiid-async-threads - 4) TEIID40003 VDB vcf.1 is set to ACTIVE
14:21:31,497 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018565: Replaced deployment "mongodb-vdb.xml" with deployment "mongodb-vdb.xml"
14:22:46,568 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-25) TEIID40120 VDB vcf.1 will be removed from the repository
14:22:46,570 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-25) TEIID40119 VDB vcf.1 removed from the repository
14:22:46,572 INFO [org.teiid.RUNTIME] (MSC service thread 1-25) TEIID50026 VDB "vcf.1[vcf{vcf=vcf, mongodb, java:/mongoDS}]" undeployed.
14:22:46,574 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-23) TEIID40120 VDB vcf.1 will be removed from the repository
14:22:46,644 INFO [org.jboss.as.server.deployment] (MSC service thread 1-11) JBAS015877: Stopped deployment mongodb-vdb.xml (runtime-name: mongodb-vdb.xml) in 78ms
14:22:46,646 INFO [org.jboss.as.server.deployment] (MSC service thread 1-29) JBAS015876: Starting deployment of "mongodb-vdb.xml" (runtime-name: "mongodb-vdb.xml")
14:22:46,729 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-42) TEIID40118 VDB vcf.1 added to the repository - is reloading false
14:22:46,749 INFO [org.teiid.RUNTIME] (MSC service thread 1-42) TEIID50029 VDB vcf.1 model "vcf" metadata is currently being loaded. Start Time: 10/19/14 2:22 PM
14:22:46,752 INFO [org.teiid.RUNTIME] (teiid-async-threads - 1) TEIID50030 VDB vcf.1 model "vcf" metadata loaded. End Time: 10/19/14 2:22 PM
14:22:46,753 INFO [org.teiid.RUNTIME] (teiid-async-threads - 1) Data Source java:/mongoDS not accessible.
14:22:46,753 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (teiid-async-threads - 1) TEIID40003 VDB vcf.1 is set to ACTIVE
14:22:46,771 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018565: Replaced deployment "mongodb-vdb.xml" with deployment "mongodb-vdb.xml"
14:24:01,865 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-45) TEIID40120 VDB vcf.1 will be removed from the repository
14:24:01,892 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-45) TEIID40119 VDB vcf.1 removed from the repository
14:24:01,894 INFO [org.teiid.RUNTIME] (MSC service thread 1-45) TEIID50026 VDB "vcf.1[vcf{vcf=vcf, mongodb, java:/mongoDS}]" undeployed.
14:24:01,897 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-45) TEIID40120 VDB vcf.1 will be removed from the repository
14:24:01,940 INFO [org.jboss.as.server.deployment] (MSC service thread 1-33) JBAS015877: Stopped deployment mongodb-vdb.xml (runtime-name: mongodb-vdb.xml) in 78ms
14:24:01,959 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018558: Undeployed "mongodb-vdb.xml" (runtime-name: "mongodb-vdb.xml")
14:26:12,698 INFO [org.jboss.as.repository] (management-handler-thread - 8) JBAS014900: Content added at location /opt/jboss/standalone/data/content/27/9088e257c2880f495d95612168b9f552176e4c/content
14:26:12,701 INFO [org.jboss.as.server.deployment] (MSC service thread 1-26) JBAS015876: Starting deployment of "mongodb-vdb.xml" (runtime-name: "mongodb-vdb.xml")
14:26:12,779 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-26) TEIID40118 VDB vcf.1 added to the repository - is reloading false
14:26:12,780 INFO [org.teiid.RUNTIME] (MSC service thread 1-26) TEIID50029 VDB vcf.1 model "vcf" metadata is currently being loaded. Start Time: 10/19/14 2:26 PM
14:26:12,784 INFO [org.teiid.RUNTIME] (teiid-async-threads - 2) TEIID50030 VDB vcf.1 model "vcf" metadata loaded. End Time: 10/19/14 2:26 PM
14:26:12,785 INFO [org.teiid.RUNTIME] (teiid-async-threads - 2) Data Source java:/mongoDS not accessible.
14:26:12,786 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (teiid-async-threads - 2) TEIID40003 VDB vcf.1 is set to ACTIVE
14:26:12,797 INFO [org.jboss.as.server] (management-handler-thread - 8) JBAS018559: Deployed "mongodb-vdb.xml" (runtime-name : "mongodb-vdb.xml")
14:26:42,120 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-14) TEIID40120 VDB vcf.1 will be removed from the repository
14:26:42,121 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-14) TEIID40119 VDB vcf.1 removed from the repository
14:26:42,123 INFO [org.teiid.RUNTIME] (MSC service thread 1-14) TEIID50026 VDB "vcf.1[vcf{vcf=vcf, mongodb, java:/mongoDS}]" undeployed.
14:26:42,126 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-32) TEIID40120 VDB vcf.1 will be removed from the repository
14:26:42,133 INFO [org.jboss.as.server.deployment] (MSC service thread 1-26) JBAS015877: Stopped deployment mongodb-vdb.xml (runtime-name: mongodb-vdb.xml) in 15ms
14:26:42,136 INFO [org.jboss.as.server.deployment] (MSC service thread 1-36) JBAS015876: Starting deployment of "mongodb-vdb.xml" (runtime-name: "mongodb-vdb.xml")
14:26:42,182 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-15) TEIID40118 VDB vcf.1 added to the repository - is reloading false
14:26:42,183 INFO [org.teiid.RUNTIME] (MSC service thread 1-15) TEIID50029 VDB vcf.1 model "vcf" metadata is currently being loaded. Start Time: 10/19/14 2:26 PM
14:26:42,186 INFO [org.teiid.RUNTIME] (teiid-async-threads - 3) TEIID50030 VDB vcf.1 model "vcf" metadata loaded. End Time: 10/19/14 2:26 PM
14:26:42,187 INFO [org.teiid.RUNTIME] (teiid-async-threads - 3) Data Source java:/mongoDS not accessible.
14:26:42,188 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (teiid-async-threads - 3) TEIID40003 VDB vcf.1 is set to ACTIVE
14:26:42,193 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018565: Replaced deployment "mongodb-vdb.xml" with deployment "mongodb-vdb.xml"
16:59:52,850 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-9) TEIID40120 VDB vcf.1 will be removed from the repository
16:59:52,851 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-9) TEIID40119 VDB vcf.1 removed from the repository
16:59:52,853 INFO [org.teiid.RUNTIME] (MSC service thread 1-9) TEIID50026 VDB "vcf.1[vcf{vcf=vcf, mongodb, java:/mongoDS}]" undeployed.
16:59:52,855 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-42) TEIID40120 VDB vcf.1 will be removed from the repository
16:59:52,865 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment mongodb-vdb.xml (runtime-name: mongodb-vdb.xml) in 18ms
16:59:52,866 INFO [org.jboss.as.server.deployment] (MSC service thread 1-11) JBAS015876: Starting deployment of "mongodb-vdb.xml" (runtime-name: "mongodb-vdb.xml")
16:59:52,914 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-21) TEIID40118 VDB vcf.1 added to the repository - is reloading false
16:59:52,915 INFO [org.teiid.RUNTIME] (MSC service thread 1-21) TEIID50029 VDB vcf.1 model "vcf" metadata is currently being loaded. Start Time: 10/19/14 4:59 PM
16:59:52,918 INFO [org.teiid.RUNTIME] (teiid-async-threads - 4) TEIID50030 VDB vcf.1 model "vcf" metadata loaded. End Time: 10/19/14 4:59 PM
16:59:52,920 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (teiid-async-threads - 4) TEIID40003 VDB vcf.1 is set to ACTIVE
16:59:52,932 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018565: Replaced deployment "mongodb-vdb.xml" with deployment "mongodb-vdb.xml"
17:00:02,946 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-44) TEIID40120 VDB vcf.1 will be removed from the repository
17:00:02,947 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-44) TEIID40119 VDB vcf.1 removed from the repository
17:00:02,950 INFO [org.teiid.RUNTIME] (MSC service thread 1-44) TEIID50026 VDB "vcf.1[vcf{vcf=vcf, mongodb, java:jboss/datasources/ExampleDS}]" undeployed.
17:00:02,952 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-8) TEIID40120 VDB vcf.1 will be removed from the repository
17:00:02,961 INFO [org.jboss.as.server.deployment] (MSC service thread 1-15) JBAS015877: Stopped deployment mongodb-vdb.xml (runtime-name: mongodb-vdb.xml) in 16ms
17:00:02,976 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018558: Undeployed "mongodb-vdb.xml" (runtime-name: "mongodb-vdb.xml")
17:00:10,091 INFO [org.jboss.as.repository] (management-handler-thread - 13) JBAS014900: Content added at location /opt/jboss/standalone/data/content/df/edd7848a2c812e20eec52c9b6ff5881fe252b3/content
17:00:10,094 INFO [org.jboss.as.server.deployment] (MSC service thread 1-41) JBAS015876: Starting deployment of "mongodb-vdb.xml" (runtime-name: "mongodb-vdb.xml")
17:00:10,162 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-13) TEIID40118 VDB vcf.1 added to the repository - is reloading false
17:00:10,164 INFO [org.teiid.RUNTIME] (MSC service thread 1-13) TEIID50029 VDB vcf.1 model "vcf" metadata is currently being loaded. Start Time: 10/19/14 5:00 PM
17:00:10,166 INFO [org.teiid.RUNTIME] (teiid-async-threads - 1) TEIID50030 VDB vcf.1 model "vcf" metadata loaded. End Time: 10/19/14 5:00 PM
17:00:10,167 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (teiid-async-threads - 1) TEIID40003 VDB vcf.1 is set to ACTIVE
17:00:10,180 INFO [org.jboss.as.server] (management-handler-thread - 13) JBAS018559: Deployed "mongodb-vdb.xml" (runtime-name : "mongodb-vdb.xml")