[jboss-jira] [JBoss JIRA] Resolved: (JBAS-7644) Enforce EE 6 module name requirements within an application

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Mar 9 23:53:37 EST 2010


     [ https://jira.jboss.org/jira/browse/JBAS-7644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry resolved JBAS-7644.
------------------------------------

    Resolution: Done


Requirements are implemented for EJB jars, wars and app client jars. RARs will be incorporated later as part of work on JCA 1.6. Meanwhile if there is a need to adapt the JCA 1.5 metadata in the AS trunk connectors module to integrate with this, that can be done easily enough.

The fix for this hacked NamingJavaEEModuleInformer.getModulePath() as discussed in the subtask description. That hack can be removed (or NamingJavaEEModuleInformer can be removed) when the naming deployer change described in the subtask is completed.

> Enforce EE 6 module name requirements within an application
> -----------------------------------------------------------
>
>                 Key: JBAS-7644
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7644
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>            Priority: Critical
>             Fix For: JBossAS-6.0.0.M3
>
>
> Implement following from EE8.1.1:
>      All Java EE modules have a name. The name can be explicitly set in the
> deployment descriptor for the module. If not set, the name of the module is the
> pathname of the module in the ear file with any filename extension (.jar, .war,
> .rar) removed, but with any directory names included. The name of a module
> must be unique within an application. If and only if the name is not unique (e.g.,
> because two names are identical after removing different filename extensions) the
> deployment tool may choose new unique names for any of the conflicting
> modules; module names that do not conflict must not be changed. The algorithm
> for choosing unique names in such a case is product specific.
> Also implement this related bit from EE.8.1.2:
> Similarly, when a stand-alone module is deployed.... The module name can be explicitly set in the module
> deployment descriptor. If not set, the name of the module is the base name of the
> module file with any extension (.war, .jar, .rar) removed and with any directory
> names removed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list