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 durin

Re: Debugging Tomcat during shutdown

2022-06-13 Thread Mark Thomas
until the debugger attaches. I 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, Je

RE: Debugging Tomcat during shutdown

2022-06-09 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 UR

Re: Debugging Tomcat during shutdown

2022-06-08 Thread Mark Thomas
14:23 To: users@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.

RE: Debugging Tomcat during shutdown

2022-06-08 Thread Jean Pierre URKENS
debug 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

Re: Debugging Tomcat during shutdown

2022-06-08 Thread Mark Thomas
local testing to see if I can 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

RE: Debugging Tomcat during shutdown

2022-06-08 Thread Jean Pierre URKENS
riginal 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 during a shutdown of > Tomcat > 8.5.43 That is a

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

RE: Debugging tomcat native connector

2018-11-02 Thread Mark A. Claassen
PM 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

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 the

RE: Debugging tomcat native connector

2018-11-01 Thread Mark A. Claassen
I 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? ni

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 c

RE: Debugging

2017-03-02 Thread Berneburg, Cris J. - US
Al You may or may not find this helpful... -Original Message- From: Al Grant [mailto:bigal...@gmail.com] Sent: Sunday, February 26, 2017 8:34 PM To: users@tomcat.apache.org Subject: Debugging > Hello, > > System: Windows 10 > Tomcat Var: 8.5.4 > IDE: Intellij Ultimate > Java: v1.8 > > I

Re: Debugging Apache Tomcat

2016-02-25 Thread Chiranga Alwis
Hi Theo, first of all thanks for the answer. I will certainly try this method as well. This issue seems to be solved when I restarted the computer and executed the server. Please refer to the comments I have made regarding this issue, at stackoverflow post. On Thu, Feb 25, 2016 at 1:58 PM, Theo

RE: Debugging Apache Tomcat

2016-02-25 Thread Theo Sweeny
Hi Chiranga, -Original Message- From: Chiranga Alwis [mailto:chirangaal...@gmail.com] Sent: 25 February 2016 07:03 To: Tomcat Users List Subject: Debugging Apache Tomcat Hi, please refer this post regarding Tomcat debugging issue: http://stackoverflow.com/questions/35620472/debug-apac

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 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. telnet? Yeah fir

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 : > On Thu, Apr 30, 2015 at 5:24 PM, Konstantin Kolinko > 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 th

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 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 outputs on startup:

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 : > On Thu, Apr 30, 2015 at 3:12 PM, David Marsh 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 >> por

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 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 java debugger to co

RE: Debugging Tomcat Running in Vagrant using Port Forwarding

2015-04-30 Thread David Marsh
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 java debugger to connect to that port. I've never used vagrant, but it sounds like

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-24 Thread Léa Massiot
Thank you for yours answers. @Glen Peterson: Thanks for sharing about the method you use. Best regards. -- View this message in context: http://tomcat.10.x6.nabble.com/Debugging-a-Webapp-in-Eclipse-running-Tomcat-as-a-stand-alone-JVM-process-tp5025598p5025883.html Sent from the Tomcat - User m

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 11/20/14 4:09 PM, Mark Eggers wrote: > > Chris, > > On 11/20/2014 12:11 PM, Christopher Schultz wrote: >> Léa, > >> On 11/20/14 1:21 PM, Léa Massiot wrote: >>> Thank you for your answers. > >>> @MarkEggers Thank you very much for sharin

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 11/20/2014 12:11 PM, Christopher Schultz wrote: > Léa, > > On 11/20/14 1:21 PM, Léa Massiot wrote: >> Thank you for your answers. > >> @MarkEggers Thank you very much for sharing. > >>> Christopher Schultz wrote There are reasons to use

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Glen Peterson
I never looked into jsvc. It sounds very interesting! To use a < 1024 port as a non-root user, I've always used iptables to redirect traffic to a higher-numbered port. When experimenting with iptables on a remote server, I actually like to schedule a reboot for 10 or 15 minutes, so that if I loc

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Léa, On 11/20/14 1:21 PM, Léa Massiot wrote: > Thank you for your answers. > > @MarkEggers Thank you very much for sharing. > >> Christopher Schultz wrote There are reasons to use jsvc, but the >> ability to run as a non-root uses is not one of th

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Léa Massiot
Thank you for your answers. @MarkEggers Thank you very much for sharing. > Christopher Schultz wrote > There are reasons to use jsvc, but the ability to run as a non-root uses > is not one of them. What are these reasons according to you (apart from running Tomcat as a daemon on Unix which was a

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Léa, On 11/20/14 10:24 AM, Léa Massiot wrote: > Thank you for your answer. > >> Konstantin Kolinko wrote: Why do you need the ports to be 80 and >> 443? (You cannot open those on Linux unless you are a root). You >> can a) change the port numbers i

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 11/19/14 8:35 PM, Konstantin Kolinko wrote: > 2014-11-19 22:06 GMT+03:00 Léa Massiot : >> Thank you for your answer. Your link helped. >> >> What was missing from the scenario I described previously was: >> exporting the .war of the

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Léa, On 11/20/2014 7:24 AM, Léa Massiot wrote: > Thank you for your answer. > >> Konstantin Kolinko wrote: Why do you need the ports to be 80 and >> 443? (You cannot open those on Linux unless you are a root). You >> can a) change the port numbers in

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Léa Massiot
Thank you for your answer. > Konstantin Kolinko wrote: > Why do you need the ports to be 80 and 443? (You cannot open those on > Linux unless you are a root). > You can > a) change the port numbers in your configuration > b) use firewall (iptables) to map different local ports to those external >

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Konstantin Kolinko
2014-11-20 13:56 GMT+03:00 Léa Massiot : > Thank you for your answer. > >> Konstantin Kolinko wrote: >> Deployment can be done from Ant or from Maven. There exists tools for >> that. > > Ok, I understand. > >> Konstantin Kolinko wrote: >> If you are developing your web application, is there a reaso

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Léa Massiot
Thank you for your answer. > Konstantin Kolinko wrote: > Deployment can be done from Ant or from Maven. There exists tools for > that. Ok, I understand. > Konstantin Kolinko wrote: > If you are developing your web application, is there a reason why you > run Tomcat standalone and not from withi

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-19 Thread Konstantin Kolinko
2014-11-19 22:06 GMT+03:00 Léa Massiot : > Thank you for your answer. > Your link helped. > > What was missing from the scenario I described previously was: > exporting the .war of the webapps into the Tomcat "webapps" directory. > > Actually, I was hoping it would be done automatically "somehow"..

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-19 Thread Léa Massiot
Thank you for your answer. Your link helped. What was missing from the scenario I described previously was: exporting the .war of the webapps into the Tomcat "webapps" directory. Actually, I was hoping it would be done automatically "somehow"... :'/ Is there - by any chance - an option "somewhere

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-19 Thread Mark Thomas
On 19/11/2014 16:23, Léa Massiot wrote: > Can you see what I'm doing wrong? http://wiki.apache.org/tomcat/FAQ/Developing#Q1 Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: use

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 wrote: > On Tue, Oct 7, 2014 at 8:41 PM, Todd Chapman > wrote: > > > Chris, > > > > Thank you for the detailed reply and sorry for my delayed response. We > > located the problem. > > > > We had set

Re: Debugging Tomcat JDBC pool disconnects.

2014-10-07 Thread Aniket Bhoi
On Tue, Oct 7, 2014 at 8:41 PM, Todd Chapman 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 causing th

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 9:36

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 wrote: > Hi, > > My application uses the Tomcat

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. Th

Re: debugging a deployed webapp 101

2012-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Russ, On 8/9/12 5:17 PM, Russ Tremain wrote: > Hey, that's pretty cool - nice that tomcat has full jmx interface > now. Tomcat has supported JMX for quite some time, now. It gets better every day (both support for JMX and Tomcat in general). > By d

Re: debugging a deployed webapp 101

2012-08-09 Thread Russ Tremain
Hey, that's pretty cool - nice that tomcat has full jmx interface now. By drilling down from the "MBeans" tab as you suggested, I can now see my classpath, but not the actual classes that are loaded. I do see a nice graph that tracks the total number of classes loaded, under the "Classes" tab.

Re: debugging a deployed webapp 101

2012-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Russ, On 8/9/12 3:46 PM, Russ Tremain wrote: > I heard that there is a way to get tomcat manager to dump the > contents of the classpath loaders for a deployed application, but I > haven't been able to find it. > > So far, I see only the ideas of usi

Re: Debugging Tomcat

2010-07-24 Thread Ron McNulty
ré Warnier" To: "Tomcat Users List" 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 cod

RE: Debugging Tomcat

2010-07-24 Thread Caldarale, Charles R
2010/7/23 Andy Bell : > > 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 > added it as the first line

Re: Debugging Tomcat

2010-07-24 Thread Konstantin Kolinko
2010/7/23 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 Tom

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

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 -Xrunjdwp:transport=dt_socket,address=8000,server

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 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

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 c

