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
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Toby Allsopp
Sent: Thursday, May 24, 2001 5:26 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] A message appears millions times in my JBoss
startup window until I kill the window
On Thu, May 24, 2001 at 04:51:30PM -0500, Zhou Cai wrote:
> Hello,
> I met a problem: I created a stateful session bean. In the construction
> method of this bean, I write something like
> System.out.println("This is a test");
> Then I generate a JAR file and copy the JAR file into the directory
> $JBoss\deploy.
> Then I start JBoss, In the startup window, the message "This is a test"
> appears millions times until I kill this window. Could somebody give me a
> hint how to avoid it?
> My enviroment is Windows 2000.
That's interesting. Can you post a very simple example that demonstrates
this? At least post the actual code for the bean you're talking about,
and also your ejb-jar.xml and jboss.xml. If you've changed
standardjboss.xml
then post that as well.
Toby.
_______________________________________________
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