OpenEJB
  1. OpenEJB
  2. OPENEJB-1130

Stricter ClientModule classpath discovery prevents possible NameAlreadyBoundException

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.1, 3.1.2
    • Fix Version/s: 3.1.3
    • Component/s: configuration, deployment
    • Labels:
      None

      Description

      Existing openejb.deployments.classpath.require.descriptor option now supports 'ejb' and 'client' as possible values (also ALL or NONE as synonyms for 'true' and 'false'). By default in an embedded environment this is set to 'client' which results in potential ClientModules (any jar with a Main-Class as per javaee specification) being ignored unless they have a META-INF/application-client.xml descriptor.

        Activity

        David Blevins created issue -
        Hide
        David Blevins added a comment -

        $ svn ci
        Sending container/openejb-core/src/main/java/org/apache/openejb/config/DeploymentLoader.java
        Sending container/openejb-core/src/main/java/org/apache/openejb/config/DeploymentsResolver.java
        Adding container/openejb-core/src/main/java/org/apache/openejb/config/RequireDescriptors.java
        Transmitting file data ...
        Committed revision 898947.

        Show
        David Blevins added a comment - $ svn ci Sending container/openejb-core/src/main/java/org/apache/openejb/config/DeploymentLoader.java Sending container/openejb-core/src/main/java/org/apache/openejb/config/DeploymentsResolver.java Adding container/openejb-core/src/main/java/org/apache/openejb/config/RequireDescriptors.java Transmitting file data ... Committed revision 898947.
        David Blevins made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Show
        David Blevins added a comment - New 3.1.3-SNAPSHOTS have been uploaded to: http://repository.apache.org/snapshots/ As well new zips and tars are available here: http://repository.apache.org/snapshots/org/apache/openejb/openejb-standalone/3.1.3-SNAPSHOT/openejb-standalone-3.1.3-20100113.224305-3.tar.gz http://repository.apache.org/snapshots/org/apache/openejb/openejb-standalone/3.1.3-SNAPSHOT/openejb-standalone-3.1.3-20100113.224305-3.zip
        David Blevins made changes -
        Summary Stricter ClientModule classpath discovery prevents NameAlreadyBoundException Stricter ClientModule classpath discovery prevents possible NameAlreadyBoundException
        David Blevins committed 903392 (1 file)
        Reviews: none

        Potential fix for a nasty bug that I added with OPENEJB-1130: Stricter ClientModule classpath discovery prevents possible NameAlreadyBoundException

        David Blevins made changes -
        Fix Version/s 3.1.3 [ 12314215 ]

          People

          • Assignee:
            David Blevins
            Reporter:
            David Blevins
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development