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

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:

No comments:

Post a Comment