-
1. Re: could anybody tell me the exact structure of SAR.
visolvejboss Jan 18, 2007 4:54 AM (in response to riji)Hello,
"riji" wrote:
Could anyone tell me the exact directory structure for sar.
The Directory structure for SAR is as follows.sardirectory.sar sardirectory.sar/META-INF/ sardirectory.sar/META-INF/jboss-service.xml sardirectory.sar/<packagename> sardirectory.sar/<packagename>/<classfiles> sardirectory.sar/<dependent jar files>
More details can be found under,
http://vladimirvivien.com/blogs/ot/2007/01/this-write-up-provides-look-into-jboss.html -
2. Re: could anybody tell me the exact structure of SAR.
riji Jan 18, 2007 5:02 AM (in response to riji)Thanks a lot,
Could you please tell me where the log4j.xml can be put in my .sar.
And can we have all the jars in a saperate dir /Web-INF/lib? is this correct way of doing it? -
3. Re: could anybody tell me the exact structure of SAR.
genman Jan 19, 2007 8:24 PM (in response to riji)log4j.xml exists in $JBOSS_HOME/server/default/conf .
As for the jars, if they are for the .war only, they go in there. -
4. Re: could anybody tell me the exact structure of SAR.
riji Jan 21, 2007 11:44 PM (in response to riji)Hi,
Thanks for the reply.
My application goes in this way.
We have centralized logging and also a localized logging. There is one log4j.xml at container level which will take care of centralized. Each application should have its own log4j.xml with level INFO writing to localized location. In order to direct the logs to centralized logging, we need to include that appender in the sar's log4j.xml. Is this way Correct?
And also, does Service archice has differnt way of logging? I mean, Is it recommended to use log4j.xml inside sar?
cheers,
Rijil