[XDoclet-JIRA] Created: (XDT-1668) The deploymentdescriptor sub-task of the ejbdoclet task creates a ServiceEndpoint permission for 2.0
"Patrice Gagnon (JIRA)" <[email protected]> Fri, 20 Oct 2006 14:41:31 -0500 (CDT)
| Newsgroups | gmane.comp.java.xdoclet.devel |
|---|---|
| Message-ID | <70658976.1161373291557.JavaMail.j2ee@atlassian01.managed.contegix.com> |
The deploymentdescriptor sub-task of the ejbdoclet task creates a ServiceEndpoint permission for 2.0
----------------------------------------------------------------------------------------------------
Key: XDT-1668
URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1668
Project: XDoclet
Type: Bug
Components: EJB Module
Versions: 1.2.3
Environment: JDK 1.4.2, J2EE 1.3, EJB 2.0, Orion Application Server 2.0.5, Windows XP
Reporter: Patrice Gagnon
Assigned to: xdoclet-devel (Use for new issues)
Priority: Critical
When running the ejbdoclet task (using the default ejb 2.0 specification), the deploymentdescriptor sub-task creates a ServiceEndpoint method permission:
<assembly-descriptor >
<method-permission >
<description><![CDATA[description not supported yet by ejbdoclet]]></description>
<role-name>Member</role-name>
<method >
<description><![CDATA[description not supported yet by ejbdoclet]]></description>
<ejb-name>TaxChargeType</ejb-name>
<method-intf>ServiceEndpoint</method-intf>
<method-name>*</method-name>
</method>
</method-permission>
...
The ServiceEndpoint value appears to be valid for the EJB specification 2.1 (Section 23.5 page 537), but is not for the specification 2.0 (Section 22.5 page 476). This cause the following error during the deployment of the EJB jar in Orion 2.0.5 which only support the EJB 2.0 specification:
Error in application buildingcenter: Error loading package at file:/C:/bc/svn-trunk-hibpoc/bc/build/core-ejb.jar, Illega
l method-intf value: 'ServiceEndpoint', legal values are 'Remote', 'Home', 'Local' and 'LocalHome', see section 22.5 of
the EJB specification
I marked it as Critical since it prevents EJB modules to deploy with containers which strictly validate the ejb-jar.xml against the EJB specification.
Thank you.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642