Thread blocking problem

2006-12-28 Thread Feigin Yaron
Hi all, We are writing a pure Java server that manages some flow threads - Each thread reads a packet from the network, parses it and runs the relevant flow according to the recognized message... We are using the log4j as the logging mechanism agent and bumped into a blocking problem... As eac

Help on DailyRollingFileAppender : existing file getting overwritten

2006-12-28 Thread Bharat Kumar Meda
Hi, When log4j files are to be renamed as previous day's log files (appends the previous day's date at midnight), they are getting overwritten with the first five minutes of the present day's logs. As a result, the whole log file of the previous day is lost. Also the jar we are referring

Re: log per thread questions

2006-12-28 Thread James Stauffer
You could probably also stay with one appender but use a ThreadLocal to get the ScrollPane in taAppender. You would probably need to make the ThreadLocal hold a wrapper classes that holds your 3 variables. On 12/28/06, Raúl Santiago <[EMAIL PROTECTED]> wrote: Hello. I think this question has be

Re: log per thread questions

2006-12-28 Thread Jacob Kjome
You could try using a custom repository selector that is keyed by thread. Log4j-1.3 has one keyed by JNDI. Others out there are keyed by ClassLoader, but that just leads to classloading issues. Look up in your favorite search engine or in the Log4j Wiki. The Log4j -sandbox used to have

Re: Eclipse - Could not create action delegate for id

2006-12-28 Thread Jacob Kjome
There's no clear Log4j-specific issue here. I suggest you contact the author of the article. Jake At 02:16 AM 12/28/2006, you wrote: > >Hi, > >I'm using Eclipse 3.1.2 with Java 1.4.2 and log4j-1.2.8, testing the log4j >example by ibm developerworks: >http://www-128.ibm.com/developerworks/lib

Re: Problem with log4jME

2006-12-28 Thread Jacob Kjome
Do you get logging output otherwise? Is es.app.config.PropPreferences a class where you perform manual configuration of Log4j? If so, then don't define a Logger in a class meant to configure all other loggers or, at least make it an instance variable and don't initialize it until after yo

log per thread questions

2006-12-28 Thread Raúl Santiago
Hello. I think this question has been asked before, but not exactly with the same intentions. I have extended ConsoleAppender to log to a ScrollArea. This way: public class taAppender extends ConsoleAppender{ private JTextArea taLog=new JTextArea(); public JScrollPane ScrollTA= new

Re: Loading sequence of log4j

2006-12-28 Thread Jacob Kjome
At 04:04 AM 12/27/2006, you wrote: >On 12/27/06, chuanjiang lo <[EMAIL PROTECTED]> wrote: >> >> I am using PropertyConfigurator.configure in the Listener class >> >> PropertyConfigurator.configure(event.getServletContext >> ().getRealPath("")+"/WEB-INF/foo.xml"); >> 2 things... 1. Never ever us

Re: chainsaw webstart

2006-12-28 Thread dirk ooms
Maarten, On Thursday 28 December 2006 13:15, Maarten Bosteels wrote: > This probably does not help you very much: I clicked on the jnlp link in > your message, and it just works. well, it did help :-). it made me try it once more, but now issueing javaws on the commandline with the specified ur

Re: chainsaw webstart

2006-12-28 Thread Maarten Bosteels
This probably does not help you very much: I clicked on the jnlp link in your message, and it just works. using Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) on linux without any custom java web start settings Maarten On 12/28/06, dirk ooms <[EMAIL PROTECTED]> wrote: H

chainsaw webstart

2006-12-28 Thread dirk ooms
Hello List, i tried to start chainsaw with webstart (http://logging.apache.org/log4j/docs/webstart/chainsaw/chainsawWebStart.jnlp), but i received following error: "Found unsigned entry in resource: http://logging.apache.org/log4j/docs/webstart/chainsaw/lib/log4j-chainsaw-2.0alpha-1.jar";. thi

Eclipse - Could not create action delegate for id

2006-12-28 Thread neosaybin
Hi, I'm using Eclipse 3.1.2 with Java 1.4.2 and log4j-1.2.8, testing the log4j example by ibm developerworks: http://www-128.ibm.com/developerworks/library/os-eclog/ I packaged "com.tools.logging" and "TestPluginLog" as Eclipse plug-ins and added them to "HelloPlugin". Also added "com.tools.log