[jboss-jira] [JBoss JIRA] Updated: (JBAS-6843) Metadata not created for deployments listed through Classpath attribute of Manifest.MF files

jaikiran pai (JIRA) jira-events at lists.jboss.org
Wed Apr 29 04:37:46 EDT 2009


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

jaikiran pai updated JBAS-6843:
-------------------------------

    Description: 
If a (EJB) *deployment* jar contains a MANIFEST.MF which points to another *deployment* (not a plain jar) through the ClassPath attribute, then the deployment framework does not generate metadata for the deployment listed in MANIFEST.MF

Ex: A.jar is an EJB3 deployment which contains a MANIFEST.MF pointing to B.jar (another EJB3 deployment). While processing A.jar (and its entries in MANIFEST.MF), the deployment framework does not generate metadata for B.jar

 
As per EJB3.0 core spec, section 20.3:

The ejb-jar file must contain, either by inclusion or by reference, the class files of each enterprise bean as follows:
- The enterprise bean class.
- The enterprise bean business interfaces, web service endpoint interfaces, and home and component interfaces.
- Interceptor classes.
- The primary key class if the bean is an entity bean.

We say that a jar file contains a second file "by reference" if the second file is named in the Class-Path attribute in the Manifest file of the referencing jar file or is contained (either by inclusion or by reference) in another jar file that is named in the Class-Path attribute in the Manifest file of the referencing jar file.




  was:
If a (EJB) *deployment* jar contains a MANIFEST.MF which points to another *deployment* (not a plain jar) through the ClassPath attribute, then the deployment framework does not generate metadata for the deployment listed in MANIFEST.MF

Ex: A.jar is an EJB3 deployment which contains a MANIFEST.MF pointing to B.jar (another EJB3 deployment). While processing A.jar (and its entries in MANIFEST.MF), the deployment framework does not generate metadata for B.jar

 
As per EJB3.0 core spec, section 20.3:

The ejb-jar ?le must contain, either by inclusion or by reference, the class ?les of each enterprise bean as follows:
- The enterprise bean class.
- The enterprise bean business interfaces, web service endpoint interfaces, and home and component interfaces.
- Interceptor classes.
- The primary key class if the bean is an entity bean.

We say that a jar ?le contains a second ?le "by reference" if the second ?le is named in the Class-Path attribute in the Manifest ?le of the referencing jar ?le or is contained (either by inclusion or by reference) in another jar ?le that is named in the Class-Path attribute in the Manifest ?le of the referencing jar ?le.






> Metadata not created for deployments listed through Classpath attribute of Manifest.MF files
> --------------------------------------------------------------------------------------------
>
>                 Key: JBAS-6843
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6843
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Deployers
>    Affects Versions: JBossAS-5.1.0.Beta1, JBossAS-5.1.0.CR1
>            Reporter: jaikiran pai
>            Assignee: Ales Justin
>
> If a (EJB) *deployment* jar contains a MANIFEST.MF which points to another *deployment* (not a plain jar) through the ClassPath attribute, then the deployment framework does not generate metadata for the deployment listed in MANIFEST.MF
> Ex: A.jar is an EJB3 deployment which contains a MANIFEST.MF pointing to B.jar (another EJB3 deployment). While processing A.jar (and its entries in MANIFEST.MF), the deployment framework does not generate metadata for B.jar
>  
> As per EJB3.0 core spec, section 20.3:
> The ejb-jar file must contain, either by inclusion or by reference, the class files of each enterprise bean as follows:
> - The enterprise bean class.
> - The enterprise bean business interfaces, web service endpoint interfaces, and home and component interfaces.
> - Interceptor classes.
> - The primary key class if the bean is an entity bean.
> We say that a jar file contains a second file "by reference" if the second file is named in the Class-Path attribute in the Manifest file of the referencing jar file or is contained (either by inclusion or by reference) in another jar file that is named in the Class-Path attribute in the Manifest file of the referencing jar file.

-- 
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