On Mon, 9 Feb 2004, Ramadoss Chinnakuzhandai wrote:
Hi,
I'm debugging Java code using JBoss IDE installed with Eclipse 2.1 and I
found I could not debug JSP using the same IDEthen I installed MyEclipse to
debug JSP and tested working fine with JSP when I come to debug Java
James Mitchell wrote:
- if you rely on JSP debugging, chances are good that you have WAY too
much logic in your pages. Consider following an MVC approach.
+1
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich
Sent: Monday, February 09, 2004 12:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [OT] Re: Debugging JSP
James Mitchell wrote:
- if you rely on JSP debugging, chances are good that you have WAY too
much logic in your pages. Consider
In my experience, if your jsp is so complicated you need a debugger, you
should write java classes and/or tags and debug them using junit/httpunit
and logging.
Edgar
-Original Message-
From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 10:10 AM
: jmitchtx
MSN: [EMAIL PROTECTED]
- Original Message -
From: James Mitchell [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, January 23, 2004 9:39 AM
Subject: Re: Debugging in JBoss 3.2.3
I'll see if I can put together something this weekend like this:
http
Can u drop more light on itit would be helpful for guy like me whoz new to JBoss
Tnx in advance.
-R
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 3:27 PM
To: Struts Users Mailing List
Subject: Re: Debugging in JBoss 3.2.3
Yes
: Ramadoss Chinnakuzhandai [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, January 23, 2004 9:24 AM
Subject: RE: Debugging in JBoss 3.2.3
Can u drop more light on itit would be helpful for guy like me whoz new
to JBoss
Tnx in advance.
-R
-Original Message
that would great.
Tnx for your help.
-Ramadoss
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 9:40 AM
To: Struts Users Mailing List
Subject: Re: Debugging in JBoss 3.2.3
I'll see if I can put together something this weekend like
Do we hv to redeploy the ear file whenever we make changes to the jsps(war)? since
Tomcat is running under JBoss 3.2.3.
-R
-Original Message-
From: Pascal THIVENT [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 3:49 PM
To: Struts Users Mailing List
Subject: Re: Debugging
Yes,
1. Setup JBoss for remote debugging.
(specifically, you need to add a line
to the .bat/.sh startup script)
2. Setup your .war expanded
(for example, the directory in the
deploy directory is named 'myapp.war')
3. Startup JBoss/Tomcat and use remote debugging
in
The newest release works on M6. (3.7RC2, I believe) I havent had any
trouble using it.
-tim
Now, if only MyEclipse worked on 3.0 M6...hm
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
shameless plug
Exadel Struts Studio 5.2 (http://www.exadel.com) supports one-click null-deployment
debugging for JBoss 3.2.X.
/shameless plug
Valeriy
- Original Message -
From: Ramadoss Chinnakuzhandai [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 12:07 PM
JBoss-IDE brings you very good integration with Eclipse. From the homepage :
JBoss-IDE provides the following features :
* The debugging and monitoring of JBoss servers and the control of their
life cycle (start/stop).
* A very comfortable and sophisticated support for XDoclet
Setting a ping command should help.
Kruse, Matt wrote:
I'm using BasicDataSource, connecting to a Sybase11 server. It seems that
every night, all idle connections are closed by the server (no app
activity), but for some reason that's not detected by the connection pool.
Our app hangs while trying
:
Subject: RE: debugging in struts
06/12/2003 06:26
hi,
u have two init params(debug detail) defined in the web.xml
which defines the debug and detail level of logging.
these logs the file using log4j configuration
i am not sure , if ur kind of detailed errors come here, try out by
giving a high
U can specify debug attribute in your web.xml as a init param to the ActionServlet.
but i don;t how far it will work out..
if u could give the correct context then i can suggest some thing.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003
Hi ashwin ,
Even I was looking for somethign like this,
I wanted to check internal working of struts
I have configured log4j with a configuration file and init
servlet and I shoould tell you outcome
was very good,,
I get to see every thing srtuts does in my server console.
download log4j and
add this line to your log4j.properties file
log4j.logger.org.apache.commons.beanutils=DEBUG
-D
- Original Message -
From: Nathan Coast [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, June 09, 2003 6:41 PM
Subject: debugging bean populate
Hi,
I'm
, November 11, 2002 11:18 PM
Subject: RE: Debugging Http Request Response
What are people using to debug, http-session, request and
response objects.
Is it a case or role your own ?
Depends on what you mean by debug. I use Cactus unit tests to make sure my
components (serlvets, custom tags
You could certainly write one :-) However I'm not aware of an existing
one. I use netbeans. It lets you see all the information - just may
have to open up the object graph.
Mark Ayad wrote:
By debu I mean visualising request and session attributes.
I would like a tag like html:debug/ that
Subject: Re: Debugging Http Request Response
You could certainly write one :-) However I'm not aware of an existing
one. I use netbeans. It lets you see all the information - just may
have to open up the object graph.
Mark Ayad wrote:
By debu I mean visualising request and session attributes
That's one option - yes. You also have the option of doing a
remote-attach so you can hook-up to a running server external of your
IDE. I typically do the in-IDE gig though.
Mark Ayad wrote:
Eddie,
So your struts-project would be running inside the netbeans IDE ? So this
method would be
is a dream.
Mark
- Original Message -
From: Eddie Bush [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, November 12, 2002 12:42 AM
Subject: Re: Debugging Http Request Response
That's one option - yes. You also have the option of doing a
remote-attach so you
respond to Struts Users Mailing List
[EMAIL PROTECTED]
To:Struts Users Mailing List [EMAIL PROTECTED]
cc: (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:Re: Debugging Http Request Response
Ahh I guess plugging into an external server works like JProbe.
First I'm seeing what I
Yes - Now I remember reading the same argument in a book on XP programming !
Thanks Kevin pointing this out.
- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, November 12, 2002 12:12 AM
Subject: Re: Debugging Http Request Response
| Can we Debug JSP's in Struts(running in Tomcat) using any of the IDE's in
| the market.
Oracle9i JDeveloper supports quick, no-deploy-required running
and debugging on its embedded Oracle9iAS J2EE container, or
can do remote debugging of any Java code, including Tomcat.
While debugging on
Muench [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 08, 2002 9:47 AM
To: Struts Users Mailing List
Subject: Re: Debugging JSP's in Struts.
| Can we Debug JSP's in Struts(running in Tomcat) using any of the IDE's
in
| the market.
Oracle9i JDeveloper supports quick, no-deploy-required running
]
Sent: Saturday, June 08, 2002 11:02 PM
Subject: RE: Debugging JSP's in Struts.
|
| i am fan a of JDeveloper myself(also because oracle has free version).
|
| Actually, i tried running the embedded container but could not get
| debugging Struts JSP's.
| Can we debug Struts JSP's
This article describes it.
http://developer.java.sun.com/developer/qow/archive/88/
Thanks
Norman
- Original Message -
From: VEDRE, RANAPRATAP REDDY [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 07, 2002 03:01 PM
Subject: Debugging JSP's in Struts.
Can we Debug JSP's
I for myself start tomcat independent from Netbeans in debugmode
under Windows you have to set this environment
set TOMCAT_OPTS=-classic -Xdebug -Xbootclasspath/p:c:\jdk1.3.1\lib\tools.jar
Then I connect from netbeans to tomcat via: debug-attach
JDK1.1 implementation
And now you could debug
If you use the JPDA debugger, you can use any version of tomcat *on any
machine* with the NB debugger.
Mount all the jars in the $CATALINA_HOME/common/lib directory.
Mount all the jars in then your-context/WEB-INF/lib directory.
Mount the your-context/WEB-INF/classes directory.
Next, set an
-Original Message-
From: Gerald Hanks [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 9:32 AM
To: [EMAIL PROTECTED]
Subject: Debugging
Is there anyway to output simple debugging info to a console or
something? I need something that is consistant between my struts
Is there anyway to output simple debugging info to a console or
something? I need something that is consistant between my struts
components and the beans and stuff that contain all of my business
logic.
I'll probably get yelled at for this, but I just use
System.err.println() and it works
On Tue, 10 Apr 2001, Will Spies/Towers Perrin wrote:
I actually found a good solution to this. Looking at the taglib code I
found this code all over the place when they throw exceptions:
pageContext.setAttribute(Action.EXCEPTION_KEY, e,
PageContext.REQUEST_SCOPE);
I've just
It appears that SP9 for WebLogic5.1 (recently released) fixes this problem.
The informative exception is now reported!
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 10:33 PM
To: [EMAIL PROTECTED]
Subject: Re: Debugging struts
this.
Will
To: [EMAIL PROTECTED]
"Craig R.cc: (bcc: Will Spies/Towers Perrin)
McClanahan" Subject: Re: Debugging struts
01 7:33 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Debugging struts exceptions
I actually found a good solution to this. Looking at the taglib code I
found this code all over the place when they throw exceptions:
pageContext.setAttribute(Action.EXCEPTION_KEY, e,
PageContext.REQ
mean by "declare an error page"? Is this a JSP that is
specified as a global forward in struts-config.xml or a servlet param in
web.xml?
thanks,
Bob
-Original Message-
From: Will Spies/Towers Perrin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 7:33 AM
To: [EMAIL PROTECTED]
Cc:
Got it! Thanks for the details...
-Original Message-
From: Will Spies/Towers Perrin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 10:17 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Debugging struts exceptions
I mean in all your JSPs use the following tag
On Wed, 4 Apr 2001, Will Spies/Towers Perrin wrote:
I didn't get any response so I'm going to try again. Here is another
exception:
Wed Apr 04 10:53:26 EDT 2001:E WebAppServletContext-tpsampleapp Root
cause of ServletException
javax.servlet.ServletException: runtime failure in
ers Perrin)
pludwig@silversSubject: RE: Debugging struts
exceptions
in the error so you can jump right to the
section of JSP that caused the error.
-Original Message-
From: Will Spies/Towers Perrin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 3:20 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Debugging struts exceptions
I think
al Message-
From: Will Spies/Towers Perrin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 3:47 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Debugging struts exceptions
Yes, I've seen that too. Some errors do have more information appearing in
the log. Many are like the
lto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 3:47 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Debugging struts exceptions
Yes, I've seen that too. Some errors do have more information
appearing in
the log. Many are like the one below though with nothing. Sending t
)
elheim.comSubject: RE: Debugging
struts exceptions
04/04/01 04:04 PM
I have done it for a nightly build (struts 1.0).
To debug within the struts classes you must include the struts src code and jar
file. The src code is from the dist/struts/src/share directory if you download
the nightly src distribution. I had problems if I had more than one web
application
47 matches
Mail list logo