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
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.
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
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
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
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
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]
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
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
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
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
: 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
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
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
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
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
-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
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
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
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
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
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
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
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
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
!!
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
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
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
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
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
: 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
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
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,
, 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
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 !!!
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
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
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
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
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
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
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.
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
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]
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.
~
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
.
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
~
-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
-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
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
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
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
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
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
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
--- 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
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
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
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
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
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:
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
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.
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
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
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
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
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
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
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
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
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
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
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
: 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
-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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
91 matches
Mail list logo