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


Reply via email to