I've no idea what the problem is.... But I'm happy to hear folks are using (or 
trying to use) andromda with geronimo. Would eventually like to get a sample 
together that shows this. I really like andromda... Good to see folks using it 
;-)

--jason


  

-----Original Message-----
From: "Michele La Porta" <[EMAIL PROTECTED]>
Date: Fri, 23 Feb 2007 19:46:00 
To:[email protected]
Subject: Andromda ejb3 ear application on geronimo-tomcat6-j2ee5-2.0-M2

I'm using a AndroMDA EJB3 Cartridge: 
<http://web.aanet.com.au/persabi/andromda/>  to generate an ear plus some 
custom merge point mappings.The generated classes hierarchy is like


* 

: 
<http://web.aanet.com.au/persabi/andromda/howto/org/andromda/test/howto3/a/RentalServiceBean.java>
 RentalServiceBean.java 
* 
: 
<http://web.aanet.com.au/persabi/andromda/howto/org/andromda/test/howto3/a/RentalServiceRemote.java>
 RentalServiceRemote.java 
* 
: 
<http://web.aanet.com.au/persabi/andromda/howto/org/andromda/test/ServiceDelegateBase.java>
 ServiceDelegateBase.java 
* 
: 
<http://web.aanet.com.au/persabi/andromda/howto/org/andromda/test/howto3/a/RentalServiceDelegate.java>
 RentalServiceDelegate.java 
* 
: 
<http://web.aanet.com.au/persabi/andromda/howto/org/andromda/test/howto3/a/RentalServiceBase.java>
 RentalServiceBase.java 
* 
: 
<http://web.aanet.com.au/persabi/andromda/howto/org/andromda/test/howto3/a/RentalServiceException.java>
 RentalServiceException.java 
I just override templates/ejb3/SessionRemote.vsl and add @Remote 

 import javax.ejb.Remote;
 @Remote
 public interface UserServiceRemote 
 {
     public com.urmet.vo.UserVO[] getAllUsers();
 }
 

    Error: Unable to distribute usermanagement-1.0-SNAPSHOT.ear: Remote
    interface does not extend javax.ejb.EJBObject:
    com.urmet.service.UserServiceRemote

server.log 

    Geronimo startup complete 
    18:35:37,875 WARN  [OpenEJB] Auto-deploying ejb UserServiceBean: 
EjbDeployment(deployment-id=geronim
    o-deploymentUtil18632.tmpdir/UserServiceBean, container-id=Default 
Stateless Container)
    18:35:37,875 WARN  [OpenEJB] Auto-deploying ejb UserDao: 
EjbDeployment(deployment-id=geronimo-deploy 
    mentUtil18632.tmpdir/UserDao, container-id=Default Stateless Container)

I successfully deploy calculator-stateless-pojo
: 
<https://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/calculator-stateless-pojo/>
  and I cannot understand why I cannot deploy my application in the same way.

Any idea or suggestions?

 
 

Reply via email to