Commons Logging
  1. Commons Logging
  2. LOGGING-78

[logging] The Log4JCategoryLog class does not get Serialized in WLS 8.1. Given below is the stackTrace

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.4
    • Labels:
      None
    • Environment:

      Operating System: Solaris
      Platform: Other

      Description

      ava.io.NotSerializableException: org.apache.commons.logging.impl.Log4JCategoryL
      og
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java
      :1330)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:13
      02)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav
      a:1245)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java
      :1330)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:13
      02)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav
      a:1245)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
      at java.util.ArrayList.writeObject(ArrayList.java:530)
      at sun.reflect.GeneratedMethodAccessor278.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:79
      5)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:12
      94)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav
      a:1245)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java
      :1330)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:13
      02)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav
      a:1245)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java
      :1330)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:13
      02)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav
      a:1245)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java
      :1330)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:13
      02)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav
      a:1245)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
      at weblogic.rmi.internal.CBVOutputStream.writeObject(CBVOutputStream.jav
      a:78)
      at weblogic.rmi.internal.ServerRequest.unmarshalThrowable(ServerRequest.
      java:327)
      at weblogic.rmi.internal.ServerRequest.getThrowable(ServerRequest.java:5
      9)
      at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:18
      4)
      at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
      ef.java:284)
      at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
      ef.java:244)

        Activity

        Hide
        Dennis Lundberg added a comment -

        This is fixed in cvs for org.apache.commons.logging.impl.Log4JLogger.
        You should use Log4JLogger instead of Log4JCategoryLog, because the latter has
        been deprecated.

        Show
        Dennis Lundberg added a comment - This is fixed in cvs for org.apache.commons.logging.impl.Log4JLogger. You should use Log4JLogger instead of Log4JCategoryLog, because the latter has been deprecated.

          People

          • Assignee:
            Unassigned
            Reporter:
            Prashanth
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development