How do I add a liberty profile in jvm custom properties?
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
3 replies Latest Post - 2012-09-24T12:11:49Z by Jacek_Laskowski
Pinned topic Liberty profile Custom Properties
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
SystemAdmin 110000D4XK590 PostsACCEPTED ANSWER
Re: Liberty profile Custom Properties2012-09-24T09:37:34Z in response to alicinarThe JVM command line options can be placed in a jvm.options file located in either the wlp/etc directory or the server configuration directory. Each line in this file is a different JVM command line option. To define the property shown below you would create a jvm.options file with the following content:
This is documented in the product infocenter here: http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-base-dist&topic=twlp_admin_customvars
Jacek_Laskowski 060001359D133 PostsACCEPTED ANSWER
Re: Liberty profile Custom Properties2012-09-24T12:11:49Z in response to alicinarHi,
I think using JNDI bindings would make the application a bit more manageable, esp. when you think to move to other application server, e.g. the full WebSphere AS, once the application is fully tested and ready for production (it's not to say Liberty Profile is not ready to host production applications, just point out an option only). Don't develop your applications based on JVM properties.
See Using @Resource to access JNDI in WebSphere AS 8.5 Liberty Profile for more guidance.
Japila :: verba docent, exempla trahunt