Product: MapXtreme Java
Version: 2.x
Platform: Unix
Category: Installation
Summary:
Ending the MapXtreme server process.
Question:
What is the graceful way to shutdown a background MapXtreme process on Solaris 2.6? If the Kill command is used on the process when another MapXtreme server is started, the port will not bind. (a java.net.BindException: Address already in use exception is produced).
Answer:
There are actually two processes that need to be 'Killed' in order to release the address port. The first process is the one that starts the Server. The second is the process that sets the system property. For instance, two processes will be seen like the following:
java 15172 13558 0 12:01:17 pts/16 0:00 /bin/sh ./MapXtreme_Server
java 15579 15172 0 12:01:19 pts/16 0:01 /usr/bin/../java/bin/../bin/sparc/native_threads/java -Dlax.nl.env.path=/usr/dt
Both processes need to be killed to free the port.
Last Modified: 11/03/1999 09:48:18 PM
|