Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-13727

On Websphere and Weblogic, CDI-based WAR cannot be deployed when Timer Start Event resolves bean

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Unresolved
    • L3 - Default
    • None
    • None
    • engine
    • None

    Description

      Environment (Required on creation):

      Camunda Platfrom 7.16, Websphere 8 or 9 / Weblogic 12R2, shared engine scenario

      Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

      When deploying a CDI-based WAR the aforementioned application servers with a process containing a Timer Start Event with an expression-based definition that contains a bean defined in the WAR, the deployment of the WAR fails with the attached exception.

      Steps to reproduce (Required on creation):

      • Start the application server
      • Deploy a WAR comparable to this integration test [1]

      Observed Behavior (Required on creation):

      • On Websphere, an exception is thrown:
        CNTR0019E: EJB threw an unexpected (non-declared) exception during invocation of method "getName". Exception data: javax.ejb.IllegalLoopbackException: Cannot call a method on a singleton session bean while constructing the bean instance : test#test.war#DefaultEjbProcessApplication
        
      • On Weblogic, the test times out

      Expected behavior (Required on creation):

      The deployment succeeds.

      Root Cause (Required on prioritization):

      Solution Ideas (Optional):

      Hints (Optional):

      [1] https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-engine/src/test/java/org/camunda/bpm/integrationtest/functional/cdi/CdiBeanResolutionOnDeploymentTest.java

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                tassilo.weidner Tassilo Weidner
                tassilo.weidner Tassilo Weidner
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Salesforce