If you can put log4j.properties in the classpath it should work.
On 2/6/07, Farooq Shaikh <[EMAIL PROTECTED]> wrote:
Ravi Chekuri <Ravi.Chekuri <at> bri.com> writes: > > Hi, > > I'm trying to use log4j for logging information from EJB's. > I'm using a SimpleSocketServer program provided with > log4j and trying to write information to that socket. > The configuration file log4j.properties has details about > the port & ip_address on which the SimpleSocketServer program > is running. The problem i'm facing here is that > WHERE & HOW DO I SPECIFY IN IAS ABOUT THE LOCATION OF > log4j.properties file ??. > I was able to write information to the SimpleSocketServer > from a standalone java application by starting it > using the command > java -Dlog4j.configuration=C:\log4j.properties > > How do i accomplish the same thing when using IPlanet > Application Server and trying to use log4j from EJB's > > Any help is appreciated ... > > thanks, > Ravi Chekuri > Dear Ravi, I am facing the same problem with IPlanet 6.0 for log4j.properties configuration. If you already resolved this issue then please guide me to resolve it. Reagrds, Farooq Shaikh --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- James Stauffer http://www.geocities.com/stauffer_james/ Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
