Re: debugging tomcat itself with netbeans

2005-07-14 Thread Geertjan Wielenga
Hi Herman, Did you get further with this? -- Geertjan Hernan Ochoa wrote: Hi all, I'm trying to debug tomcat itself v5.5.9 using netbeans 4.1 without much luck. I'm able to attach to a running instance of tomcat using JPDA, but then my breakpoints are activated erraticaly. Did someone try

Re: Debugging tomcat startup

2005-04-02 Thread Larry Meadors
Realm implementations should go into server/lib. On Apr 2, 2005 12:16 AM, Anto Paul [EMAIL PROTECTED] wrote: On Apr 2, 2005 1:27 AM, Sasha Borodin [EMAIL PROTECTED] wrote: What is the motive to place jars in server/lib. These jars are not visible to applications.

Re: Debugging tomcat startup

2005-04-02 Thread Larry Meadors
Hey Sasha, I have been wanting to do an iBATIS realm for a while. Glad to see I am not alone. ;-) You have a couple of options. I use IDEA, and run tomcat externally. When I want to debug startup code, I set JPDA_OPTS (in setenv.sh/bat) to this: JPDA_OPTS=-Xdebug

Re: Debugging tomcat startup

2005-04-01 Thread Anto Paul
On Apr 2, 2005 1:27 AM, Sasha Borodin [EMAIL PROTECTED] wrote: I'd like to solicit suggestions for debugging Tomcat startup - specifically various class initializations. I've written a custom Realm implementation; in it, I use some data access classes which use iBatis; these classes work

RE: Debugging missing web.xml on V5.5.4 -- Works for me

2004-12-15 Thread sven morales
Hi, I just downloaded Tomcat 5.5.4. binary and the compat file. I then deployed the tiles-documentation.war file by copying it over to jakarta-tomcat-5.5.4/webapps/ and set $CATALINA_HOME to /u02/tomcat5/jakarta-tomcat-5.5.4 where I have un-tar the tomcat 5.5.4 binary and compat. Then I

RE: Debugging missing web.xml on V5.5.4

2004-12-14 Thread alan . sinclair
all that works yet. -Original Message- From: Shapira, Yoav [EMAIL PROTECTED] Sent: Dec 14, 2004 5:48 AM To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: Debugging missing web.xml on V5.5.4 Hi, See the logging section of the Tomcat 5.5 docs for how to get

RE: Debugging missing web.xml on V5.5.4

2004-12-14 Thread Shapira, Yoav
Hi, See the logging section of the Tomcat 5.5 docs for how to get DEBUG information out of Tomcat. You can get *very* verbose details of what's going on. Does your WAR have a context XML file? Yoav Shapira http://www.yoavshapira.com -Original Message- From: [EMAIL PROTECTED]

Re: Debugging startup in 5.0.28 with eclipse 3.0/myeclipse

2004-10-19 Thread Dave Been
I use tomcat 4 (and 5 recently) in eclipse 2.1.3 and debug our servlet alot. If you are somehow using the wrong source code for what you are debugging your breakpoints may be not where you think they are in the code. might want to double check all this. Dave Been Benson Margulies [EMAIL

RE: Debugging startup in 5.0.28 with eclipse 3.0/myeclipse

2004-10-19 Thread Benson Margulies
In case it's helpful to anyone, I found the answer to this. Adding classes to the classpath in the Eclipse preferences leads to pretty serious confusion, not too surprisingly. If one pulls them into a jar and drops them into common/lib, all is well, including breakpoints. I wish I could find a

Re: Debugging Tomcat

2004-08-12 Thread QM
On Thu, Aug 12, 2004 at 08:58:21AM +0100, Allistair Crossley wrote: : 1) Everywhere in the documentation on Tomcat and in the comments for : server.xml, when the debug attribute is discussed, it will always say a : higher number means more output. I find this statement reasonably confusing. : It

RE: Debugging Tomcat

