You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vcap...@cloudfoundry.org
Hey all,
We have a java web app that makes heavy use of JNI through libraries defined in LD_LIBRARY_PATH. We can run the app locally by setting the library path in setenv.sh in Tomcat; our first thought for Cloud Foundry was to push the entire Tomcat+web app with a modified setenv.sh as a standalone app but that doesn't appear to be possible in CF V2. Does anyone know of a way to configure a java web app and/or CF so that java can find the native code (and the libraries can find each other through LD_LIBRARY_PATH).
Jay
James Bayer
unread,
Dec 5, 2013, 2:54:53 AM12/5/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vcap...@cloudfoundry.org
i think you could probably use the standalone approach of bundling tomcat with your app with the null buildpack:
if you're not familiar with buildpacks and ruby it might be a bit tough to reason about how the java buildpack works at first, but i think this would work. you'll have to make sure that the max memory settings get set with the JVM and that tomcat binds to the assigned $PORT variable too.