RE: Questions about debug and info messages

2004-03-23 Thread Van Riper, Mike
Eric,

If you are using log4j, then you can configure it with a properties file. As
an example (minus some of my project specific settings), here is a simple
log4j configuration file that establishes a rolling log file. Notice near
the bottom where I set the struts and commons packages to the WARN log
level. This suppresses the INFO and DEBUG log messages for these packages.

# Usage: Specifies the configuration properties for log4j.
#
# Notes: This properties file should be placed somewhere
#inside the WEB-INF/classes directory.

# Create two appenders, one called stdout and the other called rolling
log4j.rootLogger=WARN, stdout, rolling

# Configure the stdout appender to go to the Console
log4j.appender.stdout=org.apache.log4j.ConsoleAppender

#  Configure the stdout appender to use the PatternLayout
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

# Pattern to output the caller's file name and line number.
log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n

# Configure the rolling appender to be a RollingFileAppender
log4j.appender.rolling=org.apache.log4j.RollingFileAppender

# Configure the name of the logout for the rolling appender
# For Tomcat:
# log4j.appender.rolling.File=../logs/app-rolling.log
# For Weblogic:
log4j.appender.rolling.File=/logs/app-rolling.log

# Set up the maximum size of the rolling log file
log4j.appender.rolling.MaxFileSize=5120KB

# Keep two backup files of the rolling appender
log4j.appender.rolling.MaxBackupIndex=2

# Configure the Layout pattern and conversion pattern for the rolling
appender
log4j.appender.rolling.layout=org.apache.log4j.PatternLayout
log4j.appender.rolling.layout.ConversionPattern=%d{ISO8601} - %p %c - %m%n

# Set Struts/Commons log level
log4j.logger.org.apache.struts=WARN
log4j.logger.org.apache.commons=WARN

---

Of course, you have to configure your installation to read the properties
file. The simplest way is to include it inside the war at the root of your
class package structure where it gets picked up by default. However, you can
explicitly point to a properties file outside the war using command line
arguments to the JVM startup command for your servlet container. This is how
we have it setup for our production webapps so that we can reconfigure the
logging options without having to redeploy the war file again. See the log4j
docs for more information:

http://tinyurl.com/3hlrq

Hope this helps, Van

Mike "Van" Riper
Silicon Valley Struts User Group
http://www.baychi.org/bof/struts/

