Message:

   The following issue has been re-assigned.

   Assignee: Andrew Stevens (mailto:[EMAIL PROTECTED])
---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1191

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1191
    Summary: run-as element in message driven beans contains out of order 
elements
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             EJB Module
   Versions:
             1.2.1

   Assignee: Andrew Stevens
   Reporter: John Kroll

    Created: Thu, 9 Dec 2004 5:55 PM
    Updated: Thu, 16 Dec 2004 6:28 PM

Description:
Within the security-identity element in a message-driven element the elements 
within the run-as section appear in reverse order.

For example, the generated XML looks like:

         <security-identity>
            <description>Security identity description</description>
            <run-as>
               <role-name>DESIG_USER</role-name>
               <description>Security identity to assume</description>
            </run-as>
         </security-identity>

However, the J2EE ejb-jar_2_0.dtd lists the element order as

<!ELEMENT run-as (description?, role-name)>

So the generated XML should really be:

         <security-identity>
            <description>Security identity description</description>
            <run-as>
               <description>Security identity to assume</description>
               <role-name>DESIG_USER</role-name>
            </run-as>
         </security-identity>


This problem will prevent an EJB jar file from deploying in Websphere.

Current work around is to remove the description elements prior to packaging 
the jar file.




---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to