Qpid
  1. Qpid
  2. QPID-3307

ClassNotfound Exception when using Qpid java client in Complex classloading Environments.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13
    • Component/s: Java Client
    • Labels:
      None

      Description

      Hi ,

      When we are using qpid client to receive JMSObject in complex class loading environments like web application containers/Osgi environments .There is a scenario where this issues comes.

      Scenario.

      In a web application container normally they use a class loader per web app. and if we have qpid client libs at the root classloader level this error can come. The reason for this is Serializable Object types that are used inside the web app are not visible to the class loader that loads the JMSObject message and unmarshall it.

      thanks,
      Charith

      1. QPID-3307_patch_unit_test.txt
        4 kB
        Charith Dhanushka Wickramarachchi
      2. QPID-3307_patch.txt
        6 kB
        Charith Dhanushka Wickramarachchi
      3. QPID-3307_patch.txt
        6 kB
        Charith Dhanushka Wickramarachchi
      4. QPID-3307_patch.txt
        6 kB
        Charith Dhanushka Wickramarachchi

        Activity

        Charith Dhanushka Wickramarachchi created issue -
        Charith Dhanushka Wickramarachchi made changes -
        Field Original Value New Value
        Attachment QPID-3307_patch.txt [ 12482634 ]
        Charith Dhanushka Wickramarachchi made changes -
        Attachment QPID-3307_patch.txt [ 12482913 ]
        Charith Dhanushka Wickramarachchi made changes -
        Attachment QPID-3307_patch.txt [ 12483110 ]
        Charith Dhanushka Wickramarachchi made changes -
        Attachment QPID-3307_patch_unit_test.txt [ 12483129 ]
        Robbie Gemmell made changes -
        Assignee Robbie Gemmell [ gemmellr ]
        Robbie Gemmell made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Robbie Gemmell made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 0.13 [ 12316854 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Charith Dhanushka Wickramarachchi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development