Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3307

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13
    • Component/s: JMS AMQP 0-x
    • 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

        Attachments

        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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: