I am having a problem with JBoss 2.4.4 and Tomcat 4.0.1.  When I encounter a business logic problem (or sql problem, etc) and want to send it back to the client, I create and throw an EJBException.  The problem I am encounter is that I actually recieve, on the client (Tomcat) end, an UndeclaredThrowableException which contains no info on the original error.
 
Probably related is the fact that I get these warnings when deploying my beans:
 
------------------------------------------------------
[ERROR,ContainerFactory]
Bean   : EBSecurityUser
Method : public abstract String getPassword() throws RemoteException, EJBExcepti
on
Section: 9.2.7
Warning: The exceptions thrown by methods in the remote interface must be valid
types for RMI/IIOP
 
[ERROR,ContainerFactory]
Bean   : SBWebSessMgr
Method : public abstract SBWebSessMgr create() throws CreateException, EJBExcept
ion, RemoteException
Section: 6.10.6
Warning: The method return values in the home interface must be of valid types f
or RMI/IIOP.
 
[ERROR,ContainerFactory]
Bean   : SBEspeedUtility
Method : public abstract SBCaseLockHome getSbCaseLockHome() throws RemoteExcepti
on
Section: 6.10.5
Warning: The method return values in the remote interface must be of valid types
 for RMI/IIOP.
---------------------------------------
 
 
It appears the I am not returning throwing valid types for RMI/IIOP.  Any ideas what would cause this?  What  constitutes a valid RMI/IIOP type or what would cause my objects not be considered valid RMI/IIOP types?
 
Thanks for any assistance,
 
Bill Pfeiffer

Reply via email to