Bugs item #517372, was opened at 2002-02-14 09:25
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=517372&group_id=31602

>Category: ejbdoclet
>Group: v1.1
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Daniel Bratell (bratell)
>Assigned to: Vincent Harcq (vharcq)
Summary: Wrong transact. method-intf for local be

Initial Comment:
I have a local entity bean with      
   @ejb:transaction type="Required"
specified on a setName method. 

But ejb-jar.xml says:

   <container-transaction>
      <method>
         <ejb-name>ChartNode</ejb-name>
--->     <method-intf>Remote</method-intf>
         <method-name>setName</method-name>
         <method-params>
            <method-param>java.lang.String</method-param>
         </method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
   </container-transaction>

As you see on the arrow, the wrong interface is used in
the ejb-jar.xml file. This makes it impossible to
deploy the bean in Weblogic: 

        Unable to set the transaction attribute for
method "setName(java.lang.String)".  No matching method
could be found.  Please verify the method signature
specified in the ejb-jar.xml file matches that of your EJB.

In the bean header I have view-type="local" and
everything else works.

I wonder if this can be related to dbudworths change in
InterfaceTagHandler.java:

 revision 1.18
 date: 2002/01/30 20:56:52;  author: dbudworth;  state:
Exp;  lines: +4 -41
 Moved isOnlyRemoteEjb/isOnlyLocalEjb out to
EjbTagsHandler, cuz they seem like they belong with
isRemoteEjb/isLocalEjb

 converted isInterfacemethod to use
getMethodTagValue/getClassTagValue




----------------------------------------------------------------------

>Comment By: Vincent Harcq (vharcq)
Date: 2002-03-11 07:14

Message:
Logged In: YES 
user_id=125677

I have the fix.
I am waiting for 1.1.2 release is complete, so this will be 
part of 1.1.3

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=517372&group_id=31602

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to