I use the latest version of JBoss from CVS server. I don't changed anything
in the jboss.conf for log4jService because the log4jService is already
enabled.

Zhou

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Scott M
Stark
Sent: Friday, May 25, 2001 1:16 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] A message appears millions times in my JBoss
startup window until I kill the window


Using what version of JBoss and have you made any changes to
jboss.conf to enable the Log4jService?

System.out and System.err are intercepted to route through either the
legacy JMX based logging or the Log4jService console appender so
when BasicConfigurator tries to setup System.out a loop is being
established somewhere. Configuration should be done outside of EJBs
via an mbean. You don't know whose toes your stepping on when trying
to do the configuration from within an EJB.

----- Original Message -----
From: "Zhou Cai" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 25, 2001 10:20 AM
Subject: RE: [JBoss-user] A message appears millions times in my JBoss
startup window until I kill the window


> Hi,
>   I checked my code thoroughly. I found that I used "
> org.apache.log4j.BasicConfigurator.configure(); " before I call "
> System.out.println("This is a test");" . If I delete "
> org.apache.log4j.BasicConfigurator.configure(); ", everything is fine.
>    Is there some impact between Log4j and JBoss?
>    Thanks a lot.
>
> Zhou
>



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to