hi all, I use xdoclet 1.2.3 with ejb, and my problem is :
I try to add my custom exception to session bean /* @ejb.bean name="UserService" * description="UserService" * display-name="UserService" * jndi-name="UserService" * type="Stateless" * transaction-type="Container" * */ public class UserServiceImpl implements SessionBean { /* * @ejb.interface-method */ public void blockUser(LoginTO loginTO) throws ConnectException, DataUpdateException, DataFormatException, DataNotFoundException { .. } and then i generate interfaces and descriptors with use xdoclet. during deploying my app on jboos, the excpetion occured: 10:54:30,995 WARN [verifier] EJB spec violation: Bean : UserService Method : public abstract void blockUser(LoginTO) throws RemoteException Section: 7.11.5 Warning: All the exceptions defined in the throws clause of the matching method of the session bean class must be defined in the throws clause of the method of the remote interface. In fact , there is no my custo exception in Interfaces, e.g.: public interface UserServiceLocal extends javax.ejb.EJBLocalObject { public void blockUser(LoginTO loginTO ) ; } What is wrong in my example and what should i do to run it with automatically generated Interfaces? thanks in advance regards Tom ---------------------------------------------------- Wyjechali na wakacje, a trafili do piekła i wtedy zrozumieli, że szczęśliwi będą ci, którzy umrą pierwsi: "Wzgórza mają oczy"- w kinach od 14.07! http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fwzgorzamajaoczy3.html&sid=813 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user