Re: [appengine-java] Deploy Hangs - Please help

2012-02-28 Thread Prashant
looks like server side issue. retry after some time ... On Wed, Feb 29, 2012 at 11:37 AM, treguess wrote: > I am getting stuck when deploy. I get the following message > > > 52% Initializing precompilation... > 90% Deploying new version. > 95% Will check again in 1 seconds. > 98% Will check agai

Re: [appengine-java] Threads

2011-09-18 Thread Prashant
On Mon, Sep 19, 2011 at 10:16 AM, HARISH S.C wrote: > Hi, > I would like to clarify some basic doubts. I am trying to port an > existing app into google app engine . > > 1. When I have more than 1 servlet, it ll be executed in different > thread in a single JVM or else how it will be executed ?

[appengine-java] what about "Backend Usage" in upcoming GAE pricing scheme ?

2011-08-29 Thread Prashant
?? thanks, Prashant -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr

Re: [appengine-java] Re: [google-appengine] Re: CMS for GAE

2011-07-22 Thread Prashant
; blocks, Theme theme) throws ServletException, IOException { > >PrintWriter out = ClaymusMain.getResponse().getWriter(); > >// DOC TYPE >out.print(getDocType()); > >out.print(""); > (...) > > On Jul

Re: [appengine-java] any library to convert google code wiki format text to html ?

2011-07-21 Thread Prashant
-format.html > > Ikai Lan > Developer Programs Engineer, Google App Engine > Blog: http://googleappengine.blogspot.com > Twitter: http://twitter.com/app_engine > Reddit: http://www.reddit.com/r/appengine > > > > On Tue, Jul 19, 2011 at 2:33 PM, Prashant wrote: > >

[appengine-java] any library to convert google code wiki format text to html ?

2011-07-19 Thread Prashant
is there any library available which can be used on GAE/Java to convert google wiki format text to html ? Thanks, Prashant -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appe

Re: [appengine-java] Re: [google-appengine] Re: CMS for GAE

2011-07-18 Thread Prashant
modules and themes, etc ... (complete list will be put on updated Claymus Website :) ). Regards, Prashant On Mon, Jul 18, 2011 at 7:28 PM, Niklas Rosencrantz wrote: > Having something like a CMS eg like wordpress, joomla or mediawiki > compatible then we won't have to start every project f

Re: [appengine-java] Re: [google-appengine] Re: CMS for GAE

2011-07-18 Thread Prashant
can run or deploy it. -- Prashant On Mon, Jul 18, 2011 at 4:56 PM, Cyrille Vincey wrote: > Hi, > > Is Claymus already available for download and testing? > Thanks in advance, > Cyrille > > On Jul 17, 5:48 am, Maneesh Arora wrote: > > What's the unique

[appengine-java] Re: [google-appengine] Re: CMS for GAE

2011-07-16 Thread Prashant
Hi All, Claymus is close to its (first) preview release. Only few bug fixes and minor modifications are remaining. Check out the live demo at http://demo.claymus.com . -- Prashant claymus.googlecode.com On Wed, May 25, 2011 at 10:29 AM, Jeff Schnitzer wrote: > On Mon, May 23, 2011 at 11:17

[appengine-java] Empty LinkedList won't overwrite non-empty LinkedList in datastore ...

2011-07-10 Thread Prashant
deleted from datastore. -- Prashant code.google.com/p/claymus/ -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group,

[appengine-java] Re: Bug in polymorphic relationships in JDO support ?

2011-07-03 Thread Prashant
Little correction: I get that error if I restart/redeploy after creating entity(s). And after restart/redeploy if I create one more entity, the error will be gone. Thanks, Prashant On Sun, Jul 3, 2011 at 7:30 PM, Prashant wrote: > Hi, > > I have following table hierarchy ... >

[appengine-java] Bug in polymorphic relationships in JDO support ?

2011-07-03 Thread Prashant
Hi, I have following table hierarchy ... *Content* class is parent class with one child entity of type *ContentData*. *ContentData* has a sub-class *ContentTextHTML*. *ContentData* class has following annotations: @PersistenceCapable(detachable = "true") @Discriminator(column = "Type", strategy

Re: [appengine-java] SDK version confusion

2011-06-17 Thread Prashant
I think they are updating appengine servers. -- Prashant http://code.google.com/p/claymus/ On Fri, Jun 17, 2011 at 3:35 PM, Ian Marshall wrote: > Hello All, > > I am confused about the current GAE/J SDK version: > > · The GAE downloads page says version 1.5.0.1 dated 16 May

Re: [appengine-java] Re: How to design an in-memory cache?

2011-06-15 Thread Prashant
Hi, I am using such implementation, with 15 mins refresh time, for my application. you can see the implementation here ... https://code.google.com/p/claymus/source/browse/trunk/src/com/claymus/Localcache.java On Wed, Jun 15, 2011 at 3:37 PM, tempy wrote: > Didier and J. Ganesan, I'm not talki

[appengine-java] Re: Not able to commit changes to google code, eclipse plugin keep asking for password even if I am already logged in.

2011-06-07 Thread Prashant
older version used to work fine for me ... is there any way to downgrade to older version ? On Mon, Jun 6, 2011 at 12:32 PM, Prashant wrote: > anyone ? > > On Mon, Jun 6, 2011 at 12:39 AM, Prashant wrote: > >> Hi, >> >> Since last eclipse plugin update (f

[appengine-java] Re: Not able to commit changes to google code, eclipse plugin keep asking for password even if I am already logged in.

2011-06-06 Thread Prashant
anyone ? On Mon, Jun 6, 2011 at 12:39 AM, Prashant wrote: > Hi, > > Since last eclipse plugin update (few days back) I am not able to commit > changes to Google Code. If am logged in on eclipse it can deploy application > to GAE but if I try to commit changes to Google Code, it w

[appengine-java] Not able to commit changes to google code, eclipse plugin keep asking for password even if I am already logged in.

2011-06-05 Thread Prashant
hanks, Prashant -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@google

Re: [appengine-java] Multi-homing support

2011-06-04 Thread Prashant
a single domain. There is no way at all to > test versions of production applications on appspot.com :-( > > Jeff > > On Sat, Jun 4, 2011 at 2:56 PM, Prashant wrote: > > Hi all, > > Is it possible to map a domain or sub-domain to a version of an app > instead &g

[appengine-java] Multi-homing support

2011-06-04 Thread Prashant
Hi all, Is it possible to map a domain or sub-domain to a version of an app instead of default version of the app ? If not, has Google any such plan ??? -- Prashant -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To po

Re: [appengine-java] Deploying My Web Application in google App engine

2011-05-27 Thread Prashant
GAE doesn't support MySQL and I am not very sure about other libraries ... On Fri, May 27, 2011 at 5:36 PM, peter jerald wrote: > Hi All, > > I am new to this Google App engine. I am very much interested with this. I > have developed web application with combination of Struts,Spring and > hiberna

Re: [appengine-java] Re: any way to find all the namespaces used ?

2011-05-16 Thread Prashant
set a namepace, you check if not already exist and if > not store in your system namespace > > regards > > didier > > On May 16, 12:43 pm, Prashant wrote: > > hi, > > > > is there any way to find out what namespaces i have used in my app ?? > > >

[appengine-java] any way to find all the namespaces used ?

2011-05-16 Thread Prashant
hi, is there any way to find out what namespaces i have used in my app ?? thanks Prashant -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegrou

Re: [appengine-java] Re: how to transfer request to a different servlet ?

2011-05-15 Thread Prashant
; something like /MyGalleryApp/GalleryServlet (or something similar) > > On Sun, May 15, 2011 at 7:51 AM, Prashant wrote:web > > thanks a lot Ravi. i will read your article and give it a try >> >> >> On Sun, May 15, 2011 at 8:20 PM, Ravi Sharma wrote: &

Re: [appengine-java] Re: how to transfer request to a different servlet ?

2011-05-15 Thread Prashant
thanks a lot Ravi. i will read your article and give it a try On Sun, May 15, 2011 at 8:20 PM, Ravi Sharma wrote: > Using Spring MVC you could use it to solve the problem. > Basically you want different Controller for http://www.mainsite.com and > http://test.mainsite.com > > I have used it

Re: [appengine-java] Re: how to transfer request to a different servlet ?

2011-05-15 Thread Prashant
no, sorry :( . i want (kind of) server side redirect. you can think of a scenario where multiple applications are hosted in a single google appengine app but each app has to respond to its own unique domain. all the applications are handled by a master application. master application will accept al

[appengine-java] Re: how to transfer request to a different servlet ?

2011-05-15 Thread Prashant
anyone ? On Sun, May 15, 2011 at 5:30 PM, Prashant wrote: > hi, > > i want to use a common servlet (say MainServlet) to handle all the requests > and based on url requested i want to transfer request to a different > servlet. for example: > if requested url is www.mydomain.co

[appengine-java] how to transfer request to a different servlet ?

2011-05-15 Thread Prashant
in advance :) -- Prashant -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-jav

[appengine-java] Re: is it possible that repeated task executions happen in parallel ?

2011-03-23 Thread Prashant
anyone from google ? On 23 March 2011 15:45, Prashant wrote: > hi, > > appengine docs says - > > *"*When implementing the code for tasks (as worker URLs within your app), > it is important to consider whether the task is > idempotent<http://en.wikipedia.org/wik

[appengine-java] is it possible that repeated task executions happen in parallel ?

2011-03-23 Thread Prashant
le that repeated task executions happen in parallel (i.e. multiple invocations of same task on same or different systems at the same time) ? -- Prashant -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group,

[appengine-java] Far too many 500 errors for some requests, 203 errors, high latency

2011-03-04 Thread Prashant Hegde
yone interested. Thanks a lot for your help. Prashant -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send

[appengine-java] Re: Far too many 500 errors for some requests, 203 errors, high latency

2011-03-04 Thread Prashant Hegde
). We do not mind paying for always on, but will that make it go away? We seek help / guidance from the google app engine team to diagnose any problems with our app by looking at our app behaviour, before we expose our customers to the risk. Thanks in advance. Regards Prashant On Fri, Mar 4

Re: [appengine-java] Re: Easy way to delete unowned (child) entities in same entity group ?

2010-10-06 Thread Prashant
set parent key in each TestChild entity so that both Test and TestEntity come into same entity group. The problem here is that cascade delete doesn't work now. On 6 October 2010 16:28, Didier Durand wrote: > Hi Prashant, > > dependent entities are deleted when parent is: s

[appengine-java] Easy way to delete unowned (child) entities in same entity group ?

2010-10-06 Thread Prashant
n Test entity. Now, i am wondering if there is any way, such that, if i delete Test entity then all corresponding child TestChild entitie(s) should also get deleted ? -- Prashant www.claymus.com -- You received this message because you are subscribed to the Google Groups "Google App Engine fo

Re: [appengine-java] Re: what if tx.commit() fails ?

2010-09-26 Thread Prashant
thanks :) i'll go through the article and come back for any further doubt -- Prashant www.claymus.com -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to goo

Re: [appengine-java] App breaking on age

2010-09-25 Thread Prashant
send email to > google-appengine-java+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- Prashant www.claymus.com -- You received this message because you are subscribed to the

[appengine-java] what if tx.commit() fails ?

2010-09-24 Thread Prashant
Hi, I have a small doubt with transactions. Suppose I am trying to update an entity using transaction and before I commit my transaction, someone else updates the entity. Now what will happen ? Any exception will be thrown on tx.commit() call ? -- Prashant www.claymus.com -- You received

[appengine-java] Updating multiple entities (in different entity groups) with transaction

2010-09-24 Thread Prashant
one ? -- Prashant www.claymus.com -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appe

Re: [appengine-java] Deleted all the data, but Storable Data summary still shows 72%

2010-07-13 Thread Prashant
wait for some time. it takes little time to update. -- Prashant www.claymus.com -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubs

Re: [appengine-java] Re: Problem persist JDO- one to many

2010-07-12 Thread Prashant
Yes, it worked without explicitly detaching fields with just defaultFetchGroup set to "true". btw, mappedBy property is required only for bi-directional mapping. -- Prashant www.claymus.com -- You received this message because you are subscribed to the Google Groups "Google

Re: [appengine-java] Re: Problem persist JDO- one to many

2010-07-11 Thread Prashant
=pm.detachCopy(b); pm.close(); return b; //The method return the object for update } public class Torneo implements Serializable{ public void detachFields(PersistenceManager pm) { pm.detachCopyAll(equiposTorneo); } } -- Prashant www.claymus.com

Re: [appengine-java] Problem persist JDO- one to many

2010-07-11 Thread Prashant
before returning b (Torneo), if you are closing PersistentManger you must detach b including all of its collections of child entities. -- Prashant www.claymus.com -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To po

Re: [appengine-java] Re: Please help me with mapping

2010-06-12 Thread Prashant
(say 10 or 20). Putting updates in a separate class will help you to implement efficient pagination. It will be easy to add and delete an updates. On 13 June 2010 11:54, nischalshetty wrote: > Thank you Prashant. I guess that's the second option of disowned > entities that you are t

Re: [appengine-java] Please help me with mapping

2010-06-12 Thread Prashant
you can keep a separate status class, which will store only one update per class. Every time user updates her status, create a new update class and persist it Update { private long userid; private string status; } when you need to display update just fetch all update entities where userid == User

[appengine-java] Federated Login Help

2010-06-12 Thread Prashant
here I am wrong. Thanks, Prashant -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to googl

Re: [appengine-java] Re: logging using System.err & System.err

2010-06-06 Thread Prashant Gupta
Thanks John :-) -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegro

Re: [appengine-java] logging using System.err & System.err

2010-06-06 Thread Prashant Gupta
what is the level lower then INFO ? can you tell me in brief what does ".level = WARNING" in logging file. sorry for a noob question :| Thanks, Prashant On 6 June 2010 17:45, John Patterson wrote: > Theres your problem... you need to set the level to INFO or lower > &

Re: [appengine-java] logging using System.err & System.err

2010-06-06 Thread Prashant Gupta
i am using default template which comes with eclipse plugin: // file : appengine-web.xml // file : logging.properties .level = WARNING -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send ema

[appengine-java] logging using System.err & System.err

2010-06-05 Thread Prashant Gupta
m.out.println("Written on out"); System.out.print("Written on out without next line"); ... got only .: Written on err without next lineWritten on err in logs, and no logging for System.out. Is it a bug? Thanks, Prashant -- You received this message becaus

Re: [appengine-java] Re: java.lang.ClassNotFoundException: com.google.appengine.tools.appstats.AppstatsFilter

2010-04-02 Thread Prashant Gupta
Thanks a lot, it worked. I guess there was some problem with Google Plugin, it didn't replace the jars when I updated my sdk version. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appe

[appengine-java] Re: java.lang.ClassNotFoundException: com.google.appengine.tools.appstats.AppstatsFilter

2010-04-01 Thread Prashant Gupta
someone please help me out following is the code I added to my web.xml file : appstats com.google.appengine.tools.appstats.AppstatsFilter logMessage Appstats available: /appstats/details?time={ID} appstats /*

[appengine-java] java.lang.ClassNotFoundException: com.google.appengine.tools.appstats.AppstatsFilter

2010-04-01 Thread Prashant Gupta
1. Hi, I am getting following error while trying to setup Appstatsfor my app. Please help me to find out where I am wrong. I am using SDK v1.3.2. 04-01 12:40AM 46.303 EXCEPTION java.lang.ClassNotFoundException:

[appengine-java] Re: why persistent manager removes non-persistent values after detaching a PersistentCapable entity ?

2010-03-24 Thread Prashant Gupta
anyone ? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com

[appengine-java] Re: why persistent manager removes non-persistent values after detaching a PersistentCapable entity ?

2010-03-24 Thread Prashant Gupta
I tried same test case with a boolean value @NotPersistent private Boolean bool = true; and the value (bool) is not changing to null after detaching the entity. why there is difference in behavior? Is detaching an entity is necessary? What are the losses if I cache an entity witho

[appengine-java] why persistent manager removes non-persistent values after detaching a PersistentCapable entity ?

2010-03-24 Thread Prashant Gupta
Here is my test case and with output : @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { PrintWriter out = resp.getWriter(); out.println("debug here..." + new Date()); Te

Re: [appengine-java] what if I hit memory limit ?

2010-03-10 Thread Prashant Gupta
Thanks Don for clarification. 100MB seems sufficient for me. Please suggest me a library for LRU caching implementation. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@go

Re: [appengine-java] what if I hit memory limit ?

2010-03-10 Thread Prashant Gupta
yes, you are right. But, in my case, suppose each request requires 100 entities to be fetched and for any two requests say 90-95 entities are common. So, if I use only memcache for caching, 100 memcache fetch will be required per request. Or, if I keep the data in servlet env. for each req., 10-0

[appengine-java] what if I hit memory limit ?

2010-03-10 Thread Prashant Gupta
Hi, I have designed my app to keep data (within servlet env.) for all previous requests. For each request it will first search the data in "servlet env. store", if it doesn't find the data here it will fetch data from datastore and append the same to "servlet env. store". So, if the same servlet l

[appengine-java] Re: serialization doubt...

2010-03-10 Thread Prashant Gupta
anyone...? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.c

[appengine-java] searchable datastore

2010-03-05 Thread Prashant Gupta
Hi, I want to make my app's data searchable. is there any library or tool available which can make my task easier? Thanks. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...

[appengine-java] serialization doubt...

2010-02-26 Thread Prashant Gupta
Hi, I know some cases where serialization is required, one is MemCache. Let, I cache some object in Memcache and later do some changes in class, the cached object will fail to typecast to its (updated) class type. Now suppose I have set serialVersionUID in my serialized class, will it still fail t

Re: [appengine-java] Re: wildcard *srt support?

2010-02-21 Thread Prashant Gupta
gt; > > Vaclav > > > On Feb 21, 7:59 am, Prashant Gupta wrote: > > *.gwtrpc doesn't seem to match any url. Is it > > not supported in appengine/jetty ? > > -- > You received this message because you are subscribed to the Google Groups > "Goog

[appengine-java] wildcard *srt support?

2010-02-20 Thread Prashant Gupta
*.gwtrpc doesn't seem to match any url. Is it not supported in appengine/jetty ? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this

[appengine-java] Re: AppEngine returns SUCCESS status even if it fails to process Chat Msg

2010-01-18 Thread Prashant Gupta
anyone? 2010/1/17 Prashant Gupta > Hi, > > I have noticed that sometimes AppEngine fails to process some Chat Msgs > (requests), especially when it receives a (Chat Msg) request after a long > gap (5 min in my case) or when request rate is high, showing following error > i

[appengine-java] AppEngine returns SUCCESS status even if it fails to process Chat Msg

2010-01-17 Thread Prashant Gupta
esn't now? Has it stopped reprocessing failed inbound mails also?? -- Prashant -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubsc

Re: [appengine-java] Re: how to get session id under a Class which doesn't extend HttpServlet?

2010-01-15 Thread Prashant Gupta
I tried adding a filter, after that my app stopped working, displaying nothing. Someone please help me out to set up a filter to get session id and keep other things working. Thanks. 2010/1/14 Prashant Gupta > ok, thanks a lot. > > > > 2010/1/14 Stephan Hartmann > >

Re: [appengine-java] Re: how to get session id under a Class which doesn't extend HttpServlet?

2010-01-14 Thread Prashant Gupta
alue of your ThreadLocal to null, prefferably in a > finally block. > > > 2010/1/14 Prashant Gupta > >> anyone??? >> >> 2010/1/12 Prashant Gupta >> >> Hi, >>> >>> Thanks guys for looking into this. >>> >>> All requ

Re: [appengine-java] Re: how to get session id under a Class which doesn't extend HttpServlet?

2010-01-14 Thread Prashant Gupta
anyone??? 2010/1/12 Prashant Gupta > Hi, > > Thanks guys for looking into this. > > All requests to my app pass through a single servlet, say *Main*. So, I > thought I need not to add additional filter and I used a ThreadLocal > variable to store session id : > > publ

Re: [appengine-java] Doubt with detachability...

2010-01-13 Thread Prashant Gupta
any errors? I was under the > impression that passing an entity into makePersistent re-attaches the > entity, but it's also possible that you don't need to explicitly detach it > more than once. > > - Jason > > On Tue, Jan 12, 2010 at 7:15 AM, Prashant Gupta wrote: >

Re: [appengine-java] org.datanucleus.exceptions.NucleusUserException: Object of type "xxx" and identity "yyy" was not detached correctly.

2010-01-12 Thread Prashant Gupta
Hi, I changed Owned one-to-many relationship to Unowned one-to-many but still getting same error. I have explained it here - http://groups.google.com/group/google-appengine-java/browse_thread/thread/ed5ab46f0f0be3f7 2010/1/13 Jason (Google) > Hi Prashant. Please paste your persistent clas

[appengine-java] Doubt with detachability...

2010-01-12 Thread Prashant Gupta
Hi, Here is my doubt... Suppose I created a new Entity : Entity ety = new Entity(); Created a new persistent manager and made it persistent : pm.makePersisent(ety); Detached it and cached to memcache : cache.put("myentity", pm.detachCopy(ety)); pm.close(); now, in the same request or subsequent

Re: [appengine-java] Re: how to get session id under a Class which doesn't extend HttpServlet?

2010-01-12 Thread Prashant Gupta
> String userName = user.getUserName(); > > // query the database based on user information > > } > > } > > On Jan 9, 3:53 am, Prashant Gupta wrote: > > I tried following code, getting null all the time. > > > > public static Http

[appengine-java] why memcache doesn't saves @NonPersistent child object of a detached parent?

2010-01-11 Thread Prashant Gupta
Hi, I found a weird behaviour (testing in dev mode). Suppose I have an entity with a NonPersistent child, say *child*. I want to cache parent to memcache for fast access also I want child to be cached with parent. Since *child* is NonPersistent, so, after fetching (and detaching) parent from datas

[appengine-java] org.datanucleus.exceptions.NucleusUserException: Object of type "xxx" and identity "yyy" was not detached correctly.

2010-01-10 Thread Prashant Gupta
Hi, I am getting this exception while trying to detach an entity of type xxx having a list of PersistentCapable entity of type zzz as its child. In short, I am getting this exception while detaching parent entity of a one to many owned relationship. Please help me to find out what to do to make it

Re: [appengine-java] Re: how to get session id under a Class which doesn't extend HttpServlet?

2010-01-10 Thread Prashant Gupta
I googled some keywords picked up from your reply and found some useful stuff and I think it will workout for me. Thanks a lot... 2010/1/10 Elias Mårtenson > On 9 Jan, 16:53, Prashant Gupta wrote: > > I tried following code, getting null all the time. > > > > publ

Re: [appengine-java] handling "com.google.apphosting.api.ApiProxy$RequestTooLargeException: The request to API call datastore_v3.Put() was too large."

2010-01-09 Thread Prashant Gupta
toreService.html#put(com.google.appengine.api.datastore.Entity) > > Vince > > > On Thu, Jan 7, 2010 at 11:25 PM, Prashant Gupta wrote: > >> hi, >> >> "com.google.apphosting.api.ApiProxy$RequestTooLargeException: The request >> to API call datastore_v3.Put() was too large."

Re: [appengine-java] Re: how to get session id under a Class which doesn't extend HttpServlet?

2010-01-09 Thread Prashant Gupta
I tried following code, getting null all the time. public static HttpSession getSession(){ return new ThreadLocal().get().getSession(); } 2010/1/9 Elias Mårtenson > On 9 Jan, 01:27, Prashant Gupta wrote: > > > I am trying to implement my own user management system, for that I

[appengine-java] how to get session id under a Class which doesn't extend HttpServlet?

2010-01-08 Thread Prashant Gupta
Hi, I am trying to implement my own user management system, for that I need some way to make session id available to all classes independent of whether it extends HttpServlet or not. I know there is some way to do that but I am not able to find it. Any kind of help would be appreciated. Thanks. -

Re: [appengine-java] memcache and session on GAE

2010-01-08 Thread Prashant Gupta
aMillis) { Property property = new Property(key, value, expirationDeltaMillis); *pmf*.makePersistent(property); *cache*.put(property.Key, property); } } 2010/1/8 Prashant Gupta > > > 2010/1/8 Nicanor Cristian > >> On 01/08/2010 10:58 AM, Prashant Gupta wrote: >> >>

Re: [appengine-java] memcache and session on GAE

2010-01-08 Thread Prashant Gupta
2010/1/8 Nicanor Cristian > On 01/08/2010 10:58 AM, Prashant Gupta wrote: > > > > 2010/1/8 nicanor.babula > >> Hi everyone. >> >> How memcache works on GAE? Let me explain: >> Do I get one memcache instance per app instance or there is one >>

Re: [appengine-java] memcache and session on GAE

2010-01-08 Thread Prashant Gupta
2010/1/8 nicanor.babula > Hi everyone. > > How memcache works on GAE? Let me explain: > Do I get one memcache instance per app instance or there is one > memcache instance for all instastances of my app? > one instance for all app instances. > My app uses google accounts to handle users. I am th

[appengine-java] handling "com.google.apphosting.api.ApiProxy$RequestTooLargeException: The request to API call datastore_v3.Put() was too large."

2010-01-07 Thread Prashant Gupta
hi, "com.google.apphosting.api.ApiProxy$RequestTooLargeException: The request to API call datastore_v3.Put() was too large." was thrown while saving an entity to datastore. I want to handle this exception but I am not getting which exception to catch. Please help me out... Thanks -- You receive

[appengine-java] Web API Development & Hosting

2009-12-17 Thread Prashant Gupta
Hi, I was thinking of developing a web api which will allow web apps to read or put some data from/to my app. I am not sure what I exactly want to do because I am not sure how a web API is developed & what are the limitations, is it same as we write an app? ok, that was a stupid question. I tried

Re: [appengine-java] Re: Introducing App Engine SDK 1.3.0

2009-12-15 Thread Prashant
+1, please do that. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googl

Re: [appengine-java] Custom pre-deploy or post-build step in Eclipse

2009-12-15 Thread Prashant
put a soft link in war pointing to the other build, if you are using vista, *mklink /j link-name target-location *is the command. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine

Re: [appengine-java] any header test for task queues (like "X-AppEngine-Cron: true" for crons)?

2009-12-14 Thread Prashant
; > x- > > And it documents the 3 headers. > > > Prashant wrote: > > Hi, > > > > Requests from the Cron Service contains a HTTP header: X-AppEngine-Cron: > > true > > Is there any header added by Task Queue Service??? > > > > Thanks. > >

[appengine-java] any header test for task queues (like "X-AppEngine-Cron: true" for crons)?

2009-12-14 Thread Prashant
Hi, Requests from the Cron Service contains a HTTP header: X-AppEngine-Cron: true Is there any header added by Task Queue Service??? Thanks. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to goo

Re: [appengine-java] possible to split web.xml ?

2009-12-07 Thread Prashant
ok, thanks anyway. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@google

[appengine-java] possible to split web.xml ?

2009-12-07 Thread Prashant
Hi, I have some (eclipse) projects which extend a main project, in other words, a project is sharing its source with all other projects (using junctions). Hence, projects can use main project's source as if it belong to itself. The advantage is that I can update main project's source in any projec

Re: [appengine-java] Re: how do i use "Admins Emailed" quota?

2009-12-03 Thread Prashant
no, no, I meat to say that, suppose there are 3 admins and I want to send mail to only one admin using admin quota. this is not possible, rite? And, does following work for XMPP? XMPPServiceFactory.getXMPPService() .sendMessage( new MessageBuilder() .withRecipientJids(new JID(*"admi

Re: [appengine-java] Re: how do i use "Admins Emailed" quota?

2009-12-03 Thread Prashant
what if I want to send only one of the admins? there is no way, right? does that work for XMPP also? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To un

Re: [appengine-java] Re: how do i use "Admins Emailed" quota?

2009-12-03 Thread Prashant
thanks a lot -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups

[appengine-java] Re: how do i use "Admins Emailed" quota?

2009-12-03 Thread Prashant
anyone??? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.co

[appengine-java] how do i use "Admins Emailed" quota?

2009-12-01 Thread Prashant
Hi, whosoever I send a mail it gets counted in "Recipients Emailed" quota, how do I use "Admins Emailed" quota to send mails to admins. Thanks. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to

Re: [appengine-java] Re: AppEngine needs an AppStore

2009-12-01 Thread Prashant
or I could be like, keeping app source closed and people pay for installing app on there app id + support and all -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegrou

Re: [appengine-java] Re: AppEngine needs an AppStore

2009-12-01 Thread Prashant
+1 -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For

Re: [appengine-java] Re: Delete task queue

2009-12-01 Thread Prashant
same here, app-id : antshpra & queue : default -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appen

Re: [appengine-java] How Do I Use appcfg.cmd rollback

2009-11-30 Thread Prashant
appcfg.cmd rollback "C:\Documents and Settings\Darren\workspace\Sandpit\war" -- put path between double quotes -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.

Re: [appengine-java] (JDOQL) Is this a bug? (repost)

2009-11-30 Thread Prashant
yeah, sure. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.

Re: [appengine-java] (JDOQL) Is this a bug? (repost)

2009-11-30 Thread Prashant
And, I am using java sdk 1.2.6 -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubs

Re: [appengine-java] (JDOQL) Is this a bug? (repost)

2009-11-30 Thread Prashant
Sorry Max, I Just changed my class design and moved all data to new one. I guess there was some problem with indexes - http://groups.google.com/group/google-appengine-java/browse_thread/thread/ce4ccf6fbc62d397/14bc40f42c99f100#14bc40f42c99f100 -- You received this message because you are subscrib

  1   2   >