after digging into a little code/documentation here is what I have found
so far.
The docs state that the default for @ejb.interface should be "If the
view-type parameter is absent then the method will be added to whatever
component interfaces are defined in @ejb.bean."
The class xdoclet.modules.ejb.intf.InterfaceTagsHandler does not use
what was defined in @ejb.bean but "local" and "remote".
//line 313 from InterfaceTagsHandler
// If we're using EJB 1.1, the default is "remote", otherwise it's "both"
if (EjbTagsHandler.getEjbSpec().equals("1.1"))
return new String[]{"remote"};
else
return new String[]{"local", "remote"};
I did not see this in Jira, can anybody confirm if this is a bug?
Ben
On Sat, 4 Oct 2003, Ben Litchfield wrote:
>
> I am using the xdoclet version that ships with middlegen, labeled
> 1.2b3-dev. I am trying to deploy to weblogic 8.1(tried 7.0 and got the
> same error) and am getting the following error. This does deploy
> successfully when using JBoss but I would like for it to deploy under
> weblogic as well.
>
>
> weblogic.ejb20.deployer.DeploymentDescriptorException: Unable to set the
> method permission for method 'findAll()' on EJB 'MachineFacade'. No
> matching method could be found. Please verify the method signature
> specified in the ejb-jar.xml file matches that of your Local interface for
> this EJB.
>
> I want local entity beans using a remote facade.
>
> On my MachineBean class level I have
>
> * @ejb.facade
> * type="Stateless"
> * view-type="remote"
>
> which generates MachineFacadeBean, as expected. And I run ejbdoclet again
> and it generates two <method-permission> entries for each method in each
> bean one with <method-intf>Remote</method-intf> and one
> <method-intf>Local</method-intf>. If I remove the entry for Local(because
> it is a remote facade, then it appears to work.
>
> Is this a bug in xdoclet or am I missing a setting? Any help would be
> great.
>
> Ben
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user