• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

passing -Darg=val while starting WebSphere (AppServer)

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
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.

Ven_V
 
Bartender
Posts: 3958
43
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Howdy !

You can't do this in command line.

You need to use ISC for this, please refer this technote

HTH,
MZ
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot. It works.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic