-
Bug
-
Resolution: Done
-
Major
-
11.1.1
-
-
Workaround Exists
-
Teiid desinger 11.1.1 generate UDF jars with comma separated to dynamic vdb as follows.
<property name="lib" value="deployement.test.jar, deployement.test2.jar"/>
But ModuleNotFoundException occurs in teiid server when the dynamic vdb deployed.
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.unit."testvdb-vdb.xml".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.unit."testvdb-vdb.xml".DEPENDENCIES: JBAS018733: Failed to process phase DEPENDENCIES of deployment "testvdb-vdb.xml" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.5.9.Final-redhat-2.jar:7.5.9.Final-redhat-2] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.6.Final-redhat-1.jar:1.1.6.Final-redhat-1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.6.Final-redhat-1.jar:1.1.6.Final-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.jboss.as.server.deployment.DeploymentUnitProcessingException: TEIID50088 Failed to load module deployment.test.jar, for UDF in VDB testvdb.1:org.jboss.modules.ModuleNotFoundException: deployment.test.jar,:main at org.teiid.jboss.VDBDependencyDeployer.deploy(VDBDependencyDeployer.java:85) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.5.9.Final-redhat-2.jar:7.5.9.Final-redhat-2] ... 5 more
Teiid expects space delimited list for the module names.
"The lib property value may contain a space delimited list of module names if more than one dependency is needed."
https://access.redhat.com/documentation/en-us/red_hat_jboss_data_virtualization/6.3/html/development_guide_volume_4_server_development/sect-support_for_non-pushdown_user_defined_functions
If changing vdb to use space delimited as follows, deployment was succeeded.
<property name="lib" value="deployement.test.jar deployement.test2.jar"/>