2004-08-12 Thread Shapira, Yoav
Hi, 1) Everywhere in the documentation on Tomcat and in the comments for server.xml, when the debug attribute is discussed, it will always say a higher number means more output. I find this statement reasonably confusing. It raises quite a lot of questions about what the maximum number is and

RE: Debugging Tomcat

2004-08-12 Thread Allistair Crossley
: QM [mailto:[EMAIL PROTECTED] Sent: 12 August 2004 13:26 To: Tomcat Users List Subject: Re: Debugging Tomcat On Thu, Aug 12, 2004 at 08:58:21AM +0100, Allistair Crossley wrote: : 1) Everywhere in the documentation on Tomcat and in the comments for : server.xml, when the debug attribute

RE: Debugging Tomcat

2004-08-12 Thread Allistair Crossley
List Subject: RE: Debugging Tomcat Hi, 1) Everywhere in the documentation on Tomcat and in the comments for server.xml, when the debug attribute is discussed, it will always say a higher number means more output. I find this statement reasonably confusing. It raises quite a lot

RE: Debugging Tomcat

2004-08-12 Thread Shapira, Yoav
Hi, Although why there is 2 of everything I have no idea. Additivity, you need to set it to false for org.apache.catalina. Do TC developers not have the logging switched on when developing? Some do, sometimes, is the only possible answer. I don't know how everyone else develops ;) I bet

RE: Debugging JSSE

2003-11-17 Thread Phillip Qin
Hi, I had removed myself from tomcat-user list so I have to email you personally. When you start tomcat, add an option to JAVA_OPT to enable jsse debugging. It is stated in j2sdk documentation under security then jsse. I used it months ago. But I removed it after my connections were tested OK. So

Re: Debugging JSSE

2003-11-11 Thread Bill Barker
To debug Tomcat, change the logging-level for 'org.apache.tomcat.util.net' to DEBUG. To debug JSSE, include the option '-Djavax.net.debug=ssl' on the command line. Michael Jeffrey Tucker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am still trying to figure out what is

RE: Debugging mode?

2003-09-08 Thread Shapira, Yoav
-Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Sunday, September 07, 2003 12:00 AM To: [EMAIL PROTECTED] Subject: Re: Debugging mode? Tim's comments are very good, and should be followed. However, this error is usually because you've b*rked up your web.xml file

Re: Debugging mode?

2003-09-06 Thread Tim Funk
In server.xml almost every declaration has a debug option. Change it to debug='99'. Do the same for you context declaration too. Other things use commons-logging. In that case, add log4j.jar to your common/lib dir and add a file called log4j.properties in your common/classes dir which looks

Re: Debugging mode?

2003-09-06 Thread Bill Barker
Tim's comments are very good, and should be followed. However, this error is usually because you've b*rked up your web.xml file, and the context isn't loading at all. Your log files should be a help in determining which element is out-of-order. Thomas Hehl [EMAIL PROTECTED] wrote in message

Re: Debugging outbound SSL communications?

2003-09-05 Thread Christopher Williams
You need to specify the keystore in conf\server.xml. I assume that you've set up the SSL connector. Do a search on the string keystoreFile and set the value to the correct keystore. - Original Message - From: Ert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 05, 2003

Re: Debugging The document contains no data error

2003-07-08 Thread Mark Riddoch
Try closing the writer out.close(); R.U. Spell wrote: I am having trouble with a servlet in Netscape v 4.76. I am running Red Hat Linux 7.2. Thus far I have had no luck in finding a solution in the archives or elsewhere. The servlet (code included below) calls another class that

Re: debugging tomcat/jvm crash

2003-03-09 Thread Cameron Hart
I ran Tomcat from the console, when the JVM crashed I got the following message: Another exception has been detected while we were handling last error. Dumping information about last error: ERROR REPORT FILE = (N/A) PC= 0x2BE5C46D SIGNAL= -1073741819

