8 Replies Latest reply on Jan 7, 2013 5:13 PM by jane_lj

    Deploy VDB failed

    jane_lj

      I tried to deploy my dynamic VDB "petrel-vdb" to teiid (not embeded way), but the log complain: can't find my customized translator "petrel", here is log from server.log file:

       

      09:09:12,476 WARN  [org.teiid.RUNTIME] (MSC service thread 1-4) TEIID50077 The translator type "petrel" was not found in configuration; VDB PetrelVDB.1 will not be started until translator is available.

      09:09:12,476 WARN  [org.teiid.RUNTIME] (MSC service thread 1-4) TEIID50077 The translator type "petrel" was not found in configuration; VDB PetrelVDB.1 will not be started until translator is available.

      09:09:12,725 INFO  [org.jboss.as] (MSC service thread 1-4) JBAS015951: Admin console listening on http://127.0.0.1:9990

      09:09:12,819 INFO  [org.jboss.as] (MSC service thread 1-4) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 11918ms - Started 445 of 583 services (101 services are passive or on-demand)

      09:09:13,006 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "teiid-connector-ws.rar"

      09:09:13,022 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "teiid-connector-salesforce.rar"

      09:09:13,022 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "teiid-connector-ldap.rar"

      09:09:13,022 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "teiid-connector-file.rar"

      09:09:13,022 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "petrelconnector.rar"

      09:09:13,037 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "petrel-vdb.xml"

      09:09:13,037 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "owtconnect.rar"

      09:09:13,037 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "insiteconnect.rar"

       

       

      Don't know what configuration I still miss?

       

      Thanks.

        • 1. Re: Deploy VDB failed
          rareddy

          Did you have translator by the name "pretel"? If not, what is the source type you are connecting to? In the pretel-vdb.xml, under "model/source" element there is attribute called "translator-name", that needs to be set to translator name for your source.

           

          Ramesh..

          • 2. Re: Deploy VDB failed
            jane_lj

            Yes, Ramesh, I did this part. And I have package my translator to JAR file and put under module folder and configured the module.xml file.

             

            Thanks.

            • 3. Re: Deploy VDB failed
              rareddy

              You also need to add to the standalone-teiid.xml file in teiid subsystem, so that the system knows to deploy the new translator then.

              • 4. Re: Deploy VDB failed
                jane_lj

                I did that part, too.  But still....

                • 5. Re: Deploy VDB failed
                  jane_lj

                  Any other configurations needed to be done come up to your mind, Ramesh?

                   

                  Thanks.

                  • 6. Re: Deploy VDB failed
                    rareddy

                    No, check why is your translator not deployed. There must be some error. See other examples in Teiid code.

                    • 7. Re: Deploy VDB failed
                      van.halbert

                      Just walking thru the steps, because something can be out-of-wack real easy.


                      -  your factory class has:    @Translator(name = "<translator-name>"

                      -  your package jar has the file: META-INF/services/org.teiid.translator.ExecutionFactory

                       

                      which contains the factory class name

                       

                      -  you updated the standalone-teiid.xml,    <translator name="<translator-name>" module="<module-name>"/>

                           <translator-name> must match above

                      -  in your module, you added any dependent modules that are need by the translator

                       

                       

                       

                      Van

                       


                      1 of 1 people found this helpful
                      • 8. Re: Deploy VDB failed
                        jane_lj

                        Thank you, Van. You catched my mistake.