question about the JMSAppender

2003-10-08 Thread Sabitha
Does Log4j 1.2.8 support both the publish-and-subscribe and point-to-point queuing models? In the complete manual it states that only the publish-and-subscribe model was supported at the time of writing. Thanks! Sabitha - Do you Yahoo!? The New Yahoo! Shopping

JMSAppender initialization

2003-08-14 Thread Don Isenor
(I'm a new subscriber, not sure if this request was posted on the first attempt...) I'm having no luck deploying a JMSAppender class (based on Jamie Tsao's code) under JBoss (3.0.7 and 3.2.1)... JBoss initializes log4j before it sets up the JMS queues, so my appender throws an e

JMSAppender with JBoss

2003-08-14 Thread Don Isenor
I'm having no luck deploying a JMSAppender class (based on Jamie Tsao's code) under JBoss (3.0.7 and 3.2.1)... JBoss initializes log4j before it sets up the JMS queues, so my appender throws an exception trying to initialize. There appears to be no way to defer the initialization u

RE: Newbie JMSAppender Problems

2003-07-24 Thread wibler02
I think I've sussed out the problem. It was a catch 22 between JNDI and log4j. The jboss implementation of JNDI was wanting to write 'trace' level messages to the rootLogger (which was set to the output level ALL) to which was attached the JMSAppender. The problem was that the

RE: Newbie JMSAppender Problems

2003-07-23 Thread wibler02
Parsed "jms" options. log4j: Finished configuring. Finished Client (stdout) -Original Message- From: Ceki Gülcü [mailto:[EMAIL PROTECTED] Sent: Wed 23/07/2003 09:59 To: Log4J Users List Cc: Subject: Re: Newbie JMSAppender Problems

Re: Newbie JMSAppender Problems

2003-07-23 Thread Ceki Gülcü
x27;m having problems using the JMSAppender. I'm using JBoss 2.4.4 and Log4J 1.1.2 . What happens is I get a NamaingException when configuring the JMSAppender. My log4j.properties files looks like this... log4j.debug=true log4j.rootCategory=ALL, jms #now lets go for the JMS log log4j.ap

Newbie JMSAppender Problems

2003-07-23 Thread wibler02
Hi, I'm having problems using the JMSAppender. I'm using JBoss 2.4.4 and Log4J 1.1.2 . What happens is I get a NamaingException when configuring the JMSAppender. My log4j.properties files looks like this... log4j.debug=true log4j.rootCategory=ALL, jms #now lets go for t

JMSAppender and FallbackErrorHandler

2003-02-01 Thread Rick Lin
Hi, My program uses JMSAppender to log messages to a JMS topic. Also, I have configured a FallbackErrorHandler to handle the situation while the JMS server is down. The secondary appender basically logs messages to a local file instead. However, there is a problem. The first message, which detects

Any good setup examples with JMSAppender and JMSSink?

2003-01-22 Thread Jonathan Cowherd
I'd like to investigate the JMSAppender and JMSSink. I assume that JMSSink works similar to SocketServer where it has it's own log4j repository internally and would have a log4j.properties file that would add appenders for LoggingEvents that it received from the JMSAppender.

RE: JMSAppender

2003-01-20 Thread FLYNN, Peter -Syntegra UK
called (by JMSAppender or AppenderSkeleton) prior to any serialisation? Regards, Peter This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify

JMSAppender

2003-01-20 Thread FLYNN, Peter -Syntegra UK
Does the JMSAppender serialise the Throwable information? I've extracted the org.apache.log4j.spi.LoggingEvent from the ObjectMessage that I've received on a JMS topic. I can recover the local information (classname, method and linenumber) but if an exception is present, the Throwabl

JMSAppender -> Remote JMS Queue?

2002-12-11 Thread Paul Bandler
Title: JMSAppender -> Remote JMS Queue? Is it possible to use the JMSAppender to direct log events to a JMS queue located on a remote machine?  If so, what happens in the event of there being a communication failure with the remote machine?  Would it be better to direct it to a local

RE: Rendered Message in JMSAppender messages

2002-11-20 Thread Ceki Gülcü
We are talking about two completely different things. The formatting of the LoggingEvent is done by the layout attached to a given appender. I was talking about object renderers which is a different topic. On object rendering see: http://www.qos.ch/ac2001/F11-110.html (for these two links searc

RE: Rendered Message in JMSAppender messages

2002-11-20 Thread FLYNN, Peter -Syntegra UK
> Message rendering is done prior to serialization. After serialization > calling getMessage and getRenderedMessage always give the same result > regardless of how you configure the server (receiving) side. Object > rendering should be configured on the clients. HTH, Hi Ceki, I'd always assume

Re: Rendered Message in JMSAppender messages

2002-11-20 Thread Ceki Gülcü
Message rendering is done prior to serialization. After serialization calling getMessage and getRenderedMessage always give the same result regardless of how you configure the server (receiving) side. Object rendering should be configured on the clients. HTH, At 09:31 20.11.2002 +, FLYNN,

Rendered Message in JMSAppender messages

2002-11-20 Thread FLYNN, Peter -Syntegra UK
Hi, Here is my configuration (in XML) of my JMS Appender: As you can see I'm using PatternLayout. The message is sent out onto JMS as a serialised java object (org.apache.log4j.spi.LoggingEvent) wrapped in an javax.jms.ObjectMessage. On the class org.apache.log4j.sp

RE: JMSAppender in XML Conf file

2002-10-01 Thread FLYNN, Peter -Syntegra UK
> So waht exactly would be in the .sjo files that you are pointing to? I use Progress Sonic MQ JMS. In the explorer, you can save the TopicConnectionFactory and Topic objects out into files. The .sjo stands for Serialised Java Object. However, we have a custom converter which takes these seria

Re: JMSAppender in XML Conf file

2002-10-01 Thread Sloan Seaman
Peter, So waht exactly would be in the .sjo files that you are pointing to? Thanks! - Original Message - From: "FLYNN, Peter -Syntegra UK" <[EMAIL PROTECTED]> To: "'Log4J Users List'" <[EMAIL PROTECTED]> Sent: Tuesday, October 01, 2002 8:51 AM

RE: JMSAppender in XML Conf file

2002-10-01 Thread FLYNN, Peter -Syntegra UK
Hi Sloan, I use File JNDI to access JMS in my application. You can use any sort of JNDI store to store your TopicConnectionFactory and Topic, such as LDAP. Regards, Peter PS - Here is my config for JMS. ***

JMSAppender in XML Conf file

2002-10-01 Thread Sloan Seaman
I'm looking to use the JMSAppender and I have an XML configuration file but I have no idea what tags I should setup to do so. Can someone help me out or point me to a good reference? Thanks! -- Sloan

RE: JMSAppender in Container Managed Transactions

2002-09-09 Thread Benary Klaus
Gesendet: Freitag, 6. September 2002 17:33 > An: [EMAIL PROTECTED] > Betreff: RE: JMSAppender in Container Managed Transactions > > And this was my point, on which you vehemently contradicted me. The > question was about PRODUCING messages, not about CONSUMING them. And t

RE: JMSAppender in Container Managed Transactions

2002-09-06 Thread Cakalic, James
figure your way to a point that the JMS work is considered "outside the scope" of any container-managed transaction. I've done this with JDBC by getting Connections from a pool that was not managed by the application server (WebSphere in this case). I don't know that a similar s

RE: JMSAppender in Container Managed Transactions

2002-09-06 Thread Ebersole, Steven
th log4j or the JMSAppender, but more the WebLogic JMS implementation. |-Original Message- |From: Benary Klaus [mailto:[EMAIL PROTECTED]] |Sent: Friday, September 06, 2002 9:24 AM |To: '[EMAIL PROTECTED]' |Subject: AW: JMSAppender in Container Managed Transactions

AW: JMSAppender in Container Managed Transactions

2002-09-06 Thread Benary Klaus
ill try to get closer to your configuration (e.g. trying a queue instead of a topic). Thanks for your help Klaus > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED]@GEHE > Gesendet: Freitag, 6. September 2002 15:53 > An: [EMAIL PROTECTED] > Betreff: RE:

RE: JMSAppender in Container Managed Transactions

2002-09-06 Thread Ebersole, Steven
imiliar to what I faced. HTH |-Original Message- |From: Benary Klaus [mailto:[EMAIL PROTECTED]] |Sent: Friday, September 06, 2002 8:16 AM |To: '[EMAIL PROTECTED]' |Subject: AW: JMSAppender in Container Managed Transactions | | |Hi Steven, hi Ceki, |

RE: JMSAppender in Container Managed Transactions

2002-09-06 Thread Ebersole, Steven
|-Original Message- |From: Cakalic, James [mailto:[EMAIL PROTECTED]] |Sent: Friday, September 06, 2002 8:24 AM |To: Log4J Users List |Subject: RE: JMSAppender in Container Managed Transactions | | |As you say, the problem is on the producer side. I think

RE: JMSAppender in Container Managed Transactions

2002-09-06 Thread Cakalic, James
resources. Usually, that is what you want. In this case, you want the logging to happen regardless of the transaction outcome. Fundamentally, the JMSAppender needs to obtain its JMS resources from a source other than the container so that the container is not aware of them and doesn't enlist

AW: JMSAppender in Container Managed Transactions

2002-09-06 Thread Benary Klaus
version 1.0.2. Klaus > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED]@GEHE > Gesendet: Freitag, 6. September 2002 14:49 > An: [EMAIL PROTECTED] > Betreff: RE: JMSAppender in Container Managed Transactions > > JMSAppender opens its session

