Ya you are right. The problem is LogInterceptor is wrapping EJBExceptions and RuntimeException with ServerExceptions which are declared RemoteExceptionsm and this causes the UndeclaredThrowableException. I don't know why it is doing this, but I'm going to yank this code out soon.
-dain Stephen Coy wrote: > CreateException is mandatory on ejbCreate and optional on ejbPostCreate: > > 10.6.4 ejbCreate<METHOD> methods > ... > The throws clause must define the javax.ejb.CreateException. The throws > clause may define > arbitrary application specific exceptions. > > and > > 10.6.5 ejbPostCreate<METHOD> methods > ... > The throws clause may define arbitrary application specific exceptions, > including the > javax.ejb.CreateException. > > > On Thursday, June 13, 2002, at 02:39 AM, McAuley, Tim wrote: > >> >>> Did you declare CreateException for both the ejbCreate and >>> ejbPostCreate >>> methods? Do they both define the exact same exception >>> declarations? >> >> >> As far as I know they do. Both ejbCreate, ejbPostCreate and create (under >> LocalHome) throw CreateException. >> >>> Can >>> you post a bug report the reproduces the UndeclaredThrowableException. >>> >> >> Will do, but it might take a day or two. >> >> I'll try out the latest version(s) of Jboss first. Our configuration >> files >> need to be slightly updated to work with the new version, hence I have >> not >> used it so far. >> >> Thanks for the replies. >> >> Tim >> >> _______________________________________________________________ >> >> Sponsored by: >> ThinkGeek at http://www.ThinkGeek.com/ >> _______________________________________________ >> JBoss-user mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > _______________________________________________________________ > > Sponsored by: > ThinkGeek at http://www.ThinkGeek.com/ > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
