Using psadmin to script a restart of weblogic - 8.52
Hi all,
trying to script a nightly restart of my weblogic servers. From a script perspective I have success, however when it comes to restarting weblogic I encounter this:
$PS_HOME/bin/psadmin -w shutdown <DOMAIN>
Stopping the domain.
General Exception: null
java.lang.NullPointerException
at com.peoplesoft.pt.psadmin.ui.Progress.<init>(Progress.java:92)
at com.peoplesoft.pt.psadmin.pia.DomainShutdownHandler.run(DomainShutdownHandler.java:84)
at com.peoplesoft.pt.psadmin.pia.PIAAdminCmdLine.run(PIAAdminCmdLine.java:330)
at com.peoplesoft.pt.psadmin.PSAdmin.runSwitched(PSAdmin.java:170)
at com.peoplesoft.pt.psadmin.PSAdmin.main(PSAdmin.java:232)
I have slightly more success with psadmin -w shutdown! <DOMAIN>, but even then I still see the same error some of the time from a script run in a terminal session & 100% of the time when initiated via cron.