"jwcone" wrote : "kstrunk" wrote : 
  |   | Except for that part about "Using your own log4j.xml file (with EJB JAR 
files )"...
  | 
  | You're right. I found it. Just needed to scroll down a bit more.
  | 
  | I added the ContextRepositorySelector to my ejb.jar and altered it to use 
property files instead of xml files. Now I can log from within my ejb.jar. But 
I cannot log from my WebApp at the same time. 
  | If I put the log4j.jar in my WebApp under WEB-INF/lib logging from WebApp 
works fine, but ejb logging dosen't work. I get no exception or any other error 
message. If I remove log4.jar from my WebApp und put it just in the ear-file 
it's the other way round. I can log from ejb classes but not from the WebApp. 
It looks like a classloading problem, doesn't it?
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049470#4049470

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049470
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to