Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debug Problem

Status
Not open for further replies.

Kalisto

Programmer
Feb 18, 2003
997
GB
Hi Im trying to set up Jakarta - Tomcat for remote debugging (on a windows PC and using Eclipse as the debugger)

I have modified the catalina.bat file, such that the port is set to 8000, and the transport is dp_shmem
(i.e.
Code:
f not ""%1"" == ""jpda"" goto noJpda
set JPDA=jpda
if not "%JPDA_TRANSPORT%" == "" goto gotJpdaTransport
set JPDA_TRANSPORT=dt_shmem 
rem use dt_socket only on unix systems
:gotJpdaTransport
if not "%JPDA_ADDRESS%" == "" goto gotJpdaAddress
set JPDA_ADDRESS=8000
echo "Listening on Port 8000"
:gotJpdaAddress
shift
:noJpda

I know that the coed is executed because of the echo statement.

But the bat file runs, starts tomcat, and then it terminates, leaving me with nothing!

(I am starting the process by typing in catalina jpda start)

What am I doing wrong here?

K
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top