Re: Debugging PermGen problems

2010-04-29 Thread Ognjen Blagojevic
Caldarale, Charles R wrote: From: Ognjen Blagojevic [mailto:ogn...@etf.bg.ac.rs] Subject: Debugging PermGen problems Environment: Tomcat 6.0.14, Windows XP SP2. Before doing *anything* else, move up to the current level (6.0.26). Besides having numerous stability and security fixes beyond yo

RE: Debugging PermGen problems

2010-04-28 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:mgai...@hotmail.com] > Subject: RE: Debugging PermGen problems > > if the database is only being referenced by that webapp then put the > postgresql-*.jars into WEB-INF/lib You can't do that if Tomcat is managing the DB connection pool - the

RE: Debugging PermGen problems

2010-04-28 Thread Martin Gainty
> Hi, > > My co-worker and I decided to try to debug PermGen problems after > detailed reading of mailing list archives and Tomcat wiki. > > We followed the procedure described at the wiki [1], and got one > inactive WebappClassLoader (started = false), with 18 GC root paths. > They are att

RE: Debugging PermGen problems

2010-04-28 Thread Caldarale, Charles R
> From: Ognjen Blagojevic [mailto:ogn...@etf.bg.ac.rs] > Subject: Debugging PermGen problems > > Environment: Tomcat 6.0.14, Windows XP SP2. Before doing *anything* else, move up to the current level (6.0.26). Besides having numerous stability and security fixes beyond your nearly three-year ol

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 wrote: > On 04.12.2009 09:31,

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 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 er

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 qu

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 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 w

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 fir

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 What the h.. is this line for : ? It's for conditional inclusion of Apac

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 >> >> > > What the h.. is this line for : ? It's for conditional inclusion of Apache http

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.

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 th

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 wrote: groupalias v wrote: httpd.conf - LoadModule jk_module modules/mod_jk.so What the h.. is this line for : ? I don't understand. Am I using the wrong module identifier? Or

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 wrote: > groupalias v wrote: >> >> httpd.conf >> - >> >> LoadModule jk_module          modules/mod_jk.so >> >> > > What the h.. is this line for : ? I don't understand. Am I using the wrong module identifier? Or a

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 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 the Alias line, I

Re: debugging model classes tied to Tomcat datasources

2009-11-10 Thread Eric P
> I'll bet the only thing your code does with a JNDI string is perform the lookup and get a Datasource. You could implement multiple constructors allowing your code to be initialized w/ a JNDI string, DataSource object, or url/username/password. The code utilizing the model classes would simpl

Re: debugging model classes tied to Tomcat datasources

2009-09-27 Thread Mark Thomas
Martin Gainty wrote: > http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html > is a JNDI 'emulator' Huh? Care to explain what you mean by that remark? > i heard chilisoft was implementing JNDI for Tomcat but EOL'ed when Glassfish > came out > I wonder if anyone can resurrect? What

RE: debugging model classes tied to Tomcat datasources

2009-09-27 Thread Martin Gainty
ent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Sun, 27 Sep 2009 15:27:35 -0400 > From: mark.shif...@yale.edu > Subject: Re: debugging model classes tied to Tomcat datasources > To: users@tomcat.apache.org

Re: debugging model classes tied to Tomcat datasources

2009-09-27 Thread Mark Shifman
es email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Sun, 27 Sep 2009 12:38:11 -0400 From: mark.shif...@yale.edu Subject: Re: debugging model classes tied to Tomcat datasources To: users@tomcat.apache.org Hi: This

RE: debugging model classes tied to Tomcat datasources

2009-09-27 Thread Martin Gainty
manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Sun, 27 Sep 2009 12:38:11 -0400 > From: mark.shif...@yale.edu > Subject: Re: debugging model classes tied to Tomcat datasources > To: users@tomcat.apache.org > > Hi: > This is what I do

Re: debugging model classes tied to Tomcat datasources

2009-09-27 Thread Mark Shifman
Hi: This is what I do for testing. I made a class for creating a jndi directory and I create this in my main, then I can get a datasource from the jndi directory just like I do it when running tomcat. jndi.properties java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory java

Re: debugging model classes tied to Tomcat datasources

2009-09-27 Thread David Smith
Eric P wrote: > Hi, > > (Tomcat newb alert) > > I've got a simple database servlet application that has a few model > classes on the back end. > > I have the model classes pretty well genericized so that they could > (almost) be utilized outside of Tomcat by another app, but they do > utilize the T

RE: debugging model classes tied to Tomcat datasources

2009-09-26 Thread Caldarale, Charles R
> From: Eric P [mailto:eric.maill...@gmail.com] > Subject: debugging model classes tied to Tomcat datasources > > they do utilize the Tomcat data sources I've set up (via > an InitialContext data source lookup). So this makes it > impossible (?) to execute the model classes outside of Tomcat. T

Re: Debugging a Web application

2008-05-23 Thread R. Sriram
http is working fine on Port 8080. I am unable to connect to Tomcat from my IDE for debugging. In my old computer it worked fine with Port 5005. I had to reinstall in a new computer after the old one crashed. Now the IDE is not able to connect. I am wondering any Port Tomcat will listen to. Le

Re: Debugging a Web application

2008-05-23 Thread Leon Rosenberg
are you asking us on which port you can connect to the jvm or to tomcat via http? If its the later try 8080. leon On Fri, May 23, 2008 at 1:29 AM, R. Sriram <[EMAIL PROTECTED]> wrote: > Hello, > I am using Tomcat 6.0.16 and JDK 1.6. I am using IntelliJ IDEA as my IDE to > develop a Web applicatio

Re: Debugging tomcat with eclipse

2008-02-13 Thread Adam Gordon
Actually, if one looks at the catalina.sh script, one woudl see that those are the defaults (unless they were changed) so one shouldn't need to change anything. -adam Luis Rivera wrote: And don't forget to set JPDA_ADDRESS=8000 JPDA_TRANSPORT=dt_socket as you did before :) --Luis R. On F

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 scr

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 connectors

2008-01-09 Thread Filip Hanik - Dev Lists
no debug property anymore, you can add org.apache.coyote.http11.level=FINE in your logging.properties file Filip Dmitry Beransky wrote: Hi, I can't find any definitive documentation on this. Does the element in Tomcat 5.5. support the "debug" property (I've seen examples of this in older T

Re: Debugging session replication in 5.5.23

2007-10-19 Thread Stephen More
The problem was not with a config of tomcats server.xml it was a problem with the war. session data is now getting replicated. If you ask why, you can look at: http://jcifs.samba.org/src/docs/ntlmhttpauth.html So the only question that remains is "Will JCIFS NTLM HTTP Authentication work in

Re: Debugging session replication in 5.5.23

2007-10-19 Thread Stephen More
I thought I would try this on a off the shelf apache-tomcat-6.0.14: Results in logs of: WARNING: Manager [ [EMAIL PROTECTED] does not implement ClusterManager, addition to cluster has been aborted. The docs say "The default value is the org.apache.catalina.ha.session.DeltaManager" and DeltaM

RE: debugging Servlets under Tomcat 5.5 on Windows XP

2007-01-11 Thread Heiko Petzsch
Hi Chuck, > Use the .zip download rather than the .exe; all files are in the .zip > version, but for whatever reason, several useful ones were left out of > the .exe. problem solved - thanks for the hint ! Heiko --- Heiko Petzsch GTS Systems & Consulting Email [EMAIL PROTECTED] --

RE: debugging Servlets under Tomcat 5.5 on Windows XP

2007-01-10 Thread Caldarale, Charles R
> From: Heiko Petzsch [mailto:[EMAIL PROTECTED] > Subject: debugging Servlets under Tomcat 5.5 on Windows XP > > - the FAQ "How do I debug a Tomcat application?" tells me to modify > 2 environment variables JPDA_ADDRESS and JPDA_TRANSPORT, > and then to start Tomcat via the catalina.bat script

RE: debugging tomcat with eclipse

2006-08-25 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-> >

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 n

Re: Debugging JSP's residing in Local VC folder

2006-06-07 Thread Tim Quinn
On 6/6/06, Tim Quinn <[EMAIL PROTECTED]> wrote: I am interested in Debugging JSPs that sitting in a version control folder in Perforce (or subversion) local repository. The current method requires manually moving the JSP's to the exploded webapp folder but this process of moving the files in and

Re: Debugging JSP's residing in Local VC folder

2006-06-06 Thread Mark Thomas
Tim Quinn wrote: > I am interested in Debugging JSPs that sitting in a version control folder > in Perforce (or subversion) local repository. The current method requires > manually moving the JSP's to the exploded webapp folder but this process of > moving the files in and out of local repository i

RE: Debugging Tomcat hangs

2005-10-18 Thread Robert Graf-Waczenski
: Tuesday, 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 du

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

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 (e

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 he

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 leadin

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 a