Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-2763

jBPM 4.3 - InitialContext is not closed after being used for JNDI Lookup (Multiple classes)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: jBPM 4.3
    • Fix Version/s: jBPM 4.x
    • Component/s: Runtime Engine
    • Labels:
      None

      Description

      In various classes when an InitialContext is created it is not closed before the method returns. The following classes have this issue:-

      org.jboss.bpm.console.server.util.InvocationProxy
      org.jbpm.jpdl.internal.activity.JavaActivity
      org.jbpm.jpdl.internal.activity.JmsActivity
      org.jbpm.pvm.internal.cfg.ConfigurationImpl
      org.jbpm.pvm.internal.processengine.ProcessEngineImpl
      org.jbpm.pvm.internal.tx.JtaTransaction
      org.jbpm.pvm.internal.wire.descriptor.JbossIdmIdentitySessionFactoryDescriptor
      org.jbpm.pvm.internal.wire.descriptor.JndiDescriptor

      Hence this will result in memory leaks and also issues with hot deployment for EAR's containing the process engine.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jedizippy M Porter
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: