Hiya,

I hope this is the correct forum, if not sorry and please let me know.

Xdoclet version: 1.2b2 - Ant version: 1.5.3.1 - O/S- Windows2000

When using the method level @ejb.transaction tag one gets the full method
signature ( name and params ) inside the ejb-jar.xml. Unfortunatley the
application server that i am using ( Weblogic 5.1, i know upgrade not an
option, sigh) does not seem to work with fully qualified signatures, i.e. if
mark as "Required" is will not start a xact for me if there is none, if
remove the method-params then all works ok.

So the question is can anyone think of a work around other than hand
crafting the ejb-jar so that i remove the method-param leaving just the
method name . The bean has a mixture of methods with different transaction
requirements so cannot just declare at the class level.

Thanks in advance
Cheers
Rich.....

An example of the generated ejb-jar.xml, have removed lots of signatures for
clairty

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd";>

<ejb-jar >

   <description><![CDATA[Planning Environment Services]]></description>
   <display-name>Planning Environment Services</display-name>

   <enterprise-beans>

      <!-- Session Beans -->
      <session >
         <description><![CDATA[The planning environment
services]]></description>

         <ejb-name>PlanningEnvironmentServices</ejb-name>

 
<home>sell.server.planningenvironment.PlanningEnvironmentServicesHome</home>
 
<remote>sell.server.planningenvironment.PlanningEnvironmentServices</remote>
 
<ejb-class>sell.server.planningenvironment.PlanningEnvironmentServicesBean</
ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>

      </session>

     <!--
       To add session beans that you have deployment descriptor info for,
add
       a file to your XDoclet merge directory called session-beans.xml that
contains
       the <session></session> markup for those beans.
     -->

      <!-- Entity Beans -->
     <!--
       To add entity beans that you have deployment descriptor info for, add
       a file to your XDoclet merge directory called entity-beans.xml that
contains
       the <entity></entity> markup for those beans.
     -->

   </enterprise-beans>

   <!-- Assembly Descriptor -->
   <assembly-descriptor >
     <!--
       To add additional assembly descriptor info here, add a file to your
       XDoclet merge directory called assembly-descriptor.xml that contains
       the <assembly-descriptor></assembly-descriptor> markup.
     -->
      <security-role>
         <description><![CDATA[description not supported yet by
ejbdoclet]]></description>
         <role-name>AccountAdmin</role-name>
      </security-role>
      <security-role>
         <description><![CDATA[description not supported yet by
ejbdoclet]]></description>
         <role-name>Planner</role-name>
      </security-role>

      <method-permission >
         <description><![CDATA[description not supported yet by
ejbdoclet]]></description>
         <role-name>AccountAdmin</role-name>
         <role-name>Planner</role-name>
         <method >
            <description><![CDATA[description not supported yet by
ejbdoclet]]></description>
            <ejb-name>PlanningEnvironmentServices</ejb-name>
            <method-name>*</method-name>
         </method>
      </method-permission>

   <!-- finder permissions -->

   <!-- transactions -->
   <container-transaction >
      <method >
         <ejb-name>PlanningEnvironmentServices</ejb-name>
         <method-intf>Remote</method-intf>
         <method-name>createPlanningEnvironment</method-name>
         <method-params>
            <method-param>common.docmgr.values.BPESeed</method-param>
            <method-param>common.analytics.values.Identity</method-param>
            <method-param>common.analytics.values.Identity</method-param>
            <method-param>common.analytics.values.Identity</method-param>
            <method-param>common.analytics.values.Identity</method-param>
            <method-param>common.analytics.values.OEM[]</method-param>
            <method-param>java.lang.Integer</method-param>
         </method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
   </container-transaction>

   <!-- finder transactions -->
   </assembly-descriptor>

</ejb-jar>


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to