> -Original Message-
> From: Eric Hodges [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 23, 2004 12:28 PM
> To: Struts Users Mailing List
> Subject: RE: Questions about debug and info messages
> 
> 
> Thanks for the advice, but I'm using log4j.  The API doc you 
> to which you
> linked doesn't offer much help.  I hacked a solution by 
> setting the message
> level on the struts logger to "warning" in one of my 
> servlet's init method,
> but surely there's a configuration setting (like a parameter 
> to the Action
> servlet?) that will set the message level.
> 
> 
> 
> -Original Message-
> From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 23, 2004 8:21 AM
> To: Struts Users Mailing List
> Subject: RE: Questions about debug and info messages
> 
> 
> 
> 
> If you are using  JDK 1.4 and not using log4j, then look in
> JAVA_HOME/jre/lib for a file called logging.properties. Set 
> the .level to
> OFF. The levels in descending order are: SEVERE (highest 
> value) WARNING INFO
> CONFIG FINE FINER FINEST (lowest value) In addition there is 
> a level OFF
> that can be used to turn off logging, and a level ALL that 
> can be used to
> enable logging of all messages.
> 
> I haven't used log4j. Here is the struts docs:
> 
> http://jakarta.apache.org/commons/logging/api/org/apache/commo
> ns/logging/pac
> kage-summary.html#package_description
> 
> 
> 
> Thanks
>  
> -- pady
> [EMAIL PROTECTED]
>  
> 
> -Original Message-
> From: Eric Hodges [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 23, 2004 10:36 AM
> To: Struts Users Mailing List (E-mail)
> Subject: Questions about debug and info messages
> 
> We have a torrent of debug and info messages coming out of 
> struts.  I can't
> find any documentation about how to turn them off.  Two questions:
> 
> 1. How do I turn off debug and info level messages?
> 2. Where is that documented?
> 
> Thanks,
> Eric Hodges

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Questions about debug and info messages

2004-03-23 Thread Pady Srinivasan

I assume you tried setting log4j.rootCategory as one of  DEBUG, ERROR, INFO,
WARN, FATAL  in log4j.properties file.


Thanks
 
-- pady
[EMAIL PROTECTED]
 

-Original Message-
From: Eric Hodges [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 23, 2004 3:28 PM
To: Struts Users Mailing List
Subject: RE: Questions about debug and info messages

Thanks for the advice, but I'm using log4j.  The API doc you to which you
linked doesn't offer much help.  I hacked a solution by setting the message
level on the struts logger to "warning" in one of my servlet's init method,
but surely there's a configuration setting (like a parameter to the Action
servlet?) that will set the message level.



-Original Message-
From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 8:21 AM
To: Struts Users Mailing List
Subject: RE: Questions about debug and info messages




If you are using  JDK 1.4 and not using log4j, then look in
JAVA_HOME/jre/lib for a file called logging.properties. Set the .level to
OFF. The levels in descending order are: SEVERE (highest value) WARNING INFO
CONFIG FINE FINER FINEST (lowest value) In addition there is a level OFF
that can be used to turn off logging, and a level ALL that can be used to
enable logging of all messages.

I haven't used log4j. Here is the struts docs:

http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/pac
kage-summary.html#package_description



Thanks
 
-- pady
[EMAIL PROTECTED]
 

-Original Message-
From: Eric Hodges [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 23, 2004 10:36 AM
To: Struts Users Mailing List (E-mail)
Subject: Questions about debug and info messages

We have a torrent of debug and info messages coming out of struts.  I can't
find any documentation about how to turn them off.  Two questions:

1. How do I turn off debug and info level messages?
2. Where is that documented?

Thanks,
Eric Hodges

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Questions about debug and info messages

2004-03-23 Thread Eric Hodges
Thanks for the advice, but I'm using log4j.  The API doc you to which you
linked doesn't offer much help.  I hacked a solution by setting the message
level on the struts logger to "warning" in one of my servlet's init method,
but surely there's a configuration setting (like a parameter to the Action
servlet?) that will set the message level.



-Original Message-
From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 8:21 AM
To: Struts Users Mailing List
Subject: RE: Questions about debug and info messages




If you are using  JDK 1.4 and not using log4j, then look in
JAVA_HOME/jre/lib for a file called logging.properties. Set the .level to
OFF. The levels in descending order are: SEVERE (highest value) WARNING INFO
CONFIG FINE FINER FINEST (lowest value) In addition there is a level OFF
that can be used to turn off logging, and a level ALL that can be used to
enable logging of all messages.

I haven't used log4j. Here is the struts docs:

http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/pac
kage-summary.html#package_description



Thanks
 
-- pady
[EMAIL PROTECTED]
 

-Original Message-
From: Eric Hodges [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 23, 2004 10:36 AM
To: Struts Users Mailing List (E-mail)
Subject: Questions about debug and info messages

We have a torrent of debug and info messages coming out of struts.  I can't
find any documentation about how to turn them off.  Two questions:

1. How do I turn off debug and info level messages?
2. Where is that documented?

Thanks,
Eric Hodges

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Questions about debug and info messages

2004-03-23 Thread Pady Srinivasan


If you are using  JDK 1.4 and not using log4j, then look in
JAVA_HOME/jre/lib for a file called logging.properties. Set the .level to
OFF. The levels in descending order are: SEVERE (highest value) WARNING INFO
CONFIG FINE FINER FINEST (lowest value) In addition there is a level OFF
that can be used to turn off logging, and a level ALL that can be used to
enable logging of all messages.

I haven't used log4j. Here is the struts docs:

http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/pac
kage-summary.html#package_description



Thanks
 
-- pady
[EMAIL PROTECTED]
 

-Original Message-
From: Eric Hodges [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 23, 2004 10:36 AM
To: Struts Users Mailing List (E-mail)
Subject: Questions about debug and info messages

We have a torrent of debug and info messages coming out of struts.  I can't
find any documentation about how to turn them off.  Two questions:

1. How do I turn off debug and info level messages?
2. Where is that documented?

Thanks,
Eric Hodges

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Questions about debug and info messages

2004-03-23 Thread Eric Hodges
We have a torrent of debug and info messages coming out of struts.  I can't
find any documentation about how to turn them off.  Two questions:

1. How do I turn off debug and info level messages?
2. Where is that documented?

Thanks,
Eric Hodges

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: RE: Debug ON/OFF

2004-03-16 Thread Tools
In your web.xml, for Action servlet the following init params will be declared.
Give them a value greater than 0 to make it ON and 0 to OFF.

  debug
  0


  detail
  0

> I am not using logging yet. Struts is using I think Log4j. Which is in
> commonsLogging.jar. 
> If I want to make debug statements of struts programms on or off what should I
> do?
> Shashank S. Dixit 
> Cognizant Technology Solutions Pvt. Ltd. 
> Hinjewadi,
> Pune
> Mobile : 98904 25400 
> An Obstacle is something you see when you take your eyes off the goal.
> -Original Message-
> From: kishor Patil [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 1 March 2004 7:12 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Debug ON/OFF
> Hi Shashank,
>   First check out which logging tools you are using. By default the
> commomns-logging uses hte Simple-Logging. 
>   If you are using the log4j for logging purpose, then check out the
> log4j.properties file. If there is no properties then add one overridding the
> default setting.
> thanks and regards
> kishor
> -Original Message-
> From: Dixit, Shashank (Cognizant) [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 01, 2004 1:27 PM
> To: [EMAIL PROTECTED]
> Subject: Debug ON/OFF
> Hi All
> Anybody knows how to make debug on/off to make on/off struts-logging messages.
> 
> I couldn't see any xml file for struts logging,
> Pls tell me how to make debug ON or OFF.
> Shashank S. Dixit 
> Cognizant Technology Solutions Pvt. Ltd. 
> Hinjewadi,
> Pune
> Mobile : 98904 25400 
> An Obstacle is something you see when you take your eyes off the goal.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to see Controller 'debug' output?

2004-03-12 Thread Niall Pemberton
I don't think setting debug actually does anything. Struts uses Commons
logging which is a "bridge" with various logging implementations (I use
log4j).

You need to configure the logging implementation to see the output you want.

Niall

- Original Message - 
From: "bOOyah" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 12, 2004 2:07 PM
Subject: Q: How to see Controller 'debug' output?


> Is there a way for me to see what the controller/processor is doing?  I
> added this line to my struts-config.xml but I don't see any 'debug'
> output on stdout or stderr:
>
>  processorClass="org.apache.struts.action.RequestProcessor"/>
>
> I'm running on Tomcat 4.
>
> I'm trying to figure out why a forward doesn't forward to the JSP it's
> supposed to.
>
> Thanks.
> -- 
> bOOyah
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Q: How to see Controller 'debug' output?

2004-03-12 Thread bOOyah
Is there a way for me to see what the controller/processor is doing?  I 
added this line to my struts-config.xml but I don't see any 'debug' 
output on stdout or stderr:



I'm running on Tomcat 4.

I'm trying to figure out why a forward doesn't forward to the JSP it's 
supposed to.

Thanks.
--
bOOyah
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Debug ON/OFF

2004-03-01 Thread kishor Patil
Hi Shashank,
If you have not configured the Struts Logging mechnism i.e. log4j /
jdk1.4 is not in the classpath. Then the Struts makes use of the SimpleLog. 

Simple implementation of Log that sends all enabled log messages, for all
defined loggers, to System.err. The following system properties are
supported to configure the behavior of this logger:

org.apache.commons.logging.simplelog.defaultlog - Default logging detail
level for all instances of SimpleLog. Must be one of ("trace", "debug",
"info", "warn", "error", or "fatal"). If not specified, defaults to "info". 

org.apache.commons.logging.simplelog.log.x - Logging detail level for a
SimpleLog instance named "x". Must be one of ("trace", "debug", "info",
"warn", "error", or "fatal"). If not specified, the default logging detail
level is used. 

org.apache.commons.logging.simplelog.showlogname - Set to true if you want
the Log instance name to be included in output messages. Defaults to false. 

org.apache.commons.logging.simplelog.showShortLogname - Set to true if you
want the last componet of the name to be included in output messages.
Defaults to true. 

org.apache.commons.logging.simplelog.showdatetime - Set to true if you want
the current date and time to be included in output messages. Default is
false. 


I think this will help you out. Set the system properties as mentioned above

kishor


-Original Message-
From: Dixit, Shashank (Cognizant) [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 2:39 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Debug ON/OFF


I am not using logging yet. Struts is using I think Log4j. Which is in
commonsLogging.jar. 
If I want to make debug statements of struts programms on or off what should
I do?

Shashank S. Dixit 
Cognizant Technology Solutions Pvt. Ltd. 
Hinjewadi,
Pune
Mobile : 98904 25400 

An Obstacle is something you see when you take your eyes off the goal.



-Original Message-
From: kishor Patil [mailto:[EMAIL PROTECTED] 
Sent: Monday, 1 March 2004 7:12 PM
To: 'Struts Users Mailing List'
Subject: RE: Debug ON/OFF


Hi Shashank,
First check out which logging tools you are using. By default the
commomns-logging uses hte Simple-Logging. 
If you are using the log4j for logging purpose, then check out the
log4j.properties file. If there is no properties then add one overridding
the default setting.

thanks and regards
kishor

-Original Message-
From: Dixit, Shashank (Cognizant) [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 1:27 PM
To: [EMAIL PROTECTED]
Subject: Debug ON/OFF


Hi All

Anybody knows how to make debug on/off to make on/off struts-logging
messages. 
I couldn't see any xml file for struts logging,
Pls tell me how to make debug ON or OFF.

Shashank S. Dixit 
Cognizant Technology Solutions Pvt. Ltd. 
Hinjewadi,
Pune
Mobile : 98904 25400 

An Obstacle is something you see when you take your eyes off the goal.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Debug ON/OFF

2004-03-01 Thread Dixit, Shashank (Cognizant)
I am not using logging yet. Struts is using I think Log4j. Which is in 
commonsLogging.jar. 
If I want to make debug statements of struts programms on or off what should I do?

Shashank S. Dixit 
Cognizant Technology Solutions Pvt. Ltd. 
Hinjewadi,
Pune
Mobile : 98904 25400 

An Obstacle is something you see when you take your eyes off the goal.



-Original Message-
From: kishor Patil [mailto:[EMAIL PROTECTED] 
Sent: Monday, 1 March 2004 7:12 PM
To: 'Struts Users Mailing List'
Subject: RE: Debug ON/OFF


Hi Shashank,
First check out which logging tools you are using. By default the 
commomns-logging uses hte Simple-Logging. 
If you are using the log4j for logging purpose, then check out the 
log4j.properties file. If there is no properties then add one overridding the default 
setting.

thanks and regards
kishor

-Original Message-
From: Dixit, Shashank (Cognizant) [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 1:27 PM
To: [EMAIL PROTECTED]
Subject: Debug ON/OFF


Hi All

Anybody knows how to make debug on/off to make on/off struts-logging messages. 
I couldn't see any xml file for struts logging,
Pls tell me how to make debug ON or OFF.

Shashank S. Dixit 
Cognizant Technology Solutions Pvt. Ltd. 
Hinjewadi,
Pune
Mobile : 98904 25400 

An Obstacle is something you see when you take your eyes off the goal.



This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. Any unauthorised review, use, disclosure, 
dissemination, forwarding, printing or copying of this email or any action taken in 
reliance on this e-mail is strictly prohibited and may be unlawful.
Visit us at http://www.cognizant.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Debug ON/OFF

2004-03-01 Thread kishor Patil
Hi Shashank,
First check out which logging tools you are using. By default the
commomns-logging uses hte Simple-Logging. 
If you are using the log4j for logging purpose, then check out the
log4j.properties file. If there is no properties then add one overridding
the default setting.

thanks and regards
kishor

-Original Message-
From: Dixit, Shashank (Cognizant) [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 1:27 PM
To: [EMAIL PROTECTED]
Subject: Debug ON/OFF


Hi All

Anybody knows how to make debug on/off to make on/off struts-logging
messages. 
I couldn't see any xml file for struts logging,
Pls tell me how to make debug ON or OFF.

Shashank S. Dixit 
Cognizant Technology Solutions Pvt. Ltd. 
Hinjewadi,
Pune
Mobile : 98904 25400 

An Obstacle is something you see when you take your eyes off the goal.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Debug ON/OFF

2004-02-29 Thread Dixit, Shashank (Cognizant)
Hi All

Anybody knows how to make debug on/off to make on/off struts-logging messages. 
I couldn't see any xml file for struts logging,
Pls tell me how to make debug ON or OFF.

Shashank S. Dixit 
Cognizant Technology Solutions Pvt. Ltd. 
Hinjewadi,
Pune
Mobile : 98904 25400 

An Obstacle is something you see when you take your eyes off the goal.


This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. Any unauthorised review, use, disclosure, 
dissemination, forwarding, printing or copying of this email or any action taken in 
reliance on this e-mail is strictly prohibited and may be unlawful.
Visit us at http://www.cognizant.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

{ICICICARE#005-213-249}Tool for jsp debug

2004-01-29 Thread NRI Cell
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your 
mail and assure you of a response shortly.To help us serve you better, we would 
request you to kindly mention your account number or any reference number you may have 
in your future correspondence.  Kindly visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



Re: Tool for jsp debug

2004-01-29 Thread dilip
test
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 20, 2004 7:58 PM
Subject: Re: Tool for jsp debug


> Ive seen netbeans3.5.1  do both.
>
> - Original Message -
> From: "Florin Pop" <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> Sent: Tuesday, January 20, 2004 9:27 AM
> Subject: Tool for jsp debug
>
>
> > Hi,
> >
> > does anyone know a tool for debugging jsp files? So that you are able to
> > trace the code in the jsp source not in the generated servlets.
> >
> > Thanks,
> >
> > Florin
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.564 / Virus Database: 356 - Release Date: 1/19/2004
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tool for jsp debug - Try Sysdeo Eclipse Plugin

2004-01-21 Thread Florin Pop
sorry if my question bothered you ... but I wanted to know what tool does
the struts community uses for this ...

anyway thanks for your prompt feedback

-Original Message-
From: Jean-Michel Garnier [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 6:50 PM
To: Struts Users Mailing List
Subject: RE: Tool for jsp debug - Try Sysdeo Eclipse Plugin


Google does not tell you everything ;-)

Try Sysdeo Eclipse Plugin
http://www.sysdeo.com/eclipse/tomcatPlugin.html

Works very well with Tomcat 4.1.27



> -Original Message-
> From: Guido García Bernardo [mailto:[EMAIL PROTECTED]
> Sent: 20 January 2004 14:53
> To: Struts Users Mailing List
> Subject: [OT] Re: Tool for jsp debug
> 
> 
> This is very OT.
> 
> http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=utf-8&q=too
> l+for+jsp+debug
> 
> Florin Pop wrote:
> 
> >Hi,
> >
> >does anyone know a tool for debugging jsp files? So that you 
> are able to
> >trace the code in the jsp source not in the generated servlets.
> >  
> >
> 


This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tool for jsp debug - Try Sysdeo Eclipse Plugin

2004-01-20 Thread Jean-Michel Garnier
Google does not tell you everything ;-)

Try Sysdeo Eclipse Plugin
http://www.sysdeo.com/eclipse/tomcatPlugin.html

Works very well with Tomcat 4.1.27



> -Original Message-
> From: Guido García Bernardo [mailto:[EMAIL PROTECTED]
> Sent: 20 January 2004 14:53
> To: Struts Users Mailing List
> Subject: [OT] Re: Tool for jsp debug
> 
> 
> This is very OT.
> 
> http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=utf-8&q=too
> l+for+jsp+debug
> 
> Florin Pop wrote:
> 
> >Hi,
> >
> >does anyone know a tool for debugging jsp files? So that you 
> are able to
> >trace the code in the jsp source not in the generated servlets.
> >  
> >
> 


This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] Re: Tool for jsp debug

2004-01-20 Thread Guido García Bernardo
This is very OT.

http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=utf-8&q=tool+for+jsp+debug

Florin Pop wrote:

Hi,

does anyone know a tool for debugging jsp files? So that you are able to
trace the code in the jsp source not in the generated servlets.
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tool for jsp debug

2004-01-20 Thread Florin Pop
is there a faster one? IntelliJ for example does support jsp debugging?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 4:28 PM
To: Struts Users Mailing List
Subject: Re: Tool for jsp debug


Ive seen netbeans3.5.1  do both.

- Original Message - 
From: "Florin Pop" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, January 20, 2004 9:27 AM
Subject: Tool for jsp debug


> Hi,
> 
> does anyone know a tool for debugging jsp files? So that you are able to
> trace the code in the jsp source not in the generated servlets.
> 
> Thanks,
> 
> Florin
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.564 / Virus Database: 356 - Release Date: 1/19/2004

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tool for jsp debug

2004-01-20 Thread daniel
Ive seen netbeans3.5.1  do both.

- Original Message - 
From: "Florin Pop" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, January 20, 2004 9:27 AM
Subject: Tool for jsp debug


> Hi,
> 
> does anyone know a tool for debugging jsp files? So that you are able to
> trace the code in the jsp source not in the generated servlets.
> 
> Thanks,
> 
> Florin
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.564 / Virus Database: 356 - Release Date: 1/19/2004

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tool for jsp debug

2004-01-20 Thread Florin Pop
Hi,

does anyone know a tool for debugging jsp files? So that you are able to
trace the code in the jsp source not in the generated servlets.

Thanks,

Florin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Workflow extension (living logic) and debug

2004-01-18 Thread Adam L
I've been plagued by the stupid virus.  I cannot find anyway to turn on the debug 
logging for the workflow extensions to get the information as shown on the bottom of 
http://www.livinglogic.de/Struts/demoApp.html   

I did it once before, recall it being a minor thing, but now... I can't find any 
reference, and I'm lost.   I'm not sure if it's a struts level thing or a webapp level 
config.

Any pointers greatly appreciated.



Re: struts printing debug mesg regardless what I did

2003-12-03 Thread Manish Singla
Since you are setting
>>>>log4j.rootLogger=warn, rolling
>>>>log4j.category.org.apache=warn, rolling
Thus, you should not see DEBUG messages of "commons".

Problem is somewhere else.

HTH
Manish Singla
PS:: Setting debug level in web.xml i.e.   is deprecated.
Thus, I will configure logging detail by using config file of underlying 
 logging implementation as above.



david chan wrote:
Tried both, not working.

David

--- Richard Yee <[EMAIL PROTECTED]> wrote:

David,
Set
   
 debug
 0
   
in the web.xml for your action servlet.

-Richard

--- Kevin Hagel <[EMAIL PROTECTED]> wrote:

log4j.category.org.apache.common=WARN

- Original Message - 
From: "david chan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
<[EMAIL PROTECTED]>
Sent: Wednesday, December 03, 2003 9:39 AM
Subject: struts printing debug mesg regardless
what

I did



Hi,
I am using Struts 1.1 and log4j 1.2.4, and in

my

log4j.properties, I have this to turn off Struts
debug

mesg, but it always printing debug mesg for
package

org.apache.common. How can I turn it off?
Thanks.
David
===my log config ===
log4j.rootLogger=warn, rolling
log4j.category.org.apache=warn, rolling

log4j.appender.rolling=org.apache.log4j.RollingFileAppender

log4j.appender.rolling.File=c:\\temp\\temp.log

log4j.appender.rolling.MaxFileSize=5000KB
log4j.appender.rolling.MaxBackupIndex=5


log4j.appender.rolling.layout=org.apache.log4j.PatternLayout

log4j.appender.rolling.layout.ConversionPattern=%d

%5p

[%t] %c{2} - %m%n
== end log config 
 debug mesg output 

DEBUG
org.apache.commons.beanutils.ConvertUtils 

DEBUG org.apache.commons.digester.Digester

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/


-

To unsubscribe, e-mail:
[EMAIL PROTECTED]

For additional commands, e-mail:
[EMAIL PROTECTED]


-

To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

-

To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Thanks
Manish Singla
x73166
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: struts printing debug mesg regardless what I did

2003-12-03 Thread Kevin Hagel
Is your log4j.properties being loaded?
Log4jConfigurer.initLogging("C:/somedir/src/test/log4j.properties");

- Original Message - 
From: "david chan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 03, 2003 10:00 AM
Subject: Re: struts printing debug mesg regardless what I did


> Tried both, not working.
> 
> David
> 
> --- Richard Yee <[EMAIL PROTECTED]> wrote:
> > David,
> > Set
> > 
> >   debug
> >   0
> > 
> > 
> > in the web.xml for your action servlet.
> > 
> > -Richard
> > 
> > --- Kevin Hagel <[EMAIL PROTECTED]> wrote:
> > > log4j.category.org.apache.common=WARN
> > > 
> > > - Original Message - 
> > > From: "david chan" <[EMAIL PROTECTED]>
> > > To: "Struts Users Mailing List"
> > > <[EMAIL PROTECTED]>
> > > Sent: Wednesday, December 03, 2003 9:39 AM
> > > Subject: struts printing debug mesg regardless
> > what
> > > I did
> > > 
> > > 
> > > > Hi,
> > > >  I am using Struts 1.1 and log4j 1.2.4, and in
> > my
> > > > log4j.properties, I have this to turn off Struts
> > > debug
> > > > mesg, but it always printing debug mesg for
> > > package
> > > > org.apache.common. How can I turn it off?
> > > > Thanks.
> > > > David
> > > > 
> > > > ===my log config ===
> > > > log4j.rootLogger=warn, rolling
> > > > log4j.category.org.apache=warn, rolling
> > > >
> > >
> >
> log4j.appender.rolling=org.apache.log4j.RollingFileAppender
> > > > 
> > > > log4j.appender.rolling.File=c:\\temp\\temp.log
> > > > 
> > > > log4j.appender.rolling.MaxFileSize=5000KB
> > > > log4j.appender.rolling.MaxBackupIndex=5
> > > > 
> > > >
> > >
> >
> log4j.appender.rolling.layout=org.apache.log4j.PatternLayout
> > > >
> > log4j.appender.rolling.layout.ConversionPattern=%d
> > > %5p
> > > > [%t] %c{2} - %m%n
> > > > == end log config 
> > > > 
> > > > 
> > > >  debug mesg output 
> > > > 
> > > > DEBUG
> > > org.apache.commons.beanutils.ConvertUtils 
> > > > DEBUG org.apache.commons.digester.Digester
> > > > 
> > > > 
> > > > __
> > > > Do you Yahoo!?
> > > > Free Pop-Up Blocker - Get it now
> > > > http://companion.yahoo.com/
> > > > 
> > > >
> > >
> >
> -
> > > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > > 
> > > 
> > >
> >
> -
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > 
> > 
> > 
> > __
> > Do you Yahoo!?
> > Free Pop-Up Blocker - Get it now
> > http://companion.yahoo.com/
> > 
> >
> -
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> 
> 
> __
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: struts printing debug mesg regardless what I did

2003-12-03 Thread david chan
Tried both, not working.

David

--- Richard Yee <[EMAIL PROTECTED]> wrote:
> David,
> Set
> 
>   debug
>   0
> 
> 
> in the web.xml for your action servlet.
> 
> -Richard
> 
> --- Kevin Hagel <[EMAIL PROTECTED]> wrote:
> > log4j.category.org.apache.common=WARN
> > 
> > - Original Message - 
> > From: "david chan" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List"
> > <[EMAIL PROTECTED]>
> > Sent: Wednesday, December 03, 2003 9:39 AM
> > Subject: struts printing debug mesg regardless
> what
> > I did
> > 
> > 
> > > Hi,
> > >  I am using Struts 1.1 and log4j 1.2.4, and in
> my
> > > log4j.properties, I have this to turn off Struts
> > debug
> > > mesg, but it always printing debug mesg for
> > package
> > > org.apache.common. How can I turn it off?
> > > Thanks.
> > > David
> > > 
> > > ===my log config ===
> > > log4j.rootLogger=warn, rolling
> > > log4j.category.org.apache=warn, rolling
> > >
> >
>
log4j.appender.rolling=org.apache.log4j.RollingFileAppender
> > > 
> > > log4j.appender.rolling.File=c:\\temp\\temp.log
> > > 
> > > log4j.appender.rolling.MaxFileSize=5000KB
> > > log4j.appender.rolling.MaxBackupIndex=5
> > > 
> > >
> >
>
log4j.appender.rolling.layout=org.apache.log4j.PatternLayout
> > >
> log4j.appender.rolling.layout.ConversionPattern=%d
> > %5p
> > > [%t] %c{2} - %m%n
> > > == end log config 
> > > 
> > > 
> > >  debug mesg output 
> > > 
> > > DEBUG
> > org.apache.commons.beanutils.ConvertUtils 
> > > DEBUG org.apache.commons.digester.Digester
> > > 
> > > 
> > > __
> > > Do you Yahoo!?
> > > Free Pop-Up Blocker - Get it now
> > > http://companion.yahoo.com/
> > > 
> > >
> >
>
-
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > 
> > 
> >
>
-
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> 
> 
> __
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: struts printing debug mesg regardless what I did

2003-12-03 Thread Richard Yee
David,
Set

  debug
  0


in the web.xml for your action servlet.

-Richard

--- Kevin Hagel <[EMAIL PROTECTED]> wrote:
> log4j.category.org.apache.common=WARN
> 
> - Original Message - 
> From: "david chan" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> <[EMAIL PROTECTED]>
> Sent: Wednesday, December 03, 2003 9:39 AM
> Subject: struts printing debug mesg regardless what
> I did
> 
> 
> > Hi,
> >  I am using Struts 1.1 and log4j 1.2.4, and in my
> > log4j.properties, I have this to turn off Struts
> debug
> > mesg, but it always printing debug mesg for
> package
> > org.apache.common. How can I turn it off?
> > Thanks.
> > David
> > 
> > ===my log config ===
> > log4j.rootLogger=warn, rolling
> > log4j.category.org.apache=warn, rolling
> >
>
log4j.appender.rolling=org.apache.log4j.RollingFileAppender
> > 
> > log4j.appender.rolling.File=c:\\temp\\temp.log
> > 
> > log4j.appender.rolling.MaxFileSize=5000KB
> > log4j.appender.rolling.MaxBackupIndex=5
> > 
> >
>
log4j.appender.rolling.layout=org.apache.log4j.PatternLayout
> > log4j.appender.rolling.layout.ConversionPattern=%d
> %5p
> > [%t] %c{2} - %m%n
> > == end log config 
> > 
> > 
> >  debug mesg output 
> > 
> > DEBUG
> org.apache.commons.beanutils.ConvertUtils 
> > DEBUG org.apache.commons.digester.Digester
> > 
> > 
> > __
> > Do you Yahoo!?
> > Free Pop-Up Blocker - Get it now
> > http://companion.yahoo.com/
> > 
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: struts printing debug mesg regardless what I did

2003-12-03 Thread Kevin Hagel
log4j.category.org.apache.common=WARN

- Original Message - 
From: "david chan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 03, 2003 9:39 AM
Subject: struts printing debug mesg regardless what I did


> Hi,
>  I am using Struts 1.1 and log4j 1.2.4, and in my
> log4j.properties, I have this to turn off Struts debug
> mesg, but it always printing debug mesg for package
> org.apache.common. How can I turn it off?
> Thanks.
> David
> 
> ===my log config ===
> log4j.rootLogger=warn, rolling
> log4j.category.org.apache=warn, rolling
> log4j.appender.rolling=org.apache.log4j.RollingFileAppender
> 
> log4j.appender.rolling.File=c:\\temp\\temp.log
> 
> log4j.appender.rolling.MaxFileSize=5000KB
> log4j.appender.rolling.MaxBackupIndex=5
> 
> log4j.appender.rolling.layout=org.apache.log4j.PatternLayout
> log4j.appender.rolling.layout.ConversionPattern=%d %5p
> [%t] %c{2} - %m%n
> == end log config 
> 
> 
>  debug mesg output 
> 
> DEBUG org.apache.commons.beanutils.ConvertUtils 
> DEBUG org.apache.commons.digester.Digester
> 
> 
> __
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



struts printing debug mesg regardless what I did

2003-12-03 Thread david chan
Hi,
 I am using Struts 1.1 and log4j 1.2.4, and in my
log4j.properties, I have this to turn off Struts debug
mesg, but it always printing debug mesg for package
org.apache.common. How can I turn it off?
Thanks.
David

===my log config ===
log4j.rootLogger=warn, rolling
log4j.category.org.apache=warn, rolling
log4j.appender.rolling=org.apache.log4j.RollingFileAppender

log4j.appender.rolling.File=c:\\temp\\temp.log

log4j.appender.rolling.MaxFileSize=5000KB
log4j.appender.rolling.MaxBackupIndex=5

log4j.appender.rolling.layout=org.apache.log4j.PatternLayout
log4j.appender.rolling.layout.ConversionPattern=%d %5p
[%t] %c{2} - %m%n
== end log config 


 debug mesg output 

DEBUG org.apache.commons.beanutils.ConvertUtils 
DEBUG org.apache.commons.digester.Digester


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Debug/Breakpoint Problem with Sysdeo Tomcat Plugin in Eclipse

2003-12-03 Thread Colin Foulkes
Yes, that was the problem.

Thanks a lot..

Colin

-Original Message-
From: Witt, Mike (OH35) [mailto:[EMAIL PROTECTED]
Sent: December 2, 2003 12:54 PM
To: Struts Users Mailing List
Subject: RE: Debug/Breakpoint Problem with Sysdeo Tomcat Plugin in
Eclipse


If I recall ... You bring up preferences, expand Tomcat, choose the "Source
Path", and choose the projects you wish the source to be found for.

HTH, Mike

-Original Message-
From: Colin Foulkes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 11:21 AM
To: Struts Users Mailing List
Subject: Debug/Breakpoint Problem with Sysdeo Tomcat Plugin in Eclipse


Hi,

I have a strange problem with the Sysdeo Tomcat plugin.
I set a breakpoint in a java class (struts action), launch Tomcat and
navigate to my struts application..

The IDE breaks at the correct place in the application (the debug
information .. variables, location, stack etc. are all shown fine, but there
is no highlighted line in the relevant java code window. I can perform debug
stepping OK, but there is no viual confirmation in the code window.

Has anyone else noticed this? Can someone suggest a solution?

Thanks in advance..

Colin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Debug/Breakpoint Problem with Sysdeo Tomcat Plugin in Eclipse

2003-12-02 Thread Andrew Hill
I encountered this after upgrading to version 2.2 of the plugin.

I switched back to version 2.1 and that fixed it. I guess our best bet is to
use the 2.1 plugin for the time being and wait for a newer version to come
out.


-Original Message-
From: Colin Foulkes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 3 December 2003 00:21
To: Struts Users Mailing List
Subject: Debug/Breakpoint Problem with Sysdeo Tomcat Plugin in Eclipse


Hi,

I have a strange problem with the Sysdeo Tomcat plugin.
I set a breakpoint in a java class (struts action), launch Tomcat and
navigate to my struts application..

The IDE breaks at the correct place in the application (the debug
information .. variables, location, stack etc. are all shown fine, but there
is no highlighted line in the relevant java code window. I can perform debug
stepping OK, but there is no viual confirmation in the code window.

Has anyone else noticed this? Can someone suggest a solution?

Thanks in advance..

Colin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Debug/Breakpoint Problem with Sysdeo Tomcat Plugin in Eclipse

2003-12-02 Thread Witt, Mike (OH35)
If I recall ... You bring up preferences, expand Tomcat, choose the "Source
Path", and choose the projects you wish the source to be found for.

HTH, Mike

-Original Message-
From: Colin Foulkes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 11:21 AM
To: Struts Users Mailing List
Subject: Debug/Breakpoint Problem with Sysdeo Tomcat Plugin in Eclipse


Hi,

I have a strange problem with the Sysdeo Tomcat plugin.
I set a breakpoint in a java class (struts action), launch Tomcat and
navigate to my struts application..

The IDE breaks at the correct place in the application (the debug
information .. variables, location, stack etc. are all shown fine, but there
is no highlighted line in the relevant java code window. I can perform debug
stepping OK, but there is no viual confirmation in the code window.

Has anyone else noticed this? Can someone suggest a solution?

Thanks in advance..

Colin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Debug/Breakpoint Problem with Sysdeo Tomcat Plugin in Eclipse

2003-12-02 Thread Colin Foulkes
Hi,

I have a strange problem with the Sysdeo Tomcat plugin.
I set a breakpoint in a java class (struts action), launch Tomcat and navigate to my 
struts application..

The IDE breaks at the correct place in the application (the debug information .. 
variables, location, stack etc. are all shown fine, but there is no highlighted line 
in the relevant java code window. I can perform debug stepping OK, but there is no 
viual confirmation in the code window.

Has anyone else noticed this? Can someone suggest a solution?

Thanks in advance..

Colin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Debug output

2003-11-04 Thread Manish Singla
Following link may answer your problem

http://jakarta.apache.org/struts/userGuide/configuration.html#config_logging

Thanks
Manish
Norr, Peter wrote:
Does anyone have more detail on how to adjust the logging level in struts?

Peter

-Original Message-
From: Micael [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2003 2:10 PM
To: Struts Users Mailing List
Subject: Re: Debug output

Look in WEB-INF/classes.

At 02:06 PM 11/3/2003, you wrote:

How do I adjust the logging level of struts?

I am getting way too many DEBUG messages..

Peter

---
---
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient
of

this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded
as

an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to
be

secure or error-free.  Therefore, we do not represent that this information
is

complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Thanks
Manish Singla
x73166
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Debug output

2003-11-04 Thread Yee, Richard K,,DMDCWEST
Peter,
Try setting the debug parameter for the action servlet in the web.xml file
to 0. Also, if you use Log4j, you can set the logging level of
org.apache.struts to something higher than DEBUG.

-Richard


-Original Message-
From: Norr, Peter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2003 11:15 AM
To: 'Struts Users Mailing List'
Subject: RE: Debug output


Does anyone have more detail on how to adjust the logging level in struts?

Peter


-Original Message-
From: Micael [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2003 2:10 PM
To: Struts Users Mailing List
Subject: Re: Debug output


Look in WEB-INF/classes.

At 02:06 PM 11/3/2003, you wrote:
>How do I adjust the logging level of struts?
>
>I am getting way too many DEBUG messages..
>
>Peter
>
>---
>---
>This message is intended only for the personal and confidential use of 
>the designated recipient(s) named above.  If you are not the intended 
>recipient
of
>this message you are hereby notified that any review, dissemination, 
>distribution or copying of this message is strictly prohibited.  This 
>communication is for information purposes only and should not be 
>regarded
as
>an offer to sell or as a solicitation of an offer to buy any financial 
>product, an official confirmation of any transaction, or as an official 
>statement of Lehman Brothers.  Email transmission cannot be guaranteed 
>to
be
>secure or error-free.  Therefore, we do not represent that this 
>information
is
>complete or accurate and it should not be relied upon as such.  All 
>information is subject to change without notice.
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]



LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient
of this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information
is complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Debug output

2003-11-04 Thread Norr, Peter
Does anyone have more detail on how to adjust the logging level in struts?

Peter


-Original Message-
From: Micael [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2003 2:10 PM
To: Struts Users Mailing List
Subject: Re: Debug output


Look in WEB-INF/classes.

At 02:06 PM 11/3/2003, you wrote:
>How do I adjust the logging level of struts?
>
>I am getting way too many DEBUG messages..
>
>Peter
>
>---
>---
>This message is intended only for the personal and confidential use of the
>designated recipient(s) named above.  If you are not the intended recipient
of
>this message you are hereby notified that any review, dissemination,
>distribution or copying of this message is strictly prohibited.  This
>communication is for information purposes only and should not be regarded
as
>an offer to sell or as a solicitation of an offer to buy any financial
>product, an official confirmation of any transaction, or as an official
>statement of Lehman Brothers.  Email transmission cannot be guaranteed to
be
>secure or error-free.  Therefore, we do not represent that this information
is
>complete or accurate and it should not be relied upon as such.  All
>information is subject to change without notice.
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]



LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Debug output

2003-11-04 Thread Micael
Look in WEB-INF/classes.

At 02:06 PM 11/3/2003, you wrote:
How do I adjust the logging level of struts?

I am getting way too many DEBUG messages..

Peter

--
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Debug output

2003-11-03 Thread Ramadoss Chinnakuzhandai
Try
set Threshold level to higher in your root logger or log4j.properties/xml file(Levels 
Fatal>>Error>>Warn>>Info>>Debug).
-Ram


-Original Message-
From: Norr, Peter [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2003 5:06 PM
To: 'Struts Users Mailing List'
Subject: Debug output


How do I adjust the logging level of struts?

I am getting way too many DEBUG messages..

Peter

--
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Debug output

2003-11-03 Thread Norr, Peter
How do I adjust the logging level of struts?

I am getting way too many DEBUG messages..

Peter

--
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to get debug level?

2003-10-12 Thread Craig R. McClanahan
Daiju Kato wrote:

Hello all,

I'm migrating my application from struts 1.02  to 1.1.
servlet.getDebug() is deprecated.
So, I would like to get value at debug level information at context 
setting in server.xml.

Does anyone know how to get debug level?


In Struts 1.1, all debug logging is done through the commons-logging 
package, in conjunction with whatever underlying logging package you 
want to use (JDK 1.4 logging, Log4J, etc.).  More info is in the User Guide:

 
http://jakarta.apache.org/struts/userGuide/configuration.html#config_logging

Thanks.

Daiju Kato


Craig



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


How to get debug level?

2003-10-12 Thread Daiju Kato
Hello all,

I'm migrating my application from struts 1.02  to 1.1.
servlet.getDebug() is deprecated.
So, I would like to get value at debug level information at context setting 
in server.xml.

Does anyone know how to get debug level?

Thanks.

Daiju Kato



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Plugins to debug jsp with Eclipse

2003-09-09 Thread Bradley Handy
In regards to the plugins for Eclipse, check out www.myeclipseide.com.  Sweet sets of 
plugins, and only a $30US per year subscription to receive updates and such.
 
Brad
 

-Original Message- 
From: hari_s [mailto:[EMAIL PROTECTED] 
Sent: Tue 9/9/2003 9:05 PM 
To: 'Struts Users Mailing List' 
Cc: 
Subject: RE: Plugins to debug jsp with Eclipse



Setahuku gak ada ya, bagaimana kalo pake oracle jdeveloper itu tool yang
kumplit untuk develop aplikasi dengan teknologi java,dengan debugging
yang bagus pula...

Hai mungkin jawabannya gak memuaskan, tapi ingin Aku nyapa aja sesama
orang Indonesia di milis ini.

-Original Message-
From: Kristanto Oetomo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 5:44 AM
To: 'Struts Users Mailing List'
Subject: Plugins to debug jsp with Eclipse

Does anyone know any plugins to debug jsp in Eclipse? As of now, there
    is a plugin to debug jsp after it's being converted into a servlet. I am
looking for a direct debugging tool for the jsp itself. Thanks.

Kristanto Oetomo
Software Engineer

PT Sigma Karya Sempurna (BaliCamp)
Jl. Raya Pacung No. 32A, Baturiti - Tabanan 82191
Bali - Indonesia
Tel: +62 368 21919 Fax: +62 368 21920
http://www.balicamp.com


Favorite Quote: The only stupid question is the one you never ask.
--Anonymous--




-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 1:21 AM
To: Struts Users Mailing List
Subject: Re: Tiles & html-taglib producing XHTML


--- Adam Hardy <[EMAIL PROTECTED]> wrote:
> Thanks David.
>
> Sorry, didn't see it and it had never been talked about in the
> archives.
>
> May I suggest though that it be added to the API docs for html:html at
> http://jakarta.apache.org/struts/userGuide/struts-html.html#html

That would be helpful.  Please open an enhancement request with the
details so it doesn't get forgotten.

David

>
> Thanks
> Adam
>
>
> On 09/09/2003 06:26 PM David Graham wrote:
> > Add  to each of your tiles.  Each page fragment must
> decide
> > how it will be rendered, not the containing page.
> >
> > David
> >
> > --- Adam Hardy <[EMAIL PROTECTED]> wrote:
> >
> >>I'm using the struts html taglib, well actually the html-el taglib
> >>but
>
> >>the problem is with both, and I am outputting XHTML, but the input
> >>taglib doesn't output XHTML when it's in a different Tile.
> >>
> >>I have my Tiles layout page with the doctype declaration and the
> >>
> >>
> >>
> >>and the
> >>
> >>
> >>
> >>to include my content.
> >>
> >>Anything nested nicely inside the  tags in
> >>the
>
> >>layout tile is given proper XHTML syntax, but in the other tiles,
> >>it's
>
> >>not. i.e. instead of:
> >>
> >> >>/>
> >>
> >>it gives:
> >>
> >>
> >>
> >>Before I go off to bugzilla, assuming I haven't overlooked something
> >>important, what is it a bug of? html-taglib or tiles?
> >>
> >>Thanks,
> >>Adam
> >>
> >>--
> >>struts 1.1 + tomcat 4.1.27 + java 1.4.2
> >>Linux 2.4.20 RH9
> >>
> >>
> >>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >
> >
> >
> > __
> &g

RE: Plugins to debug jsp with Eclipse

2003-09-09 Thread James Mitchell
什么做那个手段?


--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
678.910.8017
AIM:jmitchtx




> -Original Message-
> From: hari_s [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, September 09, 2003 9:05 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Plugins to debug jsp with Eclipse
> 
> 
> Setahuku gak ada ya, bagaimana kalo pake oracle jdeveloper 
> itu tool yang
> kumplit untuk develop aplikasi dengan teknologi java,dengan debugging
> yang bagus pula...
> 
> Hai mungkin jawabannya gak memuaskan, tapi ingin Aku nyapa aja sesama
> orang Indonesia di milis ini.
> 
> -Original Message-
> From: Kristanto Oetomo [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 10, 2003 5:44 AM
> To: 'Struts Users Mailing List'
> Subject: Plugins to debug jsp with Eclipse
> 
> Does anyone know any plugins to debug jsp in Eclipse? As of now, there
> is a plugin to debug jsp after it's being converted into a 
> servlet. I am
> looking for a direct debugging tool for the jsp itself. Thanks.
> 
> Kristanto Oetomo
> Software Engineer
> 
> PT Sigma Karya Sempurna (BaliCamp)
> Jl. Raya Pacung No. 32A, Baturiti - Tabanan 82191
> Bali - Indonesia
> Tel: +62 368 21919 Fax: +62 368 21920
> http://www.balicamp.com
> --
> --
> 
> Favorite Quote: The only stupid question is the one you never ask.
> --Anonymous--
> --
> --
> 
> 
> 
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 10, 2003 1:21 AM
> To: Struts Users Mailing List
> Subject: Re: Tiles & html-taglib producing XHTML
> 
> 
> --- Adam Hardy <[EMAIL PROTECTED]> wrote:
> > Thanks David.
> > 
> > Sorry, didn't see it and it had never been talked about in the 
> > archives.
> > 
> > May I suggest though that it be added to the API docs for 
> html:html at
> > http://jakarta.apache.org/struts/userGuide/struts-html.html#html
> 
> That would be helpful.  Please open an enhancement request with the
> details so it doesn't get forgotten.
> 
> David
> 
> > 
> > Thanks
> > Adam
> > 
> > 
> > On 09/09/2003 06:26 PM David Graham wrote:
> > > Add  to each of your tiles.  Each page fragment must
> > decide
> > > how it will be rendered, not the containing page.
> > > 
> > > David
> > > 
> > > --- Adam Hardy <[EMAIL PROTECTED]> wrote:
> > > 
> > >>I'm using the struts html taglib, well actually the 
> html-el taglib 
> > >>but
> > 
> > >>the problem is with both, and I am outputting XHTML, but the input
> > >>taglib doesn't output XHTML when it's in a different Tile.
> > >>
> > >>I have my Tiles layout page with the doctype declaration and the
> > >>
> > >>
> > >>
> > >>and the
> > >>
> > >>
> > >>
> > >>to include my content.
> > >>
> > >>Anything nested nicely inside the  xhtml="true"> tags in 
> > >>the
> > 
> > >>layout tile is given proper XHTML syntax, but in the other tiles, 
> > >>it's
> > 
> > >>not. i.e. instead of:
> > >>
> > >> alt="Edit" 
> > >>/>
> > >>
> > >>it gives:
> > >>
> > >> alt="Edit">
> > >>
> > >>Before I go off to bugzilla, assuming I haven't 
> overlooked something
> > >>important, what is it a bug of? html-taglib or tiles?
> > >>
> > >>Thanks,
> > >>Adam
> > >>
> > >>--
> > >>struts 1.1 + tomcat 4.1.27 + java 1.4.2
> > >>Linux 2.4.20 RH9
> > >>
> > >>
> > 
> >>
> > >>-
> > >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > >>
> > > 
> > > 
> > > 
> > > __
> > > Do you Yahoo!?
> > > Yahoo! SiteBuilder - Free, easy-to-use web site design software 
> > > http://sitebuilder.yahoo.com
> > > 
> > > 
> -

RE: Plugins to debug jsp with Eclipse

2003-09-09 Thread hari_s
Setahuku gak ada ya, bagaimana kalo pake oracle jdeveloper itu tool yang
kumplit untuk develop aplikasi dengan teknologi java,dengan debugging
yang bagus pula...

Hai mungkin jawabannya gak memuaskan, tapi ingin Aku nyapa aja sesama
orang Indonesia di milis ini.

-Original Message-
From: Kristanto Oetomo [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2003 5:44 AM
To: 'Struts Users Mailing List'
Subject: Plugins to debug jsp with Eclipse

Does anyone know any plugins to debug jsp in Eclipse? As of now, there
is a plugin to debug jsp after it's being converted into a servlet. I am
looking for a direct debugging tool for the jsp itself. Thanks.

Kristanto Oetomo
Software Engineer

PT Sigma Karya Sempurna (BaliCamp)
Jl. Raya Pacung No. 32A, Baturiti - Tabanan 82191
Bali - Indonesia
Tel: +62 368 21919 Fax: +62 368 21920
http://www.balicamp.com


Favorite Quote: The only stupid question is the one you never ask.
--Anonymous--




-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2003 1:21 AM
To: Struts Users Mailing List
Subject: Re: Tiles & html-taglib producing XHTML


--- Adam Hardy <[EMAIL PROTECTED]> wrote:
> Thanks David.
> 
> Sorry, didn't see it and it had never been talked about in the 
> archives.
> 
> May I suggest though that it be added to the API docs for html:html at
> http://jakarta.apache.org/struts/userGuide/struts-html.html#html

That would be helpful.  Please open an enhancement request with the
details so it doesn't get forgotten.

David

> 
> Thanks
> Adam
> 
> 
> On 09/09/2003 06:26 PM David Graham wrote:
> > Add  to each of your tiles.  Each page fragment must
> decide
> > how it will be rendered, not the containing page.
> > 
> > David
> > 
> > --- Adam Hardy <[EMAIL PROTECTED]> wrote:
> > 
> >>I'm using the struts html taglib, well actually the html-el taglib 
> >>but
> 
> >>the problem is with both, and I am outputting XHTML, but the input
> >>taglib doesn't output XHTML when it's in a different Tile.
> >>
> >>I have my Tiles layout page with the doctype declaration and the
> >>
> >>
> >>
> >>and the
> >>
> >>
> >>
> >>to include my content.
> >>
> >>Anything nested nicely inside the  tags in 
> >>the
> 
> >>layout tile is given proper XHTML syntax, but in the other tiles, 
> >>it's
> 
> >>not. i.e. instead of:
> >>
> >> >>/>
> >>
> >>it gives:
> >>
> >>
> >>
> >>Before I go off to bugzilla, assuming I haven't overlooked something
> >>important, what is it a bug of? html-taglib or tiles?
> >>
> >>Thanks,
> >>Adam
> >>
> >>--
> >>struts 1.1 + tomcat 4.1.27 + java 1.4.2
> >>Linux 2.4.20 RH9
> >>
> >>
> >>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> > 
> > 
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site design software 
> > http://sitebuilder.yahoo.com
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> --
> struts 1.1 + tomcat 4.1.27 + java 1.4.2
> Linux 2.4.20 RH9
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Plugins to debug jsp with Eclipse

2003-09-09 Thread Kristanto Oetomo
Does anyone know any plugins to debug jsp in Eclipse? As of now, there
is a plugin to debug jsp after it's being converted into a servlet. I am
looking for a direct debugging tool for the jsp itself. Thanks.

Kristanto Oetomo
Software Engineer

PT Sigma Karya Sempurna (BaliCamp)
Jl. Raya Pacung No. 32A, Baturiti - Tabanan 82191
Bali - Indonesia
Tel: +62 368 21919 Fax: +62 368 21920
http://www.balicamp.com


Favorite Quote: The only stupid question is the one you never ask.
--Anonymous--




-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2003 1:21 AM
To: Struts Users Mailing List
Subject: Re: Tiles & html-taglib producing XHTML


--- Adam Hardy <[EMAIL PROTECTED]> wrote:
> Thanks David.
> 
> Sorry, didn't see it and it had never been talked about in the 
> archives.
> 
> May I suggest though that it be added to the API docs for html:html at
> http://jakarta.apache.org/struts/userGuide/struts-html.html#html

That would be helpful.  Please open an enhancement request with the
details so it doesn't get forgotten.

David

> 
> Thanks
> Adam
> 
> 
> On 09/09/2003 06:26 PM David Graham wrote:
> > Add  to each of your tiles.  Each page fragment must
> decide
> > how it will be rendered, not the containing page.
> > 
> > David
> > 
> > --- Adam Hardy <[EMAIL PROTECTED]> wrote:
> > 
> >>I'm using the struts html taglib, well actually the html-el taglib 
> >>but
> 
> >>the problem is with both, and I am outputting XHTML, but the input
> >>taglib doesn't output XHTML when it's in a different Tile.
> >>
> >>I have my Tiles layout page with the doctype declaration and the
> >>
> >>
> >>
> >>and the
> >>
> >>
> >>
> >>to include my content.
> >>
> >>Anything nested nicely inside the  tags in 
> >>the
> 
> >>layout tile is given proper XHTML syntax, but in the other tiles, 
> >>it's
> 
> >>not. i.e. instead of:
> >>
> >> >>/>
> >>
> >>it gives:
> >>
> >>
> >>
> >>Before I go off to bugzilla, assuming I haven't overlooked something
> >>important, what is it a bug of? html-taglib or tiles?
> >>
> >>Thanks,
> >>Adam
> >>
> >>--
> >>struts 1.1 + tomcat 4.1.27 + java 1.4.2
> >>Linux 2.4.20 RH9
> >>
> >>
> >>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> > 
> > 
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site design software 
> > http://sitebuilder.yahoo.com
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> --
> struts 1.1 + tomcat 4.1.27 + java 1.4.2
> Linux 2.4.20 RH9
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: debug level of struts...

2003-09-05 Thread Pady Srinivasan

This did not work for me also. And looking at ActionServlet code, I am not
even sure if this is used anywhere. Also this is deprecated.

Also Navjot had suggested to set

org.apache.struts = FINE  in jre/lib/logging.properties.

This didn't work. But when I set

java.util.logging.ConsoleHandler.level = FINE in jre/lib/logging.properties

I get all debug messages. But for this to work, make sure you are using 1.4
VM and don't have log4j in your classpath. Else you have to set the log4j
properties file for log levels.


Took some digging into Struts, commons-logging, JDK 1.4 logging source and
docs.



Thanks
 
-- pady
[EMAIL PROTECTED]
 

-Original Message-
From: José Gustavo Zagato [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2003 9:17 AM
To: 'Struts Users Mailing List'
Subject: RE: debug level of struts...

Hey Folks !

I tried This configuration, and it seams that it don't change
anything to me... any ideias ?


  José Gustavo Zagato Rosa
System Analyst - Atos Origin
[EMAIL PROTECTED]


-Original Message-
From: Peter Smith [mailto:[EMAIL PROTECTED] 
Sent: sexta-feira, 5 de setembro de 2003 09:25
To: Struts Users Mailing List
Subject: Re: debug level of struts...

Hi Pady,

You might try adding this to your action servlet in web.xml:


  debug
  99


Let me know if this works for you,

Peter
-- 
Peter Smith
Software Engineer
InfoNow Corporation

> From: Pady Srinivasan <[EMAIL PROTECTED]>
> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Date: Fri, 5 Sep 2003 08:10:33 -0400
> To: [EMAIL PROTECTED]
> Subject: debug level of struts...
> 
> 
> 
> Is there a way to make Struts print out more messages to standard out
? Like
> when it loads the form-bean and resets form values into the jsp ?
> 
> Thanks
> 
> -- pady
> [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: debug level of struts...

2003-09-05 Thread José Gustavo Zagato
Hey Folks !

I tried This configuration, and it seams that it don’t change
anything to me... any ideias ?


  José Gustavo Zagato Rosa
System Analyst - Atos Origin
[EMAIL PROTECTED]


-Original Message-
From: Peter Smith [mailto:[EMAIL PROTECTED] 
Sent: sexta-feira, 5 de setembro de 2003 09:25
To: Struts Users Mailing List
Subject: Re: debug level of struts...

Hi Pady,

You might try adding this to your action servlet in web.xml:


  debug
  99


Let me know if this works for you,

Peter
-- 
Peter Smith
Software Engineer
InfoNow Corporation

> From: Pady Srinivasan <[EMAIL PROTECTED]>
> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Date: Fri, 5 Sep 2003 08:10:33 -0400
> To: [EMAIL PROTECTED]
> Subject: debug level of struts...
> 
> 
> 
> Is there a way to make Struts print out more messages to standard out
? Like
> when it loads the form-bean and resets form values into the jsp ?
> 
> Thanks
> 
> -- pady
> [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: debug level of struts...

2003-09-05 Thread Navjot Singh
quick dirty way :-)

In you jdk installation dir..look out for logging.properties

and append the following line in the end
org.apache.struts = FINE

navjot

|-Original Message-
|From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
|Sent: Friday, September 05, 2003 5:41 PM
|To: [EMAIL PROTECTED]
|Subject: debug level of struts...
|
|
|
|
|Is there a way to make Struts print out more messages to standard 
|out ? Like
|when it loads the form-bean and resets form values into the jsp ?
|
|Thanks
| 
|-- pady
|[EMAIL PROTECTED]
| 
|
|
|-
|To unsubscribe, e-mail: [EMAIL PROTECTED]
|For additional commands, e-mail: [EMAIL PROTECTED]
|
|

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: debug level of struts...

2003-09-05 Thread Peter Smith
Hi Pady,

You might try adding this to your action servlet in web.xml:


  debug
  99


Let me know if this works for you,

Peter
-- 
Peter Smith
Software Engineer
InfoNow Corporation

> From: Pady Srinivasan <[EMAIL PROTECTED]>
> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Date: Fri, 5 Sep 2003 08:10:33 -0400
> To: [EMAIL PROTECTED]
> Subject: debug level of struts...
> 
> 
> 
> Is there a way to make Struts print out more messages to standard out ? Like
> when it loads the form-bean and resets form values into the jsp ?
> 
> Thanks
> 
> -- pady
> [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: debug level of struts...

2003-09-05 Thread Bradley Handy
http://jakarta.apache.org/struts/userGuide/building_controller.html#logg
ing

> -Original Message-
> From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 05, 2003 8:11 AM
> To: [EMAIL PROTECTED]
> Subject: debug level of struts...
> 
> 
> 
> Is there a way to make Struts print out more messages to standard out
?
> Like
> when it loads the form-bean and resets form values into the jsp ?
> 
> Thanks
> 
> -- pady
> [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



debug level of struts...

2003-09-05 Thread Pady Srinivasan


Is there a way to make Struts print out more messages to standard out ? Like
when it loads the form-bean and resets form values into the jsp ?

Thanks
 
-- pady
[EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] Re: How to Proper Debug Struts Actions and stuff with the Eclipse plataform

2003-09-04 Thread David Graham
--- José_Gustavo_Zagato <[EMAIL PROTECTED]> wrote:
> Thanks David !
> 
>   One more question :
> 
>   Did you include your java project into tomcat classPath ? 

No, and I had problems when I tried including it.

David

>   Im asking this because every time I try to include my project
> into the  tomcat classPath the plugin can't start the tomcat,
> because it dosen'tfind the standartServerClass of the Catalina.
> 
>   Tks !
> 
> Cheers !
> 
>   José Gustavo Zagato Rosa
> System Analyst - Atos Origin
> [EMAIL PROTECTED]
> 
> 
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED] 
> Sent: quinta-feira, 4 de setembro de 2003 11:51
> To: Struts Users Mailing List
> Subject: [OT] Re: How to Proper Debug Struts Actions and stuff with the
> Eclipse plataform 
> 
> --- José_Gustavo_Zagato <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > Hi Folks !!
> > 
> > I'm Experiencing to much trouble to debug a web/Struts
> > application with the Eclipse (not WSAD !). Im trying to use the Sysdeo
> > TomCat plugin but so far I just get exceptions while tring to debug.
> > 
> > So, does anyone here can tell me a nice plug-in or any cool
> > trick to get it done ASAP ?
> 
> I'm using the Sysdeo plugin and it works great for debugging.  All you
> need to do is set a breakpoint in your Action and it should stop there
> when you hit the page that calls the Action.  Make sure the plugin is
> launching Tomcat in debug mode (I believe this is the default).  There's
> not much more help I can give you without more details.
> 
> David
> 
> 
> > 
> > Cheers !
> > 
> >   José Gustavo Zagato Rosa
> > System Analyst - Atos Origin
> > [EMAIL PROTECTED]
> > 
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> __
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] Re: How to Proper Debug Struts Actions and stuff with the Eclipse plataform

2003-09-04 Thread José Gustavo Zagato
Thanks David !

One more question :

Did you include your java project into tomcat classPath ? 
Im asking this because every time I try to include my project
into thetomcat classPath the plugin can't start the tomcat,
because it dosen't  find the standartServerClass of the Catalina.

Tks !

Cheers !

  José Gustavo Zagato Rosa
System Analyst - Atos Origin
[EMAIL PROTECTED]


-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED] 
Sent: quinta-feira, 4 de setembro de 2003 11:51
To: Struts Users Mailing List
Subject: [OT] Re: How to Proper Debug Struts Actions and stuff with the
Eclipse plataform 

--- José_Gustavo_Zagato <[EMAIL PROTECTED]> wrote:
> 
> 
> Hi Folks !!
> 
>   I'm Experiencing to much trouble to debug a web/Struts
> application with the Eclipse (not WSAD !). Im trying to use the Sysdeo
> TomCat plugin but so far I just get exceptions while tring to debug.
> 
>   So, does anyone here can tell me a nice plug-in or any cool
> trick to get it done ASAP ?

I'm using the Sysdeo plugin and it works great for debugging.  All you
need to do is set a breakpoint in your Action and it should stop there
when you hit the page that calls the Action.  Make sure the plugin is
launching Tomcat in debug mode (I believe this is the default).  There's
not much more help I can give you without more details.

David


> 
> Cheers !
> 
>   José Gustavo Zagato Rosa
> System Analyst - Atos Origin
> [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] Re: How to Proper Debug Struts Actions and stuff with the Eclipse plataform

2003-09-04 Thread David Graham
--- José_Gustavo_Zagato <[EMAIL PROTECTED]> wrote:
> 
> 
> Hi Folks !!
> 
>   I'm Experiencing to much trouble to debug a web/Struts
> application with the Eclipse (not WSAD !). Im trying to use the Sysdeo
> TomCat plugin but so far I just get exceptions while tring to debug.
> 
>   So, does anyone here can tell me a nice plug-in or any cool
> trick to get it done ASAP ?

I'm using the Sysdeo plugin and it works great for debugging.  All you
need to do is set a breakpoint in your Action and it should stop there
when you hit the page that calls the Action.  Make sure the plugin is
launching Tomcat in debug mode (I believe this is the default).  There's
not much more help I can give you without more details.

David


> 
> Cheers !
> 
>   José Gustavo Zagato Rosa
> System Analyst - Atos Origin
> [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to Proper Debug Struts Actions and stuff with the Eclipse plataform

2003-09-04 Thread José Gustavo Zagato


Hi Folks !!

I'm Experiencing to much trouble to debug a web/Struts
application with the Eclipse (not WSAD !). Im trying to use the Sysdeo
TomCat plugin but so far I just get exceptions while tring to debug.

So, does anyone here can tell me a nice plug-in or any cool
trick to get it done ASAP ?

Cheers !

  José Gustavo Zagato Rosa
System Analyst - Atos Origin
[EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Automatic debug into flushout to console

2003-08-14 Thread Raj Atchutuni
I am using Struts 1.1 W/ Dynaforms, multiple struts config files (4), mutiple tiles 
def files(4). I am using WSAD 5.0 for development and deployed on Unix environment. 
 
At the start up of the home page on Unix i see enormous debug statements, which 
causing me to wait for 5 mins for the page. Looks like they are xml parser debug 
statements. I dont see this problem when i am running the application in WSAD on my 
local.
 
Can any one help me with this problem.
Thanks
Raj


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Re: Struts debug statements at startup

2003-08-14 Thread Raj Atchutuni
I am using Struts 1.1 W/ Dynaforms, multiple struts config files (4), 
mutiple tiles def files(4). I am using WSAD 5.0 for development and 
deployed on Unix environment. 
 
At the start up of the home page on Unix i see enormous debug 
statements, which causing me to wait for 5 mins for the page. Looks like they 
are xml parser debug statements. I dont see this problem when i am 
running the application in WSAD on my local.
 
Can any one help me with this problem.
Thanks
Raj
 
--
 
ignorableWhitespace(  )
startElement(,action,action)
  Pushing body text ''
  New match='struts-config/action-mappings/action'
  Fire begin() for FactoryCreateRule[className=null, attributeName=null, [EMAIL 
PROTECTED]
[FactoryCreateRule]{struts-config/action-mappings/action} New 
org.apache.struts.action.ActionMapping
  Fire begin() for SetPropertiesRule[]
[SetPropertiesRule]{struts-config/action-mappings/action} Setting property 'path' to 
'/sheraton'
[SetPropertiesRule]{struts-config/action-mappings/action} Setting property 'type' to 
'com.manheim.faao.action.pb.PublicAction'
[SetPropertiesRule]{struts-config/action-mappings/action} Setting property 'validate' 
to 'false'
[SetPropertiesRule]{struts-config/action-mappings/action} Set 
org.apache.struts.action.ActionMapping properties

  Using converter [EMAIL PROTECTED]
  
setProperty(ActionConfig[path=null,scope=session,type=com.manheim.faao.action.pb.PublicAction,
 path, /sheraton)
Convert string '/sheraton' to class 'java.lang.String'
  Using converter [EMAIL PROTECTED]
  
setProperty(ActionConfig[path=/sheraton,scope=session,type=com.manheim.faao.action.pb.PublicAction,
 validate, false)
Convert string 'false' to class 'boolean'
  Using converter [EMAIL PROTECTED]
  Fire begin() for SetNextRule[methodName=addActionConfig, 
paramType=org.apache.struts.config.ActionConfig]
ignorableWhitespace()
ignorableWhitespace(
)
ignorableWhitespace(   )
startElement(,forward,forward)
  Pushing body text ''
  New match='struts-config/action-mappings/action/forward'
  Fire begin() for ObjectCreateRule[className=org.apache.struts.action.ActionForward, 
attributeName=className]
[ObjectCreateRule]{struts-config/action-mappings/action/forward}New 
org.apache.struts.action.ActionForward
  Fire begin() for SetPropertiesRule[]
[SetPropertiesRule]{struts-config/action-mappings/action/forward} Setting property 
'name' to 'success'
[SetPropertiesRule]{struts-config/action-mappings/action/forward} Setting property 
'path' to 'faao.public.sheraton'
[SetPropertiesRule]{struts-config/action-mappings/action/forward} Set 
org.apache.struts.action.ActionForward properties
BeanUtils.populate(ForwardConfig[name=null,path=null,redirect=false,contextRelative=false],
 {name=success, path=faao.public.sheraton})
  setProperty(ForwardConfig[name=null,path=null,redirect=false,contextRelative=false], 
name, success)
Convert string 'success' to class 'java.lang.String'
  Using converter [EMAIL PROTECTED]
  
setProperty(ForwardConfig[name=success,path=null,redirect=false,contextRelative=false],
 path, faao.public.sheraton)
Convert string 'faao.public.sheraton' to class 'java.lang.String'
  Using converter [EMAIL PROTECTED]
  Fire begin() for SetNextRule[methodName=addForwardConfig, 
paramType=org.apache.struts.config.ForwardConfig]
endElement(,forward,forward)
  match='struts-config/action-mappings/action/forward'
  bodyText=''
  Fire body() for ObjectCreateRule[className=org.apache.struts.action.ActionForward, 
attributeName=className]
  Fire body() for SetPropertiesRule[]
  Fire body() for SetNextRule[methodName=addForwardConfig, 
paramType=org.apache.struts.config.ForwardConfig]
  Popping body text ''
  Fire end() for SetNextRule[methodName=addForwardConfig, 
paramType=org.apache.struts.config.ForwardConfig]
[SetNextRule]{struts-config/action-mappings/action/forward} Call 
org.apache.struts.action.ActionMapping.addForwardConfig(ForwardConfig[name=success,path=faao.public.sheraton,redirect=false,contextRelative=false])
Matching name=addForwardConfig on class org.apache.struts.action.ActionMapping
Found straight match: public void 
org.apache.struts.config.ActionConfig.addForwardConfig(org.apache.struts.config.ForwardConfig)
isPublic:true
  Fire end() for SetPropertiesRule[]
  Fire end() for ObjectCreateRule[className=org.apache.struts.action.ActionForward, 
attributeName=className]
[ObjectCreateRule]{struts-config/action-mappings/action/forward} Pop 
org.apache.struts.action.ActionForward
ignorableWhitespace()



-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Struts 1.1 - can't see debug entries.

2003-07-07 Thread Arik Levin ( Tikal )
Hi all.

First, congratulations for the new struts 1.1 release, well done!

I did upgrade my application from struts 1.1b3 >> struts 1.1
release. It works like a charm.
But, I can't see the debug entries though I did turn it on like
this:

   
action
org.apache.struts.action.ActionServlet

  config
  /WEB-INF/struts-config.xml


  debug
  3


  detail
  3

2


In the past I had some conflicts with commons-logging and log4j, I
can't say that there's a problem now, because I see no exceptions. 
Am I missing something?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] Anyone using JSwat to debug Struts apps on Tomcat?

2003-02-24 Thread Wendy Smoak

Sorry for the OT, but I'm trying to track down my mysterious NPE's under
1.1-rc1 and need some help.  If anyone is using JSwat and has a few minutes
to help, please email me privately: [EMAIL PROTECTED]  I have added the Struts
source code to JSwat's sourcepath, and I've started Tomcat with catalina
jpda start, but I can't figure out how to attach and see anything.

Thanks,
Wendy Smoak


RE: Struts Validator Debug output? What is it doing?

2003-01-30 Thread Craig R. McClanahan


On Wed, 29 Jan 2003, Alireza Fattahi wrote:

> Date: Wed, 29 Jan 2003 12:52:14 +0330
> From: Alireza Fattahi <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: RE: Struts Validator Debug output? What is it doing?
>
> I have put these files in web-inf\classes folder but nothing happened:
>

Be sure you're using "/WEB-INF", not "/web-inf" -- directory and file
names are case sensitive in webapps.

> commons-logging.properties:
> org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JCategory
> Log
>
>
> log4j.properties
> # A sample log4j configuration file
>
> # Create two appenders, one called stdout and the other called rolling
> log4j.rootLogger=FATAL, stdout, rolling
>
> # Configure the stdout appender to go to the Console
> log4j.appender.stdout=org.apache.log4j.ConsoleAppender
>
> #  Configure the stdout appender to use the PatternLayout
> log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
>
> # Pattern to output the caller's file name and line number.
> log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
>
> # Configure the rolling appender to be a RollingFileAppender
> log4j.appender.rolling=org.apache.log4j.RollingFileAppender
>
> # Configure the name of the logout for the rolling appender
> log4j.appender.rolling.File=d:\\logs.log
>
> # Set up the maximum size of the rolling log file
> log4j.appender.rolling.MaxFileSize=1KB
>
> # Keep one backup file of the rolling appender
> log4j.appender.rolling.MaxBackupIndex=1
>
> # Configure the Layout pattern and conversion pattern for the rolling
> appender
> log4j.appender.rolling.layout=org.apache.log4j.PatternLayout
> log4j.appender.rolling.layout.ConversionPattern=%d{ABSOLUTE} - %p %c - %m%n
>
>
> By the I could not find the user guide on the site. Should I download the
> 1.1b3 full?
>

  http://jakarta.apache.org/struts/userGuide/

It is also included in the struts-documentation.war file of the full
binary release.

Craig

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Struts Validator Debug output? What is it doing?

2003-01-29 Thread Evan Schnell
PILGRIM, Peter, FM wrote:


Hi

Back at work. Weirdo problem with Struts validator.
I found that it works with only one field inside form inside a formset.
Yesterday I did intensive debugging and strip down the XML to the basics
When I start adding extra fields then the validator no longer works.


   
   
   
   
   



	


This is the most basic XML configuration. Blast it!
 

You need to close your form tag?  

Evan.


--
Evan Schnell, Technical Lead
nVISIA, Twin Cities  "Digital Architecture and Construction"
7701 France Ave. S, Edina, MN 55435
Voice: 952.837.2577 -- Fax: 952.837.2578 -- Mobile: 612.232.5972




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Struts Validator Debug output? What is it doing?

2003-01-29 Thread PILGRIM, Peter, FM
Hi

Back at work. Weirdo problem with Struts validator.
I found that it works with only one field inside form inside a formset.
Yesterday I did intensive debugging and strip down the XML to the basics
When I start adding extra fields then the validator no longer works.













This is the most basic XML configuration. Blast it!

--
Peter Pilgrim,
Struts/J2EE Consultant, RBoS FM, Risk IT
Tel: +44 (0)207-375-4923



  Visit our Internet site at http://www.rbsmarkets.com

This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.
The Royal Bank of Scotland plc is registered in Scotland No 90312
Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB
Regulated by the Financial Services Authority


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Struts Validator Debug output? What is it doing?

2003-01-29 Thread Alireza Fattahi
I have put these files in web-inf\classes folder but nothing happened:

commons-logging.properties:
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JCategory
Log


log4j.properties
# A sample log4j configuration file

# Create two appenders, one called stdout and the other called rolling
log4j.rootLogger=FATAL, stdout, rolling

# Configure the stdout appender to go to the Console
log4j.appender.stdout=org.apache.log4j.ConsoleAppender

#  Configure the stdout appender to use the PatternLayout
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

# Pattern to output the caller's file name and line number.
log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n

# Configure the rolling appender to be a RollingFileAppender
log4j.appender.rolling=org.apache.log4j.RollingFileAppender

# Configure the name of the logout for the rolling appender
log4j.appender.rolling.File=d:\\logs.log

# Set up the maximum size of the rolling log file
log4j.appender.rolling.MaxFileSize=1KB

# Keep one backup file of the rolling appender
log4j.appender.rolling.MaxBackupIndex=1

# Configure the Layout pattern and conversion pattern for the rolling
appender
log4j.appender.rolling.layout=org.apache.log4j.PatternLayout
log4j.appender.rolling.layout.ConversionPattern=%d{ABSOLUTE} - %p %c - %m%n


By the I could not find the user guide on the site. Should I download the
1.1b3 full?



-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 29, 2003 11:08 AM
To: Struts Users Mailing List
Subject: RE: Struts Validator Debug output? What is it doing?



On Wed, 29 Jan 2003, Alireza Fattahi wrote:

> Date: Wed, 29 Jan 2003 09:01:02 +0330
> From: Alireza Fattahi <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: RE: Struts Validator Debug output? What is it doing?
>
> I have the opposite problem!
> When the application starts all the validation messages are put on the
> stdout. I have not configured any thing. How can I stop it?
> By the way I have put the debug and detail tags values in the web.xml to 0
> but I still get INFO information in stdout!
> Any help?

Struts 1.1 totally ignores the "debug" and "detail" environment
variables.

Instead, you need to learn how to configure the logging environment you
are using.  A good starting point is the commons-logging package
description:

  http://jakarta.apache.org/commons/logging/api/

followed by learning how to configure your logging implementation (Log4J
or JDK 1.4 or whatever).  I suspect you probably have the default level
for all loggers set to DEBUG or something like that.

There's also material in the most recent update to the User's Guide
about this.

Craig

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Struts Validator Debug output? What is it doing?

2003-01-28 Thread Craig R. McClanahan


On Wed, 29 Jan 2003, Alireza Fattahi wrote:

> Date: Wed, 29 Jan 2003 09:01:02 +0330
> From: Alireza Fattahi <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: RE: Struts Validator Debug output? What is it doing?
>
> I have the opposite problem!
> When the application starts all the validation messages are put on the
> stdout. I have not configured any thing. How can I stop it?
> By the way I have put the debug and detail tags values in the web.xml to 0
> but I still get INFO information in stdout!
> Any help?

Struts 1.1 totally ignores the "debug" and "detail" environment
variables.

Instead, you need to learn how to configure the logging environment you
are using.  A good starting point is the commons-logging package
description:

  http://jakarta.apache.org/commons/logging/api/

followed by learning how to configure your logging implementation (Log4J
or JDK 1.4 or whatever).  I suspect you probably have the default level
for all loggers set to DEBUG or something like that.

There's also material in the most recent update to the User's Guide
about this.

Craig

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Struts Validator Debug output? What is it doing?

2003-01-28 Thread Alireza Fattahi
I have the opposite problem!
When the application starts all the validation messages are put on the
stdout. I have not configured any thing. How can I stop it? 
By the way I have put the debug and detail tags values in the web.xml to 0
but I still get INFO information in stdout!
Any help?

Thanks,

-Original Message-
From: Evan Schnell [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 28, 2003 6:36 PM
To: Struts Users Mailing List
Subject: Re: Struts Validator Debug output? What is it doing?

PILGRIM, Peter, FM wrote:

>There must be a better way!
>
>Is there anyway figure what the Struts validator is doing? Something like 
>getting a log dump to stdout console. If there is any error then output
>is silent!
>  
>
Are you are still using the default logging configuration?  The Struts 
validator writes a great deal of information to the commons-logging 
debug log.   If you have not configured the logging subsystem to display 
debug messages, most of the validator output will never be logged or 
displayed on the console.

Have a look at: 
http://jakarta.apache.org/struts/userGuide/building_controller.html#logging

Regards,
Evan.
-- 

Evan Schnell, Technical Lead
nVISIA, Twin Cities  "Digital Architecture and Construction"
7701 France Ave. S, Edina, MN 55435
Voice: 952.837.2577 -- Fax: 952.837.2578 -- Mobile: 612.232.5972




--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Struts Validator Debug output? What is it doing?

2003-01-28 Thread PILGRIM, Peter, FM
> -Original Message-
> From: PILGRIM, Peter, FM 
> 
> Is there anyone out there who is an expert on Struts validator?
----
Don't bother! "Soy un Tonto mas grande de la Dia"

--
Peter Pilgrim,
Struts/J2EE Consultant, RBoS FM, Risk IT
Tel: +44 (0)207-375-4923





  Visit our Internet site at http://www.rbsmarkets.com

This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.
The Royal Bank of Scotland plc is registered in Scotland No 90312
Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB
Regulated by the Financial Services Authority


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Struts Validator Debug output? What is it doing?

2003-01-28 Thread Evan Schnell
PILGRIM, Peter, FM wrote:


   

Cut the rubbish. 


Do you see your "forms" load from validator.xml on startup?

You should see something like:


15633   [main] DEBUG -   New match='form-validation/formset/form'
15643   [main] DEBUG -   Fire begin() for 
ObjectCreateRule[className=org.apache.commons.validator.Form, 
attributeName=className]
15643   [main] DEBUG - 
[ObjectCreateRule]{form-validation/formset/form}New 
org.apache.commons.validator.Form
15643   [main] DEBUG -   Fire begin() for SetPropertiesRule[]
15643   [main] DEBUG - [SetPropertiesRule]{form-validation/formset/form} 
Setting property 'name' to 'addToCartForm'
15643   [main] DEBUG - [SetPropertiesRule]{form-validation/formset/form} 
Set org.apache.commons.validator.Form properties
15643   [main] DEBUG - BeanUtils.populate(Form: null
, {name=addToCartForm})
15653   [main] DEBUG -   setProperty(Form: null

--and/or---

  Form: productDetailForm
   Field:
   key= productKey
   property=productKey
   

Finally, have you done the major steps in your code:

   1. Make your form implement VaildatorForm or one of its ilk.
   2. Either delete the "validate" method from the form class or make 
sure it calls super.validate().
   3. Make sure the name of your form and its fields in your module 
configuration (struts-config.xml) match the name of the form in 
validation.xml.  
  
I have not done a lot with nested properties but David Winterfeldt's 
site (http://home.earthlink.net/~dwinterfeldt/index.html) claims they 
work with the validator.

Regards, Evan.


--
Evan Schnell, Technical Lead
nVISIA, Twin Cities  "Digital Architecture and Construction"
7701 France Ave. S, Edina, MN 55435
http://www.nvisia.com




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



RE: Struts Validator Debug output? What is it doing?

2003-01-28 Thread PILGRIM, Peter, FM
Is there anyone out there who is an expert on Struts validator?
--
Peter Pilgrim,
Struts/J2EE Consultant, RBoS FM, Risk IT
Tel: +44 (0)207-375-4923



  Visit our Internet site at http://www.rbsmarkets.com

This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.
The Royal Bank of Scotland plc is registered in Scotland No 90312
Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB
Regulated by the Financial Services Authority


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Struts Validator Debug output? What is it doing?

2003-01-28 Thread PILGRIM, Peter, FM
> -Original Message-
> From: PILGRIM, Peter, FM 
> 
> > -Original Message-
> > From: Evan Schnell [mailto:[EMAIL PROTECTED]]
> > 
> > PILGRIM, Peter, FM wrote:
> > 
> > >There must be a better way!
> > >
> > >Is there anyway figure what the Struts validator is doing? 
> > Something like 
> > >getting a log dump to stdout console. If there is any error 
> > then output
> > >is silent!
> > >  
> > >
> > Are you are still using the default logging configuration?  
> > The Struts 
> > validator writes a great deal of information to the commons-logging 
> > debug log.   If you have not configured the logging subsystem 
> > to display 
> > debug messages, most of the validator output will never be 
> logged or 
> > displayed on the console.
> > 
> > Have a look at: 
> >
> http://jakarta.apache.org/struts/userGuide/building_controller
> .html#logging
> 
> Hi
> 
> I had a look at this page, but where is the config info? I am using 
> JDeveloper at the mo, so I dont think I will find a log4j there.
> So it gots to be simple log plug-in?
> 

----

Cut the rubbish. I just installed log4j on my box with JDeveloper 
and set up a quick log4j.xml config file. I then set up the classpath 
and libs, and jar in the right location. Guess what! I still dont 
see any debuggable output.



http://jakarta.apache.org/log4j/";>



















How do I kick the Struts validator into giving some feedback?

I know that ValidatorPlugIn loads fine,

2003-01-28 15:38:24,695 [HttpRequestHandler-297] INFO - Loading validation
rules file from '/WEB-INF/validator-rules.xml'
2003-01-28 15:38:25,132 [HttpRequestHandler-297] INFO - Add ValidatorAction:
required,org.apache.struts.validator.FieldChecks
creditCard,org.apache.struts.validator.FieldChecks

----

2003-01-28 15:38:25,148 [HttpRequestHandler-297] INFO - Add ValidatorAction:
email,org.apache.struts.validator.FieldChecks
2003-01-28 15:38:25,148 [HttpRequestHandler-297] INFO - Loading validation
rules file from '/WEB-INF/validation.xml'
2003-01-28 15:38:25,648 [HttpRequestHandler-297] INFO - Adding FormSet
'FormSet: language=null  country=null  variant=null

MTIA
--
Peter Pilgrim,
Struts/J2EE Consultant, RBoS FM, Risk IT
Tel: +44 (0)207-375-4923




  Visit our Internet site at http://www.rbsmarkets.com

This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.
The Royal Bank of Scotland plc is registered in Scotland No 90312
Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB
 Regulated by the Financial Services Authority


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Struts Validator Debug output? What is it doing?

2003-01-28 Thread PILGRIM, Peter, FM

> -Original Message-
> From: Evan Schnell [mailto:[EMAIL PROTECTED]]
> 
> PILGRIM, Peter, FM wrote:
> 
> >There must be a better way!
> >
> >Is there anyway figure what the Struts validator is doing? 
> Something like 
> >getting a log dump to stdout console. If there is any error 
> then output
> >is silent!
> >  
> >
> Are you are still using the default logging configuration?  
> The Struts 
> validator writes a great deal of information to the commons-logging 
> debug log.   If you have not configured the logging subsystem 
> to display 
> debug messages, most of the validator output will never be logged or 
> displayed on the console.
> 
> Have a look at: 
>
http://jakarta.apache.org/struts/userGuide/building_controller.html#logging

Hi

I had a look at this page, but where is the config info? I am using 
JDeveloper at the mo, so I dont think I will find a log4j there.
So it gots to be simple log plug-in?

My problem is that Validator Plug-in loads and read the XML files
correctly. It just not does not do any validation at all. 
I looked at the validator.xml file and it looks right to me.
I looked hard at my form name and nested property names, but
I can't see the bug.

I ran the JDeveloper Debugger through my ValidatorForm and traced the
"validate(...)" call into the `Validator.init()' and 
`Validator.validate()' but an empty ActionErrors collection always 
comes back.

So I know it is not dreaded classloader issues again.

--
Peter Pilgrim,
Struts/J2EE Consultant, RBoS FM, Risk IT
Tel: +44 (0)207-375-4923



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



  Visit our Internet site at http://www.rbsmarkets.com

This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.
The Royal Bank of Scotland plc is registered in Scotland No 90312
Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB
Regulated by the Financial Services Authority


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Struts Validator Debug output? What is it doing?

2003-01-28 Thread Evan Schnell
PILGRIM, Peter, FM wrote:


There must be a better way!

Is there anyway figure what the Struts validator is doing? Something like 
getting a log dump to stdout console. If there is any error then output
is silent!
 

Are you are still using the default logging configuration?  The Struts 
validator writes a great deal of information to the commons-logging 
debug log.   If you have not configured the logging subsystem to display 
debug messages, most of the validator output will never be logged or 
displayed on the console.

Have a look at: 
http://jakarta.apache.org/struts/userGuide/building_controller.html#logging

Regards,
Evan.
--

Evan Schnell, Technical Lead
nVISIA, Twin Cities  "Digital Architecture and Construction"
7701 France Ave. S, Edina, MN 55435
Voice: 952.837.2577 -- Fax: 952.837.2578 -- Mobile: 612.232.5972




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Struts Validator Debug output? What is it doing?

2003-01-28 Thread PILGRIM, Peter, FM
There must be a better way!

Is there anyway figure what the Struts validator is doing? Something like 
getting a log dump to stdout console. If there is any error then output
is silent!

I am trying to find out if it is validating on a nested field property
as integer and a date string.

--
Peter Pilgrim,
Struts/J2EE Consultant, RBoS FM, Risk IT
Tel: +44 (0)207-375-4923



  Visit our Internet site at http://www.rbsmarkets.com

This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.
The Royal Bank of Scotland plc is registered in Scotland No 90312
Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB
 Regulated by the Financial Services Authority


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: How to switch debug off?

2002-12-09 Thread Edgar P. Dollin
Look in web.xml under the init-params for struts.  There is a debug
level.  It is described in the manual.

Edgar

-Original Message-
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 09, 2002 3:45 PM
To: 'Struts Users Mailing List'
Subject: How to switch debug off?


After I start tomcat with struts, I see a lot of log messages. How can I
switch that off?

I mean messages such as:

2002-12-09 21:41:55,536 DEBUG digester.Digester.sax -
startElement(,display-name,display-name) [main]
2002-12-09 21:41:55,537 DEBUG commons.digester.Digester -   Pushing
body text '' [main]
2002-12-09 21:41:55,538 DEBUG commons.digester.Digester -   New
match='web-app/display-name' [main]
2002-12-09 21:41:55,539 DEBUG commons.digester.Digester -   No rules
found matching 'web-app/display-name'. [main]
2002-12-09 21:41:55,539 DEBUG digester.Digester.sax -
characters(CodeBeamer) [main]
2002-12-09 21:41:55,541 DEBUG digester.Digester.sax -
endElement(,display-name,display-name) [main]
2002-12-09 21:41:55,542 DEBUG commons.digester.Digester -  
match='web-app/display-name' [main]
2002-12-09 21:41:55,543 DEBUG commons.digester.Digester -  
bodyText='CodeBeamer' [main]
2002-12-09 21:41:55,568 DEBUG commons.digester.Digester -   No rules
found matching 'web-app/display-name'. [main]


-- 
Zsolt


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




How to switch debug off?

2002-12-09 Thread Zsolt Koppany
After I start tomcat with struts, I see a lot of log messages. How can I
switch that off?

I mean messages such as:

2002-12-09 21:41:55,536 DEBUG digester.Digester.sax -
startElement(,display-name,display-name) [main]
2002-12-09 21:41:55,537 DEBUG commons.digester.Digester -   Pushing
body text '' [main]
2002-12-09 21:41:55,538 DEBUG commons.digester.Digester -   New
match='web-app/display-name' [main]
2002-12-09 21:41:55,539 DEBUG commons.digester.Digester -   No rules
found matching 'web-app/display-name'. [main]
2002-12-09 21:41:55,539 DEBUG digester.Digester.sax -
characters(CodeBeamer) [main]
2002-12-09 21:41:55,541 DEBUG digester.Digester.sax -
endElement(,display-name,display-name) [main]
2002-12-09 21:41:55,542 DEBUG commons.digester.Digester -  
match='web-app/display-name' [main]
2002-12-09 21:41:55,543 DEBUG commons.digester.Digester -  
bodyText='CodeBeamer' [main]
2002-12-09 21:41:55,568 DEBUG commons.digester.Digester -   No rules
found matching 'web-app/display-name'. [main]


-- 
Zsolt


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: RE : setting debug level for digester, sax, beanUtils...

2002-11-27 Thread Craig R. McClanahan


On Wed, 27 Nov 2002 [EMAIL PROTECTED] wrote:

> Date: Wed, 27 Nov 2002 08:59:57 -0500
> From: [EMAIL PROTECTED]
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: RE : setting debug level for digester, sax, beanUtils...
>
> I got it. There was an error in my log4j property file.
>
> N.B. I still does not understand the struts debug and detail init parameter,
> what it does and how.
>

In Struts 1.1, the "debug" and "detail" parameters are deprecated -- they
are leftovers from the way that Struts 1.0 did logging.

> Thanks you.

Craig


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE : setting debug level for digester, sax, beanUtils...

2002-11-27 Thread Roy . Stephan
I got it. There was an error in my log4j property file.

N.B. I still does not understand the struts debug and detail init parameter,
what it does and how.

Thanks you.

-Message d'origine-
De : Craig R. McClanahan [mailto:[EMAIL PROTECTED]] 
Envoyé : mardi 26 novembre 2002 19:49
À : Struts Users Mailing List
Objet : Re: setting debug level for digester, sax, beanUtils...



On Tue, 26 Nov 2002 [EMAIL PROTECTED] wrote:

> Date: Tue, 26 Nov 2002 16:05:46 -0500
> From: [EMAIL PROTECTED]
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: setting debug level for digester, sax, beanUtils...
>
>
> Hi,
>
> I am trying to turn off logging for Struts and sub-components while
keeping
> logging on for my own code. I have put the debug and detail init parameter
> to 0 in web.xml but I receive debug messages from digester, sax, beanUtils
> and others.
>

In 1.1, Struts and all the commons libraries it employes use
commons-logging as an abstraction to the underlying logging system -- in
turn, this allows you to use a variety of logging implementations such as
Log4J, JDK 1.4 logging, or a simple write-to-System.err default
implementation.  The actual configuration of the logging is done with the
configuration file for your logging mechanism (for example, to set up JDK
1.4 logging you edit <$JAVA_HOME/jre/lib/logging.properties>.

To configure *what* gets logged, the important issue is to understand the
default log name conventions of Apache code (typically the fully qualified
class name of the corresponding class).  Also, the typical logging
configuraiton file is hierarchical -- so that you can say things like this
to set the usual Struts logging levels to INFO, but get detailed debug
info from RequestProcessor (uses JDK 1.4 syntax):

org.apache.struts.level =INFO
org.apache.struts.action.RequestProcessor.level = DEBUG

Check the docs for configuring whichever logging implementation you want
to use for how to configure levels by logger name.  For the simple default
logger, it's in the package description at:

http://jakarta.apache.org/commons/logging/api/


> Does anyone know how to confugure the struts-config or/and web.xml?
>
> Thanks
> Stephan
>

Craig



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



Re: setting debug level for digester, sax, beanUtils...

2002-11-27 Thread Kris Schneider
In your log4j XML config file:


  
  


Quoting [EMAIL PROTECTED]:

> I am using log4j for logging. It works fine. I do not want to see the
> logging information coming from Struts and any other libraries it uses.
> 
> Thanks
> 
> -Message d'origine-
> De : CraigFournier [mailto:[EMAIL PROTECTED]] 
> Envoyé : mardi 26 novembre 2002 16:32
> À : [EMAIL PROTECTED]
> Objet : Re: setting debug level for digester, sax, beanUtils...
> 
> What version of JDK are you using?  If you are using JDK 1.4, it has
> logging
> within it.
> Look in /jre/lib/logging.properties.
> 
> If you are using another version of JDK then you must use a logging program
> like
> log4j and read the init file at startup time to control logging.
> 
> I'm am not sure what the default logging behavior is.
> 
> Hope that helps a little.
> 
> Craig
> 
> 
> 
> 
>Craig Fournier
>Phone: 303-494-7847
>Email: [EMAIL PROTECTED]
>FAX: 303-494-5395
> 
> 
> 
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, November 26, 2002 2:05 PM
> Subject: setting debug level for digester, sax, beanUtils...
> 
> 
> >
> > Hi,
> >
> > I am trying to turn off logging for Struts and sub-components while
> keeping
> > logging on for my own code. I have put the debug and detail init
> parameter
> > to 0 in web.xml but I receive debug messages from digester, sax,
> beanUtils
> > and others.
> >
> > Does anyone know how to confugure the struts-config or/and web.xml?
> >
> > Thanks
> > Stephan
> >
> 


-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech   <http://www.dotech.com/>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE : setting debug level for digester, sax, beanUtils...

2002-11-27 Thread Roy . Stephan
I am using log4j for logging. It works fine. I do not want to see the
logging information coming from Struts and any other libraries it uses.

Thanks

-Message d'origine-
De : CraigFournier [mailto:[EMAIL PROTECTED]] 
Envoyé : mardi 26 novembre 2002 16:32
À : [EMAIL PROTECTED]
Objet : Re: setting debug level for digester, sax, beanUtils...

What version of JDK are you using?  If you are using JDK 1.4, it has logging
within it.
Look in /jre/lib/logging.properties.

If you are using another version of JDK then you must use a logging program
like
log4j and read the init file at startup time to control logging.

I'm am not sure what the default logging behavior is.

Hope that helps a little.

Craig




   Craig Fournier
   Phone: 303-494-7847
   Email: [EMAIL PROTECTED]
   FAX: 303-494-5395



- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 2:05 PM
Subject: setting debug level for digester, sax, beanUtils...


>
> Hi,
>
> I am trying to turn off logging for Struts and sub-components while
keeping
> logging on for my own code. I have put the debug and detail init parameter
> to 0 in web.xml but I receive debug messages from digester, sax, beanUtils
> and others.
>
> Does anyone know how to confugure the struts-config or/and web.xml?
>
> Thanks
> Stephan
>



Re: setting debug level for digester, sax, beanUtils...

2002-11-26 Thread Craig R. McClanahan


On Tue, 26 Nov 2002 [EMAIL PROTECTED] wrote:

> Date: Tue, 26 Nov 2002 16:05:46 -0500
> From: [EMAIL PROTECTED]
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: setting debug level for digester, sax, beanUtils...
>
>
> Hi,
>
> I am trying to turn off logging for Struts and sub-components while keeping
> logging on for my own code. I have put the debug and detail init parameter
> to 0 in web.xml but I receive debug messages from digester, sax, beanUtils
> and others.
>

In 1.1, Struts and all the commons libraries it employes use
commons-logging as an abstraction to the underlying logging system -- in
turn, this allows you to use a variety of logging implementations such as
Log4J, JDK 1.4 logging, or a simple write-to-System.err default
implementation.  The actual configuration of the logging is done with the
configuration file for your logging mechanism (for example, to set up JDK
1.4 logging you edit <$JAVA_HOME/jre/lib/logging.properties>.

To configure *what* gets logged, the important issue is to understand the
default log name conventions of Apache code (typically the fully qualified
class name of the corresponding class).  Also, the typical logging
configuraiton file is hierarchical -- so that you can say things like this
to set the usual Struts logging levels to INFO, but get detailed debug
info from RequestProcessor (uses JDK 1.4 syntax):

org.apache.struts.level =INFO
org.apache.struts.action.RequestProcessor.level = DEBUG

Check the docs for configuring whichever logging implementation you want
to use for how to configure levels by logger name.  For the simple default
logger, it's in the package description at:

http://jakarta.apache.org/commons/logging/api/


> Does anyone know how to confugure the struts-config or/and web.xml?
>
> Thanks
> Stephan
>

Craig



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




setting debug level for digester, sax, beanUtils...

2002-11-26 Thread Roy . Stephan

Hi,

I am trying to turn off logging for Struts and sub-components while keeping
logging on for my own code. I have put the debug and detail init parameter
to 0 in web.xml but I receive debug messages from digester, sax, beanUtils
and others.

Does anyone know how to confugure the struts-config or/and web.xml?

Thanks
Stephan



RE: Enabling debug levels - which way?

2002-11-20 Thread Martin Cooper
With Struts 1.1, you configure your logger its own way. Neither the entry
in web.xml nor the entry in struts-config.xml is used.

Since you're using JDK 1.4, it's probably easiest to forget about
SimpleLog and just let Commons Logging pick up the JDK 1.4 logger. Just
make sure that logging.properties has what you need, and it should "just
work" (TM).

That said, I had a heck of a time getting logging to kick in the first
time I tried to use it on Windows. What finally seemed to get it to work
was a reboot (surprise!), but since then it's worked flawlessly.

--
Martin Cooper


On Wed, 20 Nov 2002, Richard Mixon wrote:

> Forgot to add - I'm using the SimpleLog implementation for now, and I am
> running J2SDK 1.4.1.
>
> -Original Message-
> From: Richard Mixon [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 20, 2002 12:54 PM
> To: [EMAIL PROTECTED]
> Subject: Enabling debug levels - which way?
>
>
> In trying to track down why my action is not being called in a previous post
> (Enabling server-side (only) validation with Struts 1.1), I am having  a
> heck of a time getting the debug parameters to change.
>
> I've tried changing the value in the web.xml file:
>
>   
>   
> action
> org.apache.struts.action.ActionServlet
> 
>   config
>   /WEB-INF/struts-config.xml
> 
> 
>   debug
>   6
> 
> 
>   detail
>   6
> 
> 1
>   
>
>
> I've tried in the struts-config.xml file (it seems that this is now the
> preferred method?):
>
>   
> 
>
> 
>   
>
> In each case, whether I set it to 1,2,3,4,5 or 6, My application issues the
> following displays with either a level 5 or 6 set:
>  ContactForm.validate: Logging level=3
>  ContactForm.validate: Error enabled
>  ContactForm.validate: Fatal enabled
>  ContactForm.validate: Info enabled
>  ContactForm.validate: Warn enabled
>  ContactForm.validate: Info mode is on
>  [INFO] class - - Info mode is on
> I print the log level and then check for Debug, Error, Fatal, Info, Warn and
> Trace respectively. As you can see I get no display that Debug and Trace are
> enabled.
>
> Any suggestions are appreciated.
>
> Richard Mixon
> Promoting Value in Information Technology and Software
> cell: (480) 577-6834 home: (480) 614-3442
> email: [EMAIL PROTECTED]
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Enabling debug levels - which way?

2002-11-20 Thread Richard Mixon
David - thanks, but the logging level still stays at 3, even with the
WEB-INF/simplelog.properties setup as you said. I tried it with a name of
simplelog.properties and SimpleLog.properties in case Windows was screwing
things up.

That said, what are the settings in web.xml and struts-config.xml for then?

Any other ideas?

Thanks - Richard

-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 20, 2002 1:28 PM
To: Struts Users Mailing List
Subject: RE: Enabling debug levels - which way?


If you want more debug information from Struts, and you're using the default
SimpleLog, then put a file named "simplelog.properties" in your
WEB-INF/classes with the following contents:

org.apache.commons.logging.simplelog.defaultlog = debug

> -Original Message-
> From: Richard Mixon [mailto:[EMAIL PROTECTED]]
>
> In trying to track down why my action is not being called in
> a previous post
> (Enabling server-side (only) validation with Struts 1.1), I
> am having  a
> heck of a time getting the debug parameters to change.
>
> I've tried changing the value in the web.xml file:
>
>   
>   
> action
>
> org.apache.struts.action.ActionServlet
> 
>   config
>   /WEB-INF/struts-config.xml
> 
> 
>   debug
>   6
> 
> 
>   detail
>   6
> 
> 1
>   
>
>
> I've tried in the struts-config.xml file (it seems that this
> is now the
> preferred method?):
>
>   
> 
>
> 
>   
>
> In each case, whether I set it to 1,2,3,4,5 or 6, My
> application issues the
> following displays with either a level 5 or 6 set:
>  ContactForm.validate: Logging level=3
>  ContactForm.validate: Error enabled
>  ContactForm.validate: Fatal enabled
>  ContactForm.validate: Info enabled
>  ContactForm.validate: Warn enabled
>  ContactForm.validate: Info mode is on
>  [INFO] class - - Info mode is on
> I print the log level and then check for Debug, Error, Fatal,
> Info, Warn and
> Trace respectively. As you can see I get no display that
> Debug and Trace are
> enabled.

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Enabling debug levels - which way?

2002-11-20 Thread Karr, David
If you want more debug information from Struts, and you're using the default 
SimpleLog, then put a file named "simplelog.properties" in your WEB-INF/classes with 
the following contents:

org.apache.commons.logging.simplelog.defaultlog = debug

> -Original Message-
> From: Richard Mixon [mailto:[EMAIL PROTECTED]]
> 
> In trying to track down why my action is not being called in 
> a previous post
> (Enabling server-side (only) validation with Struts 1.1), I 
> am having  a
> heck of a time getting the debug parameters to change.
> 
> I've tried changing the value in the web.xml file:
> 
>   
>   
> action
> 
> org.apache.struts.action.ActionServlet
> 
>   config
>   /WEB-INF/struts-config.xml
> 
> 
>   debug
>   6
> 
> 
>   detail
>   6
> 
> 1
>   
> 
> 
> I've tried in the struts-config.xml file (it seems that this 
> is now the
> preferred method?):
> 
>   
> 
> 
> 
>   
> 
> In each case, whether I set it to 1,2,3,4,5 or 6, My 
> application issues the
> following displays with either a level 5 or 6 set:
>  ContactForm.validate: Logging level=3
>  ContactForm.validate: Error enabled
>  ContactForm.validate: Fatal enabled
>  ContactForm.validate: Info enabled
>  ContactForm.validate: Warn enabled
>  ContactForm.validate: Info mode is on
>  [INFO] class - - Info mode is on
> I print the log level and then check for Debug, Error, Fatal, 
> Info, Warn and
> Trace respectively. As you can see I get no display that 
> Debug and Trace are
> enabled.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Enabling debug levels - which way?

2002-11-20 Thread Richard Mixon
Forgot to add - I'm using the SimpleLog implementation for now, and I am
running J2SDK 1.4.1.

-Original Message-
From: Richard Mixon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 20, 2002 12:54 PM
To: [EMAIL PROTECTED]
Subject: Enabling debug levels - which way?


In trying to track down why my action is not being called in a previous post
(Enabling server-side (only) validation with Struts 1.1), I am having  a
heck of a time getting the debug parameters to change.

I've tried changing the value in the web.xml file:

  
  
action
org.apache.struts.action.ActionServlet

  config
  /WEB-INF/struts-config.xml

    
  debug
  6


  detail
  6

1
  


I've tried in the struts-config.xml file (it seems that this is now the
preferred method?):

  



  

In each case, whether I set it to 1,2,3,4,5 or 6, My application issues the
following displays with either a level 5 or 6 set:
 ContactForm.validate: Logging level=3
 ContactForm.validate: Error enabled
 ContactForm.validate: Fatal enabled
 ContactForm.validate: Info enabled
 ContactForm.validate: Warn enabled
 ContactForm.validate: Info mode is on
 [INFO] class - - Info mode is on
I print the log level and then check for Debug, Error, Fatal, Info, Warn and
Trace respectively. As you can see I get no display that Debug and Trace are
enabled.

Any suggestions are appreciated.

Richard Mixon
Promoting Value in Information Technology and Software
cell: (480) 577-6834 home: (480) 614-3442
email: [EMAIL PROTECTED]


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Enabling debug levels - which way?

2002-11-20 Thread Richard Mixon
In trying to track down why my action is not being called in a previous post
(Enabling server-side (only) validation with Struts 1.1), I am having  a
heck of a time getting the debug parameters to change.

I've tried changing the value in the web.xml file:

  
  
action
org.apache.struts.action.ActionServlet

  config
  /WEB-INF/struts-config.xml


  debug
  6


  detail
  6

1
  


I've tried in the struts-config.xml file (it seems that this is now the
preferred method?):

  



  

In each case, whether I set it to 1,2,3,4,5 or 6, My application issues the
following displays with either a level 5 or 6 set:
 ContactForm.validate: Logging level=3
 ContactForm.validate: Error enabled
 ContactForm.validate: Fatal enabled
 ContactForm.validate: Info enabled
 ContactForm.validate: Warn enabled
 ContactForm.validate: Info mode is on
 [INFO] class - - Info mode is on
I print the log level and then check for Debug, Error, Fatal, Info, Warn and
Trace respectively. As you can see I get no display that Debug and Trace are
enabled.

Any suggestions are appreciated.

Richard Mixon
Promoting Value in Information Technology and Software
cell: (480) 577-6834 home: (480) 614-3442
email: [EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: JSP Debug / IDE's

2002-11-14 Thread edgar
I finally found the Resin specific debug startup command to make the
whole thing work.

Much better.

Thanks

Edgar

-Original Message-
From: edgar [mailto:edgar@;blue-moose.net] 
Sent: Thursday, November 14, 2002 12:58 PM
To: 'Struts Users Mailing List'
Subject: RE: JSP Debug / IDE's


If I am understanding you correctly, you can debug the java code, but
not the jsp code simply by connecting to the webserver daemon.

Thanks, I'll give it another go.

Edgar

-Original Message-
From: Karr, David [mailto:david.karr@;attws.com] 
Sent: Thursday, November 14, 2002 12:39 PM
To: 'Struts Users Mailing List'
Subject: RE: JSP Debug / IDE's


I've been able to use Netbeans to debug web applications in Tomcat,
simply by using the "remote debugger" feature, allowing me to "attach"
to a java process started with the correct parameters to assume remote
debugging.  I just mount my source trees and set breakpoints.  This will
work with other application servers that allow you to just use a script
to run "java" on a class to start the appserver.  Other debuggers also
use the same feature.

Now if you want to directly debug JSP pages, or you want to use the
"embedded" appserver in a debugger, that gets complicated, and is pretty
different with debugger/appserver combination.

> -Original Message-
> From: edgar [mailto:edgar@;blue-moose.net]
> 
> I know this is not exactly the place for this question but most of you

> have a opionions and experience on this issue.
> 
> If you have a standalone piece of Java code with a 'main' debugging is

> a piece of cake.  If you are triing to run an iteractive debugger on 
> the browser / jsp / java combination it is not so straight forward.
> 
> I have tried with Codeguide and Eclipse (I am using Resin as my
> webserver) and I can't get it to do anything approaching usefullness.

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




RE: JSP Debug / IDE's

2002-11-14 Thread Marcelo Collao
> I've been able to use Netbeans to debug web applications in Tomcat,
> simply by using the "remote debugger" feature, allowing me to "attach"
> to a java process started with the correct parameters to assume remote
> debugging.  I just mount my source trees and set breakpoints. 
>  This will
> work with other application servers that allow you to just 
> use a script
> to run "java" on a class to start the appserver.  Other debuggers also
> use the same feature.

I've debugged web applications with Netbeans 3.4/Weblogic 7.0 using the same
way.
It works fine.



RE: JSP Debug / IDE's

2002-11-14 Thread Alvarado, Juan (c)
Why would you ever want to debug a JSP. I see the need to debug action
classes and back end components, but not JSPs.

-Original Message-
From: edgar [mailto:edgar@;blue-moose.net]
Sent: Thursday, November 14, 2002 12:58 PM
To: 'Struts Users Mailing List'
Subject: RE: JSP Debug / IDE's


If I am understanding you correctly, you can debug the java code, but
not the jsp code simply by connecting to the webserver daemon.

Thanks, I'll give it another go.

Edgar

-Original Message-
From: Karr, David [mailto:david.karr@;attws.com] 
Sent: Thursday, November 14, 2002 12:39 PM
To: 'Struts Users Mailing List'
Subject: RE: JSP Debug / IDE's


I've been able to use Netbeans to debug web applications in Tomcat,
simply by using the "remote debugger" feature, allowing me to "attach"
to a java process started with the correct parameters to assume remote
debugging.  I just mount my source trees and set breakpoints.  This will
work with other application servers that allow you to just use a script
to run "java" on a class to start the appserver.  Other debuggers also
use the same feature.

Now if you want to directly debug JSP pages, or you want to use the
"embedded" appserver in a debugger, that gets complicated, and is pretty
different with debugger/appserver combination.

> -Original Message-
> From: edgar [mailto:edgar@;blue-moose.net]
> 
> I know this is not exactly the place for this question but most of you

> have a opionions and experience on this issue.
> 
> If you have a standalone piece of Java code with a 'main'
> debugging is a
> piece of cake.  If you are triing to run an iteractive debugger on the
> browser / jsp / java combination it is not so straight forward.
> 
> I have tried with Codeguide and Eclipse (I am using Resin as my
> webserver) and I can't get it to do anything approaching
> usefullness.  

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>




--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




Re: JSP Debug / IDE's

2002-11-14 Thread David Graham
I don't debug jsps because I've never had the need to.  If your jsp is that 
complicated then you've probably got scriptlets/business logic in there :-(.

David






From: "edgar" <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: JSP Debug / IDE's
Date: Thu, 14 Nov 2002 12:36:20 -0500

I know this is not exactly the place for this question but most of you
have a opionions and experience on this issue.

If you have a standalone piece of Java code with a 'main' debugging is a
piece of cake.  If you are triing to run an iteractive debugger on the
browser / jsp / java combination it is not so straight forward.

I have tried with Codeguide and Eclipse (I am using Resin as my
webserver) and I can't get it to do anything approaching usefullness.

What am I missing?

Thanks

Edgar


--
To unsubscribe, e-mail:   
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: 
<mailto:struts-user-help@;jakarta.apache.org>


_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>



RE: JSP Debug / IDE's

2002-11-14 Thread edgar
If I am understanding you correctly, you can debug the java code, but
not the jsp code simply by connecting to the webserver daemon.

Thanks, I'll give it another go.

Edgar

-Original Message-
From: Karr, David [mailto:david.karr@;attws.com] 
Sent: Thursday, November 14, 2002 12:39 PM
To: 'Struts Users Mailing List'
Subject: RE: JSP Debug / IDE's


I've been able to use Netbeans to debug web applications in Tomcat,
simply by using the "remote debugger" feature, allowing me to "attach"
to a java process started with the correct parameters to assume remote
debugging.  I just mount my source trees and set breakpoints.  This will
work with other application servers that allow you to just use a script
to run "java" on a class to start the appserver.  Other debuggers also
use the same feature.

Now if you want to directly debug JSP pages, or you want to use the
"embedded" appserver in a debugger, that gets complicated, and is pretty
different with debugger/appserver combination.

> -Original Message-
> From: edgar [mailto:edgar@;blue-moose.net]
> 
> I know this is not exactly the place for this question but most of you

> have a opionions and experience on this issue.
> 
> If you have a standalone piece of Java code with a 'main'
> debugging is a
> piece of cake.  If you are triing to run an iteractive debugger on the
> browser / jsp / java combination it is not so straight forward.
> 
> I have tried with Codeguide and Eclipse (I am using Resin as my
> webserver) and I can't get it to do anything approaching
> usefullness.  

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




Re: JSP Debug / IDE's

2002-11-14 Thread Kevin . Bedell



At least parts of this can be accomplished using Cactus. It allows you to
run tests and log information while the code is actually deployed in the
container.

It's not the same as attaching to a container and setting breakpoints, etc.
but I think it will help to avoid the need for that work anyway. Why set a
break point and visually inspect a variable when you can write a Cactus
test that inspects all the variables you want while only flagging you when
it finds one that's not what it expects?

In addition, with Cactus tests, you can leave them in the codebase and
rerun them periodically (or even with every build/deploy cycle during
development and testing) and use them to perform ongoing regression testing
of all your code.

StrutsTestCase makes writng Cactus tests for struts pretty straightforward.
I provide sample code along with instructions and a copy of Catus in my
book.

Kevin

http://www.strutskickstart.com





"edgar" <[EMAIL PROTECTED]> on 11/14/2002 12:36:20 PM

Please respond to "Struts Users Mailing List"
   <[EMAIL PROTECTED]>

To:"'Struts Users Mailing List'" <[EMAIL PROTECTED]>
cc: (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:JSP Debug / IDE's


I know this is not exactly the place for this question but most of you
have a opionions and experience on this issue.

If you have a standalone piece of Java code with a 'main' debugging is a
piece of cake.  If you are triing to run an iteractive debugger on the
browser / jsp / java combination it is not so straight forward.

I have tried with Codeguide and Eclipse (I am using Resin as my
webserver) and I can't get it to do anything approaching usefullness.

What am I missing?

Thanks

Edgar


--
To unsubscribe, e-mail:   <
mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <
mailto:struts-user-help@;jakarta.apache.org>







---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




RE: JSP Debug / IDE's

2002-11-14 Thread Karr, David
I've been able to use Netbeans to debug web applications in Tomcat,
simply by using the "remote debugger" feature, allowing me to "attach"
to a java process started with the correct parameters to assume remote
debugging.  I just mount my source trees and set breakpoints.  This will
work with other application servers that allow you to just use a script
to run "java" on a class to start the appserver.  Other debuggers also
use the same feature.

Now if you want to directly debug JSP pages, or you want to use the
"embedded" appserver in a debugger, that gets complicated, and is pretty
different with debugger/appserver combination.

> -Original Message-
> From: edgar [mailto:edgar@;blue-moose.net]
> 
> I know this is not exactly the place for this question but most of you
> have a opionions and experience on this issue.
> 
> If you have a standalone piece of Java code with a 'main' 
> debugging is a
> piece of cake.  If you are triing to run an iteractive debugger on the
> browser / jsp / java combination it is not so straight forward.
> 
> I have tried with Codeguide and Eclipse (I am using Resin as my
> webserver) and I can't get it to do anything approaching 
> usefullness.  

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




JSP Debug / IDE's

2002-11-14 Thread edgar
I know this is not exactly the place for this question but most of you
have a opionions and experience on this issue.

If you have a standalone piece of Java code with a 'main' debugging is a
piece of cake.  If you are triing to run an iteractive debugger on the
browser / jsp / java combination it is not so straight forward.

I have tried with Codeguide and Eclipse (I am using Resin as my
webserver) and I can't get it to do anything approaching usefullness.  

What am I missing?

Thanks

Edgar


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: How do I enable debug logging for struts

2002-11-01 Thread Eddie Bush
Ignore the pipes - I don't know how they got in there.  Copy/paste error 
I'd say.  Don't include the | chars in your properties file.

org.apache.commons.logging.simplelog.defaultlog=debug
org.apache.commons.logging.simplelog.log.org.apache.struts=debug

Those pipes weren't in the message that I sent.  They sure showed up 
once it got sent though!

Eddie Bush wrote:

The short answer is to examine the javadoc for commons-logging.  The 
top-level package (commons.logging) is a good read.  You'll also be 
interested looking over the javadoc for SimpleLog.

The long answer is to create a simplelog.properties file and place 
within it things like:

|org.apache.commons.logging.simplelog.log.|org.apache.struts=debug

You can also specify:

|org.apache.commons.logging.simplelog.defaultlog=debug
|
All of that came straight from javadoc, so it should be right.

I know many of us are used to having nice user guides etc to go along 
with the excellent software provided by Jakarta.  The fact of the 
matter, however, is that some projects are primarily used "uder the 
covers" of other jakarta projects.  As such, it seems the only 
documentation they have on them is contained in their javadocs.  If 
you're not reading the javadocs for the commons packages you're trying 
to use, you're really doing yourself a disservice - and adding 
unnecessary complication to your life :-) 

--
Eddie Bush




--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




Re: How do I enable debug logging for struts

2002-11-01 Thread Eddie Bush
The short answer is to examine the javadoc for commons-logging.  The 
top-level package (commons.logging) is a good read.  You'll also be 
interested looking over the javadoc for SimpleLog.

The long answer is to create a simplelog.properties file and place 
within it things like:

|org.apache.commons.logging.simplelog.log.|org.apache.struts=debug

You can also specify:

|org.apache.commons.logging.simplelog.defaultlog=debug
|
All of that came straight from javadoc, so it should be right.

I know many of us are used to having nice user guides etc to go along 
with the excellent software provided by Jakarta.  The fact of the 
matter, however, is that some projects are primarily used "uder the 
covers" of other jakarta projects.  As such, it seems the only 
documentation they have on them is contained in their javadocs.  If 
you're not reading the javadocs for the commons packages you're trying 
to use, you're really doing yourself a disservice - and adding 
unnecessary complication to your life :-)

John Prout wrote:

I'm using the default struts install - just commons-logging alone I think

-Original Message-
From: Eddie Bush [mailto:ekbush@;swbell.net]
Sent: Friday, November 01, 2002 11:52 AM
To: Struts Users Mailing List
Subject: Re: How do I enable debug logging for struts


Which logging implementation, if any, are you using with
commons-logging?  Or are you just using commons-logging alone?



--
Eddie Bush





--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




RE: How do I enable debug logging for struts

2002-11-01 Thread John Prout
I'm using the default struts install - just commons-logging alone I think

-Original Message-
From: Eddie Bush [mailto:ekbush@;swbell.net]
Sent: Friday, November 01, 2002 11:52 AM
To: Struts Users Mailing List
Subject: Re: How do I enable debug logging for struts


Which logging implementation, if any, are you using with
commons-logging?  Or are you just using commons-logging alone?

John Prout wrote:

>Hi
>
>Does anyone know how to enable debug level logging for the struts
framework?
>
>i.e. log.isDebugEnabled() returns true
>
>Thanks
>
>John Prout
>

--
Eddie Bush





--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




Re: How do I enable debug logging for struts

2002-11-01 Thread Eddie Bush
Which logging implementation, if any, are you using with 
commons-logging?  Or are you just using commons-logging alone?

John Prout wrote:

Hi

Does anyone know how to enable debug level logging for the struts framework?

i.e. log.isDebugEnabled() returns true

Thanks

John Prout



--
Eddie Bush





--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




How do I enable debug logging for struts

2002-11-01 Thread John Prout
Hi

Does anyone know how to enable debug level logging for the struts framework?

i.e. log.isDebugEnabled() returns true

Thanks

John Prout


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




Struts1.1.b2 and stop Debug messages

2002-09-21 Thread Ashish Kulkarni

Hi,
I m using struts1.1.b2 for developing my web
application,
but there are so many debug messages generated my
struts that i cannot find my message in std.out file ,
is there a way i can stop these messages comingin mt
std.out file

Ashish

=
A$HI$H

__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Struts Debug Level

2002-09-06 Thread Ted Husted

http://jakarta.apache.org/struts/api/org/apache/struts/action/ActionServlet.html

See the debug member.

Smith, Johnathan M. wrote:

> Where can I find a list of all the debug levels in struts?
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 


-- 
Ted Husted, Husted dot Com, Fairport NY US
co-author, Java Web Development with Struts
Order it today:
<http://husted.com/struts/book.html>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Struts Debug Level

2002-09-06 Thread Smith, Johnathan M.

Where can I find a list of all the debug levels in struts?


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: tons of tiles debug messages!

2002-08-29 Thread Cedric Dumoulin


   I have put it to false in latest builds. I use such flags for testing
and development. They should normally be set to false in struts sources.

   Cedric

Holman, Cal wrote:

 >Cedric>> There is a debug flag set to true in the TilesRequestProcessor.
 >Can you make it configurable? Do I open a bug?
 >
 >Cal
 >
 >http://www.calandva.com/
 >
 >-Original Message-
 >From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]]
 >Sent: Sunday, August 18, 2002 17:38
 >To: Struts Users Mailing List
 >Subject: Re: tons of tiles debug messages!
 >
 >
 >  hi,
 >
 >  This is for struts 1.1b2.
 >  For struts 1.0.x, you specify definition factory configuration in
 >web.xml. Attribute names and values are the same. In your case, set all
 >debug attributes to 0 (zero), or remove them from web.xml (zero is the
 >default value).
 >
 >   Cedric
 >
 >mpopovits.rm wrote:
 >
 >
 >
 >>Is this for Struts 1.1 or 1.0?
 >>I'm using Struts 1.0.
 >>If so, where does it go in the struts config file.
 >>
 >>Thanks,
 >>Michelle
 >>--- In [EMAIL PROTECTED], Herve Tchepannou <[EMAIL PROTECTED]> wrote:
 >>
 >>
 >>
 >>
 >>>The debug configuation should be in your Tile-Plugin configuration.
 >>>Make sure that the Tiles plugin is defined like this in your
 >>>struts-config.xml file:
 >>>
 >>>>>From: mpopovits.rm [mailto:mpopovits@h...]
 >>>Sent: Friday, August 16, 2002 11:28 AM
 >>>To: [EMAIL PROTECTED]
 >>>Subject: tons of tiles debug messages!
 >>>
 >>>
 >>>When I bring up my weblogic server which uses tiles I get pages and
 >>>pages of tiles debug messages from the apache commons digester.
 >>>How do I get rid of these?  I've reduced my action servlet debug
 >>>parms all down to 0, but they still torment me.
 >>>
 >>>-Please help.
 >>>
 >>>Thanks,
 >>>Michelle
 >>>
 >>>
 >>>Here's my action servlet config from web.xml.
 >>>
 >>> 
 >>>   action
 >>> 
 >>> >>class>org.apache.struts.tiles.ActionComponentServlet>>class>
 >>>   
 >>> 
 >>>     definitions-config
 >>> /WEB-INF/tiles-defs.xml
 >>>   
 >>>
 >>>   
 >>>   
 >>> definitions-debug
 >>> 0
 >>>   
 >>>
 >>>   
 >>>   
 >>> definitions-parser-details
 >>> 0
 >>>   
 >>>
 >>>   
 >>>   
 >>> definitions-parser-validate
 >>> true
 >>>   
 >>>
 >>>   
 >>> application
 >>> ApplicationResources
 >>>   
 >>>   
 >>> config
 >>> /WEB-INF/struts-config.xml
 >>>   
 >>>   
 >>> debug
 >>> 0
 >>> 
 >>>   
 >>> detail
 >>>     0
 >>>   
 >>>   
 >>> validate
 >>> true
 >>>   
 >>>   
 >>> nocache
 >>> true
 >>>   
 >>>   2
 >>> 
 >>>
 >>> 
 >>>  validator
 >>>  >>class>com.wintecinc.struts.action.ValidatorServlet
 >>>  
 >>>config
 >>>/WEB-INF/validation.xml
 >>>  
 >>>  
 >>>    debug
 >>>0
 >>>  
 >>>  2
 >>>
 >>>
 >>>
 >>>
 >>>--here's an excerpt of the messages that I get on the console
 >>>
 >>>
 >>>2002-08-16 11:21:44,619 DEBUG
 >>>org.apache.commons.digester.Digester.sax - startEl
 >>>ement(,tiles-definitions,tiles-definitions)
 >>>2002-08-16 11:21:44,619 DEBUG org.apache.commons.digester.Digester -
 >>>  Pushing b
 >>>ody text ''
 >>>2002-08-16 11:21:44,619 DEBUG org.apache.commons.digester.Digester -
 >>>  New match
 >>>='tiles-definitions'
 >>>2002-08-16 11:21:44,619 DEBUG org.apache.commons.digester.Digester -
 >>>  No rules
 >>>found matching 'tiles-definitions'.
 >>>2002-08-16 11:21:44,619 DEBUG
 >>>org.apache.commons.digester.Digester.sax - ignorab
 >>>leWhitespace(
 >>>
 >>> )
 >>>2002-08-16 11:21:44,619 DEBUG
 >>>org.apache.commons.digester.Digester.sax - ignorab
 >>>leWhitespace(
 >>> )
 >>>2002-08-1

  1   2   >