Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-3582

SOA-P 5.1.0 classloader caching issues with embedded jar artifacts

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.0 Milestone Release 1
    • Fix Version/s: None
    • Component/s: Deployment
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Wrong Class
      1) deploy Quickstart_helloworld-1.esb
      2) deploy Quickstart_helloworld-2.esb
      3) Inpect server.log for telltail version
      Quickstart_helloworld-1.esb should display (server.log)
      Version 1.0, while Quickstart_helloworld-2.esb should display Version 2.0.

      Duplicate Class Deployment Error
      1) re-deploy Quickstart_helloworld-2.esb several times
      1) redeploy Quickstart_helloworld-1.esb

      Show
      Wrong Class 1) deploy Quickstart_helloworld-1.esb 2) deploy Quickstart_helloworld-2.esb 3) Inpect server.log for telltail version Quickstart_helloworld-1.esb should display (server.log) Version 1.0, while Quickstart_helloworld-2.esb should display Version 2.0. Duplicate Class Deployment Error 1) re-deploy Quickstart_helloworld-2.esb several times 1) redeploy Quickstart_helloworld-1.esb
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Specify a scoped esb/META-INF/jboss-classloading.xml or use SOA-P 5.0.2.

      Show
      Specify a scoped esb/META-INF/jboss-classloading.xml or use SOA-P 5.0.2.

      Description

      An existing .ESB file with embedded jar artifact ends up being used for subsequently deployed .ESB applications even if the second ESB contains a newer/different version of the embedded jar artifact.

      If you repeatly redeploy the first and the second, eventually the ESB file fails to deploy due to duplicate class issues.

      SOA-P 5.0.0/1/2 does not behave this way as the VFSClassloader uniquely captures each artifact in the tmp vsf folder.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                davesiracusa Dave Siracusa
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: