• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Application Server Startup Parameters

 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Problem
We want to deploy two EARs with the exact same code (including deployment descriptors) to the same WAS instance. At the time that each is started, however, we want to be able to provide a property which has a different value for each of them. We should be able to set this property through the administration console.

This is my understanding, correct me where I am wrong
Since (by default) all Application Servers run in their own JVM, is it correct to state that this can be done simply by adding a system property to each? The breadcrumb I am looking at is:

Application Servers > myApp > Process Definition > Java Virtual Machine > Custom Properties
[ July 26, 2005: Message edited by: Sharad Agarwal ]
 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmm not sure of this,
In WSAD 4 you could have one ear for one jvm, however in WSAD 5 this situation is changed and you cannot directly changes jvm properties for different ears.
Maybe this article is helpful to you.
http://wsdj.sys-con.com/read/47655.htm
 
Sharad Agarwal
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jeroen - I have not read the article fully yet, but it seems to be exactly what I was looking for. Really appreciate the link, thanks!
 
Sharad Agarwal
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jeroen - I read through the article, and it was very interesting indeed.

But it still does not directly address my query above, which I believe, is far more trivial. I am pretty sure it should be allowed and simple enough. I was hoping there would be a very quick response to this at this forum!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic