This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I'm trying to find a way to pass a custom (name, value) pair as part of server start. I know it works fine when we pass some thing like:
java -Darg=something Test
for a stand-alone application, and inside Test, we can get access to arg as:
But, how to achieve this kind of thing in the WebSphere environment. I tried to pass -Dprop=something, in the startServer.bat, but could not get it's value in a CmdImpl class, after the start of the App Server.
Is there a way to pass a custom property and value to WebSphere Commerce environment. Thanks for your thoughts.