[JBoss-user] Log4J - file appenders

2004-12-16 Thread Rodrigo Baptista
Dear all,   I' m using JBoss+Jetty 3.04 and I want to separate the messages that go to the server.log using the log4j.xml file , I saw an example in http://www.jboss.org/wiki/Wiki.jsp?page=Logging that uses log4j categories to specific appenders, but when I do that all the messages go to the

RE: [JBoss-user] Log4J Problems With Upgrade

2004-03-04 Thread Scott M Stark
legas > Sent: Thursday, March 04, 2004 8:47 AM > To: JBoss User > Subject: [JBoss-user] Log4J Problems With Upgrade > > Hello... > > Doing some tests on 3.2.3 w/ Tomcat 5, previously using 3.2.2 > and Jetty 4 with no problems. > > My application uses Log

[JBoss-user] Log4J Problems With Upgrade

2004-03-04 Thread Hunter Hillegas
Hello... Doing some tests on 3.2.3 w/ Tomcat 5, previously using 3.2.2 and Jetty 4 with no problems. My application uses Log4J, 1.2.8. When deploying, I see this: java.lang.VerifyError: (class: org/apache/log4j/Category, method: getRoot signature: ()Lorg/apache/log4j/Category;) Wrong return typ

RE: [JBoss-user] log4j DEBUG

2004-02-10 Thread Eric J Kaplan
Like a charm. Thank you! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giovanni Formenti Sent: Tuesday, February 10, 2004 10:54 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j DEBUG Hi! To log only my classes activity on the console at DEBUG

Re: [JBoss-user] log4j DEBUG

2004-02-10 Thread Giovanni Formenti
nd its sub-package... I hope this can help you... Gio > -Messaggio originale- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] conto di Scott M > Stark > Inviato: martedi 10 febbraio 2004 16.18 > A: [EMAIL PROTECTED] > Oggetto: RE: [JBoss-user] log4j DEBUG > >

RE: [JBoss-user] log4j DEBUG

2004-02-10 Thread Scott M Stark
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric J Kaplan Sent: Tuesday, February 10, 2004 6:50 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] log4j DEBUG Any ideas? I've trolled the forums with no answers. I can turn on DEBUG for everything on the CONSOLE appender (and

RE: [JBoss-user] log4j DEBUG

2004-02-10 Thread pooja
, 2004 8:20 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] log4j DEBUG   Any ideas? I’ve trolled the forums with no answers. I can turn on DEBUG for everything on the CONSOLE appender (and I see the debug messages for the bean below), but how do I do for a single class. We use the

RE: [JBoss-user] log4j DEBUG

2004-02-10 Thread Eric J Kaplan
Of Eric J Kaplan Sent: Monday, February 09, 2004 5:49 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] log4j DEBUG   I apologize if I’ve asked this before and forgot. I have a bean that has a log4j logger.  How do I turn on debug just for that bean. I’ve tried adding the following to log4j.xml with

[JBoss-user] log4j DEBUG

2004-02-09 Thread Eric J Kaplan
I apologize if I’ve asked this before and forgot. I have a bean that has a log4j logger.  How do I turn on debug just for that bean. I’ve tried adding the following to log4j.xml with no luck.             Eric J. Kaplan Armanta, Inc. 350 Mt. Kemble Ave. Morristown, NJ 07960  

Re: [JBoss-user] log4j SMTP appender trouble

2004-02-04 Thread Vladyslav Kosulin
Vladyslav Kosulin wrote: It looks like the logging event contains just 1 line from the exception trace instead of the whole trace!!! Is this a bug or a feature? Vlad Hi all, I activated SMTP appender to send errors by e-mail, but can't properly configure it. Every time an Exception happens, I

Re: [JBoss-user] log4j SMTP appender trouble

2004-01-30 Thread Ryan Hoegg
Vladyslav Kosulin wrote: Scott M Stark wrote: It depends on what is generating the stack trace. In order to get this behavior there has to be a line by line emission of the stack trace using System.err.println() for each line rather than one System.err.println() with the entire stack trace as a m

RE: [JBoss-user] log4j SMTP appender trouble

