-
1. Re: How to deploy Custom User Defined Function library with dependency
rareddy May 13, 2014 3:06 PM (in response to tanmoypalit)Tanmoy,
Since your UDF JAR has other dependencies, there one of two solutions for you
1) create uber jar ( *not* recommended), and include with VDB
2) create module.xml files for all the dependencies, and create modules in JBoss EAP with their respective JAR files. Then in your UDF jar file's META-INF/MANIFEST.MF file, under "Dependencies" tag define all the "module" names that are created as comma separated list, Then attach your jar file in VDB under "lib" directory. Then deploy the VDB
Ramesh..
-
2. Re: How to deploy Custom User Defined Function library with dependency
shawkins May 13, 2014 8:04 PM (in response to rareddy)1 of 1 people found this helpful1) Ramesh, would it not work to just put all the dependencies in the VDB lib directory?
2) Alternatively you could create a single module with all the jars. It just depends on whether you want to manage them independently.
-
3. Re: How to deploy Custom User Defined Function library with dependency
rareddy May 14, 2014 9:23 AM (in response to shawkins)yes to both
-
4. Re: How to deploy Custom User Defined Function library with dependency
tanmoypalit May 14, 2014 2:17 PM (in response to tanmoypalit)
Thanks Ramesh and Steven. Currently uber jar (one jar) is working but I rather not use that one.I tried the modules deployment which does not seem to work and but I am pretty sure it will work.