As a suggestion try to add log4j to your application and change the level of
messages to debug.
In your xml add the following:
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>sap.root</param-value>
</context-param>
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>WEB-INF/log4j.properties</param-value>
</context-param>
...
<listener>
<listener-class>
org.springframework.web.util.Log4jConfigListener
</listener-class>
</listener>
Add a log4j.properties in your WEB-INF folder.
This is an example of code for your log4j.properties.
*# For JBoss: Avoid to setup Log4J outside
$JBOSS_HOME/server/default/deploy/log4j.xml!
# For all other servers: Comment out the Log4J listener in web.xml to
activate Log4J.
log4j.rootLogger=DEBUG, stdout, logfile
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n
log4j.appender.logfile=org.apache.log4j.RollingFileAppender
log4j.appender.logfile.File=${sap.root}/WEB-INF/sap.log
log4j.appender.logfile.MaxFileSize=512KB
# Keep three backup files.
log4j.appender.logfile.MaxBackupIndex=3
# Pattern to output: date priority [category] - message
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n*
Can you send more code about how are you calling your action?.
On Thu, Mar 6, 2008 at 10:53 AM, Kelly.Graus <[EMAIL PROTECTED]>
wrote:
>
>
> newton.dave wrote:
> >
> > If you turn on devMode do you see any additional log messages that might
> > indicate a problem? I don't see anything immediately obvious, but it's
> > late
> > and I'm crabby ;) You can also turn the logging levels up for both S2
> and
> > XWork and see if any additional information is provided.
> >
> > I'd also fire up the config browser and see if it indicates any obvious
> > issues and make sure that my action class is deployed correctly.
> >
> > Dave
> >
> >
> I tried turning on devMode (added <constant name="struts.devMode"
> value="true" /> to my struts.xml file), but I didn't see any change. I'm
> thinking that in itself is indicative of a problem. I'm using Eclipse to
> publish and test this application, and I'm somewhat confused as to the
> directory structure that is needed for everything to be published
> correctly.
> Here is my directory structure:
>
> TermsTranslator
> WebContent
> META-INF
> context.xml
> WEB-INF
> applicationContext.xml
> web.xml
> tiles-defs.xml
> classes
> struts.xml
> application.properties
>
> One thing I've noticed is that when I change my struts.xml file, Eclipse
> doesn't think that the application needs to be republished. In my
> previous
> project (just Struts 2), anytime struts.xml changed Eclipse would show
> that
> the server needed to be restarted.
>
> Is there somewhere in the log when the server starts up that shows if it's
> even using my struts.xml file?
>
> Kelly
>
> --
> View this message in context:
> http://www.nabble.com/Struts-2-issue-with-Spring%2C-Hibernate%2C-and-Tiles-tp15866292p15878118.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>