Re: [Resin-interest] pb with find() in resin 4.0.13

2011-11-09 Thread Riccardo Cohen
The problem occurs only sometimes, I'll send it to you next time :)
Thanks a lot

On 08/11/11 22:48, Alex Rojkov wrote:
 Hello
 I'm using many times the find() call in EntityManager :

 Status st=m_manager.find(Status.class,identifier);

 But with no particular reason, in test or production, the find() call
 stop all processing, there is no exception and any System.out.println()
 Riccardo,

 Can you produce a thread-dump of the server's JVM please and send that to us?

 Thanks,
 Alex

 juste after is simply not called.


 While the server is in this undefined state, the rest of the
 application may work. I tried to add a createQuery call just before the
 find :

 Query qr=m_manager.createQuery(select st from Status st);
 ListStatus  list=(ListStatus)qr.getResultList();

 and the same problem happens at getRestulList(). Nothing happens, no
 exception, no further processing.

 Is there any people that had this problem ? I could see that only in one
 of my applications, not all. Is this a problem with eclispelink ?

 Thanks a lot.
 --
 Riccardo Cohen
 Architecte du Logiciel
 http://www.architectedulogiciel.fr
 BP 77536
 37075 Tours Cedex 2
 +33 (0)6.09.83.64.49
 Membre du réseau http://www.reflexe-conseil-centre.org


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest


-- 
Riccardo Cohen
Architecte du Logiciel
http://www.architectedulogiciel.fr
BP 77536
37075 Tours Cedex 2
+33 (0)6.09.83.64.49
Membre du réseau http://www.reflexe-conseil-centre.org


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] pb with find() in resin 4.0.13

2011-11-09 Thread Riccardo Cohen

Hello again
The problem happened again, and I found an exception in another log file 
(problem with all these logs...)


java.lang.IllegalArgumentException: Unknown entity bean class: class 
reaentities.Status, please verify that this class has been marked with 
the @Entity annotation.
	at 
org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:611)


You'll find joind the full exception and the thread dump, plus the class 
itself. This object Status is marked as @Entity and work very well normally.

Thanks for your help.


On 08/11/11 22:48, Alex Rojkov wrote:

Hello
I'm using many times the find() call in EntityManager :

Status st=m_manager.find(Status.class,identifier);

But with no particular reason, in test or production, the find() call
stop all processing, there is no exception and any System.out.println()

Riccardo,

Can you produce a thread-dump of the server's JVM please and send that to us?

Thanks,
Alex


juste after is simply not called.




While the server is in this undefined state, the rest of the
application may work. I tried to add a createQuery call just before the
find :

Query qr=m_manager.createQuery(select st from Status st);
ListStatus  list=(ListStatus)qr.getResultList();

and the same problem happens at getRestulList(). Nothing happens, no
exception, no further processing.

Is there any people that had this problem ? I could see that only in one
of my applications, not all. Is this a problem with eclispelink ?

Thanks a lot.
--
Riccardo Cohen
Architecte du Logiciel
http://www.architectedulogiciel.fr
BP 77536
37075 Tours Cedex 2
+33 (0)6.09.83.64.49
Membre du réseau http://www.reflexe-conseil-centre.org


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest




___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest



--
Riccardo Cohen
Architecte du Logiciel
http://www.architectedulogiciel.fr
BP 77536
37075 Tours Cedex 2
+33 (0)6.09.83.64.49
Membre du réseau http://www.reflexe-conseil-centre.org
java.lang.IllegalArgumentException: Unknown entity bean class: class 
reaentities.Status, please verify that this class has been marked with the 
@Entity annotation.
at 
org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:611)
at 
org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:495)
at 
com.caucho.env.jpa.EntityManagerJtaProxy.find(EntityManagerJtaProxy.java:226)
at realty.Globalaction.get_maintainance(Globalaction.java:759)
at realty.Flexaccountpro.loginuser(Flexaccountpro.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:302)
at 
com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:198)
at 
com.caucho.hessian.server.HessianServlet.invoke(HessianServlet.java:398)
at 
com.caucho.hessian.server.HessianServlet.service(HessianServlet.java:378)
at 
com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:109)
at 
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:183)
at 
com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95)
at 
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:287)
at 
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:792)
at 
com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:675)
at 
com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:637)
at 
com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:588)
at 
com.caucho.network.listen.TcpSocketLink$AcceptTask.doTask(TcpSocketLink.java:1175)
at 
com.caucho.network.listen.TcpSocketLink$ConnectionReadTask.runThread(TcpSocketLink.java:1108)
at 
com.caucho.network.listen.TcpSocketLink$AcceptTask.run(TcpSocketLink.java:1142)
at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:182)
at com.caucho.env.thread.ResinThread.run(ResinThread.java:126)
com.caucho.transaction.RollbackExceptionWrapper: Transaction can't commit 
because it has been marked rolled back
  javax.transaction.RollbackException: Transaction marked rollback-only
at 
com.caucho.transaction.TransactionImpl.commit(TransactionImpl.java:821)
at 

Re: [Resin-interest] pb with find() in resin 4.0.13

2011-11-09 Thread Alex Rojkov
 Hello again
 The problem happened again, and I found an exception in another log file 
 (problem with all these logs...)
 
 java.lang.IllegalArgumentException: Unknown entity bean class: class 
 reaentities.Status, please verify that this class has been marked with the 
 @Entity annotation.
   at 
 org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:611)
Can you check if the web-app was reloaded before the exception? 

I recollect having seen the issue in earlier versions of Resin 4. The issue 
arouse  when webapplication or entity class was reloaded  (you can force a 
reload to check).

The issue should be fixed in later versions. The test case that reproduces the 
webapp with persistent context reload issue was created after 4.0.13.

Thanks,
Alex

 
 You'll find joind the full exception and the thread dump, plus the class 
 itself. This object Status is marked as @Entity and work very well normally.
 Thanks for your help.
 
 
 On 08/11/11 22:48, Alex Rojkov wrote:
 Hello
 I'm using many times the find() call in EntityManager :
 
 Status st=m_manager.find(Status.class,identifier);
 
 But with no particular reason, in test or production, the find() call
 stop all processing, there is no exception and any System.out.println()
 Riccardo,
 
 Can you produce a thread-dump of the server's JVM please and send that to us?
 
 Thanks,
 Alex
 
 juste after is simply not called.
 
 
 While the server is in this undefined state, the rest of the
 application may work. I tried to add a createQuery call just before the
 find :
 
 Query qr=m_manager.createQuery(select st from Status st);
 ListStatus  list=(ListStatus)qr.getResultList();
 
 and the same problem happens at getRestulList(). Nothing happens, no
 exception, no further processing.
 
 Is there any people that had this problem ? I could see that only in one
 of my applications, not all. Is this a problem with eclispelink ?
 
 Thanks a lot.
 --
 Riccardo Cohen
 Architecte du Logiciel
 http://www.architectedulogiciel.fr
 BP 77536
 37075 Tours Cedex 2
 +33 (0)6.09.83.64.49
 Membre du réseau http://www.reflexe-conseil-centre.org
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
 -- 
 Riccardo Cohen
 Architecte du Logiciel
 http://www.architectedulogiciel.fr
 BP 77536
 37075 Tours Cedex 2
 +33 (0)6.09.83.64.49
 Membre du réseau http://www.reflexe-conseil-centre.org
 exception.txtthreaddump.txtStatus.java___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] pb with find() in resin 4.0.13

2011-11-09 Thread Riccardo Cohen
For this time it was after a reload. But on the server there was no 
reload. I'll check the new version of resin later on.
Thanks for the info.

On 09/11/11 17:21, Alex Rojkov wrote:
 Hello again
 The problem happened again, and I found an exception in another log file 
 (problem with all these logs...)

 java.lang.IllegalArgumentException: Unknown entity bean class: class 
 reaentities.Status, please verify that this class has been marked with the 
 @Entity annotation.
  at 
 org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:611)
 Can you check if the web-app was reloaded before the exception?

 I recollect having seen the issue in earlier versions of Resin 4. The issue 
 arouse  when webapplication or entity class was reloaded  (you can force a 
 reload to check).

 The issue should be fixed in later versions. The test case that reproduces 
 the webapp with persistent context reload issue was created after 4.0.13.

 Thanks,
 Alex


 You'll find joind the full exception and the thread dump, plus the class 
 itself. This object Status is marked as @Entity and work very well normally.
 Thanks for your help.


 On 08/11/11 22:48, Alex Rojkov wrote:
 Hello
 I'm using many times the find() call in EntityManager :

 Status st=m_manager.find(Status.class,identifier);

 But with no particular reason, in test or production, the find() call
 stop all processing, there is no exception and any System.out.println()
 Riccardo,

 Can you produce a thread-dump of the server's JVM please and send that to 
 us?

 Thanks,
 Alex

 juste after is simply not called.


 While the server is in this undefined state, the rest of the
 application may work. I tried to add a createQuery call just before the
 find :

 Query qr=m_manager.createQuery(select st from Status st);
 ListStatus   list=(ListStatus)qr.getResultList();

 and the same problem happens at getRestulList(). Nothing happens, no
 exception, no further processing.

 Is there any people that had this problem ? I could see that only in one
 of my applications, not all. Is this a problem with eclispelink ?

 Thanks a lot.
 --
 Riccardo Cohen
 Architecte du Logiciel
 http://www.architectedulogiciel.fr
 BP 77536
 37075 Tours Cedex 2
 +33 (0)6.09.83.64.49
 Membre du réseau http://www.reflexe-conseil-centre.org


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest


 --
 Riccardo Cohen
 Architecte du Logiciel
 http://www.architectedulogiciel.fr
 BP 77536
 37075 Tours Cedex 2
 +33 (0)6.09.83.64.49
 Membre du réseau http://www.reflexe-conseil-centre.org
 exception.txtthreaddump.txtStatus.java___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest


-- 
Riccardo Cohen
Architecte du Logiciel
http://www.architectedulogiciel.fr
BP 77536
37075 Tours Cedex 2
+33 (0)6.09.83.64.49
Membre du réseau http://www.reflexe-conseil-centre.org


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] pb with find() in resin 4.0.13

2011-11-08 Thread Riccardo Cohen
Hello
I'm using many times the find() call in EntityManager :

Status st=m_manager.find(Status.class,identifier);

But with no particular reason, in test or production, the find() call 
stop all processing, there is no exception and any System.out.println() 
juste after is simply not called.

While the server is in this undefined state, the rest of the 
application may work. I tried to add a createQuery call just before the 
find :

Query qr=m_manager.createQuery(select st from Status st);
ListStatus list=(ListStatus)qr.getResultList();

and the same problem happens at getRestulList(). Nothing happens, no 
exception, no further processing.

Is there any people that had this problem ? I could see that only in one 
of my applications, not all. Is this a problem with eclispelink ?

Thanks a lot.
-- 
Riccardo Cohen
Architecte du Logiciel
http://www.architectedulogiciel.fr
BP 77536
37075 Tours Cedex 2
+33 (0)6.09.83.64.49
Membre du réseau http://www.reflexe-conseil-centre.org


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] pb with find() in resin 4.0.13

2011-11-08 Thread Alex Rojkov
 Hello
 I'm using many times the find() call in EntityManager :
 
 Status st=m_manager.find(Status.class,identifier);
 
 But with no particular reason, in test or production, the find() call 
 stop all processing, there is no exception and any System.out.println() 
Riccardo,

Can you produce a thread-dump of the server's JVM please and send that to us? 

Thanks,
Alex

 juste after is simply not called.

 
 While the server is in this undefined state, the rest of the 
 application may work. I tried to add a createQuery call just before the 
 find :
 
 Query qr=m_manager.createQuery(select st from Status st);
 ListStatus list=(ListStatus)qr.getResultList();
 
 and the same problem happens at getRestulList(). Nothing happens, no 
 exception, no further processing.
 
 Is there any people that had this problem ? I could see that only in one 
 of my applications, not all. Is this a problem with eclispelink ?
 
 Thanks a lot.
 -- 
 Riccardo Cohen
 Architecte du Logiciel
 http://www.architectedulogiciel.fr
 BP 77536
 37075 Tours Cedex 2
 +33 (0)6.09.83.64.49
 Membre du réseau http://www.reflexe-conseil-centre.org
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest