DMS: How to kill properly or more nicely the Mobile Server ?
I am looking an java option to kill properly the Mobile Server here on Linux/windows
E.g
you start as Standalone your Mobile Server and when shutdown then you use this command:
java -jar $ORACLE_HOME/mobile_oc4j/j2ee/mobileserver/admin.jar ormi://167.9.214.87:23791 oc4jadmin XXXXX -shutdown
or
java -jar $ORACLE_HOME/mobile_oc4j/j2ee/mobileserver/admin.jar ormi://167.9.214.87:23791 oc4jadmin XXXXX -shutdown force
But it doesn't help, sometimes the Mobile Server doesn't stop and you must make an kill -9 or stop java process (ctrl+C)(windows) to stop Mobile server.
I would like to avoid that.