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

IterableTimedCache expiry causes deployment issues with Camel non-core components

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.11
    • Fix Version/s: 4.11 CP1
    • Component/s: Deployment
    • Labels:
      None

      Description

      There's a problem with deployment of esb application, where the camel gateway is used .

      If is the application deployed right after the server start, there's no problem. But if you wait about 30-60 minutes, error occurs, and about 100 of this error message are shown:

      DEBUG [JBossPackageScanClassResolver] Cannot find class 'apache/camel/converter/stream/InputStreamCache.class' in any classloaders: [BaseClassLoader@2444569

      {vfszip:/home/rbalent/qa/tests/quickstarts/tests/output/lib/Quickstart_camel_http.esb/}

      ]

      To see the messages you must set log threshold to DEBUG.

      To reproduce it, just start server, deploy attached Quickstart_camel_http.esb, then you will see the correct message in server log:

      BEFORE**
      Camel HTTP Hello World!
      AFTER**

      Lines "BEFORE*", and "AFTER*" are added to find the message body in server log easier.

      then undeploy Quickstart_camel_http.esb and wait about 30-60 minutes. After this time, deploy the esb package again. You will see the mentioned lines in server log, and incorrect message body:
      The received message will look like this:

      BEFORE**
      java.io.ByteArrayInputStream@6c515139AFTER**

      After server restart it works again.

      Quickstart_camel_http.esb, server log of successful deployment and failed deployment are attached.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tcunning Thomas Cunningham
                  Reporter:
                  tcunning Thomas Cunningham
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: