[appengine-java] Random HTTP 500 errors with the RemoteApiServlet

2010-09-14 Thread Rahul Ravikumar
Recently, i have come across an error (quite frequently) with the RemoteApiServlet as well as the remote_api handler. While bulk loading large amounts of data using the Bulk Loader, i start seeing random HTTP 500 errors, with the following details (in the log file): Request was aborted after

[appengine-java] Re: (datastore) One large query vs lots of small ones

2010-09-03 Thread Rahul Ravikumar
You could just do a IN query. Something like X IN [1,2,3,... ,]. However keep in mind that IN is restricted to using 30 values (as multiple queries are being executed - one per value specified; ) There is a restriction with the IN query for a On Sep 2, 11:11 pm, Thomas P. vi...@pcb-dev.com

[appengine-java] Re: Google Web Application problem in Eclipse Helios

2010-08-03 Thread Rahul Ravikumar
Uninstall the plug-ins and the sdk's that you have installed. From the Eclipse update site for App Engine, install the plug-in only. Download and install the SDK's separately and point your eclipse plug- in to the SDK locations on disk. On Aug 2, 2:40 pm, asfh hd.a...@gmail.com wrote: Hi, I

[appengine-java] Re: Google App Engine - Bulkloading using RemoteApiServlet - Billing

2010-08-03 Thread Rahul Ravikumar
I meant the max. daily budget. Sorry for the confusion. On Aug 3, 3:47 pm, Rahul Ravikumar tikura...@gmail.com wrote: I am using the App Engine RemoteApiServlet and the Bulkloader to load data into the datastore. As the dataset that i was uploading was huge (a million entities) I enabled

[appengine-java] Re: Dance Dance Robot error / Channel API

2010-07-17 Thread Rahul Ravikumar
com.google.appengine.api.channel.ChannelMessage; import com.google.appengine.api.channel.ChannelService; import com.google.appengine.api.channel.ChannelServiceFactory; and it all works. Daniel On Jul 16, 6:42 pm, Rahul Ravikumar tikura...@gmail.com wrote: The Channel API for Google App Engine is not out

[appengine-java] Re: Dance Dance Robot error / Channel API

2010-07-16 Thread Rahul Ravikumar
The Channel API for Google App Engine is not out yet! On Jul 15, 6:11 pm, Daniel Guermeur superco...@gmail.com wrote: Hello there, I am building a GWT+ GAE app based on Dance Dance Robot app, the demo Google IO demo app showcased at Google IO. I am using the Channel API (Java AppEngine

[appengine-java] Re: Servlet filter does not work POST

2010-06-25 Thread Rahul Ravikumar
http://code.google.com/p/googleappengine/issues/detail?id=3083 On Jun 24, 12:17 pm, Mouseclicker jens.h...@googlemail.com wrote: I found out that POST filters only don't work if the post request comes from an _ah/upload request. On Jun 23, 1:24 pm, Mouseclicker jens.h...@googlemail.com

[appengine-java] Re: Servlet filter does not work POST

2010-06-24 Thread Rahul Ravikumar
No filters do work with POST requests at 1.3.4 On Jun 23, 4:24 am, Mouseclicker jens.h...@googlemail.com wrote: HI, is there any reason (or known issue) that a configured servlet filter is only called for GET requests? With the filters something was fixed for 1.3.3.1 release, but I am

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-15 Thread Rahul
scenarios. Is there anything we can do to bring this issue on the top burner so we can use our appengine apps for production purpose other then just playing around with the stuff. Thanks, Rahul On Jun 14, 1:10 pm, Jake jbrooko...@cast.org wrote: Hey Rahul, Seehttp://groups.google.com/group/google

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-11 Thread Rahul
Jake, Is there any official comments on this from google which says that it discourage the pinging every 60 seconds or so. Also if we have some framework which we will always like to have if doing some production application then what is the way out. Thanks, Rahul On Jun 11, 10:16 am, Jake

[appengine-java] Re: Session object or memcache?

2010-06-11 Thread Rahul
No doubt if your application is low traffic you will definitely need memcache as session will be lost every minute when the jvm restarts and you need to reload everything and also session is highly discouraged due to various reasons. Thanks, Rahul On Jun 11, 4:16 am, RAVINDER MAAN rsmaan

Re: [appengine-java] MemCache expiring around once a day

2010-06-02 Thread Rahul Juneja
Ikai, Yes you are right the expensive part is initializing the EntityManagerFactory in my case. Is there any way we can improve the performance on that. Thanks, Rahul -- Rahul Juneja http://techlabs.thoughtclicks.com On Wed, Jun 2, 2010

Re: [appengine-java] MemCache expiring around once a day

2010-06-01 Thread Rahul Juneja
don't want to flush if the cache is so small instead i want the cache only to flush LRU elements when the cache grows in size to maybe 100,000 entries. Any clues ? Thanks, Rahul -- Rahul Juneja http://techlabs.thoughtclicks.com On Tue, Jun

Re: [appengine-java] MemCache expiring around once a day

2010-06-01 Thread Rahul Juneja
the new jvm instance has been kicked off as it happens in Appengine, db connection takes a while, sometimes around 6-7 seconds, which is kind of slow. Nicolas, Thats the reason i am fetching the data if not found in cache. Thanks, Rahul

[appengine-java] Re: MemCache expiring around once a day - UPDATE

2010-05-27 Thread Rahul
Surprisingly, My cache has removed some elements from it overnite and the number of elements left are few elements in the cache, is there any specific reason you can think of. Its not completely empty now. Can this happen. Thanks, Rahul On May 26, 10:27 pm, Rahul rahul.jun...@gmail.com wrote

Re: [appengine-java] Re: MemCache expiring around once a day - Cache Flushing

2010-05-27 Thread Rahul Juneja
doesn't flush any attributes from my cache. Thanks, Rahul -- Rahul Juneja http://techlabs.thoughtclicks.com On Thu, May 27, 2010 at 9:40 AM, Rahul rahul.jun...@gmail.com wrote: Surprisingly, My cache has removed some elements from

[appengine-java] Re: estimated number of entries in memcache

2010-05-27 Thread Rahul
. Thanks, Rahul On May 27, 4:14 pm, Joe Fawzy joewic...@gmail.com wrote: Hi all i know that memcache is documented as an unreliable storage that means that nothing is guarenteed BUT i am asking about your experience using it i have a service with a public api , i want to monitor usage

Re: [appengine-java] Re: Does Memcache persist if all JVMs go to JVM heaven?

2010-05-26 Thread Rahul Juneja
You can call the factory any times it doesn't matter it will return you the same cache. Thanks, Rahul -- Rahul Juneja http://techlabs.thoughtclicks.com 2010/5/26 Viðar Svansson vidarsv...@gmail.com I am curious, does it matter if I call

[appengine-java] MemCache expiring around once a day

2010-05-26 Thread Rahul
i am not aware of. Any help or pointers on this is appreciated. Thanks, Rahul -- 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

[appengine-java] Re: MemCache expiring around once a day - UPDATE

2010-05-26 Thread Rahul
$CapabilityDisabledException: The API call memcache.Stats() is temporarily unavailable. On May 26, 9:43 pm, Rahul rahul.jun...@gmail.com wrote: I have a  memcache and not to mention it does live between different jvm instances when new jvm instances starts, i can access the cache but once a while i

[appengine-java] Re: Does Memcache persist if all JVMs go to JVM heaven?

2010-05-25 Thread Rahul
fetching everything from the database. Also, i have a listener in place which tells me when the new jvm instance is started. Thanks, Rahul On May 24, 3:56 pm, Ikai L (Google) ika...@google.com wrote: Memcache instances stay up. They're shared, namespaced (security) instances and will more likely than

[appengine-java] Re: Does Memcache persist if all JVMs go to JVM heaven?

2010-05-25 Thread Rahul
Toby, I also had the same opinion but as you can see the previous code i have given populates the cache again. I guess i am doing something wrong. Appreciate if you can look at that and let me know if i have to do something which i missing. Thanks, Rahul On May 25, 4:00 pm, Toby Reyelts

[appengine-java] Re: Does Memcache persist if all JVMs go to JVM heaven?

2010-05-25 Thread Rahul
_instance; } Also, Let me re-iterate what you said, you are suggesting me not to play around with instance variable instead use the cache variable and is there any way i can fetch the cache variable once the jvm restarts. Appreciate all the efforts. Thanks, Rahul On May 25, 5:08 pm, Ikai L

[appengine-java] Re: Does Memcache persist if all JVMs go to JVM heaven?

2010-05-25 Thread Rahul
A Quick update, I tried this with low level google api and that seems to work perfectly fine and i am able to retrieve values from the existing cache and don't load it from db everytime hence reduces my jvm restart load time by 3-4 seconds. Not sure what jsr 107 was not working. Thanks, Rahul

[appengine-java] Re: AppEngine gets very slow when not used for some time

2010-05-24 Thread Rahul
time new jvm instance is kicked off. Thanks, Rahul On May 24, 2:12 am, Tristan tristan.slomin...@gmail.com wrote: The way you load the memcache, you just put data in it. It is automatically shared between all JVMs and you don't have to do anything special. As to when to load it up. Say you have

[appengine-java] Re: AppEngine gets very slow when not used for some time

2010-05-24 Thread Rahul
Chau, I have already tried various solutions out of those mentioned above, including b) request Google to load your app before start dispatch request to that instance but it is still slow, My exact question is when to put the data in cache. Thanks, Rahul On May 24, 4:49 am, Chau Huynh cmhu

[appengine-java] Re: AppEngine gets very slow when not used for some time

2010-05-24 Thread Rahul
this, I mean on some specific time or when the user changes immediately. Any pointer. Thanks, Rahul On May 24, 9:47 am, Rahul rahul.jun...@gmail.com wrote: Chau, I have already tried various solutions out of those mentioned above, including b) request Google to load your app before start

[appengine-java] AppEngine gets very slow when not used for some time

2010-05-22 Thread Rahul
which i am missing in adding application to appengine. Any clues are pointers are highly appreciated. Thanks, Rahul -- 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] Re: AppEngine gets very slow when not used for some time

2010-05-22 Thread Rahul
. For example, put data which is expensive to read or compute into memcache, where it can be quickly read by other JVMs during startup. so in this scenario where do you load this memcache so that it can be shared between the jvm instances. Any pointers or clues highly appreciated. Thanks, Rahul

[appengine-java] Re: GfS and Struts

2010-05-17 Thread Rahul Ravikumar
There are two modes of using the commons file upload API. One being backed by the DiskFileItemFactory which uses a File I/O (frowned upon on App Engine) and the other being the Streaming File Upload API. To run on Google App Engine you will need to use the Streaming File upload API. You can get

[appengine-java] Re: BlobstoreService serve method

2010-05-17 Thread Rahul Ravikumar
The information regarding the size can be obtained using the BlobInfoFactory (http://code.google.com/appengine/docs/java/javadoc/ com/google/appengine/api/blobstore/BlobInfoFactory.html). Look at the BlobInfo class which has all the relevant information about the blob you uploaded to the store.

[appengine-java] Re: Supported JSP/Servlet API version not mentioned any where

2010-05-06 Thread Rahul Ravikumar
It is servlet 2.5. If you looked at the web.xml then you would see a declaration: web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee; xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee

[appengine-java] Unable to update app: Error posting to URL: Error 500

2010-05-05 Thread Rahul
) ... 4 more Thanks, Rahul -- 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

[appengine-java] Error uploading project to App Engine

2010-04-28 Thread Rahul Ravikumar
be happening ? Thanks, Rahul -- 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

[appengine-java] Questions about BlobstoreService fetchData and serve

2010-04-27 Thread Rahul Ravikumar
(...) ? What if i wanted to serve a part of the blob ? Should i be using the fetchData(...) instead? My second question is, that if i was fetching partial blobs, what would be more optimal ? a. large number of smaller fetchData requests or one large fetchData request ? Thanks, Rahul -- You received

[appengine-java] Re: Blob Store service createUploadUrl() and a Dispatcher Servlet

2010-04-21 Thread Rahul Ravikumar
/uploadComplete?  If so, that sounds like a bug and I can investigate it. On Wed, Apr 14, 2010 at 7:08 PM, Rahul Ravikumar tikura...@gmail.comwrote: On further investigation, the blobstore service actually gets called and the upload takes place. However the right success path does not seem to get

[appengine-java] Re: Blobstore service short term quotas

2010-04-17 Thread Rahul Ravikumar
Its probably a bug with the admin console. -- 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

[appengine-java] Re: Blob Store service createUploadUrl() and a Dispatcher Servlet

2010-04-14 Thread Rahul Ravikumar
 pm, Rahul Ravikumar tikura...@gmail.com wrote: I am seeing the problem on DevAppServer. On Apr 13, 3:08 pm, Don Schwarz schwa...@google.com wrote: Are you seeing this problem in the DevAppServer or when deployed to our servers?  (Or both?) On Tue, Apr 13, 2010 at 4:27 PM, Rahul Ravikumar

[appengine-java] Re: Blob Store service createUploadUrl() and a Dispatcher Servlet

2010-04-14 Thread Rahul Ravikumar
on the App Engine environment. On Apr 14, 4:58 pm, Rahul Ravikumar tikura...@gmail.com wrote: I have verified that this does not happen on the Google App Engine environment. Blobstore service works as expected. The problem only seems to occur in the DevAppServer. Is there a servlet that i can map

[appengine-java] Re: Blob Store service createUploadUrl() and a Dispatcher Servlet

2010-04-13 Thread Rahul Ravikumar
Are there any workarounds for this issue? On Apr 12, 7:48 pm, Rahul Ravikumar tikura...@gmail.com wrote: I am using DevAppServer - I have filed an issue :http://code.google.com/p/googleappengine/issues/detail?id=3083 You can reproduce the problem using a dispatch servlet and the blobstore

[appengine-java] Re: Blob Store service createUploadUrl() and a Dispatcher Servlet

2010-04-13 Thread Rahul Ravikumar
I am seeing the problem on DevAppServer. On Apr 13, 3:08 pm, Don Schwarz schwa...@google.com wrote: Are you seeing this problem in the DevAppServer or when deployed to our servers?  (Or both?) On Tue, Apr 13, 2010 at 4:27 PM, Rahul Ravikumar tikura...@gmail.com wrote: Are there any

[appengine-java] Blob Store service createUploadUrl() and a Dispatcher Servlet

2010-04-12 Thread Rahul Ravikumar
I have a central dispatcher servlet that has a servlet mapping of : servlet-mapping servlet-namedispatcher/servlet-name url-pattern//url-pattern /servlet-mapping When i try to use the blob store service's createUploadUrl(/ uploadComplete) it maps to a URL for e.g '/_ah/upload/

[appengine-java] Re: Blob Store service createUploadUrl() and a Dispatcher Servlet

2010-04-12 Thread Rahul Ravikumar
I am using DevAppServer - I have filed an issue : http://code.google.com/p/googleappengine/issues/detail?id=3083 You can reproduce the problem using a dispatch servlet and the blobstore service together. The blobstore service does not seem to handle upload in such cases. Thanks, Rahul On Apr

[appengine-java] Re: Eclipse Update not working

2010-04-04 Thread Rahul Ravikumar
You need to re-create the Debug configuration. Delete the existing one and then create a new one. On Apr 3, 1:54 pm, Kasra Green kn308@googlemail.com wrote: Hi guys, Yesterday after nagging messages I decided to update the SDK. After successfully completing Help Check for Updates

[appengine-java] Re: Error message after updating AppEngine in my project

2010-03-30 Thread Rahul
Ikai, It doesn't break anything and neither does it stops from deploying but it just looks ugly and we might miss the real error if any during the deployment. Thanks, Rahul On Mar 30, 8:43 pm, Ikai L (Google) ika...@google.com wrote: Geo, what is the issue? Does it actually break anything

[appengine-java] XMPP : Sendinvitation failed with xx...@gmail.com

2010-03-19 Thread Rahul
: java.lang.IllegalArgumentException: Invalid jabber ID: JID: x...@gmail.com at com.google.appengine.api.xmpp.XMPPServiceImpl.sendInvitation(XMPPServiceImpl.java: 82) Thanks, Rahul -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group

[appengine-java] Re: java.io.IOException: Could not fetch URL problem and google spreadsheet api

2010-03-18 Thread Rahul
Any body got any clues on this ? On Mar 17, 12:44 pm, Rahul rahul.jun...@gmail.com wrote: I am trying to open a connection to the following service :http://translate.thoughtclicks.com/translateService/german/good morning which is definitely taking less then 5 seconds but i am still getting

[appengine-java] Re: Geospatial data management with GAE Java

2010-03-18 Thread Rahul Ravikumar
There is a java port of the Geomodel project in java which you can try out. On Mar 17, 1:39 am, fvisticot fvisti...@gmail.com wrote: I know that Geomodel is a solution for python users to manage geospatial information. What is available for GAE Java users in term of Geospatial data management

[appengine-java] Re: java.io.IOException: Could not fetch URL problem and google spreadsheet api

2010-03-17 Thread Rahul
Did you find the solution for this as i am having the problem ? Any help appreciated. Thanks, Rahul On Mar 16, 10:31 am, dominity domin...@gmail.com wrote: Hi, guys. When my application trying to put user credentials into spreadsheet service, I've got this exception

[appengine-java] Re: java.io.IOException: Could not fetch URL problem and google spreadsheet api

2010-03-17 Thread Rahul
InputStreamReader(urlc.getInputStream())); Any Clues on this folks ? Thanks, Rahul On Mar 17, 12:27 pm, Rahul rahul.jun...@gmail.com wrote: Did you find the solution for this as i am having the problem ? Any help appreciated. Thanks, Rahul On Mar 16, 10:31 am, dominity domin...@gmail.com wrote

[appengine-java] Error in Deploying the Jersey App on google app engine

2010-03-05 Thread Rahul
I was trying to deploy the jersey application in Google App engine and getting the following error. Any clues com.sun.jersey.server.impl.ejb.EJBComponentProviderFactoryInitilizer getComponentProviderFactory: Linkage error when configuring to use the EJB interceptor binding API. JAX-RS EJB support

[appengine-java] Web Service deployment using Axis in Google app engine for java

2009-11-27 Thread Rahul Jha
Hi , Is it possible to deploy axis based web service application in google apps engine for java. If yes, can you please share the steps or any special instructions. Thanks Regards Rahul Jha -- You received this message because you are subscribed to the Google Groups Google App Engine