set struts.properties
struts.devMode = true then turn on debug for xml or console with http params
?debug=xml or ?debug=console to the URL
http://struts.apache.org/2.x/docs/debugging.html
Martin Gainty
__
Disclaimer and Confidentiality/Verzicht und
Bhaarat Sharma wrote:
Is there a way to debug jsp pages that have struts2 html tags??
Sure, most IDEs have JSP debuggers, there's the debug tag, etc. How best
to go about it probably depends on what the actual issue is.
Dave
-
is usually helpful (without being a real debugger).
Denis.
Bhaarat Sharma a écrit :
Is there a way to debug jsp pages that have struts2 html tags??
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additi
Seems like it should work the way you have it described. Perhaps show the
JSP syntax although is suspect its correct. Maybe also show the Bean and
action code for good measure.
Is days a reserved word in OGNL? I don't think so. Did you try to change
it to dayz and see if that works?
Secur
I use Eclipse and it does not validate for example OGNL.
Is there really no means to see the exception raised by JSP compiler?
kuvera
> Idea validates tag syntax, and I'm sure other IDEs have this
> functionality too.
>
> Oleg
--
Laszlo Borsos wrote:
When I have a syntax error in a tag, I get an "Unable to load class for
JSP" / ClassNotFoundException, as the JSP file does not get translated
and compiled. But Tomcat 6 logs don't show the original exception, that
would refer to the problem. How can it be logged?
Syntax er
MyEclipse has a huge selection of plugins, it is easy to config any
application server and use the breakpoint to debug, you can even debug open
source code if you download the source code. You need pay $50+ per year. I
think it worths it.
Regards
On 10/25/06, Ulrich Elsner <[EMAIL PROTECTED]> wr
On 10/25/06, Joe Yuen <[EMAIL PROTECTED]> wrote:
Can anyone tell me how to debug an application running under tomcat? Is there
any special setup I have to do in eclipse?
A popular method consists of using the sysdeo plugin for Eclipse
(http://www.sysdeo.com/eclipse/tomcatplugin). If you then
This should answer all your questions:
http://tomcat.apache.org/faq/development.html
Google is your friend, this is the first link for "tomcat eclipse
debugging" search.
-ed
On 10/24/06, Joe Yuen <[EMAIL PROTECTED]> wrote:
Can anyone tell me how to debug an application running under tomcat? I
I would look at implementing either commons-logging or Log4j for loggin using
socket/smtp/ftp protocols which is organised to categories
For more info take a look at
http://www.theserverside.com/discussions/thread.tss?thread_id=19402
Anyone else?
M-
This e-mail communication and any attachments m
Getting error when trying to debug a remote application as
Launching (error: Failed to connect to remote VM) and the details displayed
are
Failed to connect to remote VM
java.io.IOException: EOF encountered during handshake
org.eclipse.jdi.internal.connect.SocketTransportImpl.PerformHandshake(Sock
Laurie Harper wrote:
Bryon Lape wrote:
hm strange ... in this case I don't know what ot tell you ...
the file name should be struts.log
may be somebody who is more familiar with log4j should give you an idea
...
borislav
Let me do a search on the whole harddrive for that file name.
make
Hi Bryon,
I had used once log4j with Tomcat server.
You can give absolute path for log file in log4j.properties.. like
log4j.appender.struts.File=d:/MyApplicationLogs/struts.log
so atleast you don't need to find log file .
swapnil Patil
On 9/28/05, Borislav Sabev <[EMAIL PROTECTED]> wrote:
Bryon Lape wrote:
hm strange ... in this case I don't know what ot tell you ...
the file name should be struts.log
may be somebody who is more familiar with log4j should give you an idea
...
borislav
Let me do a search on the whole harddrive for that file name.
make sure your log4j.properties
Configuring a .File and giving it a name I've been able to find the log.
I can see it converting the parameter on and
converts it to a String. WHat I don't see is it reading it nor are there
any errors. I even put a value in of a file that does not exist and still
no error.
---
>>
> hm strange ... in this case I don't know what ot tell you ...
> the file name should be struts.log
> may be somebody who is more familiar with log4j should give you an idea
> ...
> borislav
Let me do a search on the whole harddrive for that file name.
---
Bryon Lape wrote:
just make a file search under the path where the server is installed
Please excuse my ignorance, but look for what? That is, what file name
should I expect to find? I did a search for *.log and *log* and didn't
find anything of use.
hm strange ... in this case I
> Bryon Lape wrote:
>
>>>Bryon Lape wrote:
>>>
>>>
>>>
>Bryon Lape wrote:
>
>
>
>
>
>>I am looking for good pointers on getting debug logging turned on in
>>Struts. I've added debug and detail params to my web.xml file, but I
>>get
>>nothing. Do I need log4
Dave Newton wrote:
Holy crap, edit your replies!
Dave
Sorry Dave, ussualy i do
Borislav
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Borislav Sabev wrote:
Bryon Lape wrote:
Bryon Lape wrote:
Bryon Lape wrote:
I am looking for good pointers on getting debug logging turned on in
Struts. I've added debug and detail params to my web.xml file,
but I
get
nothing. Do I need log4j? In the Struts Cookbook I've
Bryon Lape wrote:
Bryon Lape wrote:
Bryon Lape wrote:
I am looking for good pointers on getting debug logging turned on in
Struts. I've added debug and detail params to my web.xml file, but I
get
nothing. Do I need log4j? In the Struts Cookbook I've found some
things
on de
> Bryon Lape wrote:
>
>>>Bryon Lape wrote:
>>>
>>>
>>>
I am looking for good pointers on getting debug logging turned on in
Struts. I've added debug and detail params to my web.xml file, but I
get
nothing. Do I need log4j? In the Struts Cookbook I've found some
things
o
Bryon Lape wrote:
Bryon Lape wrote:
I am looking for good pointers on getting debug logging turned on in
Struts. I've added debug and detail params to my web.xml file, but I get
nothing. Do I need log4j? In the Struts Cookbook I've found some things
on debugging, but it seems very comp
> Bryon Lape wrote:
>
>>I am looking for good pointers on getting debug logging turned on in
>>Struts. I've added debug and detail params to my web.xml file, but I get
>>nothing. Do I need log4j? In the Struts Cookbook I've found some things
>>on debugging, but it seems very complex to configure
I am currently using IntelliJ 5.0 and I have tried numerous times to get
remote debugging for iPlanet working. So far, no dice.
> My suggestion is to use an IDE that has source level debugging
> (JDeveloper, Eclipse, NetBeans). If you start your appserver in
> debugging mode, you can connect remo
My suggestion is to use an IDE that has source level debugging
(JDeveloper, Eclipse, NetBeans). If you start your appserver in
debugging mode, you can connect remotely with your IDE and step through
the code and observe variable values.
-Richard
Bryon Lape wrote:
Bryon Lape wrote:
My
> Bryon Lape wrote:
>
>>My goodness, it is as long as I thought. I can at least cut and paste
>>this instead of doing all that typing.
>>
>>
>>
> is it so much?
>
>>Thanks. I'll let you know how it goes. I am running under iPlanet Web
>>Server 6.0 SP1, so things can goofy. It already will not f
An alternative is the following:
(1) Create the file commons-logging.properties and put it in
WEB-INF/classes with the following contents:
org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
(2) Create the file simplelog.properties and also place it in
WEB-INF/classes with t
Bryon Lape wrote:
My goodness, it is as long as I thought. I can at least cut and paste
this instead of doing all that typing.
that's why I pasted you lines from my log4j.proprties file and it's sure
they are correct
borislav
---
Bryon Lape wrote:
My goodness, it is as long as I thought. I can at least cut and paste
this instead of doing all that typing.
is it so much?
Thanks. I'll let you know how it goes. I am running under iPlanet Web
Server 6.0 SP1, so things can goofy. It already will not find the message
> I hope this could help you:
> 1. get log4j and put it together with other jars of your web project
> 2. create a log4j.properties file and put on the root of your web app.
> 3. add following lines in log4j.properties
>
>
> Borislav
My goodness, it is as long as I thought. I can at least cut and
Bryon Lape wrote:
I am looking for good pointers on getting debug logging turned on in
Struts. I've added debug and detail params to my web.xml file, but I get
nothing. Do I need log4j? In the Struts Cookbook I've found some things
on debugging, but it seems very complex to configure. Is thi
Thanks a lot. I had to add the source to the path.
Regards,
Jay
On 8/28/05, zheng chengbao <[EMAIL PROTECTED]> wrote:
>
> i'am using myeclipse,it is very easy to debug
>
> 2005/8/27, Jay Sheth <[EMAIL PROTECTED]>:
> >
> > HI,
> >
> > It would be great if you could give some hints on how to debu
i'am using myeclipse,it is very easy to debug
2005/8/27, Jay Sheth <[EMAIL PROTECTED]>:
>
> HI,
>
> It would be great if you could give some hints on how to debug tomcat
> with eclipse.
>
> I have tried the following:
>
> * Running tomcat with option jpda start and then running a remote java
I'm using Eclipse WTP version 0.7 very nice Eclipse project.
It can control a Tomcat Server and allow easy debugging
Martijn Smit wrote:
I'm running Tomcat within Eclipse with the Sysdeo plugin since the
dawn of time. As long as you handle your own context definitions (keep
a close watch on th
I'm running Tomcat within Eclipse with the Sysdeo plugin since the dawn
of time. As long as you handle your own context definitions (keep a
close watch on the occasional xml sysdeo generates) and define the
source directories within the Sysdeo general option, you can debug and
trace your source
e to look out for
in the logs.
Regards,
David
-Original Message-
From: Martin Seebach [mailto:[EMAIL PROTECTED]
Sent: Friday, March 25, 2005 2:49 PM
To: Struts Users Mailing List
Subject: Re: Debugging struts application
That looks really nice, thanks! But will that tell me why Tomcat sa
Martin Seebach wrote:
That looks really nice, thanks! But will that tell me why Tomcat says
that my action is unavailable?
Maybe. You could also try raising the log level to DEBUG temporarily.
I've found that when I get an error message like that it's usually
related to a class loading or casting
That looks really nice, thanks! But will that tell me why Tomcat says
that my action is unavailable?
Venlig hilsen
Martin Seebach
John Hyun wrote:
If you use eclipse you can get the tomcat-eclipse plugin and
this will let you debug your web application (including tomcat
and any supporting libr
If you use eclipse you can get the tomcat-eclipse plugin and
this will let you debug your web application (including tomcat
and any supporting libraries, i.e. struts). The plugin is at:
http://www.sysdeo.com/eclipse/tomcatPlugin.html
You will need to download the source code of struts and
Doh! I already use that and should have had the brains to tell you about it
when the thread started. :(
Regards,
David
-Original Message-
From: Yaroslav Novytskyy [mailto:[EMAIL PROTECTED]
Sent: Friday, November 12, 2004 4:20 AM
To: Struts Users Mailing List
Subject: Re: debugging with
lloch" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 11, 2004 6:40 PM
Subject: RE: debugging with Struts
I think it is actually the source path of the *debug* configuration you are
using.
I just spent a goo
rdy [mailto:[EMAIL PROTECTED]
> Sent: 11 November 2004 15:50
> To: Struts Users Mailing List
> Subject: Re: debugging with Struts
>
>
> On 11/11/2004 02:50 PM Yaroslav Novytskyy wrote:
> > Hi all!
> >
> > Can anyone say how setup debugging in Eclipse
On 11/11/2004 02:50 PM Yaroslav Novytskyy wrote:
Hi all!
Can anyone say how setup debugging in Eclipse 3.0.1 for
useing with Struts under Tomcat 5.
Thanks
Yaroslav Novytskyy
If you want to trace through the struts source code, you must link the
struts.jar to the src code directory in the project's
[EMAIL PROTECTED] wrote:
Hello friends,
could anyone explain how I can debugg a jsp file from a project in IDE
3.0.5?
You can debug JSP-files with Netbeans. It uses Tomcat as the web container.
--
Thorbjoern Ravn Andersen "...plus...Tubular Bells!"
--
In my opinion, it seems netbeans,and I am not familiar with it.
On Sun, 1 Aug 2004 02:32:05 +0800, Javen Fang <[EMAIL PROTECTED]> wrote:
> bersoy,
>
> Your IDe 3.0.5 refer to ??
>
> netbeans ? or eclipse ?
>
> if eclipse , lomboz plugin can suit your need, and it is free. lomboz
> is also step
bersoy,
Your IDe 3.0.5 refer to ??
netbeans ? or eclipse ?
if eclipse , lomboz plugin can suit your need, and it is free. lomboz
is also step throgh files generated by jsp.
On Fri, 30 Jul 2004 09:28:47 +0100, Robert Shields <[EMAIL PROTECTED]> wrote:
> Hi
>
> There are two plugins that I ha
Hi
There are two plugins that I have used. The first is called myeclipse:
http://www.myeclipseide.com
This is a commercial (but inexpensive) plugin that will allow you to step through JSP
files.
The second is the Tomcat plugin by Sysdeo:
http://www.sysdeo.com/eclipse/tomcatPlugin.html
This w
I will also love to know this answer
- regards
Raj
(+91-11-31261821)
-Original Message-
From: Research labs [mailto:[EMAIL PROTECTED]
Sent: Monday, July 26, 2004 9:44 AM
To: [EMAIL PROTECTED]
Subject: debugging prepared statements...view built SQl...Newbe?
Is there anything in Struts t
Thank for your very prompt response, I will
investigate MySQl db.
Ola.
--- Peng Tuck Kwok <[EMAIL PROTECTED]> wrote: > Nope,
don't think so.
> If you are preparing your own sql statements you can
> print them out
> through a logger (tedious I know but still
> workable).
> Some database drivers
Nope, don't think so.
If you are preparing your own sql statements you can print them out
through a logger (tedious I know but still workable).
Some database drivers do support jdbc logging, where statements
executed against the database will be logged to a text file. You'll
probably need to look
51 matches
Mail list logo