I am an Xpage developer new to Bluemix, trying to find a way to put 3rd party jar files on server. Tried the following ways:
1) Adding jar files inside the nsf under WebContent/WEB-INF/lib folder and configuring the build path.
2) Adding jar files inside the nsf using jars design element and configuring the build path.
3) As bluemix allows deploying plugins using shared-plugins folder, i created a plugin out of the jar files following the documentation pointed by the link http://www.dalsgaard-data.eu/blog/wrap-an-existing-jar-file-into-a-plug-in/ and deployed the plugin both on designer and server.
None of the above mentioned case worked. its throwing the error java.lang.NoClassDefFoundError
Even on my test server which is not on bluemix, all the above cases fails. But the app works fine when the jars are put under jvm/lib/ext folder on server. Not able to do this on bluemix as we do not have access to the file system.
Is there a way to put jar files under jvm/lib/ext folder on bluemix or how to make it work otherwise?
Thanks