Hi all,
 
I'm aware of the problems with more than 1 jvm trying to write to 1 file,
but what about multiple class loaders?  In my j2ee app we have 2 ears, one
of which contains a war.  They all use the same log4j config.  They're
deployed to WebLogic 8.1.  There appears to be only 1 java.exe on my machine
(XP Pro), which I believe is for WebLogic, regardless of whether I deploy
both ears or just 1.  (Might that vary by OS or java implementation?) That
makes me think there's just 1 process writing to the file.  However, I think
log4j is being configured more than once because I see our wrapper class get
loaded more than once.  Would this cause the same kind of interleaving
problems that multiple processes will?  I haven't seen any yet, but we
haven't started testing heavily yet, either.
 
thanks
 
 
John Gregg
Application Systems Engineer
Wells Fargo Private Client Services Technology
 

Reply via email to