5 Replies Latest reply on May 5, 2004 3:53 AM by dannyyates

    java.io.NotSerializableException: org.apache.log4j.Logger

    roger_cmu Newbie

      I had never seen an exception of this kind. I am using log4j with jboss3.2.

      private Logger logger = Logger.getLogger("cts.ejb.user.session."
      + getClass().getName());

      public void ejbActivate() {

      Above code is shown just to show how I am using the logger. Do I need to mention logger as "transient"? Is that the right way to solve the problem. Any thoughts.

      - Roger