Monday, August 20, 2007

DAC Error Address already in use: JVM_Bind

The Poroblem:

DAC fails with the following error and wont restart!
ANOMALY INFO::: There is already a QSERVER running at the port 3141
Shutting down server...
MESSAGE:::Address already in use: JVM_Bind
EXCEPTION CLASS::: java.net.BindException

java.net.PlainSocketImpl.socketBind(Native Method)
java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
java.net.ServerSocket.bind(ServerSocket.java:319)
java.net.ServerSocket.(ServerSocket.java:185)
java.net.ServerSocket.(ServerSocket.java:141)
com.siebel.etl.net.QServer.bind(Unknown Source)
com.siebel.etl.net.QServer.(Unknown Source)
com.siebel.etl.net.QServer.main(Unknown Source)
6 SEVERE Mon Aug 20 00:11:25 EDT 2007
ANOMALY INFO::: There is already a QSERVER running at the port 3141
Shutting down server...
MESSAGE:::Address already in use: JVM_Bind
EXCEPTION CLASS::: java.net.BindException


Solution

netstat -a -n -o 3141

Then identify the process Id and kill that process using task manager and restart your DAC servre.