"Shawn Chambers" <[EMAIL PROTECTED]> writes:
> Hi,
>
> public void getConnection() throws Exception
> {
> Hashtable env = new Hashtable();
> env.put(Context.INITIAL_CONTEXT_FACTORY,
> "org.jnp.interfaces.NamingContextFactory");
> env.put(Context.PROVIDER_URL, "localhost
It seems that the Connection class is not serializable.
So either you can close the connection directly after use and do not hold it
as bean attribute
or close the connection in ejbPassivate() and reopen it in ejbActivate().
Annegret
> -Original Message-
> From: Shawn Chambers [SMTP:[EM