Hi JB,

That's strange. All exceptions are normally sent to the client side
(I've also rechecked the code to see what could go wrong and I've not
seen a problem). Are you sure your ejbLoad method is being called? 

A very simple test for you to do is to write:

public class MyTest extends ServletTestCase
{
  public void testXXX()
  {
    throw new EJBException("whatever");
  }
}

And run this.

Thanks
-Vincent

> -----Original Message-----
> From: J. B. Rainsberger [mailto:[EMAIL PROTECTED]
> Sent: 21 October 2003 21:44
> To: [EMAIL PROTECTED]
> Subject: Server-side errors not making it back to the client?
> 
> Everyone:
> 
> I am testing a BMP entity bean. I am throwing an EJBException inside
> ejbLoad(), but no error is making it back to the client, so the test
> looks like it passes.
> 
> I am using a 1.6dev version from 9/7.
> 
> I have tried redeploying the EJBs with no change.
> 
> I am creating my test suite using new ServletTestSuite() rather than
by
> inheriting from ServletTestCase.
> 
> Help!
> --
> J. B. Rainsberger,
> Diaspar Software Services
> http://www.diasparsoftware.com :: +1 416 791-8603
> Let's write software that people understand
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to