[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 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 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 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] - Could not passivate; failed to save state

2005-05-23 Thread Jonasl
I get this error in my stateful session bean. Is there any ideas on how to solve this problem? 15:02:24,781 WARN [AbstractInstanceCache] failed to passivate, id=e92p5p91-j javax.ejb.EJBException: Could not passivate; failed to save state; CausedByExcep tion is: org.jboss.mq.SpyQueueSend

[JBoss-user] [EJB/JBoss] - Entity relationship with compound key

2005-04-27 Thread Jonasl
IÂm trying to setup a 1-many relationship between two entity beans. I canÂt seem to find any information on how to do it, when one of the beans primary key is compound. Example. I have a user table with a compound primary key UserPK(firstName, lastName). And a email table. A user can have many

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Error writing to queue

2005-04-04 Thread Jonasl
I tried the example from http://www.jboss.org/wiki/Wiki.jsp?page=QueueExample I get this output, but I get an other exception in my server.log. C:\slet>java -cp .;jbossall-client.jar Client | Creating jndi context - alternatively use a jndi.properties | Looking up queue | Looking up connect

[JBoss-user] [Messaging, JMS & JBossMQ] - Error writing to queue

2005-04-04 Thread Jonasl
I have written a small client, that is supposed to send TextMessages to queue/testQueue, but I get a strange error in the server.log. Im running a fresh install of 4.0.1sp1 on windows. Here is my client: import javax.jms.*; | import javax.naming.*; | | | public class test { | |