2) Log4j
The best way to do logging for a bean (at the moment)
private static final Category log = Category.newInstance(MyClass.class);
The following accomplishes the same thing, and can be cut and pasted from
one source to the next.
private static final Category log =
You can create a classpath extension for a directory
in jboss.conf.
Just put a '/' on the end of the url and don't put
any jars or zips in the directory.
Regards,
Adrian
From: Eric Kaplan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] logging
you have log4j.jar in lib/ext?
Don't put it in the classpath, it can't see the rest of the
system from there, hence the other errors you report.
Regards,
Adrian
From: Eric Kaplan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] logging and admininstration
Date
properties. I think some
are only checked by the JVM at start-up.
Regards,
Adrian
From: Eric Kaplan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] logging and admininstration
Date: Tue, 19 Feb 2002 07:10:47 -0500
thanks. if i move to 2.4.4 though, what is the proper solution
Here's some short answers.
1) Stop on error
JBoss is designed to host many services concurrently.
There is no mechanism to say one is critical and end the server.
JBoss3.0 introduces the ideas of dependencies.
If the database doesn't come up, neither will services that
use it, instead they
for this?
Thanks
Eric
-Original Message-
From: Adrian Brock [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 1:43 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] logging and admininstration
Here's some short answers.
1) Stop on error
JBoss is designed to host
there is no jar to
copy to lib/ext. what should we do in this case?
thanks
eric
-Original Message-
From: Adrian Brock [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 1:43 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] logging and admininstration
Here's some
2) Log4j
The best way to do logging for a bean (at the moment)
private static final Category log = Category.newInstance(MyClass.class);
The following accomplishes the same thing, and can be cut and pasted from
one source to the next.
private static final Category log =
[Guy Rouillier]
2) Log4j
The best way to do logging for a bean (at the moment)
private static final Category log = Category.newInstance(MyClass.class);
The following accomplishes the same thing, and can be cut and pasted from
one source to the next.
private static final Category