struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam J Samere <asam...@rochester.rr.com>
Subject Re: Application Resources
Date Tue, 12 Sep 2006 02:46:55 GMT
If you aren't using log4j or some other fine grained logging 
implementation for commons-logging I would *highly* suggest taking the 
few minutes to set it up. It will prove invaluable in situations like this.

Adam

Darren Hall wrote:
> I just went through this logging exercise with Struts.
> Do you have any other logging configured for Struts other then the what
> struts uses by default, Ray?
>
> If you haven't incorporated log4j (or any other logging tool) for use with
> struts. Struts will use the commons-logging libraries for output logging,
> meaning it will log to "some trickery" (or so I'm told) to determine where
> to send its logging output, but in my case the output was sent to Tomcat's
> stdout log, and/or to the console (in a windows environment) which is
> probably no help in this case, unless Ray is running Tomcat from the command
> line (again, windows environment).
>
>
> -----Original Message-----
> From: Adam J Samere [mailto:asamere@rochester.rr.com] 
> Sent: Monday, September 11, 2006 10:28 PM
> To: Struts Users Mailing List
> Subject: Re: Application Resources
>
> Try using more verbose logging. If using log4j for instance, set the level
> for org.apache.struts to debug, then watch the log file as the web
> application is deployed. Make sure whatever file(s) you specified in the
> struts-config doc(s) are available to the web applications context class
> loader.
>
> Adam
>
>
>
> Ray Madigan wrote:
>   
>> I have checked all of the logs.  I have built many Struts applications in
>> the past using previous versions of struts and Tomcat.  If I knew what
>>     
> exact
>   
>> Application resource the message is about, I could make some progress.
>>
>> I thought it was MessageResources.properties because in the beginning I
>> didn't include this file because I use JSTL fmt tags to display my
>>     
> messages.
>   
>> I have just included the <message-resources in struts-config and it still
>> doesn't work.
>>
>> Thanks
>>
>> -----Original Message-----
>> From: Darren Hall [mailto:dhall@utrs.com]
>> Sent: Monday, September 11, 2006 7:03 PM
>> To: 'Struts Users Mailing List'
>> Subject: RE: Application Resources
>>
>>
>>   
>>     
>>> If you are using Tomcat, have you looked in stderr and stdout files for
>>> today in that directory?
>>>     
>>>       
>> Sorry - "that directory" would be the $CATALINA_HOME/logs directory (if
>>     
> you
>   
>> are using Tomcat).
>>
>> Darren
>>
>>
>> -----Original Message-----
>> From: Darren Hall [mailto:dhall@utrs.com]
>> Sent: Monday, September 11, 2006 9:43 PM
>> To: 'Struts Users Mailing List'
>> Subject: RE: Application Resources
>>
>> Ray,
>>
>> What application server are you using? Tomcat?
>> If you are using Tomcat, have you looked in stderr and stdout files for
>> today in that directory? (Not sure how much help I can be here, but I'm
>> starting simple. We may quickly run out of my depth.)
>>
>> Darren
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>   
>>     
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>   



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message