Serialization issue (LOG4j attribute in a serialized Thread)

2005-12-07 Thread DeMZed
Hi, I've made a class ClientServer which extends Thread implements Remote, Serializable to bind it with RMI. Inside, i've got this attribute : *private* *transient* *static* Logger LOG = Logger.getLogger(ClientServer.class); I've made another similar class ClientPartenaire which extends Unicast

RE: log4j 1.3 Status

2005-12-07 Thread Scott Deboy
XMLSocketReceiver has been available as a part of the Chainsaw V2 Web Start release for a long time (at least a year). For those who don't know, it gives folks using log4perl, log4cxx, log4php and jdk1.4 util.logging a way to see their events in Chainsaw V2. I haven't heard any bug reports (o

log4j 1.3 Status

2005-12-07 Thread Anant K
Hello, I was just wondering what the status was on log4j 1.3. I looked on the website, and it seems to be a bit out of date. The reason I ask is that I need to use the XMLSocketReceiver feature on a project, but there are reservations on my team at the fact that that is only available on the alpha

Re: Unable to write logs out to FileAppenders or RollingFileAppenders

2005-12-07 Thread Jacob Kjome
Where is log4j.jar and where do you put log4j.properties. To be more specific, do you have log4j.jar in WEB-INF/lib with log4j.properties in WEB-INF/classes, or are they in some other location? How is log4j configured? Default configuration or manual? Jake At 01:28 PM 12/7/2005 +, yo

Re: [log4perl-devel] log4j Integration

2005-12-07 Thread b2b
On Mon, 28 Nov 2005, Anant K wrote: > I am working on a project which involves two development environments: one > is in java and uses log4j, the other in perl using log4perl. Programs in > either system are called interchangeably, and we would like to integrate > both the logging systems so they

Re: log4j stack trace

2005-12-07 Thread James Stauffer
I don't know of any way that could happen. :-/ On 12/7/05, Jeff Drew <[EMAIL PROTECTED]> wrote: > I use a String as the argument. It's crude, but I thought it would never > break. > > static final Logger logger = Logger.getLogger("LoggerName"); > > Is it possible for the String to become null? >

Re: log4j stack trace

2005-12-07 Thread Jeff Drew
I use a String as the argument. It's crude, but I thought it would never break. static final Logger logger = Logger.getLogger("LoggerName"); Is it possible for the String to become null? On 12/7/05, Nicolas De Loof <[EMAIL PROTECTED]> wrote: > > > your Nullpointer is thrown in CategoryKey con

Unable to write logs out to FileAppenders or RollingFileAppenders

2005-12-07 Thread Robin Clarke
Hi, I cannot seem to get any logging data written to file type appenders (FileAppener and RollingFileAppender) and am hoping someone can point out what I am doing wrong. I seem to be able to manage what is logged to stdout without any problems. The files do get created, but nothing is ever writ

Re: log4j stack trace

2005-12-07 Thread Nicolas De Loof
your Nullpointer is thrown in CategoryKey constructor : CategoryKey(String name) { this.name = name; >hashCache = name.hashCode(); } This sounds like you try to create a logger with a null category name. To avoid this, you may use the class to build your loggers : private static Logger

Re: log4j stack trace

2005-12-07 Thread James Stauffer
My first guess is that you are calling Logger.getLogger(null) On 12/7/05, Jeff Drew <[EMAIL PROTECTED]> wrote: > My application had an error in the log4j code. It is likely a problem in my > code, but I'd appreciate any insights into what this particular error > implies. This code has been runn

log4j stack trace

2005-12-07 Thread Jeff Drew
My application had an error in the log4j code. It is likely a problem in my code, but I'd appreciate any insights into what this particular error implies. This code has been running for quite without seeing this error. java.lang.NullPointerException at java.lang.String.intern()Ljava.lang.St