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
--
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#
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://
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
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
--
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
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
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
-
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