aspose file tools*
The moose likes Other Open Source Projects and the fly likes Logging Problems in a ear with multiple modules Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Logging Problems in a ear with multiple modules" Watch "Logging Problems in a ear with multiple modules" New topic
Author

Logging Problems in a ear with multiple modules

A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
Hi,

I have an ear with 5 war modules; unfortunately the logging is not happening in 2 mdoules whereas it happens in the other 2 modules;but the functionality works fine for the 4 modules which means flow goes thru these code.

my code is like this..
A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
And log4j.xml is
A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
Was able to figure out the issue..

instead of war level log4j.xmls ; i had it ear level

Also there were 2 versions of log4j jars even that caused an exception

I read that we need to have only 1 version

even though strangely the same code works on WAS5.1 with both version of jars but doesnt in WAS6.1

removed the older version and now its working fine

Thanks everyone

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Logging Problems in a ear with multiple modules