getCallerPrincipal in @PostConstruct

2008-11-25 Thread Kory Markevich
I'm trying to call getCallerPrincipal in a method annotated with PostConstruct on a stateful session bean. I'm using whatever version of OpenEJB was used in Geronimo 2.1.2. From what I can tell reading the ejbcore spec (4.4.1) this call is legal, and sure enough it doesn't throw an exception. H

Re: ApplicationException annotation ignored

2008-11-06 Thread Kory Markevich
Oh, I had actually looked at that one but I guess I misunderstood the scope of "separate module." Sorry about that, and thanks for the workaround. David Blevins wrote: > > > This is the issue you're facing: > >https://issues.apache.org/jira/browse/OPENEJB-835 > "@ApplicationException i

ApplicationException annotation ignored

2008-11-05 Thread Kory Markevich
I have a fairly simple EAR that I'm developing using Geronimo 2.1.2 and thus whatever version of OpenEJB it uses, making use of EJB 3. I've been trying to flag an exception with the @ApplicationException annotation but it doesn't seem to be processed. I've been using Eclipse 3.4 to develop it.