0 Replies Latest reply on Dec 2, 2005 10:38 AM by guitoon

    EJB Client log4j warnings

    guitoon

      Hello,
      I developped my application with EJBs. Everything is OK, the deployment works fine etc...
      I then developped a client to test my application. It works OK but i get warnings at run time. My problem is that I want to display some information in the console from the client and it doesn't work. My warnings are linked to log4j.
      Any one can help me ?

      Warnings:
      log4j:WARN No appenders could be found for logger ( myClient ).
      log4j:WARN Please initialize the log4j system properly.

      My client:
      import org.apache.log4j.Logger;
      ...
      private static Logger log = Logger.getLogger(myClient.class);
      ...
      public myClient(String mss) {
      try {
      log.info("client " + mss);
      ...

      My config:
      Eclipse 3.1
      EJB3.0
      JBoss 4.0.3
      JBoss-EJB-3.0_RC3