RE: JMSAppender in Container Managed Transactions

2002-09-06 Thread Ceki Gülcü
My confusion. In the sentence JMSAppender opens its session to the JMS server in "AUTO_ACKNOWLEDGE", non-transacted mode. I missed "non-transacted mode" and only saw AUTO_ACKNOWLEDGE. At 08:12 06.09.2002 -0500, you wrote: > |-Original Message-

RE: JMSAppender in Container Managed Transactions

2002-09-06 Thread Ebersole, Steven
|-Original Message- |From: Ceki Gülcü [mailto:[EMAIL PROTECTED]] |Sent: Friday, September 06, 2002 8:02 AM |To: Log4J Users List |Subject: Re: JMSAppender in Container Managed Transactions | | | |What is your architecture? Which App Server are you

Re: JMSAppender in Container Managed Transactions

2002-09-06 Thread Ceki Gülcü
What is your architecture? Which App Server are you using? Which version of the JMS spec? ps: I doubt AUTO_ACKNOWLEDGE mode has anything to do with transactions in the session. At 14:20 06.09.2002 +0200, you wrote: >How can I decouple logging via JMSAppender from the contrainer transact

RE: JMSAppender in Container Managed Transactions

2002-09-06 Thread Ebersole, Steven
JMSAppender opens its session to the JMS server in "AUTO_ACKNOWLEDGE", non-transacted mode. Basically, this means the message should be "delivered" no matter what. So the JMSAppender is already set up to operate outside of currently running transactions. How are you pro

JMSAppender in Container Managed Transactions

2002-09-06 Thread Benary Klaus
How can I decouple logging via JMSAppender from the contrainer transaction in a stateless session EJB? I want the JMSAppender to deliver logs even when I call SessionContext.setRollbackOnly(). As a default, JMS committs a message to the queue or topic only when the contrainer transaction committs

Re: MDB Issue with JMSAppender

2002-08-14 Thread sanjayrajsoni
Fixed it, it was due to an error caused by copy-paste-code. --- In [EMAIL PROTECTED], "sanjayrajsoni" <[EMAIL PROTECTED]> wrote: > I create an MDB which monitors a queue. I write one single msg to > this queue using JMSAppender. The Container keeps on creating >

MDB Issue with JMSAppender

2002-08-14 Thread sanjayrajsoni
I create an MDB which monitors a queue. I write one single msg to this queue using JMSAppender. The Container keeps on creating instances of this MDB to service this one single message. I tried setting the acknowledge-mode in the ejb-jar.xml, tried setting the pool in weblogic-ejb-jar.xml to 8

RE: JMSAppender doubt

2002-06-05 Thread Scott Miller
: Wednesday, June 05, 2002 5:37 PM To: 'Log4J Users List' Subject: RE: JMSAppender doubt Any idea what is the InitialContextFactory class in case of j2ee server ... javax.naming.spi.InitialContextFactory is throwing error ... -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For add

RE: JMSAppender doubt

2002-06-05 Thread Shunmugam, Balajee
Any idea what is the InitialContextFactory class in case of j2ee server ... javax.naming.spi.InitialContextFactory is throwing error ... -Original Message- From: Scott Miller [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 2:09 PM To: Log4J Users List Subject: RE: JMSAppender

RE: JMSAppender doubt

2002-06-05 Thread Scott Miller
No time to go into it all, but I took the JMSAppender that was provided and modified it as follows : Add appender get and set methods for properties InitialContextFactoryName and ContextProviderURL. In my case, they are "IpiInitialContextFactory" and "t3://localhost:7001&qu

JMSAppender doubt

2002-06-05 Thread Shunmugam, Balajee
Hi All, I am trying to use JMSAppender to handle the clustered environment issues. I have the following doubts which if anyone of you can clarify , that would be a big help to me. 1. How/Where do you specify the server host and port in which the queues are defined ? 2. Should this messaging

Re: Has anyone tested the performance of JMSAppender?

2002-06-04 Thread Steve Ebersole
silk. - Original Message - From: "Scott Miller" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 03, 2002 5:29 PM Subject: Has anyone tested the performance of JMSAppender? I'm thinking of using JMSAppender to log to a central server (in my case, W

Has anyone tested the performance of JMSAppender?

2002-06-03 Thread Scott Miller
I'm thinking of using JMSAppender to log to a central server (in my case, Weblogic 7). Has anyone run performance/resource use tests on logging via JMS to a local machine, and/or to a remote machine over, say, 100TX Ethernet? Or have pointers to relevant related information? T

JMSAppender configuration...

2002-05-14 Thread Klein, Scott @ TW
I have searched for any comments on how to set up the JMSAppender appropriately, primarily the binding information of the JMS server to no avail, can someone point me in the right direction or throw a config file my way? tia, scott -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]&g

Re: Example of using JMSAppender

2002-03-01 Thread Steve Ebersole
Unless it has changed, there is (or was) no way to have the JMSAppender that comes with the log4j dist to point to a queue; it could only handle topics. I have written a JMSQueueAppender which is similar to the above, but deals with queues (plus it also allows you to specify the machine and

Example of using JMSAppender

2002-02-26 Thread Sam Cheung
Hi, I am looking for an example of using JMSAppender in log4j 1.2beta3. In particular, how to config JMSAppender to send Logging Event to a specified queue. I appreciate if someone tells me where I can find such an example. Thanks. Sam __ Do

Re: updating JMSAppender

2002-01-25 Thread Yoav Shapira
Howdy, That's a useful change -- I would be interested in it. We have a mixture of servers (WebLogic and JBoss), and this would be great! Yoav Marc Carrion wrote: > > We were using a JMSAppender to log the messages, but our > application is Weblogic, so, w

updating JMSAppender

2002-01-25 Thread Marc Carrion
We were using a JMSAppender to log the messages, but our application is Weblogic, so, we can't modify java.naming.factory.initial and java.naming.provider.url Because Weblogic needs it for other reasons, so we modified the JMSAppender in order to accept two more params in th

Re: JMSAppender

2001-12-18 Thread Steve Ebersole
- From: "Mathew, Bindhu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 17, 2001 12:22 PM Subject: JMSAppender > > Could someone explain a scenario where JMS is useful in logging? > Thanks, > BMathew > > -- > To unsubscribe, e-mail: &l

JMSAppender

2001-12-17 Thread Mathew, Bindhu
Could someone explain a scenario where JMS is useful in logging? Thanks, BMathew -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Getting Warning with JMSAppender

2001-11-30 Thread Joe Sackett
prefix as error states. - Joe -Original Message- From: Deepak Gupta <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Friday, November 30, 2001 1:15 AM Subject: Getting Warning with JMSAppender >I am using JMSAppender with Sun's RI 1.3. > >F

Getting Warning with JMSAppender

2001-11-30 Thread Deepak Gupta
I am using JMSAppender with Sun's RI 1.3. Following are my entries in log4j.properties file: *** log4j.category.SBM=debug,SBMJMS log4j.appender.SBMJMS=org.apache.log4j.net.JMSAppender log4j.appender.SBMJMS.TopicConnectionFactoryBindingName=jms/TopicConnectionFa

Re: JDBCAppender from JMSAppender

2001-11-20 Thread Kevin Steppe
ROTECTED]> > To: Log4J Users List <[EMAIL PROTECTED]> > Date: Tuesday, November 20, 2001 9:19 AM > Subject: Re: JDBCAppender from JMSAppender > > > > >Hmm, all this sounds very suspicious to me. There > >should be no problems with composing JMSAppender and &

Re: JDBCAppender from JMSAppender

2001-11-20 Thread Joe Sackett
ork. - Joe -Original Message- From: Ceki Gulcu <[EMAIL PROTECTED]> To: Log4J Users List <[EMAIL PROTECTED]> Date: Tuesday, November 20, 2001 9:19 AM Subject: Re: JDBCAppender from JMSAppender > >Hmm, all this sounds very suspicious to me. There >should be no problems

Re: JDBCAppender from JMSAppender

2001-11-20 Thread Joe Sackett
Ceki, Thank you for you prompt response. There is not any problem composing them except that the LoggingEvent object deserialized post-JMSAppender has instance variables category = null and fqnOfCategoryClass = null. This appears to cause an Exception from line ~828 of JDBCAppender.java which

Re: JDBCAppender from JMSAppender

2001-11-20 Thread Ceki Gulcu
Hmm, all this sounds very suspicious to me. There should be no problems with composing JMSAppender and JDBCAppender. All the work is done during serialization of logging event. Have you looked at JMSSink? Regards, Ceki --- Joe Sackett <[EMAIL PROTECTED]> wrote: > I have log4j logging

JDBCAppender from JMSAppender

2001-11-20 Thread Joe Sackett
use a JMSAppender to log from those external apps. This is where things got a little sticky. Since the JMSAppender must serialize the LoggingEvent object, its reference to the Category is lost for obvious reasons. However, after this Logging event arrives into the JMS Topic, the JDBCAppender does

Problem with JMSAppender

2001-10-22 Thread Jonas Sondell
Hi During the past week i have been trying to get the JMSAppender to work but with no success. The problem is simply that the JMSAppender is not closing after the messages has been sent. Any ideas? Output in the VAJ console when executing org.apache.log4j.test.Hello class

FW: initial context parameters for JMSAppender

2001-09-04 Thread Rajendran Marichetty
: initial context parameters for JMSAppender Raj, We have changed JMSAppender so that it reads the context factory and the provider url from the log4j configuration file. I'm enclosing the changed file. The properties are called: InitialContectFactory and ProvicerURL. Priyank "Rajendran

RE: initial context parameters for JMSAppender

2001-08-24 Thread Rajendran Marichetty
Priyank, Thanks for the modified JMSAppender. It works ! It solved my initial context conflicts with my appserver. -raj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23, 2001 9:09 AM To: LOG4J Users Mailing List Subject: Re: initial context

Re: initial context parameters for JMSAppender

2001-08-23 Thread priyank . johri
Raj, We have changed JMSAppender so that it reads the context factory and the provider url from the log4j configuration file. I'm enclosing the changed file. The properties are called: InitialContectFactory and ProvicerURL. Priyank "Rajendran Marichetty" <[EMAIL PROTECTED]

