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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.13
    • JMS AMQP 0-x
    • 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.txt
          6 kB
          Charith Wickramarachchi
        2. QPID-3307_patch.txt
          6 kB
          Charith Wickramarachchi
        3. QPID-3307_patch.txt
          6 kB
          Charith Wickramarachchi
        4. QPID-3307_patch_unit_test.txt
          4 kB
          Charith Wickramarachchi

        Activity

          People

            robbie Robbie Gemmell
            charith Charith Wickramarachchi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: