RE: Debugging Tomcat during shutdown

2022-06-13 Thread Jean Pierre URKENS
Ok, Didn't test it (it is started with suspend='n'). Just didn't know what the option was exactly doing, hence the question. J.P. -Original Message- From: Mark Thomas Sent: maandag 13 juni 2022 14:58 To: users@tomcat.apache.org Subject: Re: Debugging Tomcat during shutdown On 10/06

Re: Debugging Tomcat during shutdown

2022-06-13 Thread Mark Thomas
don't see any reason why that would impact behaviour during JVM shutdown. Mark JP -Original Message- From: Mark Thomas Sent: woensdag 8 juni 2022 14:50 To: users@tomcat.apache.org Subject: Re: Debugging Tomcat during shutdown On 08/06/2022 13:39, Jean Pierre URKENS wrote: Indeed

RE: Debugging Tomcat during shutdown

2022-06-10 Thread Jean Pierre URKENS
Could it depend on whether 'suspend=n' or 'suspend=y' is set on the jdwp options? JP -Original Message- From: Mark Thomas Sent: woensdag 8 juni 2022 14:50 To: users@tomcat.apache.org Subject: Re: Debugging Tomcat during shutdown On 08/06/2022 13:39, Jean Pierre URKENS wrote: > Ind

Re: Debugging Tomcat during shutdown

2022-06-08 Thread Mark Thomas
@tomcat.apache.org Subject: Re: Debugging Tomcat during shutdown On 08/06/2022 11:54, Jean Pierre URKENS wrote: Hi Mark, I know the version is quite old, but that is what the client currently has installed. ACK. I am shutting Tomcat down with ${TOMCAT_HOME}/bin/shutdown.sh (RHEL 7.x

RE: Debugging Tomcat during shutdown

2022-06-08 Thread Jean Pierre URKENS
session got killed before hitting any breakpoint I activated, e.g. in Serverimpl#stop()). -Original Message- From: Mark Thomas Sent: woensdag 8 juni 2022 14:23 To: users@tomcat.apache.org Subject: Re: Debugging Tomcat during shutdown On 08/06/2022 11:54, Jean Pierre URKENS wrote

Re: Debugging Tomcat during shutdown

2022-06-08 Thread Mark Thomas
recreate the issue you are seeing. Mark J.P. -Original Message- From: Mark Thomas Sent: woensdag 8 juni 2022 12:45 To: users@tomcat.apache.org Subject: Re: Debugging Tomcat during shutdown On 08/06/2022 11:29, Jean Pierre URKENS wrote: I am trying to debug the cleanup of resources

RE: Debugging Tomcat during shutdown

2022-06-08 Thread Jean Pierre URKENS
- From: Mark Thomas Sent: woensdag 8 juni 2022 12:45 To: users@tomcat.apache.org Subject: Re: Debugging Tomcat during shutdown On 08/06/2022 11:29, Jean Pierre URKENS wrote: > I am trying to debug the cleanup of resources during a shutdown of > Tomcat > 8.5.43 That is a rather old ver

Re: Debugging Tomcat during shutdown

2022-06-08 Thread Mark Thomas
On 08/06/2022 11:29, Jean Pierre URKENS wrote: I am trying to debug the cleanup of resources during a shutdown of Tomcat 8.5.43 That is a rather old version. I'd recommend upgrading. and notices that my debug session gets killed prior to performing any servlet cleanup actions. I am starting

Debugging Tomcat during shutdown

2022-06-08 Thread Jean Pierre URKENS
I am trying to debug the cleanup of resources during a shutdown of Tomcat 8.5.43 and notices that my debug session gets killed prior to performing any servlet cleanup actions. I am starting Tomcat in debug mode with the JVM options: JAVA_OPTS="$JAVA_OPTS -Xdebug

RE: Debugging tomcat native connector

2018-11-02 Thread Mark A. Claassen
To: users@tomcat.apache.org Subject: Re: Debugging tomcat native connector -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 11/1/18 11:51, Mark A. Claassen wrote: > Thanks for the reply. I am using > "org.apache.coyote.http11.Http11AprProtocol" in Tomcat 9. > > The NIO

Re: Debugging tomcat native connector

2018-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 11/1/18 11:51, Mark A. Claassen wrote: > Thanks for the reply. I am using > "org.apache.coyote.http11.Http11AprProtocol" in Tomcat 9. > > The NIO connectors worked fine when we tried them, but the native > ones seem to start up, but

RE: Debugging tomcat native connector

2018-11-01 Thread Mark A. Claassen
DSI makes no warranty for and assumes no legal liability or responsibility for the posting. -Original Message- From: Roger Brechbühl Sent: Wednesday, October 31, 2018 5:25 PM To: Tomcat Users List Subject: Re: Debugging tomcat native connector with which connector do you have problems?

Re: Debugging tomcat native connector

2018-10-31 Thread Roger Brechbühl
with which connector do you have problems? nio, nio2 or apr? I ask because we have problems with nio2-openssl when ssl session is reused e.g. when a request is proxied with nginx. kind regards, Roger Mark A. Claassen schrieb am Mi. 31. Okt. 2018 um 15:32: > Is there a way to debug the native

Debugging tomcat native connector

2018-10-31 Thread Mark A. Claassen
Is there a way to debug the native connectors? Specifically, we are having some problems getting the native openssl connector working on Ubuntu. Doing an strace on the process shows a lot of FUTEX_WAIT_PRIVATE, but we don't know why. We were hoping that there was some way to get more

Re: New to SSL - debugging tomcat

2016-12-22 Thread Peter Wallis
Thanks Chris, that seems to connect but sends no data back? The error is 3074385544:error:1409E0E5:SSL ... :ssl handshake failure:s3_pkt.c:637 Returns: CONNECTED(0003) --- no peer certificate available --- No client certificate CA names sent --- SSL handshake has read 0 bytes and written 0

Re: New to SSL - debugging tomcat

2016-12-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peter, On 12/22/16 12:52 PM, Peter Wallis wrote: > Ahh! changed the server.xml entries to 8443 tried: openssl s_client > -connect 192.168.1.149:8443 and got: CONNECTED(0003) > 3074541192:error:140790E5SSL routhines:SSL23_WRITE:ssl handshake >

Re: New to SSL - debugging tomcat

2016-12-22 Thread Peter Wallis
Ahh! changed the server.xml entries to 8443 tried: openssl s_client -connect 192.168.1.149:8443 and got: CONNECTED(0003) 3074541192:error:140790E5SSL routhines:SSL23_WRITE:ssl handshake failure:s23_lib.c:177: --- no peer certificate available --- No client certificate CA names sent --- SSL

Re: New to SSL - debugging tomcat

2016-12-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peter, On 12/22/16 11:03 AM, Peter Wallis wrote: > Hi Christopher, re 443 on *nix; yes, set AUTHBIND='yes' in > /etc/defaults/tomcat8 Okay. Are you sure you've got that configured properly? Try changing port 443 to 8443 in server.xml and bouncing

Re: New to SSL - debugging tomcat

2016-12-22 Thread Peter Wallis
Hi Christopher, re 443 on *nix; yes, set AUTHBIND='yes' in /etc/defaults/tomcat8 re openssl s_client -connect on a different machine; it times out Did have a thought -- one that might not be obvious to you experts -- I am serving that page via No-IP dynamic dns. Their support people are

Re: New to SSL - debugging tomcat

2016-12-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peter, On 12/22/16 2:43 AM, Peter Wallis wrote: > Hi Christopher, so it seems I have done something exceptional :-) > Thanks for taking a look... > > protocol="org.apache.coyote.http11.Http11NioProtocol" > maxThreads="150" SSLEnabled="true"

Re: New to SSL - debugging tomcat

2016-12-21 Thread Peter Wallis
Hi Christopher, so it seems I have done something exceptional :-) Thanks for taking a look... Keystore type: JKS Keystore provider: SUN Your keystore contains 2 entries Alias name: gandi Creation date: 21-Dec-2016 Entry type: trustedCertEntry Owner: CN=Gandi Standard SSL CA 2, O=Gandi,

Re: New to SSL - debugging tomcat

2016-12-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peter, On 12/21/16 4:22 AM, Peter Wallis wrote: > Hi all, I have tomcat 8.0.39 running on a raspberry pi (easy) and > thought I'd try setting it up to provide "skills" for the Amazon > Echo Alexa service. This requires a url which "presents"

Re: New to SSL - debugging tomcat

2016-12-21 Thread Peter Wallis
using -Djavax.net.debug=all ... what am I expecting to happen? The only action I get is the line (which happens normally) - - "HEAD / HTTP/1.1" 200 - in my connector's access log. On 21 December 2016 at 14:53, Peter Wallis wrote: > Hi Hassan, > yes, but ... that says

Re: New to SSL - debugging tomcat

2016-12-21 Thread Peter Wallis
Hi Hassan, yes, but ... that says nothing about the key format (pem vs der? SHA1/SHA2) and there is an awful lot of actually conflicting instructions out there. It took a while to realise that the private key is "in" the keystore, and that recreating the keystore means you have to start again

Re: New to SSL - debugging tomcat

2016-12-21 Thread Hassan Schroeder
On Wed, Dec 21, 2016 at 1:22 AM, Peter Wallis wrote: > Can someone point me to the official how-to debug ssl issues on tomcat? Did you follow the steps in this documentation? http://tomcat.apache.org/tomcat-8.0-doc/ssl-howto.html -- Hassan Schroeder

New to SSL - debugging tomcat

2016-12-21 Thread Peter Wallis
Hi all, I have tomcat 8.0.39 running on a raspberry pi (easy) and thought I'd try setting it up to provide "skills" for the Amazon Echo Alexa service. This requires a url which "presents" either a signed certificate, or a self-signed certificate. Using fiirefox to check, I believe I got it

Re: Debugging Tomcat Running in Vagrant using Port Forwarding

2015-04-30 Thread Konstantin Kolinko
2015-05-01 3:29 GMT+03:00 David Landis dlan...@gmail.com: On Thu, Apr 30, 2015 at 5:24 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: Have you started Tomcat in debug mode? E.g. ./catalina.sh jpda start See JPDA_ADDRESS option in catalina.sh source code. Hi Konstantin. Yes I

Re: Debugging Tomcat Running in Vagrant using Port Forwarding

2015-04-30 Thread David Landis
On Thu, Apr 30, 2015 at 6:06 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: Note that you have 2 firewalls, one on your own machine (to allow outgoing connections), another on the one running in virtual box (to allow incoming connections). Can you connect with a simple client, e.g.

Re: Debugging Tomcat Running in Vagrant using Port Forwarding

2015-04-30 Thread David Landis
On Thu, Apr 30, 2015 at 5:24 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: Have you started Tomcat in debug mode? E.g. ./catalina.sh jpda start See JPDA_ADDRESS option in catalina.sh source code. Hi Konstantin. Yes I have. Like I noted in the original question Tomcat correctly

Re: Debugging Tomcat Running in Vagrant using Port Forwarding

2015-04-30 Thread Konstantin Kolinko
2015-05-01 3:13 GMT+03:00 David Landis dlan...@gmail.com: On Thu, Apr 30, 2015 at 3:12 PM, David Marsh dmars...@outlook.com wrote: 8000 Is the HTTP port in development just in case you are using port 808433 Is similar for HTTPS22 Is SSH port Normally you define a free port in a user range say

RE: Debugging Tomcat Running in Vagrant using Port Forwarding

2015-04-30 Thread David Marsh
like you'd also need that debug port say 9009, to have port forwarding configured. Once port forwarding is configured the debug port 9009 should be accessible outside the VM. Date: Thu, 30 Apr 2015 14:44:13 -0700 Subject: Debugging Tomcat Running in Vagrant using Port Forwarding From: dlan

Debugging Tomcat Running in Vagrant using Port Forwarding

2015-04-30 Thread David Landis
Hi, I was wondering if anyone here might have any idea about this issue I was having debugging my Tomcat app. I posted this question on Stack Overflow several days ago but didn't get any responses (and it said it was only viewed 15 times despite having the Java and Tomcat tags which is weird).

Re: Debugging Tomcat Running in Vagrant using Port Forwarding

2015-04-30 Thread David Landis
On Thu, Apr 30, 2015 at 3:12 PM, David Marsh dmars...@outlook.com wrote: 8000 Is the HTTP port in development just in case you are using port 808433 Is similar for HTTPS22 Is SSH port Normally you define a free port in a user range say 9009, to be your debug port. Then you use a suitable

Re: Debugging Tomcat JDBC pool disconnects.

2014-10-07 Thread Todd Chapman
Chris, Thank you for the detailed reply and sorry for my delayed response. We located the problem. We had setTestOnBorrow(true) but had not set the validation query. When the validation query is null the validation fails causing the connection to be re-opened. -Todd On Wed, Sep 24, 2014 at

Re: Debugging Tomcat JDBC pool disconnects.

2014-10-07 Thread Aniket Bhoi
On Tue, Oct 7, 2014 at 8:41 PM, Todd Chapman t...@chaka.net wrote: Chris, Thank you for the detailed reply and sorry for my delayed response. We located the problem. We had setTestOnBorrow(true) but had not set the validation query. When the validation query is null the validation fails

Re: Debugging Tomcat JDBC pool disconnects.

2014-10-07 Thread Todd Chapman
Aniket, That change had not been committed yet. -Todd On Tuesday, October 7, 2014, Aniket Bhoi aniket.b...@gmail.com wrote: On Tue, Oct 7, 2014 at 8:41 PM, Todd Chapman t...@chaka.net javascript:; wrote: Chris, Thank you for the detailed reply and sorry for my delayed response. We

Re: Debugging Tomcat JDBC pool disconnects.

2014-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Todd, On 9/23/14 11:41 AM, Todd Chapman wrote: My application uses the Tomcat JDBC pool. While using netstat and tcpdump to diagnose connection problems I noticed that the client side occasionally closes a DB connection and opens a new one. That

Re: Debugging Tomcat JDBC pool disconnects.

2014-09-24 Thread Filip Hanik
If you implement a JdbcInterceptor, the method JdbcInterceptor.disconnected will always be called. If the disconnect is permanent, then JdbcInterceptor.reset(null,null) will be called after disconnected On Tue, Sep 23, 2014 at 9:41 AM, Todd Chapman t...@chaka.net wrote: Hi, My application

Debugging Tomcat JDBC pool disconnects.

2014-09-23 Thread Todd Chapman
Hi, My application uses the Tomcat JDBC pool. While using netstat and tcpdump to diagnose connection problems I noticed that the client side occasionally closes a DB connection and opens a new one. That is unexpected based on my configuration. poolProperties.setInitialSize(10);

Re: Debugging Tomcat

2010-07-24 Thread Konstantin Kolinko
2010/7/23 Andy Bell andy.photos.b...@googlemail.com: Hi I'm running Tomcat 6.0.24 as aa serviced on Windows XP. I am trying to debug Java code in the webapp Ihave deployed to Tomcat and I have added this line: -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n to the

RE: Debugging Tomcat

2010-07-24 Thread Caldarale, Charles R
2010/7/23 Andy Bell andy.photos.b...@googlemail.com: I am trying to debug Java code in the webapp Ihave deployed to Tomcat and I have added this line: -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n to the Java Options in the Tomcat 6 Properties Java Options. I've

Re: Debugging Tomcat

2010-07-24 Thread Ron McNulty
a...@ice-sa.com To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, July 24, 2010 2:56 AM Subject: Re: Debugging Tomcat Mark Thomas wrote: On 23/07/2010 15:44, André Warnier wrote: Andy Bell wrote: Hi I'm running Tomcat 6.0.24 as aa serviced on Windows XP. I am trying to debug Java

Debugging Tomcat

2010-07-23 Thread Andy Bell
Hi I'm running Tomcat 6.0.24 as aa serviced on Windows XP. I am trying to debug Java code in the webapp Ihave deployed to Tomcat and I have added this line: -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n to the Java Options in the Tomcat 6 Properties Java Options. I've

Re: Debugging Tomcat

2010-07-23 Thread André Warnier
Andy Bell wrote: Hi I'm running Tomcat 6.0.24 as aa serviced on Windows XP. I am trying to debug Java code in the webapp Ihave deployed to Tomcat and I have added this line: -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n I don't know anything about debugging Java, but

Re: Debugging Tomcat

2010-07-23 Thread Mark Thomas
On 23/07/2010 15:44, André Warnier wrote: Andy Bell wrote: Hi I'm running Tomcat 6.0.24 as aa serviced on Windows XP. I am trying to debug Java code in the webapp Ihave deployed to Tomcat and I have added this line: -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n I

Re: Debugging Tomcat

2010-07-23 Thread Andy Bell
Unfortunately, no, the address just means 'port' according to: http://download.oracle.com/docs/cd/E17476_01/javase/1.3/docs/tooldocs/solaris/jdb.html I don't know anything about debugging Java, but considering that the attribute above is called address, should you not be giving it a value

Re: Debugging Tomcat

2010-07-23 Thread André Warnier
Mark Thomas wrote: On 23/07/2010 15:44, André Warnier wrote: Andy Bell wrote: Hi I'm running Tomcat 6.0.24 as aa serviced on Windows XP. I am trying to debug Java code in the webapp Ihave deployed to Tomcat and I have added this line: -Xdebug

Re: Debugging Tomcat

2010-07-23 Thread Mark Thomas
On 23/07/2010 15:56, André Warnier wrote: Mark Thomas wrote: On 23/07/2010 15:44, André Warnier wrote: Andy Bell wrote: Hi I'm running Tomcat 6.0.24 as aa serviced on Windows XP. I am trying to debug Java code in the webapp Ihave deployed to Tomcat and I have added this line: -Xdebug

Re: Debugging tomcat-apache(mod_jk) bridge

2009-12-04 Thread groupalias v
I got busy at work and could not get back with information. Chris, The inconsistencies you have pointed out are my mistake in the email trying to clean up the URLs to shorten the strings and to remove machine specific identifying information. The config files are consistent and I still get the

Re: Debugging tomcat-apache(mod_jk) bridge

2009-12-04 Thread Rainer Jung
On 04.12.2009 09:31, groupalias v wrote: Also as I promised here is the mod_jk.log after running it in debug mode ( please note that I am not looking for an answer but would still be looking to figure out what's happening with mod_jk) -- Skipping init messages ... [Tue Dec 01 14:13:01 2009]

Re: Debugging tomcat-apache(mod_jk) bridge

2009-12-04 Thread groupalias v
I too saw that mod_jk thinks it is talking to tomcat. But I do not see any logs in tomcat to indicate that. Also with the same parameters mod_proxy_ajp is able to fetch my page. Could be some nasty machine specific thing. On Fri, Dec 4, 2009 at 12:45 AM, Rainer Jung rainer.j...@kippdata.de

Re: Debugging tomcat-apache(mod_jk) bridge

2009-12-02 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 12/1/2009 10:26 AM, André Warnier wrote: groupalias v wrote: httpd.conf - LoadModule jk_module modules/mod_jk.so IfModule jk_module What the h.. is this line for : ? It's for

Re: Debugging tomcat-apache(mod_jk) bridge

2009-12-02 Thread groupalias v
In response to Chris' question - I have only one tomcat instance running and it picks up the webapps in /srv/tomcat6/webapps/ and the URL www.example.com:8080/test/index.jsp works fine. I tried with the mod_jk.c and jk_module with the same result. In response to André's question this is the

Re: Debugging tomcat-apache(mod_jk) bridge

2009-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vas, On 12/2/2009 11:06 AM, groupalias v wrote: In response to Chris' question - I have only one tomcat instance running and it picks up the webapps in /srv/tomcat6/webapps/ and the URL www.example.com:8080/test/index.jsp works fine. - From

Re: Debugging tomcat-apache(mod_jk) bridge

2009-12-02 Thread Rainer Jung
Check again (I think André's) hint about JkMountCopy. Regards, Rainer On 02.12.2009 17:33, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vas, On 12/2/2009 11:06 AM, groupalias v wrote: In response to Chris' question - I have only one tomcat instance running and

Re: Debugging tomcat-apache(mod_jk) bridge

2009-12-02 Thread André Warnier
groupalias v wrote: In response to Chris' question - I have only one tomcat instance running and it picks up the webapps in /srv/tomcat6/webapps/ and the URL www.example.com:8080/test/index.jsp works fine. I tried with the mod_jk.c and jk_module with the same result. In response to André's

Debugging tomcat-apache(mod_jk) bridge

2009-12-01 Thread groupalias v
Hi, I am trying to set up mod_jk to forward requests to the webapp in tomcat. The webapp itself works when accessed directly. But I get a 400 error in mod_jk when I try to access it (even the index.jsp) through apache. I see the error 400 in mod_jk.log but see nothing in tomcat logs. Its as if

Re: Debugging tomcat-apache(mod_jk) bridge

2009-12-01 Thread André Warnier
groupalias v wrote: httpd.conf - LoadModule jk_module modules/mod_jk.so IfModule jk_module What the h.. is this line for : ? Alias /test/ /srv/tomcat6/webapps/A It kind of contradicts these next lines : JKMount/test/ A JkMount /test/* A Because of

Re: Debugging tomcat-apache(mod_jk) bridge

2009-12-01 Thread groupalias v
See answers inline - On Tue, Dec 1, 2009 at 7:26 AM, André Warnier a...@ice-sa.com wrote: groupalias v wrote: httpd.conf - LoadModule jk_module          modules/mod_jk.so IfModule jk_module What the h.. is this line for : ? I don't understand. Am I using the wrong module

Re: Debugging tomcat-apache(mod_jk) bridge

2009-12-01 Thread André Warnier
groupalias v wrote: See answers inline - On Tue, Dec 1, 2009 at 7:26 AM, André Warnier a...@ice-sa.com wrote: groupalias v wrote: httpd.conf - LoadModule jk_module modules/mod_jk.so IfModule jk_module What the h.. is this line for : ? I don't understand. Am I using

Re: Debugging tomcat-apache(mod_jk) bridge

2009-12-01 Thread Ashok Kumar
Thanks for your reply. I am using the standalone tomcat app server, no web server. We are using tomcat 6.0.20. We installed the self signed certificate on it, its working fine. Now we installed the CA (goDaddy) certificate in order to use CA certificate and updated the server.xml and restarted

RE: Debugging tomcat-apache(mod_jk) bridge

2009-12-01 Thread Caldarale, Charles R
From: Ashok Kumar [mailto:asho...@gmail.com] Subject: Re: Debugging tomcat-apache(mod_jk) bridge Thanks for your reply. I am using the standalone tomcat app server, no web server. You replied to the wrong thread - the subject line should have given you a clue. No one has attempted

Re: Debugging tomcat-apache(mod_jk) bridge

2009-12-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 12/1/2009 10:26 AM, André Warnier wrote: groupalias v wrote: httpd.conf - LoadModule jk_module modules/mod_jk.so IfModule jk_module What the h.. is this line for : ? It's for conditional inclusion of Apache

Debugging tomcat with eclipse

2008-02-13 Thread Hehl, Thomas
It seems like I've had this working before, but it surely isn't working now. I am trying to setup tomcat 5.5 so I can debug it with eclipse. I found the docs and set up the following environment variables. CATALINA_OPTS=-Dp6.home=D:\tomcat\common\lib:-Xdebug -Xrunjdwp:transport=dt_soc

Re: Debugging tomcat with eclipse

2008-02-13 Thread Adam Gordon
It's actually MUCH easier than that... :-) If you use Tomcat's start and stop scripts, pass the jpda parameter to the script, e.g. /usr/local/tomcat/bin/catalina.sh jpda start Then, in Eclipse, select the Debug Perspective and then click the down arrow in the little green bug icon in the

Re: Debugging tomcat with eclipse

2008-02-13 Thread Luis Rivera
And don't forget to set JPDA_ADDRESS=8000 JPDA_TRANSPORT=dt_socket as you did before :) --Luis R. On Feb 13, 2008 9:19 AM, Adam Gordon [EMAIL PROTECTED] wrote: It's actually MUCH easier than that... :-) If you use Tomcat's start and stop scripts, pass the jpda parameter to the script,

Problem debugging tomcat 5.5

2007-05-22 Thread Raymond Gupta
Hi all, I am trying to debug tomcat 5.5 using Eclipse + the Sysdeo plugin. I can debug my webapps just fine, however, when trying to look at the tomcat sources on the stack, I am running into issues. Here is what I have done so far (Windows XP SP2) - Downloaded Tomcat 5.5 sources - Downloaded

RE: debugging tomcat with eclipse

2006-08-26 Thread Zohar Amir
http://www.eclipse.org/webtools/ Date: Wed, 23 Aug 2006 17:24:46 -0500 From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: debugging tomcat with eclipse I have found various different examples, just curious what folks are find to be the best practice? D

debugging tomcat with eclipse

2006-08-23 Thread Douglas Ferguson
I have found various different examples, just curious what folks are find to be the best practice? D-

Re: debugging tomcat with eclipse

2006-08-23 Thread Mark Thomas
Douglas Ferguson wrote: I have found various different examples, just curious what folks are find to be the best practice? http://tomcat.apache.org/faq/development.html Works for me. Use it all the time. Mark - To start a

Debugging Tomcat hangs

2005-10-18 Thread David Boyer
We're running Tomcat 5.0.28 with JDK 1.4.2_8 hosting a single commercial web application on our web server which uses MySQL 4.0.26 running on another server. Both servers are Windows 2003 Enterprise, 2x3.0GHz XEON, 4GB RAM. Our Tomcat instance is dedicated to the commercial web app, and the

Re: Debugging Tomcat hangs

2005-10-18 Thread Leon Rosenberg
can you port your application to linux where kill -quit given you complete stacktrace? Unfortunately I don't know how to create full stack trace under windows, but you'd need it definitely. Have you tried the manager? It could show you the servlets/actions/whatever which hangs. Probably you have

Re: Debugging Tomcat hangs

2005-10-18 Thread David Delbecq
One stupid suggestion is to run the tomcat inside an environment like eclipse with an eclipse plugin like sysdeo. Then stress the webapplication. When, it 'hangs' issue a 'pause' inside the tomcat jvm, and explore the various threads. Search for 2 kinds of locks: - non returning http-thread

RE: Debugging Tomcat hangs

2005-10-18 Thread Robert Graf-Waczenski
If I generate a dump of the JVM using Ctrl-Break while running Tomcat as a console app, what's the best resource for interpreting this? I suspect the problem is a thread deadlock, or something similar. This tells us that you succeed in getting a JVM thread dump and you are asking for help

RE: Debugging Tomcat hangs

2005-10-18 Thread David Boyer
I understand synchronization and deadlocks. I'm just looking for some guidance. (1) Based on the problem I've described, is an analysis of a JVM thread dump a good next step for diagnosing the hang, or else what would be and (2) are there any resources that would be helpful with that analysis

Re: Debugging Tomcat hangs

2005-10-18 Thread Leon Rosenberg
On 10/18/05, David Boyer [EMAIL PROTECTED] wrote: (2) are there any resources that would be helpful with that analysis (e.g. something that I can use as a tutorial for understanding everything the dump contains). Take a look at: http://issues.apache.org/bugzilla/show_bug.cgi?id=36541 We had

RE: Debugging Tomcat hangs

2005-10-18 Thread Robert Graf-Waczenski
, October 18, 2005 4:03 PM To: users@tomcat.apache.org Subject: RE: Debugging Tomcat hangs I understand synchronization and deadlocks. I'm just looking for some guidance. (1) Based on the problem I've described, is an analysis of a JVM thread dump a good next step for diagnosing the hang