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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        3m 36s 1 David Blevins 13/Jan/10 21:51
        David Blevins made changes -
        Fix Version/s 3.1.3 [ 12314215 ]
        David Blevins made changes -
        Summary Stricter ClientModule classpath discovery prevents NameAlreadyBoundException Stricter ClientModule classpath discovery prevents possible NameAlreadyBoundException
        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 -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        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 created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development