Huge Discounts on Mobiles, Books, Cameras, Computers etc: @Flipkart
Flipkart.com

Wednesday, April 16, 2014

How to add a custom system property to WAS (WebSphere Application Server) 7

Struggling to add a custom environment property to WAS? Tried editing startServer/setupCmdLine batch/script files and failed? Here is how you can do it easily from the Admin Web Console

Go to admin console:
eg: https://localhost:16316/ibm/console

In the admin console:
Application servers -> (server name) -> Server Infrastructure, Java and Process Management, Process Definition -> Java Virtual Machine -> Custom Properties.

Note: The exact sequence may vary depending on what version of Websphere you are using.

The entries you make here are system properties (not environment variables and not WebSphere variables). They can be accessed via System.getProperty().

More Info: http://pic.dhe.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=%2Fcom.ibm.jazz.install.doc%2Ftopics%2Ft_s_server_installation_setup_WAS.html


No comments:

Post a Comment