The option of copying the file into the src file didn't work (despite it was copied automatically into the classes' directory) but doing the Add external folder solution has been enough fortunately, and the WARN messages don't appear now.
Thank you very much Upul!! Upul Godage wrote: > > Or the best option, copy the log4j.properties file to the projects src > directory. Then it will be copied to the classes directory automatically > and available in the classpath. > > These are all solutions to client-side. > > Upul > > > On 10/15/07, Upul Godage <[EMAIL PROTECTED]> wrote: >> >> In run dialog, classpath tab, click advanced button. >> Select Add external folder and add the folder where log4j.properties is >> in >> (folder should not contain unwanted classes) >> >> Or >> >> Make a jar out of log4j.properties file and add it as a jar. >> jar cf log4jprops.jar log4j.properties >> >> Upul >> >> >> On 10/15/07, JaviMetal < [EMAIL PROTECTED]> wrote: >> > >> > >> > Hello everybody: >> > >> > First of all, I know that already exist some post about this problem, >> > but I >> > can't solve it. >> > >> > I have implement a client and when I run it I get the following >> messages >> > ... >> > >> > log4j:WARN No appenders could be found for logger >> > (org.apache.axis2.description.AxisService). >> > log4j:WARN Please initialize the log4j system properly. >> > >> > ... followed by my service response. I mean that the service works >> > properly, >> > but according with what I've read in other posts, I need to include a >> > file >> > called log4j.properties in the classpath. And my question is: how? I'm >> > using >> > Eclipse and it only lets me include .jar files to the classpath. >> > >> > Any help will be welcome. Thank you very much >> > -- >> > View this message in context: >> > http://www.nabble.com/Axis2-1.3-Log4J-WARNS-tf4626262.html#a13210291 >> > Sent from the Axis - User mailing list archive at Nabble.com. >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > > -- View this message in context: http://www.nabble.com/Axis2-1.3-Log4J-WARNS-tf4626262.html#a13212327 Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
