Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

where to add WAS shutdown Script in RHEL 6.2

 I have Created a Script through which WAS Server will Shutdown

now i wan to add that script somewhere in RHEL so that when any user shutdown the server by end of every day, First WAS shutdown script execute then RHEL server will shutdown.

Please Suggest where to  add that script

0 votes



2 answers

Permanent link

 Are you using WAS classic, or Liberty? 


If Liberty, here is a Linux system.d unit file that will do the startup/shutdown for you.

0 votes


Permanent link

I don't know why you need to create a script. If all you want is start and stop your WAS profile when the Linux system starts and stops, you just need to register the WAS profile as a service - same on both Linux and Windows.
https://www.ibm.com/support/knowledgecenter/en/SSAW57_7.0.0/com.ibm.websphere.nd.doc/info/ae/ae/rins_wasservice.html

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,486

Question asked: Mar 19 '18, 6:02 a.m.

Question was seen: 2,195 times

Last updated: Mar 20 '18, 2:42 a.m.

Confirmation Cancel Confirm