0 Replies Latest reply on Mar 12, 2019 11:36 AM by Scott D

    Trouble deploying VDB in JBoss Data Virtualization 6.4.0 - TEIID30387

    Scott D Newbie

      Hello - new padawan learner candidate here..

       

      I currently have JBoss Data Virtualization 6.4.0 running on a linux server using standalone.xml, in hopes of migrating off of JBoss SOA 5.3.1 (don't laugh..).

       

      When attempting to deploy and set active a simple VDB (only has a UDF.xmi in it) - I'm getting the following message in the log:

       

      09:38:53,458 INFO  [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-1) TEIID40118 VDB UDF.1 added to the repository

      09:38:53,461 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.teiid.vdb.UDF.1: org.jboss.msc.service.StartException in service jboss.teiid.vdb.UDF.1: Failed to start service

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:2010) [jboss-msc-1.1.7.SP1-redhat-1.jar:1.1.7.SP1-redhat-1]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_131]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_131]

              at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_131]

      Caused by: org.teiid.metadata.MetadataException: TEIID30387 Could not load UDF "parsedate_", since its invocation class "com.dsths.platypus.Parsedate" could not be found.

              at org.teiid.query.function.FunctionTree.createFunctionDescriptor(FunctionTree.java:325)

              at org.teiid.query.function.FunctionTree.addFunction(FunctionTree.java:212)

              at org.teiid.query.function.FunctionTree.<init>(FunctionTree.java:102)

              at org.teiid.deployers.CompositeVDB.buildTransformationMetaData(CompositeVDB.java:93)

              at org.teiid.deployers.CompositeVDB.metadataLoadFinished(CompositeVDB.java:296)

              at org.teiid.deployers.VDBRepository.finishDeployment(VDBRepository.java:297)

              at org.teiid.runtime.AbstractVDBDeployer.loadMetadata(AbstractVDBDeployer.java:193)

              at org.teiid.jboss.VDBService.start(VDBService.java:187)

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2064) [jboss-msc-1.1.7.SP1-redhat-1.jar:1.1.7.SP1-redhat-1]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1987) [jboss-msc-1.1.7.SP1-redhat-1.jar:1.1.7.SP1-redhat-1]

              ... 3 more

      Caused by: java.lang.ClassNotFoundException: com.dsths.platypus.Parsedate from [Module "deployment.UDF.vdb:main" from Service Module Loader]

              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:211) [jboss-modules.jar:1.3.10.Final-redhat-1]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.10.Final-redhat-1]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.10.Final-redhat-1]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.10.Final-redhat-1]

              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.10.Final-redhat-1]

              at java.lang.Class.forName0(Native Method) [rt.jar:1.8.0_131]

              at java.lang.Class.forName(Class.java:348) [rt.jar:1.8.0_131]

              at org.teiid.query.function.UDFSource.getInvocationClass(UDFSource.java:43)

              at org.teiid.query.function.FunctionTree.createFunctionDescriptor(FunctionTree.java:315)

              ... 12 more

       

      09:38:53,472 ERROR [org.jboss.as.controller.management-operation] (HttpManagementService-threads - 6) JBAS014612: Operation ("add") failed - address: ([{"deployment" => "UDF.vdb"}]) - failure description: {"JBAS014671: Failed services" => {"jboss.teiid.vdb.UDF.1" => "org.jboss.msc.service.StartException in service jboss.teiid.vdb.UDF.1: Failed to start service

          Caused by: org.teiid.metadata.MetadataException: TEIID30387 Could not load UDF \"parsedate_\", since its invocation class \"com.dsths.platypus.Parsedate\" could not be found.

          Caused by: java.lang.ClassNotFoundException: com.dsths.platypus.Parsedate from [Module \"deployment.UDF.vdb:main\" from Service Module Loader]"}}

      09:38:53,474 ERROR [org.jboss.as.server] (HttpManagementService-threads - 6) JBAS015870: Deploy of deployment "UDF.vdb" was rolled back with the following failure message:

      {"JBAS014671: Failed services" => {"jboss.teiid.vdb.UDF.1" => "org.jboss.msc.service.StartException in service jboss.teiid.vdb.UDF.1: Failed to start service

          Caused by: org.teiid.metadata.MetadataException: TEIID30387 Could not load UDF \"parsedate_\", since its invocation class \"com.dsths.platypus.Parsedate\" could not be found.

       

       

      I have read through these two articles repeatedly :

       

      https://developer.jboss.org/thread/206312

       

      https://issues.jboss.org/browse/TEIID-3959?_sscc=t

       

      But have not been able to get the jar file with the class used for these UDF's in the right spot so this UDF.vdb can actually load.
      I have been able to add the other modules / JDBC drivers I needed for other sources I need without issue.
      I had placed the jar file in the same lib with the VDB as Ramesh suggested in the 1st article linked above - but I'm still stuck with this message.
      Any help would be appreciated - and my experience level on this topic is quite limited - so please bear with me.