Re: EJB problem

2001-04-07 Thread Robert Burrell Donkin
Sachin Wadhwa wrote: > Thanks Martin, > But I am still not very sure how to use the FileAppender with the Session > Bean. There is a new thread that is dispatched every time I try to write to > the log with File appender. and it doesn't write to file properly. at the risk of sounding like a brok

Re: EJB problem

2001-04-05 Thread Sachin Wadhwa
Thanks Martin, But I am still not very sure how to use the FileAppender with the Session Bean. There is a new thread that is dispatched every time I try to write to the log with File appender. and it doesn't write to file properly. Do you have any sample code . Session Beans category variable use

Re: EJB problem

2001-04-05 Thread Martin Diener
Well, logging in EJBs is a little tricky and depends on the EJB container implementation. According to Sun's EJB spec a EJB is not able to write in a file. Unfortunatly, there are a few impementations which don't behave like the spec. If you decide to use this bug, say good by to portability. Bu

RE: EJB problem

2001-04-04 Thread Johnson, Clay
hwa [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 04, 2001 4:06 PM > To: [EMAIL PROTECTED] > Subject: EJB problem > > > Hi All, > I have a class called "A" . This class A has a variable cat:category. > It logs using Fileappender (writes to a file). > Now A

EJB problem

2001-04-04 Thread Sachin Wadhwa
Hi All, I have a class called "A" . This class A has a variable cat:category. It logs using Fileappender (writes to a file). Now A calls a session Bean "SB". This session bean has another variable SB_cat:category. In one of the methods of SB there is a statement SB_cat.warn("I am in Session Bean"