tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: FW: [PATCH] TDK running with JPDA
Date Fri, 24 Aug 2001 19:08:48 GMT
Sounds good.

I generalized it slightly so that you can set different debug options with
JPDA_OPTS but it defaults to the value included in this patch.

Craig


On Fri, 24 Aug 2001, Jon Stevens wrote:

> Date: Fri, 24 Aug 2001 11:31:06 -0700
> From: Jon Stevens <jon@latchkey.com>
> Reply-To: tomcat-dev@jakarta.apache.org
> To: tomcat-dev <tomcat-dev@jakarta.apache.org>
> Subject: FW: [PATCH] TDK running with JPDA
>
> This is more a catalina specific patch...Craig, mind applying it?
>
> thanks,
>
> -jon
>
> ------ Forwarded Message
> From: "Henning P. Schmiedehausen" <mailgate@hometree.net>
> Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH
> Reply-To: turbine-dev@jakarta.apache.org
> Newsgroups: hometree.jakarta.turbine.dev
> Date: Fri, 24 Aug 2001 11:12:17 +0000 (UTC)
> To: turbine-dev@jakarta.apache.org
> Subject: [PATCH] TDK running with JPDA
>
> Hi,
>
> with this patch, you can start the catalina in the TDK 2.1
> with
>
> ./bin/catalina.sh jpda start
>
> and find a JPDA attachable port on 8000 for debugging the application
> (I use netbeans 3.2.1 and the emacs jde for this).
>
> Very useful IMHO.
>
>     Regards
>         Henning
>
> diff -u tdk-2.1/bin/catalina.sh.orig tdk-2.1/bin/catalina.sh
> --- tdk-2.1/bin/catalina.sh.orig        Fri Aug 24 11:09:25 2001
> +++ tdk-2.1/bin/catalina.sh     Fri Aug 24 11:20:28 2001
> @@ -70,8 +70,13 @@
>
>  # ----- Execute The Requested Command
> -----------------------------------------
>
> -if [ "$1" = "debug" ] ; then
>
> +if [ "$1" = "jpda" ] ; then
> +  CATALINA_OPTS="${CATALINA_OPTS} -classic -Xdebug -Xnoagent
> -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"
> +  shift
> +fi
> +
> +if [ "$1" = "debug" ] ; then
>    shift
>    pushd $CATALINA_HOME
>    if [ "$1" = "-security" ] ; then
>
> --
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
> INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de
>
> Am Schwabachgrund 22  Fon.: 09131 / 50654-0   info@intermeta.de
> D-91054 Buckenhof     Fax.: 09131 / 50654-20
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>
> ------ End of Forwarded Message
>
>


Mime
View raw message