Seems so, I was talking about JVM versions, sorry. Unfortunately I do
not have the same scenario with a bean that should be logged, so I do
not have any code snippet to supply you with. BTW, I'm using log4j
1.1b5.

regards,
/oskar


"Scheil, Sven" wrote:
> 
> i'm using version 1.0.4 of log4j. did you forgett the 0 in the midddle or is
> this a completly different version were are talking about.
> 
> there is no exception thrown. do you use the same scenario? a bean that
> should be logged? may you could send me a code snippet?
> 
> sven
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Oskar Berger [mailto:[EMAIL PROTECTED]]
> > Gesendet am: Mittwoch, 25. April 2001 10:40
> > An: LOG4J Users Mailing List
> > Betreff: Re: problems using log4j in an jsp based app
> >
> > Do you receive any kind of Exception? Are you using 1.2.x? It
> > seems that
> > one can get a /sun/misc/InvalidJarIndexException in such a
> > situation on
> > 1.2. At least I'm getting. Getting the instance of Category works fine
> > for me on 1.3.0.
> >
> > regards,
> >
> > /oskar
> >
> >
> > "Scheil, Sven" wrote:
> > >
> > > hi!
> > >
> > > i have a bean that should use log4j for logging.
> > >
> > > the instantiation of the category looks like this:
> > >
> > > public static Category cat =
> > > Category.getInstance(ModelManager.class.getName());
> > >
> > > public void init(ServletContext servletContext,HttpSession
> > httpSession)
> > > {
> > > ...
> > > PropertyConfigurator.configure("log4j");
> > > cat.info("init()");
> > > }
> > >
> > > the result is, that the response of the jsp seems to be empty.
> > >
> > > this behaviour depends on the line:
> > >
> > > public static Category cat =
> > > Category.getInstance(ModelManager.class.getName());
> > >
> > > it's sufficient to insert only this line in my code and
> > there will be no
> > > more output to the webbrowser.
> > >
> > > anyone having an idea?
> > >
> > > regards
> > > sven
> > >
> > > CargoSoft GmbH
> > > Linzer Str. 3
> > > 28359 Bremen
> > > Telefon    +49 421 2020 440
> > > Telefax    +49 421 2020 189
> > > http://www.cargosoft.de
> > > eMail: [EMAIL PROTECTED]
> > > Hotline: [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]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to