[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state

2005-05-24 Thread Jonasl
Yes, I did do that. Thanks alot for the help both of you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878903#3878903 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878903 --

[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state

2005-05-24 Thread darranl
Don't forget to re-initialise the values in your ejbActivate method otherwise your next set of errors will be NullPointer exceptions when your code attempts to use the variables you have just set to null. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878902#

[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state

2005-05-24 Thread Jonasl
I had a logger class, that used a jdbc connection. Looks like it is working correct now - setting it to null in passivate etc. At least no errors for 17 minutes now ;) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878900#3878900 Reply to the post : http://

[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state

2005-05-24 Thread schrouf
Post your ejb class attribute section View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878896#3878896 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878896 --- This SF

[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state

2005-05-24 Thread Jonasl
Yes, but I dont know what that wrappecconnector is. I donĀ“t have any sql code in my bean. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878894#3878894 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878894 --

[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state

2005-05-24 Thread schrouf
Think about it, as it is the same error as before ! | java.io.NotSerializableException: org.jboss.resource.adapter.jdbc.WrappedConnect | ion | This simply means, that you have an attribute of type org.jboss.resource.adapter.jdbc.WrappedConnect ion ( or mybe java.sql.Connection ) that i

[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state

2005-05-24 Thread Jonasl
I tried to set the QueueSender to null in ejbPassivate, and reactivate it in ejbActivate. It changes the error to: 13:33:29,358 WARN [AbstractInstanceCache] failed to passivate, id=e941glx4-d javax.ejb.EJBException: Could not passivate; failed to save state; CausedByExcep tion is: org.j

[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state

2005-05-24 Thread Jonasl
Thank you for the reply. Yes I have a QueueSender initialized in ejbCreate. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878887#3878887 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878887 -

[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state

2005-05-24 Thread darranl
Your session bean contains a reference to something that can not be serialized by the container. anonymous wrote : java.io.NotSerializableException: org.jboss.mq.SpyQueueSender Within the ejbPassivate method you need to clear the references to anything that can not be serialized by the contain