Uploaded image for project: 'JBeret'
  1. JBeret
  2. JBERET-413

WELD-ENV-002000: Weld SE container STATIC_INSTANCE is already running

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.3.0.Beta7
    • Fix Version/s: 1.4.0.Alpha1
    • Component/s: jberet-se
    • Labels:
      None

      Description

      when running in CI windows job, the following test fails intermittently:

      java.lang.AssertionError: expected:<COMPLETED> but was:<FAILED>
      at org.jberet.testapps.throttle.ThrottleIT.runTest(ThrottleIT.java:99)
      at org.jberet.testapps.throttle.ThrottleIT.start300(ThrottleIT.java:50)
      ------- Stderr: -------
      May 16, 2018 5:18:53 PM org.jberet.tools.AbstractJobXmlResolver resolveJobXml
      INFO: JBERET000030: Resolved job jar:file:/M:/buildAgent/work/bc898d1fe1eec64/test-apps/throttle/target/throttle-1.3.0.Final-SNAPSHOT.jar!/META-INF/batch-jobs/throttle.xml

      Exception in thread "Thread-153" java.lang.IllegalStateException: WELD-ENV-002000: Weld SE container STATIC_INSTANCE is already running!
      at org.jboss.weld.environment.se.WeldContainer.startInitialization(WeldContainer.java:163)
      at org.jboss.weld.environment.se.Weld.initialize(Weld.java:795)
      at org.jberet.se.SEArtifactFactory.<init>(SEArtifactFactory.java:32)
      at org.jberet.se.BatchSEEnvironment.getArtifactFactory(BatchSEEnvironment.java:119)
      at org.jberet.operations.AbstractJobOperator.startJobExecution(AbstractJobOperator.java:438)
      at org.jberet.operations.AbstractJobOperator.access$000(AbstractJobOperator.java:61)
      at org.jberet.operations.AbstractJobOperator$1.invoke(AbstractJobOperator.java:147)
      at org.jberet.operations.AbstractJobOperator$1.invoke(AbstractJobOperator.java:143)
      at org.jberet.operations.AbstractJobOperator.invokeTransaction(AbstractJobOperator.java:464)
      at org.jberet.operations.AbstractJobOperator.start(AbstractJobOperator.java:143)
      at org.jberet.operations.AbstractJobOperator.start(AbstractJobOperator.java:103)
      at org.jberet.operations.AbstractJobOperator.start(AbstractJobOperator.java:82)
      at org.jberet.testapps.throttle.ThrottleIT$1.run(ThrottleIT.java:81)
      at java.lang.Thread.run(Thread.java:748)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                cfang Cheng Fang
                Reporter:
                cfang Cheng Fang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: