Hi!

I'm trying to write an EJBean with mysql. I build it and everything works
fine, but when I make some change and redeploy I got the following error.
I want to close the connection in the ejbPassivate(). Anybody can help me
with this?? How can I do it ?

Regards,
Papo

ERROR:

[Auto deploy] Auto deploy of file:/usr/jboss/deploy/usermanager.jar
[J2EE Deployer Default] Stopping module usermanager.jar
[Container factory]
Undeploying:file:/usr/jboss/tmp/deploy/Default/usermanager.jar
[Container factory] java.rmi.ServerException: Could not passivate; nested
exception is:
[Container factory]     java.io.NotSerializableException:
org.gjt.mm.mysql.jdbc2.Connection
[Container factory] java.io.NotSerializableException:
org.gjt.mm.mysql.jdbc2.Connection



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to