2004-01-30 Thread Scott M Stark
AIL PROTECTED] Subject: Re: [JBoss-user] log4j SMTP appender trouble Scott M Stark wrote: > It depends on what is generating the stack trace. In order to get this > behavior there has to be a line by line emission of the stack trace > using System.err.println() for eac

Re: [JBoss-user] log4j SMTP appender trouble

2004-01-30 Thread Vladyslav Kosulin
] Subject: Re: [JBoss-user] log4j SMTP appender trouble It looks like the logging event contains just 1 line from the exception trace instead of the whole trace!!! Is this a bug or a feature? Vlad Hi all, I activated SMTP appender to send errors by e-mail, but can't properly configure

Re: [JBoss-user] log4j SMTP appender trouble

2004-01-30 Thread Vladyslav Kosulin
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vladyslav Kosulin Sent: Tuesday, January 27, 2004 10:26 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j SMTP appender trouble It looks like the logging event contains just 1 line from the exception trace instead of the whole trace

RE: [JBoss-user] log4j SMTP appender trouble

2004-01-30 Thread Scott M Stark
? Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vladyslav Kosulin Sent: Tuesday, January 27, 2004 10:26 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j

Re: [JBoss-user] log4j SMTP appender trouble

2004-01-27 Thread Vladyslav Kosulin
It looks like the logging event contains just 1 line from the exception trace instead of the whole trace!!! Is this a bug or a feature? Vlad Hi all, I activated SMTP appender to send errors by e-mail, but can't properly configure it. Every time an Exception happens, I receive a lot of e-mails

[JBoss-user] log4j SMTP appender trouble

2004-01-20 Thread Vladyslav Kosulin
Hi all, I activated SMTP appender to send errors by e-mail, but can't properly configure it. Every time an Exception happens, I receive a lot of e-mails with every e-mail body containing only 1 line of the Exception trace log, like: [16:49:04,315,STDERR] at com.sybase.jdbc2.jdbc.SybStatement.q

Re: [JBoss-user] log4j SMTPAppender

2003-12-16 Thread Brian Styles
g your own category? thanks again, Brian From: Marek Lange <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j SMTPAppender Date: Tue, 16 Dec 2003 14:29:01 +0100 Brian Styles wrote: However I don't even see it trying to send the emails.

Re: [JBoss-user] log4j SMTPAppender

2003-12-16 Thread Marek Lange
Brian Styles wrote: However I don't even see it trying to send the emails. I just see the error statement. Just to make sure I have the right idea, does this mean that every time i do a call such as catch(SomeException se){ log.error("my error message", se) } Then this should cause an email to b

Re: [JBoss-user] log4j SMTPAppender

2003-12-16 Thread Brian Styles
From: Marek Lange <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j SMTPAppender Date: Tue, 16 Dec 2003 13:14:44 +0100 Brian Styles wrote: Hi all, this is the third time I've asked this question. Hopefully someone w

Re: [JBoss-user] log4j SMTPAppender

2003-12-16 Thread Marek Lange
Brian Styles wrote: Hi all, this is the third time I've asked this question. Hopefully someone will know this time. Has anyone ever got the log4j SMTPAppender working so that emails are sent out when an error occurs. If so, how --> it doesn't seem to work for me at all. It works for me. Perhaps

AW: [JBoss-user] log4j SMTPAppender

2003-12-16 Thread Egger Lothar
lothar -Ursprüngliche Nachricht- Von: Brian Styles [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 16. Dezember 2003 12:36 An: [EMAIL PROTECTED] Betreff: [JBoss-user] log4j SMTPAppender Hi all, this is the third time I've asked this question. Hopefully someone will know this time.

[JBoss-user] log4j SMTPAppender

2003-12-16 Thread Brian Styles
Hi all, this is the third time I've asked this question. Hopefully someone will know this time. Has anyone ever got the log4j SMTPAppender working so that emails are sent out when an error occurs. If so, how --> it doesn't seem to work for me at all. thanks, Brian ___

RE: [JBoss-user] log4j and JBOSS

2003-12-11 Thread Kavitha Ranga
ember 10, 2003 10:43 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j and JBOSS hi, At 16:31 10.12.2003, you wrote: >Hello, >I want to set up separate log files for each of the applications >running within JBOSS. Currently everything gets written to >server.log. How do I

Re: [JBoss-user] log4j and JBOSS

2003-12-10 Thread Rafal Kedziorski
hi, At 16:31 10.12.2003, you wrote: Hello, I want to set up separate log files for each of the applications running within JBOSS. Currently everything gets written to server.log. How do I accomplish this? Any pointers is highly appreciated. i.e. define Your appender in log4j.xml:

[JBoss-user] log4j and JBOSS

2003-12-10 Thread Kavitha Ranga
Hello, I want to set up separate log files for each of the applications running within JBOSS. Currently everything gets written to server.log. How do I accomplish this? Any pointers is highly appreciated. Thanks in advance, Kavita --- This

[JBoss-user] Log4j SMTP appender

2003-10-29 Thread Brian McSweeney
Hi all,   I sent this email before but got no response. I couldn’t find it on the archives so I’ll try posting it again.     I’m trying to get the log4j SMTP appender working so that when my code gets an error, I get sent an email.   I’m also trying to do this asynchronously. I’m fol

[JBoss-user] Log4j SMTP appender

2003-10-17 Thread Brian McSweeney
Hi all,   Quick question. I’m trying to get the log4j SMTP appender working so that when my code gets an error, I get sent an email.   I’m also trying to do this asynchronously. I’m following the jboss log4j docs to do this. So in conf/log4j.xml I’ve uncommented the ASYNC and SMTP app

RE: [JBoss-user] log4j JMSAppender and dependencies on JMS

2003-09-30 Thread Stephane Nicoll
was asked a couple of weeks ago Regards, Stephane -Original Message- From: Bob Cotton [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 5:33 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] log4j JMSAppender and dependencies on JMS Jboss 3.2.1 I'm trying to setup

Re: [JBoss-user] log4j JMSAppender and dependencies on JMS

2003-09-30 Thread Adrian Brock
Hi Bob, Logging is one of the first service configured, well before JMS. If you want to log to local jms, a better approach would be to make your appender delegate to an MBean. The MBean can then store the logging events until its start[Service] method has initialised the connection (with suitabl

[JBoss-user] log4j JMSAppender and dependencies on JMS

2003-09-30 Thread Bob Cotton
Jboss 3.2.1 I'm trying to setup a JMS appender to log to a queue, but there is a dependency problem, the ConnectionFactory is not bound when the Appender is initialized. Is there another/better way to handle this? Also, If I'm subclassing from JMSAppender, and I need a custom param, do I need t

[JBoss-user] log4j and my server instance(s)

2003-09-08 Thread James Ward
Hello JBoss Friends, I have a few JBoss instances all running on the same server. If ERROR level events are generated in any instance, log4j email's the error to me. The problem is that sometimes it is very hard to discern from the generated email which instance of JBoss had the error. Is there any

[JBoss-user] log4j jdbc appender and bmp entity bean

2003-06-30 Thread Carsten Hammer
Hi, is it possible to use log4j on jboss using a jdbc appender and an entity bean with bean managed persistency for accessing it? Is there something ready to use? Is it possible to configure a jdbc appender for jboss' log4j by deploying a ear archive? Thanks in advance, Best regards, Carsten Ham

[JBoss-user] log4j stopped

2003-03-12 Thread nick
Hi, I am running jboss-3.0.6 with j2sdk1.4.1 on redhat 7.3. After restarting jboss log4j stopped logging output to all appenders in conf/log4j.xml. We did not change any configuration settings or deploy anything, ie. we just restarted. We still have the jboss.out and boot.logs working. Anybody

[JBoss-user] Log4j problem

2003-03-03 Thread Rafal Kedziorski
hi, in log4j.xml I defined my own appender: --> ... There is only one problem. in server.log (default logfile for JBoss) I see the debug print out's from my lib-classes, where are stored under: jboss-3.0.6\server\default\lib\... from my EJB's and servlet

Re: [JBoss-user] Log4J Exception when passivating stateful session bean

2003-02-11 Thread Lennart Petersson
or declare it transient /L tisdagen den 11 februari 2003 kl 13.28 skrev Brian Johnson: You could null the variable containing the Logger before passivation, then reinitialize it at activation. Brian --- This SF.NET email is sponsored by:

Re: [JBoss-user] Log4J Exception when passivating stateful session bean

2003-02-11 Thread Brian Johnson
You could null the variable containing the Logger before passivation, then reinitialize it at activation. Brian On Tuesday, February 11, 2003, at 07:23 AM, Marek Lange wrote: Hi all, in JBoss 3.2.0RC1 I get the following stack trace when the container tries to passivate a stateful session b

[JBoss-user] Log4J Exception when passivating stateful session bean

2003-02-11 Thread Marek Lange
Hi all, in JBoss 3.2.0RC1 I get the following stack trace when the container tries to passivate a stateful session bean: 13:05:14,466 ERROR [Log4jService$ThrowableListenerLoggingAdapter] Unhandled Throwable javax.ejb.EJBException: Could not passivate; failed to save state; CausedByException is

Re: [JBoss-user] Log4j thread dump capture

2003-01-24 Thread Scott M Stark
x - Original Message - From: "Sebastian Hauer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 24, 2003 3:35 PM Subject: [JBoss-user] Log4j thread dump capture Hi, As far as I can see JBoss wrapes STDOUT and STDERR into log4j categories which

[JBoss-user] Log4j thread dump capture

2003-01-24 Thread Sebastian Hauer
Hi, As far as I can see JBoss wrapes STDOUT and STDERR into log4j categories which is nice. Though when I take a thread dump I see it only appear on the console screen but it will not get captured by log4j and written into a log4j. Is there a way to set this up? We would like to run our Jboss ser

RE: [JBoss-user] Log4j Question

2002-12-18 Thread Razumovsky, Andrew
    -Original Message-From: Scott M Stark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 1:34 PMTo: [EMAIL PROTECTED]Subject: Re: [JBoss-user] Log4j Question client/jboss-common-client.jar or client/jbossall-client.jar   xx

Re: [JBoss-user] Log4j Question

2002-12-17 Thread Scott M Stark
t: Tuesday, December 17, 2002 9:25 AM Subject: [JBoss-user] Log4j Question I'm having trouble using log4j with JBoss/Tomcat installation on RedHat 8. http://www.jboss.org/developers/guides/logging.jsp guide suggests to import org.jboss.logging.Logger; and then use it. I

[JBoss-user] Log4j Question

2002-12-17 Thread Razumovsky, Andrew
Title: Message I'm having trouble using log4j with JBoss/Tomcat installation on RedHat 8. http://www.jboss.org/developers/guides/logging.jsp guide suggests to import org.jboss.logging.Logger; and then use it. I'm using Eclipse as my IDE and I cannot find any information on which jar file I

RE: [JBoss-user] log4j and jboss: where is log4j.properties?

2002-11-26 Thread Sebastian Hauer
; From: Aaron Metzger [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 26, 2002 11:54 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] log4j and jboss: where is log4j.properties? > > > > Sorry to glom onto someone else's thread, but I have a > related quest

Re: [JBoss-user] log4j and jboss: where is log4j.properties?

2002-11-26 Thread Aaron Metzger
Sorry to glom onto someone else's thread, but I have a related question. After setting up your own category, as below, everything works nicely for my ejbs but Servlets under Jetty don't seem to see the elevated priority level when I jack my "com.xxx." priority up to DEBUG. All output from my

RE: [JBoss-user] log4j and jboss: where is log4j.properties?

2002-11-26 Thread saroj kumar
TED]] On Behalf Of linuxman Sent: Sunday, November 24, 2002 7:04 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j and jboss: where is log4j.properties? Thanks first! Yes, I noticed that in $JBOSS_HOME/server/default/conf, there is log4j.xml, then you mean, I can use this default properti

Re: [JBoss-user] log4j and jboss: where is log4j.properties?

2002-11-23 Thread linuxman
ECTED]] On Behalf Of linuxman Sent: Saturday, November 23, 2002 9:40 PM To: jboss ml Subject: [JBoss-user] log4j and jboss: where is log4j.properties? hi, I want to use apache log4j in my jboss j2ee application, but where should I put log4j.properties? which directory? thanks i

[JBoss-user] log4j and jboss: where is log4j.properties?

2002-11-23 Thread linuxman
hi, I want to use apache log4j in my jboss j2ee application, but where should I put log4j.properties? which directory? thanks in advance! linuxman --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/

RE: [JBoss-user] log4j and jboss: where is log4j.properties?

2002-11-23 Thread saroj kumar
Hi, You can configure your log4j.xml in JBOSS_HOME\conf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of linuxman Sent: Saturday, November 23, 2002 9:40 PM To: jboss ml Subject: [JBoss-user] log4j and jboss: where is log4j.properties? hi, I want to

RE: [JBoss-user] Log4j or apache.common.logging?

2002-10-15 Thread James Higginbotham
Title: Message Search www.mail-archive.com under the jboss-dev list for a thread on this. Short answer, no.   James -Original Message-From: Enrique Vetere [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 3:33 PMTo: 'Jboss-UserSubject: [JBoss-user] Log

[JBoss-user] Log4j or apache.common.logging?

2002-10-15 Thread Enrique Vetere
Does jboss use log4j directly? or is it used from the org.apache.commons.logging SPI? If the first if true (as I think it is): are there any plans to isolate it thru commons.logging?     Enrique Vetere---Baufesthttp://www.baufest.

[JBoss-user] log4j 1.2x required by an external client?

2002-10-04 Thread Hans Schmid
(Thread.java:479) 2002-10-04 16:22:10,439 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying calculator-ejb.jar Message: 4 From: "Sacha Labourey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: [JBoss-user] log4j 1.2x required by an external client?

RE: [JBoss-user] log4j 1.2x required by an external client?

2002-10-03 Thread Sacha Labourey
chmid > Envoyé : mercredi, 2 octobre 2002 19:24 > À : Jboss-User > Objet : [JBoss-user] log4j 1.2x required by an external client? > > > Hi, > > I just updated from Jboss 3.0.2 to 3.0.3. > when my Webapp client (using log4j-1.1.3) creates the InitialContext to > connect

Re: [JBoss-user] log4j 1.2x required by an external client?

2002-10-03 Thread Ricardo Escalon
e - From: "Hans Schmid" <[EMAIL PROTECTED]> To: "Jboss-User" <[EMAIL PROTECTED]> Sent: Wednesday, October 02, 2002 7:24 PM Subject: [JBoss-user] log4j 1.2x required by an external client? > Hi, > > I just updated from Jboss 3.0.2 to 3.0.3. > when

[JBoss-user] log4j 1.2x required by an external client?

2002-10-02 Thread Hans Schmid
Hi, I just updated from Jboss 3.0.2 to 3.0.3. when my Webapp client (using log4j-1.1.3) creates the InitialContext to connect to JBoss, it fails with 2002-10-02 14:43:10,226 451040 [Thread-21] DEBUG (services.ejb.EJBService) - JNDI test connection failed java.lang.NoClassDefFoundError: org/apach

[JBoss-user] log4j threshold

2002-06-10 Thread Radu Mateescu
Threshold set to TRACE in log4j.xml for CONSOLE appender doesn't seem to display all trace messages from JBOSS sources. Is there something else I should do in order to see messages displayed with log.trace("whatever") ? Thanks

[JBoss-user] log4j in JBoss 3.0.0

2002-06-07 Thread Mitchell Kim
I am using log4j for logging in one of my servlets.  It was working as intended until I upgraded to JBoss 3.0.0 with integrated Jetty.  I am seeing following error message on the console output.   ERROR: invalid console appender config detected, console stream is looping   Does anyone know w

[JBoss-user] Log4J error

2002-06-04 Thread ludovic . deravet
Hi, I've a strange error since I moved to JBoss 3.0. Indeed, when I use the log4j to log messages, the following error is printed out in my console window: "ERROR: invalid console appender config detected, console stream is looping" After that, JBoss still work but no more information is th

Re: [JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread Michael Klem
That works perfectly. Now I can leave the jboss/conf/tomcat/log4j.properties alone and encapsulate the app specific log properties cleanly. I didn't use this code I used what was mentioned in the log4 manual. >I usually do something like this... put a log4j properties file in your >application

Re: [JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread David Ward
Good point. H... Just a quick thought - what about writing your own org.apache.log4.jspi.Filter that can somehow differentiate between application deployements? That would give you a programatic hook that is easily used from the log4j config file, however how the Filter could differenti

Re: [JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread Tim Freund
I usually do something like this... put a log4j properties file in your application e/j/war file, and somewhere in the initialization of the application do this: (sorry for the poor formatting) private void init(){ ResourceBundle bundle = ResourceBundle.getBundle("com.kcp.sso.log4j");

Re: [JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread Michael Klem
> >2) IMHO, what level gets logged and to where (file, rolling file, >email, etc.) is very much a concern of the administrator of a site, >moreso than the developer at that point. >As an administrator with multiple apps to worry about, I would want >centralized control over all logging of all d

Re: [JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread David Ward
1) Man, I can't wait till JBoss 3.2.3 comes out. It's going to kick some serious butt. 2) IMHO, what level gets logged and to where (file, rolling file, email, etc.) is very much a concern of the administrator of a site, moreso than the developer at that point. As an administrator with multip

Re: [JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread Michael Klem
Oops! I meant JBoss 2.4.2 >>I believe one of the changes from 2.2 to 2.4 was that 2.4 includes >>log4j. What you're seeing is probably from a ClassCastException >>where there are two copies of org.apache.log4j.Category - one in >>your application and one in JBoss' lib/ext directory. > >Does th

Re: [JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread Michael Klem
>I believe one of the changes from 2.2 to 2.4 was that 2.4 includes >log4j. What you're seeing is probably from a ClassCastException >where there are two copies of org.apache.log4j.Category - one in >your application and one in JBoss' lib/ext directory. Does this mean that we are forced to use

Re: [JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread Dan Christopherson
I believe one of the changes from 2.2 to 2.4 was that 2.4 includes log4j. What you're seeing is probably from a ClassCastException where there are two copies of org.apache.log4j.Category - one in your application and one in JBoss' lib/ext directory. Try taking all log4j classes out of your app

[JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread afreire
I have a problem in JBoss2-4.4. I have several bean that use log4j to log some aplication event. Thats beans work fine in JBoss-2.2, but when I try to use JBoss-2.4.4 I get an error: "java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.ServerExcep

Re: [JBoss-user] Log4j Config in JBoss3.0.0RC2

2002-05-09 Thread danch
About fifty lines from the bottom of the log4j.xml file is a bit that looks like this: uncomment it, and it should keep out anything under the 'INFO' level (most of it, anyway). Another thought, have you been changing the right file? make sure you change the one matching the configuratio

[JBoss-user] Log4j Config in JBoss3.0.0RC2

2002-05-09 Thread Jon Swinth
Hi all, I have had no luck figuring out how to change the log4j.xml file so that I don't get DEBUG messages in the server.log anymore (or on the console for that matter). Based on looking at the file, I shouldn't be getting DEBUG. I am using the standard file from the sourceforge distributio

[JBoss-user] log4j

2002-04-22 Thread Eric Kaplan
I had posed this question a while ago and never actually got an answer that worked. If I instantiate a static Category in one of my beans, I get the following error upon loading. This is jboss 2.4.1. Yes, I'm behind a bit, but that's because when I tried to upgrade to 2.4.4 I got some errors wh

[JBoss-user] log4j error

2001-12-28 Thread ryagnik
hi  allwhile running JMS Exampels it gives me following error..log4j:ERROR No appenders could be found for category(org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory).log4j:ERROR Please initialize the log4j system properly.but JMS Examples works fine. pls help me...thanks

Re: [JBoss-user] Log4j HELP!

2001-11-02 Thread Guy Rouillier
CTED]> Sent: Friday, November 02, 2001 1:04 PM Subject: [JBoss-user] Log4j HELP! > Can anyone give me a quick ramp up for how to configure log4j with jboss. > > I have been messing around with it and I can't quite figure it out. > > > For instance I while back I wanted to

[JBoss-user] Log4j HELP!

2001-11-02 Thread Ferguson, Doug
Can anyone give me a quick ramp up for how to configure log4j with jboss. I have been messing around with it and I can't quite figure it out. For instance I while back I wanted to remove all the extraneous messages from jboss and I got input that if I made the following change... log4j.roo

Re: [JBoss-user] Log4j error at start up w/ 2.4.1

2001-09-28 Thread Guy Rouillier
Make sure you aren't picking up an old version of jboss.jar from somewhere.  That class is new with 2.4.0.   - Original Message - From: Hermann RANGAMANA To: [EMAIL PROTECTED] Sent: Friday, September 28, 2001 8:16 AM Subject: [JBoss-user] Log4j error at sta

[JBoss-user] Log4j error at start up w/ 2.4.1

2001-09-28 Thread Hermann RANGAMANA
hi all,   i have the following when i run jBoss 2.4.1. I'm running the out-of-box jboss, that is i downloaded jBoss 2.4.1, unpack and run it. i'm using w2k.   Please help.   Hermann   JBOSS_CLASSPATH=;run.jar;../lib/crimson.jarjboss.home = F:\dev\JBoss-2.4.1Using JAAS LoginConfig: file:/F:/d

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Guy Rouillier
Ah, well, that ties in perfectly with the conversation being held in this thread . Thanks for the explanation. - Original Message - From: "Scott M Stark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 26, 2001 1:04 AM Subject: Re: [JBoss-

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Scott M Stark
- From: "Guy Rouillier" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 8:28 PM Subject: Re: [JBoss-user] log4j system.out category > Why does JBoss use its own classes when the ones that come with log4j work > just as well? I was lear

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Guy Rouillier
tion works just fine. - Original Message - From: "Scott M Stark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 12:26 PM Subject: Re: [JBoss-user] log4j system.out category > Try this: > > # Set the JBossCategoryFactory as the d

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Scott M Stark
No, try it. - Original Message - From: "Ferguson, Doug" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 9:38 AM Subject: RE: [JBoss-user] log4j system.out category > But this will print out jBoss messages at the info level, ne?

RE: [JBoss-user] log4j system.out category

2001-09-25 Thread Ferguson, Doug
But this will print out jBoss messages at the info level, ne? -Original Message- From: Scott M Stark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 25, 2001 11:27 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j system.out category Try this: # Set the JBossCategoryFactory

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Scott M Stark
- From: "Ferguson, Doug" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 7:49 AM Subject: RE: [JBoss-user] log4j system.out category > Ok.. > > This is all great, but I never got my original question answered. > > We are goin

RE: [JBoss-user] log4j system.out category

2001-09-25 Thread Ferguson, Doug
O msgs for any categories under org.jboss.util log4j.category.Default=INFO -Original Message- From: Nicolai P Guba [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 25, 2001 4:54 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j system.out category David Jencks <[EM

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Nicolai P Guba
David Jencks <[EMAIL PROTECTED]> writes: > include > > import org.apache.log4j.Category; > > > private Category log = Category.getInstance(MyClass.class); > //Or use a string, maybe for jsps, haven't tried > > > to log... > > log.info("my message"); > > log.warn("HI"); > catch (Exception

Re: [JBoss-user] log4j system.out category

2001-09-22 Thread Guy Rouillier
ember 22, 2001 3:10 PM Subject: Re: [JBoss-user] log4j system.out category > include > > import org.apache.log4j.Category; > > > private Category log = Category.getInstance(MyClass.class); > //Or use a string, maybe for jsps, haven't t

Re: [JBoss-user] log4j system.out category

2001-09-22 Thread David Jencks
about log4j. > I have done a little reading but I wouldn't know how to > tie into the jBoss logging. > > d. > > -Original Message- > From: Guy Rouillier [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 21, 2001 11:54 PM > To: [EMAIL PROTECTED] > Subject

RE: [JBoss-user] log4j system.out category

2001-09-22 Thread Ferguson, Doug
nt: Friday, September 21, 2001 11:54 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j system.out category Are these your beans? If so, why not convert everything to log4j calls? - Original Message - From: "Ferguson, Doug" <[EMAIL PROTECTED]> To: "JBoss User (E-mail)&qu

Re: [JBoss-user] log4j system.out category

2001-09-21 Thread Guy Rouillier
Are these your beans? If so, why not convert everything to log4j calls? - Original Message - From: "Ferguson, Doug" <[EMAIL PROTECTED]> To: "JBoss User (E-mail)" <[EMAIL PROTECTED]> Sent: Friday, September 21, 2001 7:52 PM Subject: [JBoss-user] log4j sy

Re: [JBoss-user] log4j system.out category

2001-09-21 Thread Scott M Stark
Default is the category. - Original Message - From: "Ferguson, Doug" <[EMAIL PROTECTED]> To: "JBoss User (E-mail)" <[EMAIL PROTECTED]> Sent: Friday, September 21, 2001 4:52 PM Subject: [JBoss-user] log4j system.out category > Is there a categ

[JBoss-user] log4j system.out category

2001-09-21 Thread Ferguson, Doug
Is there a category specificly for stuff written to system.out from beans? I want to sent this to INFO so I get my messages. But I want to set JBOSS to ERROR so that JBOSS doesn't print as many messages.. Thanks, d. ___ JBoss-user mailing list [EMAIL

Re: [JBoss-user] log4j

2001-08-08 Thread Guy Rouillier
TECTED]> Sent: Wednesday, August 08, 2001 1:21 PM Subject: [JBoss-user] log4j > > Hi, > I am currently working on a ejb project using JBoss > as the application server. What I am trying to do is > use Log4j as my logging mechanism for my application > but to set it up in su

[JBoss-user] log4j

2001-08-08 Thread Mike korcynski
Hi, I am currently working on a ejb project using JBoss as the application server. What I am trying to do is use Log4j as my logging mechanism for my application but to set it up in such a way that if I had to deploy to another app server if someone should ever request it that the log4j code wo

Re: [JBoss-user] Log4j configuration file location

2001-07-11 Thread Scott M Stark
]> Sent: Wednesday, July 11, 2001 1:40 AM Subject: RE: [JBoss-user] Log4j configuration file location Exception is : java.io.FileNotFoundException: Failed to find logj4 props: C:/dev/etango/conf/log4j.properties at java.lang.Throwable.(Throwable.java:96) at java.lang.E

RE: [JBoss-user] Log4j configuration file location

2001-07-11 Thread Saint-Martin Cecile
1 10:22 > À : [EMAIL PROTECTED] > Objet : Re: [JBoss-user] Log4j configuration file location > > > It could be in a jar or on a web server on the moon. Show your mlet entry > and the resulting exception. > > - Original Message - > From: "Saint-Martin Cecile"

Re: [JBoss-user] Log4j configuration file location

2001-07-11 Thread Scott M Stark
It could be in a jar or on a web server on the moon. Show your mlet entry and the resulting exception. - Original Message - From: "Saint-Martin Cecile" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, July 11, 2001 12:56 AM Sub

Re: [JBoss-user] log4j or JBoss logging

2001-07-10 Thread danch
Another thing I had in mind for the old jaws code was to go through and make sure that errors get logged as errors, not debug. One place in particular that that got changed in 2.4 was in JDBCCommand - the method that executes just about any SQL was pretty much silently discarding the SQLExcept

Re: [JBoss-user] log4j or JBoss logging

2001-07-10 Thread Scott M Stark
Change to use log4j. The JBoss interface will disappear in 3.0 - Original Message - From: "Dain Sundstrom" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 12:08 PM Subject: [JBoss-user] log4j or JBoss logging > As I modify the JBossCMP

[JBoss-user] log4j or JBoss logging

2001-07-10 Thread Dain Sundstrom
As I modify the JBossCMP code should I change the logging over to use log4j directly or should I leave the code logging via the JBoss log layer? If I should switch to direct log4j, how do we categorize the logs? I was thinking jboss.ejb.plugins.cmp.. or some thing like that. This way I could tur

Re: [JBoss-user] Log4j configuration file location

2001-07-10 Thread Scott M Stark
- Original Message - From: "Saint-Martin Cecile" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 2:57 AM Subject: [JBoss-user] Log4j configuration file location > > Log4j is included i

RE: [JBoss-user] Log4j & JBoss - HowTo?

2001-06-21 Thread Paul Austin
Title: RE: [JBoss-user] Log4j & JBoss - HowTo? Robert, With log4j you can separate your log messages to a separate file. I have the following entry in my log4j.properties file which logs my stuff to a new file. ### The nhigh appender log4j.appender.Nhigh=org.apache.log4j.FileAppe

RE: [JBoss-user] Log4j & JBoss - HowTo?

2001-06-21 Thread R . Price
Thanks Paul, Fred & Scott for your replies.  If turning on the log4j service in JBoss is going to give me is logging my stuff with JBoss' stuff, then I'll stick to what we've got.  Think we want to keep them separate anyways.   Robert Price

  1   2   >