Oracle MVA

Tales from a Jack of all trades

Starting multiple managed servers in Fusion Middleware

leave a comment »

Today I wasted some of my time debug an issue with multiple managed servers on 1 host. After starting the Administration Server every other server I started gave me the same error message:

ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
[ERROR] aborted
JRockit aborted: Unknown error (50)

The error message itself is rather clear, but I couldn’t find any port in the domain configuration that could actually invoke this conflict. Some extensive debugging showed me this error is caused by the script. To be more exact, this exact part of the script:

if [ "${DEBUG_PORT}" = "" ] ; then

Now obviously assigning a static debugging port is not really useful. Since I didn’t figure out yet how to pass the port from console, I changed the script:

if [ "${DEBUG_PORT}" = "" ] ; then
while [ `netstat -na |grep ${DEBUG_PORT} | wc -l` != 0 ]

Now the port is assigned dynamically. Only drawback is that for debugging I need to find the port by checking the processlist on Linux, but I can live with that.


Written by Jacco H. Landlust

April 29, 2010 at 9:55 pm

Posted in Installing, Weblogic

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: