Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Script to enable and disable application autostartup in websphere

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Team,

Now I have an new request from client,as below.

In websphere,by clicking application, and then click on application ( war or ear) file,then go to target modules,there are 2 options, one is enable startup and disable startup.

Enable star up:- if it is enabled,then when JVM will start by the time ear also up
And
Disable startup:- if it is enabled,then when JVM will start by the time ear will not start,we need to do it manually.

For both the cases,we need to restart JVM post update.

Now requirements is that,we need create a script either Python or shell script to update the startups by selecting option when required ,not from console.

Step1:- option to select JVM
Step2:- option to see status of JVM is up and running or not
Step3:- option to select enable autostart , disable autostart up, status,...Here to select one and check the status.

Step4:- final verification post doing auto startup enabled or disabled

Can you look and send me script.

PMR raised,IBM said it can be automated.

Thanks,
Satish
 
Could you hold this kitten for a sec? I need to adjust this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic