aspose file tools*
The moose likes Oracle/OAS and the fly likes Log Issue in OC4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Log Issue in OC4j" Watch "Log Issue in OC4j" New topic
Author

Log Issue in OC4j

Karthik Rajendiran
Ranch Hand

Joined: Aug 13, 2004
Posts: 211
Separate Logs for War and ear deployed in OC4j???

I have one instance in oc4j and deployed
2 ears, one containing MDB ,other ear containing just two webapplication in wars

a 1 ear - MDB
b 1 ear - contains two WARs

I have kept log4j.xml inside MDB jar
and log4j.xml in each of the WARs [WEB-INF\classes]

MDB log4j.xml - mdb.log
WAR1 - log4j.xml - war1.log
WAR2 - log4j.xml - war2.log

but always logs are writing in one log file only, not separate files
How to make write in separate files?

I have put the log4j-1.2.8.jar in applib folder and packed in EAR of mdb,
and WEB-INF/lib of two wars

Kindly help me


SCJP 1.4 SCWCD 1.4 SCDJWS 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Log Issue in OC4j