You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by varunsuresh <va...@gmail.com> on 2008/01/10 17:11:26 UTC

Tomcat Shutdown error transport error 202: bind failed

Allways getting this error message while shutting down tomcat. Please use
html tags to format code blocks.

ERROR: transport error 202: bind failed: Address already in use
["transport.c",L41]
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
["debugInit.c",L500]
JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports initializedFATAL
ERROR
in native method: JDWP No transports initialized,
jvmtiError=JVMTI_ERROR_INTERNAL(113)

These are my debug options

 -Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,address=1111,server=y,suspend=n


I also tried

-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=1111

I have this entry in /etc/hosts too.

127.0.0.1       localhost

I use Jre-1.5.0_06 and apache-tomcat-6.0.13. Anyone have any ideas on how to
eliminate this error?



-- 
View this message in context: http://www.nabble.com/Tomcat-Shutdown-error-transport-error-202%3A-bind-failed-tp14737139p14737139.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat Shutdown error transport error 202: bind failed

Posted by varunsuresh <va...@gmail.com>.


I tired not giving $JPDA_OPTS to  CATALINA_OPTS, but after that debugging
wasnt hapenning at all.



Caldarale, Charles R wrote:
> 
>> From: varunsuresh [mailto:varuntvm@gmail.com] 
>> Subject: Re: Tomcat Shutdown error transport error 202: bind failed
>> 
>>    export CATALINA_OPTS="$CATALINA_OPTS $JPDA_OPTS"
> 
> The above is wrong. By appending JPDA_OPTS to CATALINA_OPTS, you end up
> with the JPDA settings twice on the command line.  Just take out the
> above line.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Tomcat-Shutdown-error-transport-error-202%3A-bind-failed-tp14737139p14912916.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat Shutdown error transport error 202: bind failed

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: varunsuresh [mailto:varuntvm@gmail.com] 
> Subject: Re: Tomcat Shutdown error transport error 202: bind failed
> 
>    export CATALINA_OPTS="$CATALINA_OPTS $JPDA_OPTS"

The above is wrong. By appending JPDA_OPTS to CATALINA_OPTS, you end up
with the JPDA settings twice on the command line.  Just take out the
above line.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat Shutdown error transport error 202: bind failed

Posted by varunsuresh <va...@gmail.com>.


markt-2 wrote:
> 
> varunsuresh wrote:
>> These are my debug options
>> 
>>  -Xdebug -Xnoagent -Djava.compiler=NONE
>> -Xrunjdwp:transport=dt_socket,address=1111,server=y,suspend=n
> 
> How are you setting these? Using JPDA_TRANSPORT etc works for me.
> 
> Mark
> 

This is how i set them

   export JPDA_TRANSPORT="dt_socket"

   export JPDA_ADDRESS="1111"


   export JPDA_SUSPEND="n"
 
   export JPDA_OPTS="-Xdebug -Xnoagent
-Xrunjdwp:transport=$JPDA_TRANSPORT,address=$JPDA_ADDRESS,server=y,suspend=$JPDA_SUSPEND"

   export CATALINA_OPTS="$CATALINA_OPTS $JPDA_OPTS"
-- 
View this message in context: http://www.nabble.com/Tomcat-Shutdown-error-transport-error-202%3A-bind-failed-tp14737139p14753922.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat Shutdown error transport error 202: bind failed

Posted by Mark Thomas <ma...@apache.org>.
varunsuresh wrote:
> These are my debug options
> 
>  -Xdebug -Xnoagent -Djava.compiler=NONE
> -Xrunjdwp:transport=dt_socket,address=1111,server=y,suspend=n

How are you setting these? Using JPDA_TRANSPORT etc works for me.

Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org