You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Maya Muchnik <mm...@pumatech.com> on 2001/03/09 15:32:51 UTC

how to config Tomcat for debugger

Hi,

Does anyone configure Tomcat to accept debugger connections? For
example, if I am using JBuilder, Forte or Visual Cafe that has a
built-in debugger, then how to do this?

Thanks in advance.

Maya


RE: how to config Tomcat for debugger

Posted by frederic Gilbart <fg...@connectsuite.com>.
You can edit /usr\local\jdk1.2.2\bin\.java_wrapper (find correct path)
Then look at the end of the file for lines :


# Run.
if [ -x "$prog" ]
then
    exec $DEBUG_PROG "$prog" "$@" >
/usr/local/jakarta-tomcat-3.2/logs/java.log
else
    echo >&2 "$progname was not found in ${prog}"
    exit 1
fi


And and the line
> /usr/local/jakarta-tomcat-3.2/logs/java.log
to redirect informations.
Then create a file for example : pwd.sh like :

clear
more java.log | grep "Agent password"
echo

Then with VCafe use remote debug with the address of your server on with
jakarta is running, with the password
It's OK ????

This don't run with JDK1.3 (or use oldjdb,oldjava,oldjavac)
fred




Subject: how to config Tomcat for debugger


Hi,

Does anyone configure Tomcat to accept debugger connections? For
example, if I am using JBuilder, Forte or Visual Cafe that has a
built-in debugger, then how to do this?

Thanks in advance.

Maya