[appengine-java] Re: issues with compass for GAE apps

2009-09-17 Thread Vik
hie any updates on this please? yeah I did what you suggested by putting a log statement.. and what I get are two different values from this block At first time of app startup vik.sakshum.sakshumweb.jsp.model.jdo.PMF clinit: Loading PMF in

[appengine-java] Re: issues with compass for GAE apps

2009-09-17 Thread Don Schwarz
To be clear, you're getting these two log statements in the same request? Or subsequent requests? On Thu, Sep 17, 2009 at 1:48 AM, Vik vik@gmail.com wrote: hie any updates on this please? yeah I did what you suggested by putting a log statement.. and what I get are two different

[appengine-java] Re: issues with compass for GAE apps

2009-09-17 Thread Vik
hie in two different requests. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Thu, Sep 17, 2009 at 8:16 PM, Don Schwarz schwa...@google.com wrote: To be clear, you're getting these two log statements in the same request? Or subsequent requests? On Thu, Sep

[appengine-java] Re: issues with compass for GAE apps

2009-09-17 Thread Toby Reyelts
Just to clarify what Jason is saying, the fact that you're seeing two different UserClassLoader instances in those two requests: userclassloa...@1f7cdc7 and userclassloa...@1e6f0ef means that you're actually looking at two requests for two different isolated application instances, with each one

[appengine-java] Re: issues with compass for GAE apps

2009-09-17 Thread Vik
Hie you guys put me in doubt then. I opened the browser and logged in to my app which created a request to pull authentication info. and once i logged in i queried a page and this was another request. In this process i got the two different UserClassLoader. So, does your statement holds good?

[appengine-java] Re: issues with compass for GAE apps

2009-09-17 Thread Toby Reyelts
Yes, it's quite trivial for two different http requests to land on two different application instances. You can see if it's an initializing request for an application instance by logging from an appropriate servlet's init() method (for example, one that is in the path of the request or is

[appengine-java] Re: issues with compass for GAE apps

2009-09-17 Thread Vik
So, that concludes I may expect such request time outs in GAE any time without being able to fix it? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Fri, Sep 18, 2009 at 12:56 AM, Toby Reyelts to...@google.com wrote: Yes, it's quite trivial for two different http

[appengine-java] Re: issues with compass for GAE apps

2009-09-03 Thread Vik
Hie Thankx for taking time... I just adding the static block u mentioned in point 1 just after the static block i have (in the above mail) I am sorry I did not get your point 2. Right now what I do is: every time a request goes to a particular servlet depending upon application flow and i call

[appengine-java] Re: issues with compass for GAE apps

2009-09-02 Thread Vik
Hie here is the code I am using: package vik.sakshum.sakshumweb.jsp.model.jdo; import javax.jdo.JDOHelper; import javax.jdo.PersistenceManagerFactory; import org.compass.core.Compass; import org.compass.core.config.CompassConfiguration; import org.compass.core.config.CompassEnvironment; import

[appengine-java] Re: issues with compass for GAE apps

2009-09-01 Thread Toby Reyelts
Vik, Do you have some sample code to reproduce this? By default, we throw an exception if you try to create more than one PersistenceManagerFactory. Are you using a singleton class to prevent more than one from being created? If so, are you maybe loading that singleton class in different