It sounds like a bug. Please file it as a bug report and enclose the
associated javadoc section of your bean. you can assign it to me (rinkrank)

Thanks in advance,

/Aslak

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Michael
> Elizarov
> Sent: 18. april 2002 23:04
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] transactional attribute on local interface
>
>
>     I have a bunch of entity beans with only local interface, which are
> facaded by session bean(s) with remote. If I put transaction type tag on
> locally accessible bean methods, then XDoclet generates something like
> this in ejb-jar.xml:
>
>    <container-transaction >
>       <method >
>          <ejb-name>UnitOfMeasure</ejb-name>
>          <method-intf>Remote</method-intf>
>          <method-name>update</method-name>
>          <method-params>
>
> <method-param>com.moveitonline.framework.model.BaseObject</method-param>
>          </method-params>
>       </method>
>       <trans-attribute>Required</trans-attribute>
>    </container-transaction>
>
> Note that method-intf is Remote. Then I run ejbc and it chokes saying:
>      [java] ERROR: Error from ejbc: Unable to set the transaction
> attribute for method
> "update(com.moveitonline.framework.model.BaseObject)".  No matching
> method could be found.  Please verify the method signature specified in
> the ejb-jar.xml file matches that of your EJB.
>      [java] ERROR: ejbc found errors
>
> I can edit ejb-xml.jar manually and get desired results (both local and
> remote methods with appropriate transaction attributes), but that's not
> lot of fun... Bug?
>
> Regards,
> Michael Elizarov
>
>
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user


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

Reply via email to