Bugs item #479539, was opened at 2001-11-08 04:29 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=479539&group_id=22866
Category: JBossServer Group: v2.4 (stable) Status: Closed Resolution: Invalid Priority: 5 Submitted By: Max (max57) Assigned to: Nobody/Anonymous (nobody) Summary: method permission Initial Comment: Thanks for your Great Job! We are using Xdoclet to generate our CMPs. When defining a findByXXXX method using xdoclet, xdoclet generates a fully defined method permission tag including method parameters. Something like : <!-- finder perms --> <method-permission> <description>description not supported yet by ejbdoclet</description> <role-name>somerole</role-name> <method> <ejb-name>SomeBean</ejb-name> <method-intf>Home</method-intf> <method-name>findByXXXX</method-name> <method-params> <method-param>String</method-param> </method-params> </method> </method-permission> When the above find method is invoked, JBoss complains with a 'No method permissions assigned to method=findByXXX'. Homewer, if the parameters specification in the method permission tag is removed, Jboss does not complain any more and the method is invoked correctly. ---------------------------------------------------------------------- Comment By: Fred Loney (loney) Date: 2001-11-09 08:01 Message: Logged In: YES user_id=363541 xdoclet requires that the return type in the finder method signature is fully qualified; cf. xdoclet @ejb:finder tag documentation. Changing the finder method prototype from "String find..." to "java.lang.String find..." corrects the problem. ---------------------------------------------------------------------- Comment By: Scott M Stark (starksm) Date: 2001-11-08 09:34 Message: Logged In: YES user_id=175228 This is not a valid method-permission declaration as the method-param value must be the fully qualifed name of the class. It should be java.lang.String not String ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=479539&group_id=22866 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development