Try the exception test in 3.2. It looks to me as if the verifier is preventing deployment due to these warnings/errors. We need to change either the verifier or the test, or possibly the dtd for the ejb-jar???
thanks david jencks On 2002.08.31 20:05:56 -0400 Scott M Stark wrote: > It appears to be just a warning, and it is valid given that the 2.0 specs > says: > > <ejb-2.0 spec> > 18.3.8 Support for deprecated use of java.rmi.RemoteException > The EJB 1.0 specification allowed the business methods, ejbCreate, > ejbPostCreate, > ejbFind<METHOD>, ejbRemove, and the container-invoked callbacks (i.e., > the methods defined in > the EntityBean, SessionBean, and SessionSynchronization interfaces) > implemented in > the enterprise bean class to use the java.rmi.RemoteException to report > non-application exceptions > to the Container. > > This use of the java.rmi.RemoteException was deprecated in EJB > 1.1-enterprise beans written > for the EJB 1.1 specification should use the javax.ejb.EJBException > instead, and enterprise > beans written for the EJB 2.0 specification must use the > javax.ejb.EJBException instead. > > The EJB 2.0 and EJB 1.1 specification require that a Container support > the deprecated use of the > java.rmi.RemoteException. The Container should treat the > java.rmi.RemoteException > thrown by an enterprise bean method in the same way as it is specified > for the > javax.ejb.EJBException. > </ejb-2.0 spec> > > xxxxxxxxxxxxxxxxxxxxxxxx > Scott Stark > Chief Technology Officer > JBoss Group, LLC > xxxxxxxxxxxxxxxxxxxxxxxx > ----- Original Message ----- > From: "David Jencks" <[EMAIL PROTECTED]> > To: "jboss-dev" <[EMAIL PROTECTED]> > Sent: Saturday, August 31, 2002 3:06 PM > Subject: [JBoss-dev] Verifier question (3.2) > > > > Many of the remaining testsuite errors seem to be caused by the > verifier > > complaining about bean methods that throw RemoteException: for instance > > > > 2002-08-31 17:54:42,313 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB > spec > > violation: > > Bean : ExceptionTesterEJB > > Method : public abstract void remoteExceptionInTx() > > Section: 7.10.7 > > 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. > > > > bean: > > > > public void remoteExceptionInTx() throws RemoteException { > > throw new RemoteException("Remote exception from within " + > > " an inherited transaction"); > > } > > > > remote interface: > > > > public void remoteExceptionInTx() throws RemoteException; > > > > Is this really a spec violation??? > > > > > > Thanks > > david jencks > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: OSDN - Tired of that same old > > cell phone? Get a new here for FREE! > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > _______________________________________________ > > Jboss-development mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development