cancel
Showing results for 
Search instead for 
Did you mean: 

Log4j configuration

Former Member
0 Kudos

Howdy,

I am trying to port our enterprise application from JBOSS to SAP WAS. One of the key challenges i am facing at the moment is to try and configure log4j and in that where should the Log4J property be placed so that it can be picked up by my logging class.

Also have a similar issue with the application whereby the application itself needs some property files for some functionality.

Any help is much appreciated- right answer will be highly rewarded

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You only have to add the property file(s) to your classpath,

so your application will always find it.

I've also ported a WebApp (developed with Eclipse and JOnAs) to WebAS 6.40 an it works fine.

regards daniel

Former Member
0 Kudos

Hi Daniel,

Sorry for the late response, have been out of the office. You mentioned adding property files to your classpath - where exactly would that equate to when deploying your application in Web AS 6.40?? One option is to put it on the Server file system and then load the properties from there.

is there any dyanamic loading of properties in WEB AS.

Thanks

Former Member
0 Kudos

Just put it in your WEB-INF/classes folder and it's on the classpath. It's standard.

Regards, Karsten

Former Member
0 Kudos

Hi,

Do check whether the following link helps.

Regards,

Vijith