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
1 of 1 people found this helpful
1) 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.
yes to both
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.