Re: AW: AW: Forgot subject: Strange Could not locate metadata for the classError?

2007-03-23 Thread Marc Prud'hommeaux
] [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 23. März 2007 23:46 An: open-jpa-dev@incubator.apache.org Betreff: Re: AW: Forgot subject: Strange Could not locate metadata for the classError? Marc Prud'hommeaux wrote: Hans- I don't see how the error could be data-related. One thi

AW: AW: Forgot subject: Strange Could not locate metadata for the classError?

2007-03-23 Thread Hans J. Prueller
tithreaded" property remain by this usage scenario? Hans > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 23. März 2007 23:46 > An: open-jpa-dev@incubator.apache.org > Betreff: Re: AW: Forgot subject: Strange Could not l

Re: AW: Forgot subject: Strange Could not locate metadata for the classError?

2007-03-23 Thread Marc Prud'hommeaux
Marina- OK, then it's probably not the Multithreaded property. I'm stumped :( On Mar 23, 2007, at 2:56 PM, Marina Vatkina wrote: Marc, No, in GlassFish (GF) it shouldn't be the case, but there could be more than 1 EMF created at the same time. The test case uses stateless session bean f

Re: AW: Forgot subject: Strange Could not locate metadata for the classError?

2007-03-23 Thread Craig L Russell
Marc Prud'hommeaux wrote: Hans- I don't see how the error could be data-related. One thing: if you are using the same EMF from multiple threads, do you have the "openjpa.Multithreaded" property explicitly set to "true" in your persistence.xml (or however you are configuring the EMF)?

Re: AW: Forgot subject: Strange Could not locate metadata for the classError?

2007-03-23 Thread Marina Vatkina
Marc, No, in GlassFish (GF) it shouldn't be the case, but there could be more than 1 EMF created at the same time. The test case uses stateless session bean for accessing EM, so there is no guarantee that the same bean instance serves the 1st method (with a successful persist) and the 2nd (wit

Re: AW: Forgot subject: Strange Could not locate metadata for the classError?

2007-03-23 Thread Marc Prud'hommeaux
Marina- In a normal J2EE app, the same EntityManager will never be used concurrently from multiple threads. That might also be the case in your environment, but it would be interesting to see if the problem ever crops up after you enable this property. On Mar 23, 2007, at 2:36 PM, Marin

Re: AW: Forgot subject: Strange Could not locate metadata for the classError?

2007-03-23 Thread Marina Vatkina
Marc, Does OpenJPA figures out by itself that it is running in a multithreaded environment when used in an app- or web-server? Or do you expect users to always specify this setting when they decide to deploy it to a multi-threaded container? thanks, -marina Marc Prud'hommeaux wrote: Hans-

Re: AW: Forgot subject: Strange Could not locate metadata for the classError?

2007-03-23 Thread Marc Prud'hommeaux
Hans- I don't see how the error could be data-related. One thing: if you are using the same EMF from multiple threads, do you have the "openjpa.Multithreaded" property explicitly set to "true" in your persistence.xml (or however you are configuring the EMF)? Failure to do this means that a

Re: AW: Forgot subject: Strange Could not locate metadata for the classError?

2007-03-23 Thread Marina Vatkina
It looks very similar to what I saw yesterday, and I also couldn't reproduce it later. -marina Hans J. Prueller wrote: hm.. sounds strange. could it bet he case that the error message openjpa is printing is only a subsequent error of another one below/before? as the JNDI binding did not rea

AW: Forgot subject: Strange Could not locate metadata for the classError?

2007-03-23 Thread Hans J. Prueller
hm.. sounds strange. could it bet he case that the error message openjpa is printing is only a subsequent error of another one below/before? as the JNDI binding did not really work (as you can remember: everytime I am accessing the EMF from JNDI it is initialized again and again) so I did a quick