RE: debugging help

2003-01-31 Thread Barney Hamish
Try running tomcat as a service rather than from the command line directly that way all stdout should be redirected to your logs. Hamish -Original Message- From: Geoff Peters [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 2:52 PM To: [EMAIL PROTECTED] Subject: debugging

RE: debugging help

2003-01-31 Thread Turner, John
8:54 AM To: 'Tomcat Users List' Subject: RE: debugging help Try running tomcat as a service rather than from the command line directly that way all stdout should be redirected to your logs. Hamish -Original Message- From: Geoff Peters [mailto:[EMAIL PROTECTED]] Sent

RE: debugging help

2003-01-31 Thread Raible, Matt
Here's an Ant task that can be very helpful in these situations: target name=start.tomcat java classname=org.apache.catalina.startup.Bootstrap fork=yes jvmarg value=-Dcatalina.home=${tomcat.home}/ arg value=start/ classpath fileset

RE: debugging help

2003-01-31 Thread Geoff Peters
!! Thanks again guys, Geoff -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 9:58 AM To: 'Tomcat Users List' Subject: RE: debugging help Here's an Ant task that can be very helpful in these situations: target name=start.tomcat java

RE: debugging help

2003-01-31 Thread Robert Priest
window start -security Start in a separate window with security manager stop Stop Catalina -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 8:58 AM To: 'Tomcat Users List' Subject: RE: debugging help Here's an Ant task

RE: debugging help

2003-01-31 Thread Turner, John
Strange...stays open for me on Windows 2000 Pro. Oh well. John -Original Message- From: Geoff Peters [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 9:16 AM To: Tomcat Users List Subject: RE: debugging help YESSS!!! thanks Matt, that did exactly what I wanted

RE: debugging help

2003-01-31 Thread Raible, Matt
Good tip Robert (much easier). Thanks! -Original Message- From: Robert Priest [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 7:10 AM To: 'Tomcat Users List' Subject: RE: debugging help the following is the help from 4.1.6, but I believe it still stands, correct

Re: Debugging JSPs

2003-01-29 Thread Steven J. Owens
On Wed, Jan 29, 2003 at 11:24:30AM +0100, Ron van Pol wrote: I've asked some question before regarding remote debugging of JSPs with tomcat4. Since nobody has responded yet, I'll give it another try. Can anybody please tell me how they debug JSPs with tomcat4? With great care and

RE: Debugging JSPs using Tomcat 3.2.3 and NetBeans 3.3.2

2002-11-19 Thread Larry Isaacs
: Monday, November 18, 2002 12:59 PM To: 'Tomcat Users List' Subject: RE: Debugging JSPs using Tomcat 3.2.3 and NetBeans 3.3.2 Hi Larry: Thanks for that tip. Unfortunately, I'm still not able to set this working. It's strange because I can debug an ordinary servlet (e.g., one

RE: Debugging JSPs using Tomcat 3.2.3 and NetBeans 3.3.2

2002-11-18 Thread Bruce Dahms
line that creates the compiled servlet, but I don't know how to do that. Thanks in advance. Bruce -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Friday, November 15, 2002 07:11 To: Tomcat Users List Subject: RE: Debugging JSPs using Tomcat 3.2.3 and NetBeans

RE: Debugging JSPs using Tomcat 3.2.3 and NetBeans 3.3.2

2002-11-15 Thread Larry Isaacs
Reading of the conf/web.xml go turned off for Tomcat 3.2.x, though the file is still present. You should add the XML below to the WEB-INF/web.xml for the webapps you want to debug. Cheers, Larry -Original Message- From: Bruce Dahms [mailto:bdahms;netscape.net] Sent: Thursday,

Re: debugging servlets?

2002-10-24 Thread Cédric Viaud
, October 23, 2002 8:51 PM Subject: Re: debugging servlets? On Wed, 23 Oct 2002, Cédric Viaud wrote: Try using Eclipse with the Tomcat plug-in. You can run your web application and use the debugger at the same time. Very very convenient !!! http://eclipse.org/eclipse/faq/eclipse-faq.html

Re: debugging servlets?

2002-10-23 Thread Jacob Kjome
http://www.sysdeo.com/eclipse/tomcatPlugin.html Jake At 02:51 PM 10/23/2002 -0400, you wrote: On Wed, 23 Oct 2002, Cédric Viaud wrote: Try using Eclipse with the Tomcat plug-in. You can run your web application and use the debugger at the same time. Very very convenient !!!

Re: debugging servlets?

2002-10-23 Thread Cédric Viaud
Try using Eclipse with the Tomcat plug-in. You can run your web application and use the debugger at the same time. Very very convenient !!! Regards, Cédric - Original Message - From: Jiann-Ming Su [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 23, 2002 5:12 PM

Re: debugging servlets?

2002-10-23 Thread Jiann-Ming Su
On Wed, 23 Oct 2002, Cédric Viaud wrote: Try using Eclipse with the Tomcat plug-in. You can run your web application and use the debugger at the same time. Very very convenient !!! http://eclipse.org/eclipse/faq/eclipse-faq.html#misc_3 -- Jiann-Ming Su [EMAIL PROTECTED] 404-712-2603

Re: Debugging servlets !!!

2002-09-30 Thread Jeff Sykes
Try here. These are directions for JBuilder 4, but I have seen this work on 4, 5, 6 and 7, too. http://community.borland.com/article/0,1410,27759,00.html Mohan,Gautam wrote: Hi , normally if any java program has to be debugged we use options java -Xdebug -Xnoagent

Re: Debugging servlets !!!

2002-09-27 Thread Toni . Kielo
On 2002-09-27 Mohan,Gautam wrote: Hi ,    normally if any java program has to be debugged we use options java -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=,server=y,suspend=y HelloWorld and then if using JBuilder we can attach to the program at port and start

RE: Debugging servlets

2002-09-26 Thread gautam
Borland's JBuilder does a good job. Check it out. Regards, Satpathy -Original Message- From: Mohan,Gautam [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 1:39 PM To: [EMAIL PROTECTED] Subject: Debugging servlets Hi, I want to know is debugging servlets

RE: Debugging servlets

2002-09-26 Thread Collins, Jim
I use judicious use of log statements. -Original Message- From: gautam [mailto:[EMAIL PROTECTED]] Sent: 16 August 2002 09:24 To: Tomcat Users List Subject: RE: Debugging servlets Borland's JBuilder does a good job. Check it out. Regards, Satpathy -Original Message

Re: Debugging servlets

2002-09-26 Thread Ben Walding
It sure is... If you're using Eclipse as your development environment, check out the TomCat debug plugin http://www.sysdeo.com/eclipse/tomcatPlugin.html Mohan,Gautam wrote: Hi, I want to know is debugging servlets possible in Tomcat(version 4) . If yes then how to go about it.

RE: Debugging servlets

2002-09-26 Thread Barney Hamish
Have a look at log4j -Original Message- From: Mohan,Gautam [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 10:09 AM To: [EMAIL PROTECTED] Subject: Debugging servlets Hi, I want to know is debugging servlets possible in Tomcat(version 4) . If yes then how to go

Re: Debugging servlets

2002-09-26 Thread Raphael Posmyk
gautam schrieb: I want to know is debugging servlets possible in Tomcat(version 4) . If yes then how to go about it. Just user remote debuging with JPDA. Ciao, Raphael -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Debugging class loading

2002-09-10 Thread Cox, Charlie
before you go hacking with your own classloader, have you reviewed the classloader doc? What kind of problems are you having? Only classes in each web application are loaded by the web app's classloader. If you have classes in \common\lib or \tomcat\lib, they are loaded by StandardClassLoader.

RE: Debugging class loading

2002-09-10 Thread Michael Petres
~ InnovObjX Corp. Web: www.innovobjx.com Tel: 905-729-2235 x3 Fax: 905-729-2235 ~ -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 7:49 AM To: 'Tomcat Users List' Subject: RE: Debugging class loading before you

RE: Debugging class loading

2002-09-10 Thread Cox, Charlie
. Charlie -Original Message- From: Michael Petres [mailto:[EMAIL PROTECTED]] Sent: Monday, September 10, 2001 9:07 AM To: Tomcat Users List Subject: RE: Debugging class loading We have a shrink-wrapped product. Many of our support calls have to deal with classloader issues

RE: Debugging class loading

2002-09-10 Thread Michael Petres
~ -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 9:37 AM To: 'Tomcat Users List' Subject: RE: Debugging class loading What I was getting at is that the WebApp Classloader(or your custom cl) does not load all the classes used by tomcat. Therefore, you

RE: Debugging class loading

2002-09-10 Thread Cox, Charlie
-Original Message- From: Michael Petres [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 12:50 PM To: Tomcat Users List Subject: RE: Debugging class loading On the first count... how doe I configure the context to load my own webapp class loader? Is there some

RE: Debugging class loading

2002-09-10 Thread Michael Petres
PROTECTED]] Sent: Tuesday, September 10, 2002 1:20 PM To: 'Tomcat Users List' Subject: RE: Debugging class loading -Original Message- From: Michael Petres [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 12:50 PM To: Tomcat Users List Subject: RE: Debugging class loading

Re: Debugging Servlets

2002-07-12 Thread Jacob Kjome
I use bugseeker 1.0.2 for Java2: http://www.karmira.com/products/bugseeker2/ I created a new environment variable: JPDA_FLAGS = -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 Then I created a Tomcat Service which I use exclusively for

Re: Debugging

2002-06-13 Thread Larry Meadors
if u have some fancy IDE... What!?! No, no, no. Go to www.netbeans.org, and download netbeans. It is free, has an excellent JPDA debugger, is free, works great with cvs, is free, has some really excellent (free) plugins (xml editing, database explorer, junit integration, etc...), and it is

RE: Debugging

2002-06-13 Thread Trenton D. Adams
It's not free by any chance is it? -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED]] Sent: June 13, 2002 6:45 AM To: [EMAIL PROTECTED] Subject: Re: Debugging if u have some fancy IDE... What!?! No, no, no. Go to www.netbeans.org, and download netbeans. It is free

RE: Debugging

2002-06-13 Thread Mike Jackson
yes it's free. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Trenton D. Adams [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 9:14 AM To: 'Tomcat Users List' Subject: RE: Debugging It's not free by any chance is it? -Original Message

RE: Debugging

2002-06-13 Thread Trenton D. Adams
No way, that's just too cool. LOL Ok, I'm done with the sillyness now. Enough spamming from me. -Original Message- From: Mike Jackson [mailto:[EMAIL PROTECTED]] Sent: June 13, 2002 10:32 AM To: Tomcat Users List Subject: RE: Debugging yes it's free. --mikej -=- mike jackson

Re: Debugging

2002-06-13 Thread Rick R
--- Ravishankar S [EMAIL PROTECTED] wrote: yes..i have also used Forte for Java Comm edition...v2 is ok...v 3 is a little too heavyhangs a lot...anyway with win98 it's like asking a horse to tow a battletank:-))) on linux it's a totally different story which i don't want to

Re: Debugging

2002-06-12 Thread Jeff Larsen
I develop with JBuilder 4 Pro which has support for Tomcat 3, but not Tomcat 4. So I did a little digging and discovered the class org.apache.catalina.startup.Embedded. Download the source and look at the main() method in this class. It will show you how to use the Embedded class to run Tomcat

Re: Debugging

2002-06-12 Thread Larry Meadors
If your IDE has a JPDA debugger, you can use that. Search the archives for CATALINA_OPTS and you should find more info on this... Larry [EMAIL PROTECTED] 06/12/02 11:10 AM Where could I get information on debugging a web application under tomcat? Is there a way of doing it or do you have to

RE: Debugging

2002-06-12 Thread Trenton D. Adams
Nope, I didn't. It returns 0 results. -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED]] Sent: June 12, 2002 11:55 AM To: [EMAIL PROTECTED] Subject: Re: Debugging If your IDE has a JPDA debugger, you can use that. Search the archives for CATALINA_OPTS and you should

RE: Debugging

2002-06-12 Thread Larry Meadors
Sorry, my bad, that was the struts-user list. BTW, that is another good place to search - there are some smart guys on that one...not that there are dumb guys on this one, but...just a minute, let me get my foot out of my mouth. ;-) Anyway, here are some instructions for using netbeans from

Re: Debugging

2002-06-12 Thread RNivas
usually I do work to get the out put on tomcat console(some time) most of the instances I take output on browser screen. Wishes - Original Message - From: Trenton D. Adams [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, June 12, 2002 10:42 PM Subject:

RE: Debugging

2002-06-12 Thread Chakradhar Tallam
u could use logging applications like log4j or use in-built logging facility that comes with jdk1.4 CT. -Original Message- From: RNivas [mailto:[EMAIL PROTECTED]] Sent: Monday, 24 June 2002 3:00 PM To: Tomcat Users List Subject: Re: Debugging usually I do work to get the out put

Re: Debugging

2002-06-12 Thread Nikola Milutinovic
Nope, I didn't. It returns 0 results. Take a look at startup scripts, then. You'll find that you can set JPDA_TRANSPORT and JPDA_ADDRESS (this is in Tomcat 4.1.2 beta) and run the catalina.sh with option jpda, instead of start. Nix.

RE: Debugging

2002-06-12 Thread Trenton D. Adams
PROTECTED]] Sent: June 23, 2002 11:00 PM To: Tomcat Users List Subject: Re: Debugging usually I do work to get the out put on tomcat console(some time) most of the instances I take output on browser screen. Wishes - Original Message - From: Trenton D. Adams [EMAIL PROTECTED] To: 'Tomcat

Re: Debugging

2002-06-12 Thread Ravishankar S
PROTECTED] Sent: Monday, June 24, 2002 10:29 AM Subject: Re: Debugging usually I do work to get the out put on tomcat console(some time) most of the instances I take output on browser screen. Wishes - Original Message - From: Trenton D. Adams [EMAIL PROTECTED] To: 'Tomcat Users List

RE: Debugging

2002-06-12 Thread Trenton D. Adams
Actually, Forte and netbeans are both free. Forte and netbeans can debug at runtime. You can set break points and everything. -Original Message- From: Ravishankar S [mailto:[EMAIL PROTECTED]] Sent: June 12, 2002 11:18 PM To: Tomcat Users List Subject: Re: Debugging hi trenton, if u

Re: Debugging

2002-06-12 Thread Ravishankar S
D. Adams [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, June 13, 2002 10:55 AM Subject: RE: Debugging Actually, Forte and netbeans are both free. Forte and netbeans can debug at runtime. You can set break points and everything. -Original Message- From

RE: Debugging the servlet

2002-04-04 Thread Juliet
Thank you so much for the information. I will try that. Thanks again, Juliet -Original Message- From: Valera Molyakov [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 2:46 PM To: Tomcat Users List Subject: Re: Debugging the servlet Hi! You can use IDE that allow local

Re: Debugging the servlet

2002-04-04 Thread Nikola Milutinovic
Valera Molyakov wrote: Hi! You can use IDE that allow local and remote debug( for example Intel JIDEA or JBuilder). Just how exactly? You start Tomcat in JPDA mode, connect to the server and how do you set a break point? I remember some article on debugging servlets that sait to import

Re: Debugging the servlet

2002-04-03 Thread Valera Molyakov
Hi! You can use IDE that allow local and remote debug( for example Intel JIDEA or JBuilder). - Original Message - From: Juliet [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, April 04, 2002 3:39 AM Subject: Debugging the servlet Hello everyone, I'm new to

RE: Debugging JSPs and Servlets

2002-02-27 Thread Wagoner, Mark
Take a look at Log4j http://jakarta.apache.org/log4j/docs/index.html It has been the greatest debugging tool I have found. -Original Message- From: Nitin Vira [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 12:47 PM To: Tomcat Users List Subject: Debugging JSPs and

Re: Debugging JSPs and Servlets

2002-02-27 Thread Sriram Narayanan
2/27/02 11:17:26 PM, Nitin Vira [EMAIL PROTECTED] wrote: Hello, I am trying to create an environment that will assist in debugging jsps, i think one of the basic ways to do debugging is through logging, I want to log various request coming in along with the request parameters, i checked the

Re: Debugging JSPs and Servlets

2002-02-27 Thread Craig R. McClanahan
On Wed, 27 Feb 2002, Nitin Vira wrote: Date: Wed, 27 Feb 2002 09:47:26 -0800 From: Nitin Vira [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Debugging JSPs and Servlets Hello, I am trying to create an environment that

Re: Debugging JSPs and Servlets

2002-02-27 Thread August Detlefsen
For the quick and dirty approach, you can put System.out.println() statements in your code and find the output in: TOMCAT_HOME/logs/catalina.out --- Sriram Narayanan [EMAIL PROTECTED] wrote: 2/27/02 11:17:26 PM, Nitin Vira [EMAIL PROTECTED] wrote: Hello, I am trying to create an

RE: Debugging in Tomcat 4

2001-10-23 Thread Donie Kelly
: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: 20 October 2001 19:42 To: [EMAIL PROTECTED] Subject:Re: Debugging in Tomcat 4 On 20 Oct 2001, Dr. Evil wrote: Date: 20 Oct 2001 04:58:07 - From: Dr. Evil [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL

RE: Debugging in Tomcat 4

2001-10-22 Thread Donie Kelly
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: 20 October 2001 19:42 To: [EMAIL PROTECTED] Subject: Re: Debugging in Tomcat 4 On 20 Oct 2001, Dr. Evil wrote: Date: 20 Oct 2001 04:58:07 - From: Dr. Evil [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED

Re: Logging solution is complicated (was Re: Debugging in Tomcat 4)

2001-10-22 Thread Micael Padraig Og mac Grene
PROTECTED] [EMAIL PROTECTED] Date: Saturday, October 20, 2001 4:14 AM Subject: Logging solution is complicated (was Re: Debugging in Tomcat 4) Ok, I figured out how to get log4j to work with Tomcat in a reasonable, although complicated, way: Download the log4j files, and copy the .jar files

Re: Logging solution is complicated (was Re: Debugging in Tomcat 4)

2001-10-22 Thread Dr. Evil
Jeesch, Dr. Evil, I gave you a logger that does fancier logging and has no setup. You didn't like it? It also has simpler code in the class. And, it does automatic type identification on the fly. Whatchawant? ;-) Sorry, Marcel, I couldn't figure it out. I was extremeley extremely

Re: Logging solution is complicated (was Re: Debugging in Tomcat 4)

2001-10-22 Thread Micael Padraig Og mac Grene
Cool. Glad you are doing well. -Original Message- From: Dr. Evil [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Monday, October 22, 2001 8:48 PM Subject: Re: Logging solution is complicated (was Re: Debugging in Tomcat 4) Jeesch, Dr. Evil, I gave you a logger

Re: Debugging in Tomcat 4

2001-10-20 Thread Sriram Narayanan
Hi, I use Visual Age for Java . When I need to debug Tomcat stuff, I load Tomcat through VA, and then set break points. And I I configure Visual Age appropriately, I cen even go into the Tomcat implementation... However, I test all my stuff on Tomcat/Sun JRE. That's because code that works

Re: Debugging in Tomcat 4

2001-10-20 Thread Dr. Evil
I use Visual Age for Java . I should look into that but I can't afford to buy stuff like that right now. This whole situation is aweful. I looked into log4j, and it looks like it has tons of features, except it doesn't have the one feature which I really want, which is being able to log a

Re: Debugging in Tomcat 4

2001-10-20 Thread Sriram Narayanan
20/10/2001 3:15:02 PM, Dr. Evil [EMAIL PROTECTED] wrote: I use Visual Age for Java . I should look into that but I can't afford to buy stuff like that right now. You could take a look at it in the long run. IBM gives away VA 4.0 Entry Enterprise for free. You could download VA from their

Re: Debugging in Tomcat 4

2001-10-20 Thread Kamil Kukura
I found JSP debugger on this site: http://www.day.com/devnet It works, though it requires Tomcat to run in JPDA mode. The only problem is that I wait long long time until tomcat (ver 4) boots up in this mode. -- Kamil

Re: Debugging in Tomcat 4

2001-10-20 Thread Dr. Evil
Well, have you checked the log files ? Yes, they work great, except they only exist if I import the various Tomcat packages. Unfortunately most of the work is being done in classes which don't import the Tomcat stuff, so basically I have these large-ish class files which I can't debug and

Logging solution is complicated (was Re: Debugging in Tomcat 4)

2001-10-20 Thread Dr. Evil
Ok, I figured out how to get log4j to work with Tomcat in a reasonable, although complicated, way: Download the log4j files, and copy the .jar files into TOMCAT_HOME/libs, otherwise servlets can't find them. First, compile a servlet called startlogging.java, in the classes directory:

Re: Debugging in Tomcat 4

2001-10-20 Thread Craig R. McClanahan
On 20 Oct 2001, Dr. Evil wrote: Date: 20 Oct 2001 04:58:07 - From: Dr. Evil [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Debugging in Tomcat 4 This is very painful. The log() facility is great... in classes which have the appropriate servlet

Re: Debugging in Tomcat 4

2001-10-19 Thread Micael Padraig Og mac Grene
Why don't you build a logger? That is simple to do and can give you whatever you want. Every coder should have a few in his or her toolkit anyway. If you don't want to build one, there are oodles on the market and laying around for free. Don't know what kind of code you are writing, but it

Re: Debugging JSP via JDWP

2001-09-04 Thread Craig R. McClanahan
On Tue, 4 Sep 2001, Andreas Ronge wrote: Date: Tue, 4 Sep 2001 17:03:38 +0200 From: Andreas Ronge [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Debugging JSP via JDWP Hi I have been trying for a few days now to debug JSP pages via the JDWP protocol

RE: debugging servlets

2001-04-04 Thread Benoît Jacquemont
You have to use the -Djava.compiler=NONE command line option in your java command line in the tomcat.bat/tomcat.sh Benot -Message d'origine- De : Christoph Kukulies [mailto:[EMAIL PROTECTED]] Envoy : mercredi 4 avril 2001 17:38 : [EMAIL PROTECTED] Objet : debugging servlets

RE: debugging servlets

2001-04-04 Thread William Kaufman
There's no magic: you need to re-compile your classes with the "-debug" flag on. -- Bill K. -Original Message- From: Christoph Kukulies [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 04, 2001 8:38 AM To: [EMAIL

RE: debugging servlets

2001-04-04 Thread Duck-Jin Chun
I also find that defining an evironment var works too. For windows try: set JAVA_COMPILER=NONE -Original Message- From: Benot Jacquemont [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 04, 2001 11:42 AM To: [EMAIL PROTECTED] Subject: RE: debugging servlets You have to use