Hi Andrew,

Thanks for your reply and sorry for not getting back
to you sooner but I've been enjoying my holiday.

In fact I am only using a local interface and so have
local view only on the method. My Xdoclet looks like
this at the class level:

 * @ejb.bean 
 *          name = "MyBean" 
 *          type = "Stateless"
 *          local-jndi-name = "dir/MyBeanLocal"      
 * @ejb.interface 
 *          generate = local
 * @ejb.home 
 *          local-extends="javax.ejb.EJBLocalHome"
 * @ejb.transaction 
 *          type = "NotSupported"

and at the method level:

 * @ejb.interface-method view-type="local"

The generated orion file looks like this:

<orion-ejb-jar deployment-version="2.0">
   <enterprise-beans>
      <!-- Session Beans -->
      <session-deployment name="MyBean"
                          location="MyBean"
                          location="dir/MyBeanLocal"
                          >
      </session-deployment>

   etc ...

I believe the attribute 'location' being present twice
is the problem, the first one being incorrect. Whilst
this is not the bug described in XDT-540 it could well
be that they are related.

Thanks for your help.

Phil

--- Andrew Stevens <[EMAIL PROTECTED]>
wrote:

> On Thu, 2005-07-28 at 11:37, Phil Bowker wrote:
> > I'm generating an orion-ejb-jar.xml using xdoclet,
> but
> > I find in the file I have the following:
> > 
> > <enterprise-beans>
> >   <!-- Session Beans -->
> >   <session-deployment name="MyBean"
> >                       location="MyBean"
> >                      
> location="myJndi/MyBeanLocal">
> 
> The template has
>                                                                 
> <XDtEjb:ifRemoteEjb>
> location="<XDtEjbHome:jndiName type='remote'/>"
> </XDtEjb:ifRemoteEjb>
> <XDtEjb:ifLocalEjb>
> location="<XDtEjbHome:jndiName type='local'/>"
> </XDtEjb:ifLocalEjb>
> 
> so I'm guessing your bean has both local and remote
> interfaces?
> 
> > The problem is the location attribute is
> duplicated
> > for the session-deployment tag and the Oracle AS
> > deployer claims the file is malformed.
> > 
> > Unfortunately the Wiki and archive search
> facilities
> > for xdoclet are down at the moment. Could someone
> tell
> > me if this is this a new bug, a known bug, or user
> > error?
> 
> The issue tracker is at
> http://opensource.atlassian.com/projects/xdoclet/
> This looks like XDT-540 to me.
> 
> 
> Andrew.
> 
> 
> 
>
-------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux
> Migration Strategies
> from IBM. Find simple to follow Roadmaps,
> straightforward articles,
> informative Webcasts and more! Get everything you
> need to get up to
> speed, fast.
>
http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> xdoclet-user mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 



                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to