Bugs item #517372, was opened at 2002-02-14 00:25
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=517372&group_id=31602
Category: None
Group: cvs
Status: Open
Resolution: None
Priority: 5
Submitted By: Daniel Bratell (bratell)
Assigned to: Nobody/Anonymous (nobody)
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
----------------------------------------------------------------------
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