Hi Upul,

Thanks for the response. I already had a log4j.properties file in the class 
path.
I tried with the property code you have mentioned below .. but this too did not 
help

But in the mean while I have figured out that I am not using the latest version 
of Axis .. i.e. Axis2
I was using the site http://ws.apache.org/axis/ 
Where as Axis2 is at http://ws.apache.org/axis2/

Unfortunately links to Axis is not listed in the home page at 
http://apache.org/ but under the "web services" category which I missed.. and 
lost my whole day yesterday... and google return http://ws.apache.org/axis/ on 
top....let see if Axis2 works out fine.  

IMHO http://ws.apache.org/axis/  should have a link to  
http://ws.apache.org/axis2/ 

Thanks.

  ----- Original Message ----- 
  From: Upul Godage 
  To: [email protected] 
  Sent: Wednesday, July 25, 2007 4:42 PM
  Subject: Re: Newbee - Log4j WARN No appenders could be found for logger


  To intialize the log4j system, create a new file named "log4j.properties" in 
a directory in the classpath and enter these lines.  May be the root directory 
where your compiled Java classes are in.


# Set root logger level to DEBUG and its only appender to A1.
log4j.rootLogger=DEBUG, A1# A1 is set to be a 
ConsoleAppender.log4j.appender.A1=org.apache.log4j.ConsoleAppender# A1 uses 
PatternLayout.log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
  Above sample was taken from the 
  http://logging.apache.org/log4j/docs/manual.html 


  On 7/25/07, Vikram Mandal <[EMAIL PROTECTED]> wrote:
    Hi,

    I am new to Axis, Log4j,... doing java after good long break.

    I am trying to run one the sample codes "echoString"  that comes with
    axis-1_4. I have set the classpath as mentioned in the doc .. and now I 
have 
    got :

    log4j:WARN No appenders could be found for logger
    (org.apache.axis.i18n.ProjectResourceBundle).
    log4j:WARN Please initialize the log4j system
    properly.java.net.ConnectException: Connection timed out: connect 

    This seems to be a popular error ...... Google.. but unfortunately I am not
    able to find a appropriate solution to error with the sample code. Please
    guide.

    Thanks and regards,
    Vikram





    ---------------------------------------------------------------------
    To unsubscribe, e-mail: [EMAIL PROTECTED]
    For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to