This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Log Issue in OC4j" Watch "Log Issue in OC4j" New topic

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

subject: Log Issue in OC4j
Similar Threads
RMI Clustering in Tomcat using Spring.
resources in multi war or ear application
GlassFishV3.0.1 Deployment issue
custom taglib deployment in WebSphere
Mutiple WARs in a Single EAR