From: Jason O. <sh...@po...> - 2002-07-19 22:33:27
|
Scott, This is the first method I had problems with. When I manually commented out the <method-intf/> tag it worked. Seems weird. I thought it might be the <method-params/>, that was the first thing I toyed with. I'm using the latest version of XDoclet - it does use the fully qualified class name. But this method doesn't even have parameters... *scratches head* <code> ... <method-permission > <description>description not supported yet by ejbdoclet</description> <role-name>site.view</role-name> <method > <description><![CDATA[]]></description> <ejb-name>Site</ejb-name> <method-intf>Local</method-intf> <method-name>getData</method-name> <method-params> </method-params> </method> </method-permission> ... </code> -jason > Show me an example of a proper ejb-jar.xml permission section that is > not working. Most likely it is this xdoclet bug: > http://sourceforge.net/tracker/?group_id=22866&atid=376685&func=detail&aid=4> 79539 > > > xxxxxxxxxxxxxxxxxxxxxxxx > Scott Stark > Chief Technology Officer > JBoss Group, LLC > xxxxxxxxxxxxxxxxxxxxxxxx > ----- Original Message ----- > From: "Jason Owens" <sh...@po...> > To: <jbo...@li...> > Sent: Friday, July 19, 2002 2:38 PM > Subject: [JBoss-user] Method Permissions > > >> Hello all, >> >> I've found some peculiar behavior wrt the <method-intf> tag in >> ejb-jar. Essentially, I have a whole bunch of <method-permission> sets >> in which XDoclet sets the proper <method-intf> value (as well as the >> proper role, etc.) These happen to be local entity beans, that are >> being used by a session bean through *its* remote interface. >> Everything's correct in the ejb-jar file, but it doesn't work! I >> simply get a "No method permissions assigned..." error. >> However, when I remove the <method-intf> tag, everything works great. >> >> I've modified the XDoclet template to get by, but I was wondering if >> anyone knew of this problem... >> I'm using JBoss-3.0.0 >> >> Thanks >> -Jason >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> JBoss-user mailing list >> JBo...@li... >> https://lists.sourceforge.net/lists/listinfo/jboss-user >> > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > JBo...@li... > https://lists.sourceforge.net/lists/listinfo/jboss-user |