Re: Error in OpenEJB

2009-09-21 Thread David Blevins
On Sep 16, 2009, at 11:30 PM, Vikrant Yagnick wrote: 2)The other issue I encountered happened once I solved the java.lang.IllegalStateException. I got the actual "RemoteException" which was: 16/9/2009 15:45:25--Controller : doPost---Unauthorized Access by Principal Denied; nested exceptio

RE: Error in OpenEJB

2009-09-16 Thread Vikrant Yagnick
plicate it sometime next week. Cheers, Vikrant -Original Message- From: David Blevins [mailto:david.blev...@visi.com] Sent: Thursday, September 17, 2009 7:00 AM To: users@openejb.apache.org Subject: Re: Error in OpenEJB On Sep 16, 2009, at 6:16 AM, Vikrant Yagnick wrote: > Further t

Re: Error in OpenEJB

2009-09-16 Thread David Blevins
On Sep 16, 2009, at 6:16 AM, Vikrant Yagnick wrote: Further to this, I changed the line in red below to: throw new AccessException(exc.getMessage(),exc); This removed the java.lang.IllegalStateException, but then I kept getting : 16/9/2009 15:45:25--Controller : doPost---Unauthorized

RE: Error in OpenEJB

2009-09-16 Thread Vikrant Yagnick
:32 PM To: Vikrant Yagnick; users@openejb.apache.org Subject: RE: Error in OpenEJB I looked at the source code for EJBHomeProxyHandler.java for version 3.1.1 it seems to have the following: catch (org.apache.openejb.ApplicationException ae) { Throwable exc = (ae.getRootCause() != null

RE: Error in OpenEJB

2009-09-16 Thread Vikrant Yagnick
I looked at the source code for EJBHomeProxyHandler.java for version 3.1.1 it seems to have the following: catch (org.apache.openejb.ApplicationException ae) { Throwable exc = (ae.getRootCause() != null) ? ae.getRootCause() : ae; if (exc instanceof EJBAccessException) {