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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Resolved Resolved Closed Closed
        1422d 4h 11m 1 Henri Yandell 02/Jan/08 07:48
        Dennis Lundberg made changes -
        Fix Version/s 1.0.4 [ 12311713 ]
        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Dennis Lundberg made changes -
        Affects Version/s 1.1 Final [ 12311876 ]
        Bugzilla Id 26802
        Henri Yandell made changes -
        Affects Version/s 1.1 Final [ 12311876 ]
        Henri Yandell made changes -
        Key COM-1099 LOGGING-78
        Component/s Logging [ 12311124 ]
        Affects Version/s 1.1 Final [ 12311652 ]
        Project Commons [ 12310458 ] Commons Logging [ 12310484 ]
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 26802 12341251
        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.
        Prashanth created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development