RE: JMSAppender in Container Managed Transactions

2002-09-09 Thread Benary Klaus
I was able to solve the Problem: The trick is not to use the default connection factory. BEA puts a ConnectionFactory in the JNDI at javax.jms.ConnectionFactory. This factory seems to be an XAConnectionFactory which produces JTA-aware connections in any case. I configured an own ConnectionFactory

RE: SMTPAppender with VisualAge for Java

2002-09-09 Thread RUTHERFURD, Michael
I've used the SMTPApender in VAJ with no problems but I used a property file rather than xml. Looking at your error report are you sure that your problem isn't just that the XML parser can't find the log4j.dtd? Perhaps you need to adjust the DOCTYPE to be able to find it... Michael Rutherfurd >

Re: multiple categories same config file

2002-09-09 Thread Ceki Gülcü
At 14:03 09.09.2002 -0700, you wrote: >Two JVMs here are NOT using the same log file to log into, all >I'm using is the same log4j config file. Each application >initializes the log4j in its own JVM and uses its own category. > >The problem seems to be that the log4j is opening all the >category f

RE: Regarding DailyRollingFileAppender

2002-09-09 Thread Arun Jannela
    Hi,   Any one has written taskManager program to handling DailyRollingFileAppender.   Regards, Arun   -Original Message- From: Shawn Wilson [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 10:22 PM To: Arun Jannela Cc: log4j Subject: RE: Regarding DailyRoll

Re: multiple categories same config file

2002-09-09 Thread J IK
Two JVMs here are NOT using the same log file to log into, all I'm using is the same log4j config file. Each application initializes the log4j in its own JVM and uses its own category. The problem seems to be that the log4j is opening all the category files which appear in the config file and no

RE: multiple categories same config file

2002-09-09 Thread Ceki Gülcü
additivity has nothing to do with the problem. At 13:40 09.09.2002 -0700, you wrote: >have put it for appender also (and for bother appender and >category) but still find the other file locking. >Thank you. >-Jik (log is as follows) [snip] -- Ceki TCP implementations will follow a general pri

RE: multiple categories same config file

2002-09-09 Thread J IK
have put it for appender also (and for bother appender and category) but still find the other file locking. Thank you. -Jik (log is as follows) log4j: Parsing for [root] with value=[DEBUG, Log2Console]. log4j: Level token is [DEBUG]. log4j: Category root set to DEBUG log4j: Parsing appender name

Re: multiple categories same config file

2002-09-09 Thread Ceki Gülcü
At 11:01 09.09.2002 -0700, you wrote: >Hi All: > > >Now log4j is opening both the files aa.log and bb.log when i >just instantiate the 'aa' appender in a JVM. This is locking the >file 'bb.log' which is used by another application in a >different JVM. This is causing rollover problems etc. You ca

RE: Regarding DailyRollingFileAppender

2002-09-09 Thread Arun Jannela
Hi ,   I have added rollover variable as suggested by log4j-dev group to move the logfile to a archive file can any one suggest me what and how to mention in the properties file.     My current .lcf file is   #Config file for DailyRollingFileAppender #This is an example config t

RE: multiple categories same config file

2002-09-09 Thread Swami Iyer
The additivity flag should be set to appender and according to this debug statements the additivity for appender A was null. Swami > -Original Message- > From: J IK [mailto:[EMAIL PROTECTED]] > Sent: September 9, 2002 3:39 PM > To: Log4J Users List > Subject: RE: multiple categories sam

RE: multiple categories same config file

2002-09-09 Thread J IK
sorry that was a typo, categories were named as 'a' and 'b' and their appenders as 'aa' and 'bb'. I have the log4j log which goes like this: log4j: Parsing for [root] with value=[DEBUG, Log2Console]. log4j: Level token is [DEBUG]. log4j: Category root set to DEBUG log4j: Parsing appender named

RE: multiple categories same config file

2002-09-09 Thread Swami Iyer
Can you try and rename your appender to be different than the category name, also try log4j.warn=true and log4j.debug=true, it will show during the startup what log files are going to be used and so on. Swami > -Original Message- > From: J IK [mailto:[EMAIL PROTECTED]] > Sent: September

RE: multiple categories same config file

2002-09-09 Thread J IK
made the changes still no help, when i start using the aa appender the bb.log file is getting locked. I should have put this before, am using log4j version 1.2.5 and this is on Windows 2000. my config file now reads as follows: log4j.rootCategory=DEBUG, Log2Console # Log2Console is set to be a

RE: multiple categories same config file

2002-09-09 Thread Swami Iyer
Oops my bad, because of the additivity flag you should specify your console as another appender in the category statement. Swami > -Original Message- > From: Swami Iyer [mailto:[EMAIL PROTECTED]] > Sent: September 9, 2002 2:54 PM > To: 'Log4J Users List' > Subject: RE: multiple categorie

RE: multiple categories same config file

2002-09-09 Thread Swami Iyer
Your root category says that WARN will appear in the console, hence your debugging may not appear in the console. Swami > -Original Message- > From: J IK [mailto:[EMAIL PROTECTED]] > Sent: September 9, 2002 2:15 PM > To: Log4J Users List > Subject: RE: multiple categories same config fil

RE: multiple categories same config file

2002-09-09 Thread Daniel Serodio
When you set a's additivity to false, it won't inherit root's Log2Console appender. So, try adding: log4j.category.a=DEBUG, aa, Log2Console log4j.category.b=DEBUG, bb, Log2Console On Mon, 2002-09-09 at 15:15, J IK wrote: > Hi Swami: > > tried that too but it ended up not logging to the

RE: multiple categories same config file

2002-09-09 Thread J IK
Hi Swami: tried that too but it ended up not logging to the console, may be I'm doing something wrong. this is what I added log4j.additivity.a=false log4j.additivity.b=false to no avail. thankx for your pointers. -Jik --- Swami Iyer <[EMAIL PROTECTED]> wrote: > I think using the additivity fla

RE: Need help getting log4j to work under apache/tomcat/jboss on a linux server

2002-09-09 Thread Gary Graham
Hi Swami, Thanks for the reply. However, I am quite new to the JBoss environment so I am not quite sure what you mean in your configuration instructions below. I don't know what the PropertyConfigurator or DomConfigurator are. Gary -Original Message- From: Swami Iyer [mailto:[EMAIL

RE: multiple categories same config file

2002-09-09 Thread Swami Iyer
I think using the additivity flag will avoid the log4j in opening both the files. Swami > -Original Message- > From: J IK [mailto:[EMAIL PROTECTED]] > Sent: September 9, 2002 2:01 PM > To: [EMAIL PROTECTED] > Subject: multiple categories same config file > > > Hi All: > > Following i

multiple categories same config file

2002-09-09 Thread J IK
Hi All: Following is my configuration file log4j.config: log4j.rootCategory=WARN, Log2Console log4j.appender.Log2Console=org.apache.log4j.ConsoleAppender log4j.appender.Log2Console.Target=System.err log4j.appender.Log2Console.layout=org.apache.log4j.PatternLayout log4j.appender.Log2Console.layo

RE: Regarding DailyRollingFileAppender

2002-09-09 Thread Shawn Wilson
Arun, Hmm that is odd. When I've used it, it rolls over the log whether I'm using the application or not. When it starts up, it's supposed to check the modification date of the log file, and if it's the previous day, it will roll it then and there. So if your application is not running overnight,

Valid Types for RMI-IIOP

2002-09-09 Thread sudhendra seshachala
Here is a question, if you could touch upon!! When I deploy the beans, I get one of the warning as follows. ( have resolved other types) 08:10:11,422 INFO [EJBDeployer] Bean : TheTroubleTicket Method : public abstract Person getSubmitter() throws RemoteException Section: 9.2.7 Warning: The

RE: dailyrollingfileappender cannot rollover when application is not running.

2002-09-09 Thread Arun Jannela
Where can I find log4j1.2 version. Regards, Arun -Original Message- From: RaYaKu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 10:45 PM To: Log4J Users List Subject: RE: dailyrollingfileappender cannot rollover when application is not running. is it? For testing, Kindl

SMTPAppender with VisualAge for Java

2002-09-09 Thread Matthew_Bennett/MO/americancentury
I am wondering if anyone has configured an SMTPAppender using IBM's VisualAge for Java IDE. If you have, could you provide some tips on how you did it? We are using VAJ 4.0 and Log4J 1.2.3. We are also using a modified version of the "IBM XML Parser for Java" project which does not include the