tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Subir Sengupta <su...@walmart.com>
Subject RE: Bug in catalina.sh? Problem using jpda
Date Wed, 09 Oct 2002 00:21:15 GMT
Where in the bootstrap class do you add this code?

Thanks,
Subir

-----Original Message-----
From: Jean-Francois Arcand [mailto:jfarcand@apache.org]
Sent: Tuesday, October 08, 2002 1:32 PM
To: Tomcat Users List
Subject: Re: Bug in catalina.sh? Problem using jpda


I'm using Netbean 3.4 on Linux and I don' have any problems. On thing 
I'm doing in order debug from the Boostrap class is by adding the 
following code:

        try{
            Thread.sleep(10000);
        }catch(java.lang.Exception ex){
            ex.printStackTrace();
        }

This give the time to (in my case Netbean) to properly connect to the jpda.

-- Jeanfrancois

William Lee wrote:

> I have been using jswat for debugging Tomcat for a while.  However, 
> since I use the catalina's jpda start it doesn't work anymore.  It 
> seems like in the java command arguments that catalina.sh script 
> constructed are missing a -Xnoagent flag.  It's causing the jswat to 
> skip all the breakpoint that I've set I think.
>
> Also, it seems like the setclasspath.sh script is explicitly checking 
> jdb and javac in your JAVA_HOME/bin directory before allowing you to 
> pass.  That means you can't really use that script with any JRE for 
> the binaries are not included...  I know jsp would not work with the 
> JRE but I can use the JRE with just plan servlet with no problem and 
> having that check there is somewhat redundent.
>
> BTW, I'm currently using IBM JDK 1.3 and Tomcat 4.1.12 on Linux.
>


--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message