I don't think he said anything about EJB. J2EE but not EJB. I don't recall
any rule against file io in servlets. I did a search of the archives and
found no reference to his question. I don't see anything in the FAQ that
really addresses it either. Intuition would say multiple JVMs should not try
to write to the same file. But I can't find anything that clearly states
that log4j doesn't handle it.
Rick Hansen
> -----Original Message-----
> From: John Volkar [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 26, 2001 10:13 AM
> To: LOG4J Users Mailing List
> Subject: RE: Multiple JVMs writing to one log file
>
>
> Read the EJB spec. EJB's are not permitted to write to files
> per the spec.
> Check this mailing list archives for more detailed
> discussion. You're not
> getting useful feedback because this issue has been discussed
> in the past
> and we're (I'm) bored with it. The short answer to your
> question is to
> either use a SocketAppender or a JMSAppender. The mailing
> list archives are
> at: http://marc.theaimsgroup.com/?l=log4j-user&r=1&w=2
>
>
> Good luck
> John
>
>
> -----Original Message-----
> From: Hansen, Richard [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 26, 2001 10:51 AM
> To: 'LOG4J Users Mailing List'
> Subject: RE: Multiple JVMs writing to one log file
>
>
> Have you tried this? If it doesn't work I suppsoe you could
> either write to
> a database or maybe a socket appender?
>
> Rick Hansen
>
> > -----Original Message-----
> > From: David Thielen [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 26, 2001 9:29 AM
> > To: LOG4J Users Mailing List
> > Subject: RE: Multiple JVMs writing to one log file
> >
> >
> > Asking again - has anyone run into this? This is
> potentially a killer
> > problem for us (and anyone who writes J2EE apps).
> >
> > thanks - dave
> >
> >
> > -----Original Message-----
> > From: David Thielen [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, June 25, 2001 2:36 PM
> > To: Log4j-User
> > Subject: Multiple JVMs writing to one log file
> >
> >
> > Hi;
> >
> > In the J2EE environment, we can end up with our code running
> > in multiple
> > JVMs on one server.
> >
> > Is there a way to have all the JVMs write to the same log file?
> >
> > thanks - dave
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]