11 Replies Latest reply on Oct 23, 2016 9:19 PM by Ramesh Reddy

    VDB got deleted automatically throwing "org.jboss.msc.service.StartException"

    Kulbhushan Chaskar Master

      Hi,

       

      I am observing sometimes VDB got deleted automatically on restart.

      I am following approach to restart VDB:

      1.     Fetch VDBMetaData of the VDB which I want to restart say its name is 'vdbMysql'.

      2.     Un-deploy the VDB 'vdbMysql'.

      3.     Redeploy VDBMetaData of 'vdbMysql'.

       

      Sometimes if failed to deploy the VDB, I have pasted server logs. Let me know if you need additional information.

       

      Server log:-

      2016-10-06 12:47:19,029 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7)  WFLYSRV0027: Starting deployment of "SvcSourceVdb_MySQL510-vdb.xml" (runtime-name: "SvcSourceVdb_MySQL510-vdb.xml")
      2016-10-06 12:47:19,038 INFO  [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-3)  TEIID40118 VDB SvcSourceVdb_MySQL510.1 added to the repository - is reloading false
      2016-10-06 12:47:19,038 INFO  [org.teiid.RUNTIME] (MSC service thread 1-3)  TEIID50029 VDB SvcSourceVdb_MySQL510.1 model "MySQL510" metadata is currently being loaded. Start Time: 6/10/16 12:47 PM
      2016-10-06 12:47:19,038 INFO  [org.teiid.RUNTIME] (MSC service thread 1-3)  TEIID50029 VDB SvcSourceVdb_MySQL510.1 model "MySQL510Native" metadata is currently being loaded. Start Time: 6/10/16 12:47 PM
      2016-10-06 12:47:19,082 INFO  [org.jboss.as.server] (management-handler-thread - 469)  WFLYSRV0010: Deployed "SvcSourceVdb_MySQL510-vdb.xml" (runtime-name : "SvcSourceVdb_MySQL510-vdb.xml")
      2016-10-06 12:47:25,707 WARN  [org.teiid.RUNTIME] (Worker121_async-teiid-threads202)  TEIID50036 VDB SvcSourceVdb_MySQL510.1 model "MySQL510" metadata failed to load. Reason:TEIID11010 com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
      2016-10-06 12:47:32,387 WARN  [org.teiid.RUNTIME] (Worker120_async-teiid-threads203)  TEIID50036 VDB SvcSourceVdb_MySQL510.1 model "MySQL510Native" metadata failed to load. Reason:TEIID11010 com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
      2016-10-06 12:58:53,479 INFO  [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-3)  TEIID40120 VDB SvcSourceVdb_MySQL510.1 will be removed from the repository
      2016-10-06 12:58:53,479 INFO  [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-3)  TEIID40119 VDB SvcSourceVdb_MySQL510.1 removed from the repository
      2016-10-06 12:58:53,482 INFO  [org.teiid.RUNTIME] (MSC service thread 1-3)  TEIID50026 VDB "SvcSourceVdb_MySQL510.1[MySQL510{MySQL510=MySQL510, mysql5, java:/DSMYSQL20160926165600458}, MySQL510Native{MySQL510Native=MySQL510Native, mysql-native, java:/DSMYSQL20160926165600458}]" undeployed.
      2016-10-06 12:58:53,482 INFO  [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-3)  TEIID40120 VDB SvcSourceVdb_MySQL510.1 will be removed from the repository
      2016-10-06 12:58:53,485 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5)  WFLYSRV0028: Stopped deployment SvcSourceVdb_MySQL510-vdb.xml (runtime-name: SvcSourceVdb_MySQL510-vdb.xml) in 6ms
      2016-10-06 12:58:53,492 INFO  [org.jboss.as.server] (management-handler-thread - 472)  WFLYSRV0009: Undeployed "SvcSourceVdb_MySQL510-vdb.xml" (runtime-name: "SvcSourceVdb_MySQL510-vdb.xml")
      2016-10-06 12:58:53,498 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1)  WFLYSRV0027: Starting deployment of "SvcSourceVdb_MySQL510-vdb.xml" (runtime-name: "SvcSourceVdb_MySQL510-vdb.xml")
      2016-10-06 12:58:53,501 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1)  MSC000001: Failed to start service jboss.deployment.unit."SvcSourceVdb_MySQL510-vdb.xml".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."SvcSourceVdb_MySQL510-vdb.xml".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "SvcSourceVdb_MySQL510-vdb.xml"
      2016-10-06 12:58:53,502 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 474)  WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "SvcSourceVdb_MySQL510-vdb.xml")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"SvcSourceVdb_MySQL510-vdb.xml\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"SvcSourceVdb_MySQL510-vdb.xml\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"SvcSourceVdb_MySQL510-vdb.xml\"
      2016-10-06 12:58:53,502 ERROR [org.jboss.as.server] (management-handler-thread - 474)  WFLYSRV0021: Deploy of deployment "SvcSourceVdb_MySQL510-vdb.xml" was rolled back with the following failure message:
      {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"SvcSourceVdb_MySQL510-vdb.xml\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"SvcSourceVdb_MySQL510-vdb.xml\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"SvcSourceVdb_MySQL510-vdb.xml\"
      2016-10-06 12:58:53,502 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1)  WFLYSRV0028: Stopped deployment SvcSourceVdb_MySQL510-vdb.xml (runtime-name: SvcSourceVdb_MySQL510-vdb.xml) in 0ms
      WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."SvcSourceVdb_MySQL510-vdb.xml".PARSE
      

       

       

      Thanks,

      Kulbhushan Chaskar.