RE: log4j and EJB
Howdy, Am I the only one who bothers to search list archives before posting questions? ;) See: http://marc.theaimsgroup.com/?l=log4j-userw=2r=1s=EJBq=b Yoav Shapira Millennium ChemInformatics -Original Message- From: Lenharcik, Juraj [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 1:13 PM To: '[EMAIL PROTECTED]' Subject: log4j and EJB Hi, has someone running EJBs and log4j together? How can I config my log4j framework within an EJB application? (EJB has no access to files). thanks, juraj -- To unsubscribe, e-mail: mailto:log4j-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:log4j-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: log4j in EJB
Alberto, We probably will do JMS based appender for cluster environment. What I am working on is a single machine case, but I haven't figured out where to make changes in the configuration so the file based appender will work. Do you mind sharing the trick? Thanks, Yi -Original Message- From: Ferrari Alberto [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 11:27 AM To: Log4J Users List Subject: R: log4j in EJB yes, it works well in not cluster environment. Problems begin if more Virtual Machine try to write the same file Alberto -Messaggio originale- Da: Yi Chen [mailto:[EMAIL PROTECTED]] Inviato: martedì 3 dicembre 2002 17.16 A: Log4J Users List Oggetto: log4j in EJB Using file based appender inside EJB is restricted, but has anyone tried configuring weblogic to open the back door so that logger inside EJB can write to a log file? Thanks. Yi -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: log4j in EJB
We use JMS-based logging now, but initially used file-appender logging in our tests about a year ago. Thats a long stretch for my brain, but I seem to recall not having to make any config changes to weblogic. Have you tried with you current weblogic setup (sans any changes)? What was the error you got (SecurityException)? |-Original Message- |From: Yi Chen [mailto:[EMAIL PROTECTED]] |Sent: Tuesday, December 03, 2002 10:30 AM |To: Log4J Users List |Subject: RE: log4j in EJB | | |Alberto, | |We probably will do JMS based appender for cluster |environment. What I am |working on is a single machine case, but I haven't figured |out where to make |changes in the configuration so the file based appender |will work. Do you |mind sharing the trick? | |Thanks, | |Yi | |-Original Message- |From: Ferrari Alberto [mailto:[EMAIL PROTECTED]] |Sent: Tuesday, December 03, 2002 11:27 AM |To: Log4J Users List |Subject: R: log4j in EJB | | |yes, | |it works well in not cluster environment. Problems begin |if more Virtual |Machine try to write the same file | |Alberto | |-Messaggio originale- |Da: Yi Chen [mailto:[EMAIL PROTECTED]] |Inviato: martedì 3 dicembre 2002 17.16 |A: Log4J Users List |Oggetto: log4j in EJB | | |Using file based appender inside EJB is restricted, but |has anyone tried |configuring weblogic to open the back door so that logger |inside EJB can |write to a log file? | |Thanks. | |Yi | | | |-- |To unsubscribe, e-mail: |mailto:[EMAIL PROTECTED] |For additional commands, e-mail: |mailto:[EMAIL PROTECTED] | | |-- |To unsubscribe, e-mail: |mailto:[EMAIL PROTECTED] |For additional commands, e-mail: |mailto:[EMAIL PROTECTED] | | | | |-- |To unsubscribe, e-mail: |mailto:[EMAIL PROTECTED] |For additional commands, e-mail: |mailto:[EMAIL PROTECTED] | -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: log4j with EJB: AccessControlException
And it works! Sure, pretty stupid of me. Many thanks! -- Make a difference, help support the relief efforts in the U.S. http://clubs.lycos.com/live/events/september11.asp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]