The following issue has been updated:

    Updater: Olivier PILOT (mailto:[EMAIL PROTECTED])
       Date: Fri, 3 Jan 2003 3:08 AM
    Changes:
[Attachment] [weblogic-ejb-jar-xml.j] was added

---------------------------------------------------------------------
For a full history of the issue, see:

  
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-221&page=history

---------------------------------------------------------------------
View the issue:

  http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-221


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-221
    Summary: Bug in EJB1.1 persistence for Entity Beans + fix
       Type: Bug

     Status: Assigned
   Priority: Major

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: XDoclet
  Component: Bea Module
   Versions:
             1.1.2
             1.2 Beta 1
             1.2 Beta 2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Olivier PILOT

    Created: Fri, 3 Jan 2003 3:07 AM
    Updated: Fri, 3 Jan 2003 3:08 AM
Environment: Weblogic Server 6.1 SP1 / Win 2000

Description:
There's a problem when I try to deploy "XDocletized" EJB Entities to Weblogic 6.1 in 
EJB 1.1 mode. All the DTDs references are correctly set to version 1.1 but there's one 
problem left. The persistence type is not changed in 'weblogic-ejb-jar.xml' and the 
Entities aren't deployed.

I get this kind of result in weblogic-ejb-jar.xml DD :
*****************************
<weblogic-enterprise-bean>
  <ejb-name>...</ejb-name>
  <entity-descriptor>
  <persistence>
  <persistence-type>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
  </persistence-type> 
  <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
  </persistence-use>
  </persistence>
  </entity-descriptor>
  ...
</weblogic-enterprise-bean>
******************************

Both type versions are not correct because they should be set to '5.1.0' and not '6.0'.

I tried to fix it in 'weblogic-ejb-jar-xml.j' for version 1.1.2 and it seems to work 
(see the attached file). I only added two <XDtConfig:ifConfigParamEquals 
paramName="EjbSpec" value="1.1"> conditions.
I think it should also work on 'weblogic-ejb-jar-xml.xdt' for version 1.2.



---------------------------------------------------------------------
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/Administrators.jspa

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



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to