log4j with Apache Jserve

2005-06-07 Thread gaurav
hi List, Is there any ways I can configure log4j with Apache Jserve ( Legacy deployment) .I have configured jserv.properties wrapper class and added it to init method but no logs are getting generated is there any other to do this ? is there is link/tutorial which which illustrate

Re: Where to set exernal property referred to in log4j.properties

2005-06-07 Thread gaurav
hi List, Is there any ways I can configure log4j with Apavhe Jserve ( Legacy deployment) .I have configured jserv.properties wrapper class and added it to init meathod but no logs are getting generated is there any other to do this ? is there is link/tutorial which wich illustrat

RE: Where to set exernal property referred to in log4j.properties

2005-06-07 Thread Jitendra Kharche
Hi, Thanks Jake and James. I have noticed following: I have a J2EE app packaged as EAR file that has a EJB module, a WEB module and some AppClient modules. After I have done the steps I discussed in my last mail, from the websphere logs I came to know that the EJB module is getting initialized

RE: Where to set exernal property referred to in log4j.properties

2005-06-07 Thread Jacob Kjome
At 06:00 PM 6/7/2005 +0530, you wrote: > >Hi Jacob, > >What is autoconfiguration? As James said, refer to the docs (link provided in his response) >I am using the same solution as you have suggested below for the same >problem that I want the log file path to contain ${MY_APP_HOME} e.g. >${MY_AP

RE : RE : TR : A error message with JdbcAppender

2005-06-07 Thread Raoul OPPLIGER
Hi, I can't really explain this phenomena but it's a fact. I've executed the next steps * I've removed the mysql_connector.jar and I've modified the log4j.jar (I've introduced the mysql class in this jar) ==> SAME PROBLEM AS BEFORE * I've introduce the path in t

Re: RE : TR : A error message with JdbcAppender

2005-06-07 Thread James Stauffer
Probably something like this (I am not positive that this is correct): Since log4j.jar was in your jre dir it was part of boot classloader but your jdbc jar was part of the normal classloader so the log4j classes couldn't see the classes in the normal classloader. Someone please correct me. On 6/

Re: RE : TR : A error message with JdbcAppender

2005-06-07 Thread Andreas Fester
Hi, just to be curious: how can the existence of a user specific jar file (i.e. other than rt.jar, tools.jar etc.) within some jre directory influence class loading behaviour, without being present in some CLASSPATH, -cp or -Xbootclasspath??? Any hint welcome :-) Thanks and best Regards,

EXCEPTION_ACCESS_VIOLATION using AsyncAppender

2005-06-07 Thread Hilton, Douglas
I have written my own custom appenders and am using the AsyncAppender to wrap them. This is all running within the context of Sybase EAServer 4.2.2, with JDK 1.4.2_07 running on Win XP Pro (for development). If I just use the custom appender, things work fine, but as soon as I wrap it with the asyn

RE : TR : A error message with JdbcAppender

2005-06-07 Thread Raoul OPPLIGER
THE PROBLEM IS RESOLVED. In fact, it is really a classloader issue. I've had an old version of log4j.jar in my jre directory. If I delete this old version and if I specify the path of jar files in the command line, the previous problem is resolved. C:\log4j>echo ECHO is on. C:\log4j>"C:\P

Re: TR : A error message with JdbcAppender

2005-06-07 Thread Andreas Fester
Hi, James Stauffer wrote: Is it possibly a classloader issue? It could be that the JDBC driver is loaded by the same classloader as the class that generates the config file but by a different class loader that the code the configures log4j. We tried to track the problem down, and I am current

Re: DailyRollingFileAppender rolls but...

2005-06-07 Thread James Stauffer
Is the following what are your trying to say? On 6/07 when it restarts it makes log.txt.07062005 but still writes logs to log.txt. On 6/7/05, Fabrizio Squittieri <[EMAIL PROTECTED]> wrote: > Hi there, > I'm reporting a weird thing: > every morning the server on which i've got log4j (v1.2.8) insta

Re: Where to set exernal property referred to in log4j.properties

2005-06-07 Thread James Stauffer
On 6/7/05, Jitendra Kharche <[EMAIL PROTECTED]> wrote: > > Hi Jacob, > > What is autoconfiguration? Start reading at "Default Initialization Procedure" on http://logging.apache.org/log4j/docs/manual.html -- James Stauffer Are you good? Take the test at http://www.livingwaters.com/good/ --

Re: TR : A error message with JdbcAppender

2005-06-07 Thread James Stauffer
Is it possibly a classloader issue? It could be that the JDBC driver is loaded by the same classloader as the class that generates the config file but by a different class loader that the code the configures log4j. On 6/6/05, Raoul OPPLIGER <[EMAIL PROTECTED]> wrote: > Hi Andreas > > For your in

RE: Where to set exernal property referred to in log4j.properties

2005-06-07 Thread Jitendra Kharche
Hi Jacob, What is autoconfiguration? I am using the same solution as you have suggested below for the same problem that I want the log file path to contain ${MY_APP_HOME} e.g. ${MY_APP_HOME}\logs\logfile.log. But it is not working. I am using Websphere5.0. 1. I have set an OS environment variable

DailyRollingFileAppender rolls but...

2005-06-07 Thread Fabrizio Squittieri
Hi there, I'm reporting a weird thing: every morning the server on which i've got log4j (v1.2.8) installed reboot at 7.22 AM. Now, when it boots up again, Tomcat comes up and log4j rolls log.txt to log.txt.DDMM correctly but up to the next Tomcat restart every application still log on the rolle