initial context parameters for JMSAppender

2001-08-21 Thread Rajendran Marichetty
Hi, I am trying to set up my log4j configuration for JMSAppenders, i could set up the the topic binding / connection factory name in the property file but don't know how to set up the initial context parameters, i want to specify the provider url and provider specific classes in the property fi

JMSAppender Service configuration

2001-07-25 Thread Naresh Sharma
lease let me know, i think many other might be facing the same problem. Thanks Naresh Naresh Sharma wrote: > Hello Everybody, > > I have just started using log4j but i could find any documention on > using JMSAppender or any exmaple, I am using Log4J 1.17b version. am i > missing

Re: JMSAppender configuration

2001-07-25 Thread Naresh Sharma
lease let me know, i think many other might be facing the same problem. Thanks Naresh Naresh Sharma wrote: > Hello Everybody, > > I have just started using log4j but i could find any documention on > using JMSAppender or any exmaple, I am using Log4J 1.17b version. am i > missing

Re: JMSAppender configuration

2001-07-25 Thread Naresh Sharma
slog appender and the JMS appender + perhaps others. > > Any thoughts? > > sam > - Original Message - > From: "Naresh Sharma" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, July 25, 2001 2:48 AM > Subject: JMSAppender conf

Re: JMSAppender configuration

2001-07-24 Thread Sam Newman
From: "Naresh Sharma" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 25, 2001 2:48 AM Subject: JMSAppender configuration > Hello Everybody, > > I have just started using log4j but i could find any documention on > using JMSAppender or any exm

JMSAppender configuration

2001-07-24 Thread Naresh Sharma
Hello Everybody, I have just started using log4j but i could find any documention on using JMSAppender or any exmaple, I am using Log4J 1.17b version. am i missing anything??.. please point me to the URL if any or the sample configuration file. Thanks Naresh

RE: Asynchronous logging ? JMSAppender ?

2001-07-16 Thread Veerappan Saravanan
Title: Asynchronous logging ? JMSAppender ? When using JMS, if these messages are something that you cannot loose under any circumstances, then you would have to use persistence JMS, which affects performance and would most likely be an over kill depending on where you log these messages

Re: Asynchronous logging ? JMSAppender ?

2001-07-16 Thread Ceki Gülcü
performance >measures that don't necessary prove the case. I was also thinking that I could use a >JMSAppender. Now, I know that this is not truly asynchronous, because each logging >request is not actually performed in a separate thread. But since performance is >usually deg

Asynchronous logging ? JMSAppender ?

2001-07-16 Thread Jamie Tsao
Title: Asynchronous logging ? JMSAppender ? Hi, I would like to asynchronously log messages (for performance reasons).  I know the AsyncAppender is designed for this purpose, but I believe there have been performance measures that don't necessary prove the case.  I was also thinking

AsyncAppender vs. JMSAppender

2001-07-13 Thread Jamie Tsao
Title: AsyncAppender vs. JMSAppender Hi, I would like to asynchronously log messages (for performance reasons).  I know the AsyncAppender is designed for this purpose, but I believe there have been performance measures that don't necessary prove the case.  I was also thinking that I

JMSAppender

2001-07-05 Thread Chintu Sankar
Hi All, Can anybody give me an example of the xml configurationfile which uses the JMSAppender. Thanks Chintu __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com

JMSAppender Going 'deaf'

2001-02-20 Thread djacobson
Scott, I am having the same problem that you had with the JMSSink. I receive several log messages, and then my application goes 'deaf' and I do not receive any more. I am using weblogic 5.1 as the JMS provider. Both the publisher and the subscriber are stand-alone Java applications. I notice

RE: JMSAppender Going 'deaf'

2001-02-20 Thread L. Scott Emmons
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 20, 2001 12:18 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: JMSAppender Going 'deaf' > Importance: High > > > Scott, > > I am having the same problem that