5 Replies Latest reply on Jun 24, 2015 9:26 AM by iginsk

    VDB deployment issue

    iginsk

      Hi,

       

      If I mark my VDBs deployable and then start the server, it throws

      05:30:22,749 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.5.Final-redhat-1

      05:30:23,139 INFO  [org.jboss.msc] (main) JBoss MSC version 1.1.5.Final-redhat-1

      05:30:23,234 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: JBoss Red Hat JBoss Data Virtualization 6.1.0 (AS 7.4.3.Final-redhat-2) starting

      05:30:24,825 WARN  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015002: Deployment of 'teiid-dashboard-builder.war' requested, but the deployment is not present

      05:30:24,825 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found integration-platform-console.war in deployment directory. To trigger deployment create a file called integration-platform-console.war.dodeploy

      05:30:25,013 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("add") failed - address: ([("deployment" => "CompositeVDB.vdb")]) - failure description: "JBAS014803: Duplicate resource [(\"deployment\" => \"CompositeVDB.vdb\")]"

      05:30:25,013 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

      05:30:25,029 INFO  [org.jboss.as] (MSC service thread 1-8) JBAS015950: JBoss Red Hat JBoss Data Virtualization 6.1.0 (AS 7.4.3.Final-redhat-2) stopped in 4ms

       

       

      However, I unmark them for deployment and run the server and then mark VDB deployable, on the console, i see it is set active and ready to execute.

       

      Does it mean,

       

      1. I can't mark to deploy VDBs before starting the server?

        • 1. Re: VDB deployment issue
          rareddy

          How are you marking them "deployable"?

          • 2. Re: VDB deployment issue
            van.halbert

            I've seen this issue arise because the VDB was deployed either thru Teiid Designer or admin console.    In this case, the VDB will be deployed in the standalone/data/contents folder somewhere (cryptic name).   And if you then try to deploy the VDB by copying it to the deployments folder, before you un-deploy it, you will see this issue.   

            • 3. Re: VDB deployment issue
              rareddy

              Van,

               

              That is to be expected. Before you can deploy an artifact into JBoss EAP, you need to make sure there is no other SAME named deployment that already exists. Automatically overwriting the previously deployed artifact is not a desirable outcome. So, if one uses consistent deployment strategies this issue can be avoided.

               

              Ramesh..

              • 4. Re: VDB deployment issue
                van.halbert

                Ramesh,

                 

                But sometimes, people don't realize they will run into this issue when they copy the VDB to the deployments directory (for which this isn't replacing an existing file).   I've found that some believe that the EAP discovery will handle both cases as if there is one deployment, regardless of how it is deployed.

                 

                Van

                • 5. Re: VDB deployment issue
                  iginsk

                  It is understandable that if once the VDB is deployed and next time if we try to deploy the same VDB again it should warn us and allow to take the respective action whether to undeploy old and redeploy new OR abort the current operation.

                  OR the error message could have been more clear as explained by Ramesh.

                  I am running the EAP/JBDV in JBDS and I will keep unmarking the VDBs for deployment before I deploy the new versions.

                   

                  Thanks.

                   

                  However, I am waiting for my another important question from morning is given in another thread.

                  Hi Ramesh,

                   

                  I have a requirement to insert data into related multiple tables in the database through a single VDB that virtualizes multiple tables.

                  Any link to follow, I am asking this because there are not many links , many of which is not taking me till destination solution.

                  Or any easy steps here, would help.

                   

                  For now, all the tables are in single database, Going forward it might be disparate backend systems too.

                   

                   

                  Please suggest.

                  Regards,

                  Kiran

                  1 of 1 people found this helpful