Re: [appengine-java] max keys for memcache

2012-02-22 Thread Kesava Neeli
We would like to have a map of all users in datastore in mem cache so that we can look up for any username/email/number to verify if he is already an user of our app. Ex: A user wants to send some message to an email address from our mobile app. We want to find if there is any user in our

Re: [appengine-java] max keys for memcache

2012-02-22 Thread Kesava Neeli
Jeff, If you understood my requirement, I would love to hear any suggestions you have if you think MemCache is not a solution. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

Re: [appengine-java] max keys for memcache

2012-02-22 Thread Kesava Neeli
our user account has many fields like userName, email, number, alternate email list, ids from social networks like facebook, google, twitter, linkedin etc. The primary key is one of those fields. In realtime, we should be able to find if a user exists with any the fields and not just email.

Re: [appengine-java] max keys for memcache

2012-02-21 Thread Kesava Neeli
Hi IKai, Could you point me to the docs about the max memory for the app for MemoryCache? We have a mobile app with many user accounts and each account has a primary key. We expect to have 1-2million accounts in the datastore. We need to store many entries in mem cache to find if account

[appengine-java] Re: When will https support will be available for custom domains?

2012-01-25 Thread Kesava Neeli
Any comments from appengine team on this? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/p32icr9fCwAJ. To post to this group, send

[appengine-java] how to store java Date type in specific timezone?

2012-01-25 Thread Kesava Neeli
Hi, I have a java.util.Date data type in my object. Date now = Calendar.getInstance(TimeZone.getTimeZone(America/Los_Angeles), Locale.US).getTime(); When I persist the object and look at the entity, I see the type stored as gd:when as the kind of element. I see the value as 2012-01-25

Re: [appengine-java] how to store java Date type in specific timezone?

2012-01-25 Thread Kesava Neeli
Thanks. That's what I was doing for some date fields now. Store the date in a well formatted string and then do conversions. But it becomes tough when you want to build a query get me all records in last day and the datastore for that object contains thousands of records. With the strings,

Re: [appengine-java] how to store java Date type in specific timezone?

2012-01-25 Thread Kesava Neeli
Thanks Jeff. I used JodaTime before but I was stuck with java.util.Date since appengine allows only standard java data types. I don't think Joda Time object will work on appeninge. Will give a try. Have you stored JodaTime objects in datastore? -- You received this message because you are

[appengine-java] When will https support will be available for custom domains?

2011-12-19 Thread Kesava Neeli
Hi, The appengine blog had a post on Oct 19th. Anyone has idea on when this will be available for public use? We have a public website running on appengine which talks to the backend via https url. We send some sensitive information and hence https was a must. But IE browser has a limitation

[appengine-java] unable to deploy applications to appengine

2011-12-06 Thread Kesava Neeli
Hi, We are seeing 500 Internal Server errors on appengine while deploying applications. Anyone seeing similar issues? This is at 6:30 PM PST Thanks Neeli -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on

[appengine-java] Re: unable to deploy applications to appengine

2011-12-06 Thread Kesava Neeli
Worked fine at 10:00 PM PST -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/KDRyiFN60H4J. To post to this group, send email to

[appengine-java] Mime message pase error on appeninge

2011-11-09 Thread Kesava Neeli
Hi, I have a simple JavaMail code that reads a email message which contains text html. Sample code below. When I test it with an email which contains HTML data, I consistently see this error. Any idea on how to read the MimeMultipart body correctly? I saw similar errors in old post 2yrs ago

[appengine-java] Re: Mime message pase error on appeninge

2011-11-09 Thread Kesava Neeli
I am testing the sample code with some flight itinerary emails which contain test html. If I forward the email from any gmail account to my app.appspotmail.com, the whole email is parsed as text with the code. If the email originates from hotmail, apple mac client I consistently see the error

[appengine-java] Re: A simple imap email connector doesn't work

2011-11-07 Thread Kesava Neeli
Yes, I have read the docs before. I actually use it to send email. But my usecase here is slightly different. I am trying to connect to imap gmail server and read user's emails and do some parsing and this requires connecting to a different imap port via secure connection. I believe there is

[appengine-java] A simple imap email connector doesn't work

2011-11-04 Thread Kesava Neeli
Hi, A simple imap email program fails on appengine. The error message is clear that appengine does not allow socket classes. Can anyone suggest an option other than running the service outside appengine? Our app runs completely on GAE and it's painful to go for webservice from other cloud

[appengine-java] Re: Issues using JDO query in RemoteAPI

2011-11-04 Thread Kesava Neeli
GAE developers, Anyone tried using java RemoteAPI on local servers and using the JDO object conversions? like in the example in this chain? I can only work with low level datastore Entity objects. If anyone has success with usage of JDO syntax on REmote API, your suggestions are much

[appengine-java] Re: Issues using JDO query in RemoteAPI

2011-09-13 Thread Kesava Neeli
Hi Anyone has idea on how to make changes to appengine datastore from a java client running on your local desktop? My test app in the original post connects successfully to my remote app with Remote API. But the standard JDO persistence API calls fail. Am I missing any steps? The same code

[appengine-java] Re: Issues using JDO query in RemoteAPI

2011-09-03 Thread Kesava Neeli
Any one has suggestions? The JDO PersistenceManager api should work with remote api ? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

[appengine-java] How to export binary data fields from appengine datastore to other databases?

2011-09-02 Thread Kesava Neeli
I was using appengine python appcfg.py to do a bulk download/upload of data from my datastore. Works great. I had all my data in csv file when I did a download_data. My entities have hashmap properties (serialized data on datastore) which are saved in a base64 encoding in the csvfile.

[appengine-java] Re: Issues using JDO query in RemoteAPI

2011-08-31 Thread Kesava Neeli
Anyone has idea on what's wrong with the code? The same code runs on appengine but not on my laptop via remote API. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

[appengine-java] Issues using JDO query in RemoteAPI

2011-08-30 Thread Kesava Neeli
Hi, I am trying to query my appengine data datastore on my laptop using RemoteAPI. I am using JDO Query object to query the data. I have setup all the required datanuclues setup on my local box. When I run the following simple code I see the error. When I run the same Query on appengine as a

[appengine-java] Re: Failing to deploy my webapp to appengine

2011-08-25 Thread Kesava Neeli
Hi, My app deployment worked from 9pm last night. I no longer have 500 error on index uploads. I wish google posts something to the news board if there are known issues on appengine side. Thanks Neeli -- You received this message because you are subscribed to the Google Groups Google App

[appengine-java] Exporting and Importing data from Java application

2011-08-25 Thread Kesava Neeli
Hi, I am exploring how to import/export data from appengine datastore. In Pyhton section of docs, there is good explanation on how to do this http://code.google.com/appengine/docs/python/tools/uploadingdata.html. I also found nice blog at

Re: [appengine-java] Exporting and Importing data from Java application

2011-08-25 Thread Kesava Neeli
Hi IKai, I haven't written anything concrete yet. I was playing around with the low level datastore API to retrieve and create new entities and following the steps in your blog. We are close to launching our mobile application with appengine serving as backend. We would like to have the

[appengine-java] Failing to deploy my webapp to appengine

2011-08-24 Thread Kesava Neeli
Hi, I disabled my 2 old apps on appengine and created a new application. My deploy to appengine consistently fails with an error message 500 server error. The failure occurs during the step uploading index definitions. Anyone has thoughts on how to correct the error? Closing update: new

Re: [appengine-java] deployment issues

2011-08-24 Thread Kesava Neeli
This is old post but I exactly have same problem. The deployment stalls whiel Uploading index definitions and can't get past that step for last 4 hrs now. . Any thoughts? When I use my app, it complains about hte missing index and when I include it, the deployment hangs during that step. If I

[appengine-java] Re: 500 error updating index definitions

2011-08-24 Thread Kesava Neeli
Hi, I am having similar issue. My app deployment is failing always with 500 server error when uploading index definitions. LAst 4 hrs it's been like this. My old app with same index file works file. I created a new version of app wit hsame index file and it fails consistently. I put an empty

[appengine-java] Simple Throttling filter doesn't work

2011-08-16 Thread Kesava Neeli
I have a simple filter defined in web.xml like this. filter filter-nameThrottlingFilter/filter-name filter-classcom.xyz.filters.ThrottlingFilter/filter-class /filter filter-mapping filter-nameThrottlingFilter/filter-name url-pattern/*/url-pattern

[appengine-java] Re: Simple Throttling filter doesn't work

2011-08-16 Thread Kesava Neeli
Team, Anyone has thoughts on above problem? I tested the same code in Tomcat/Jboss and it works fine. I could see the filter kicking in correctly after 2 concurrent active requests. Looks like it's not possible only in appengine. I was trying to safegaurd the application from any DOS kind of

[appengine-java] Re: Simple Throttling filter doesn't work

2011-08-16 Thread Kesava Neeli
Thanks for the reply. I figured it that was the case. There's no way in GAE to know how many VMs are there for our app. I would need to run a much bigger load to make sure i hit the same server concurrently and see if I hit this. As you said, this code is not applicable on GAE in general. --

[appengine-java] Re: secure appengine urls with security constraints

2011-08-15 Thread Kesava Neeli
Thanks. I already had https enabled. That was straightforward from GAE docs. What I was trying to do is to prevent anyone from hitting my appengine urls other than customers who use our mobile app on phones. I could use some public/private key on handset and server and control who can access

[appengine-java] Re: secure appengine urls with security constraints

2011-08-14 Thread Kesava Neeli
Anyone has ideas on this topic? I don't want my application on appengine to be publicly available to anyone who knows the url. My client app running on mobile handsets ONLY should be able to hit my app on appengine servers. -- You received this message because you are subscribed to the Google

[appengine-java] secure appengine urls with security constraints

2011-08-12 Thread Kesava Neeli
Hi, I have a mobile application running on handsets and the backend runs on appengine. My mobile applications makes various backend hits to google appengine servers. I am already using https urls. I also looked at the security constraint setup to protect the urls with google authentication.

[appengine-java] appengine deploy fails with 409 error and rollback doesn't work

2011-08-10 Thread Kesava Neeli
Hi, I was deploying my app to google appengine server and ran into 409 conflict error. I deployed the app hundred of times in last month. I ran into this 409 conflict error sometimes and I just waited for 2-3 minutes and I could redeploy. This time the 409 error persists. I looked at similar

[appengine-java] Re: appengine deploy fails with 409 error and rollback doesn't work

2011-08-10 Thread Kesava Neeli
Anyone from GAE team has any inputs? I am not sure why my appcfg rollback may appp id/war command doesn't work. It's just painful to just move to another app id just because of this 409 conflict error. -- You received this message because you are subscribed to the Google Groups Google App

Re: [appengine-java] Re: Mining logs for performance data

2011-07-29 Thread Kesava Neeli
there as well. Stephen CortexConnect cortexconnect.appspot.com On Thu, Jul 28, 2011 at 9:40 AM, Kesava Neeli nke...@gmail.com wrote: Anyone from GAE team has better suggestions for this? Normally we setup a separate metrics logger in log4j which would log all metric events

[appengine-java] Re: Mining logs for performance data

2011-07-28 Thread Kesava Neeli
Anyone from GAE team has better suggestions for this? Normally we setup a separate metrics logger in log4j which would log all metric events in a separate log file. Then we generate reports out of it. On GAE, we cannot define a logfile for a separate logger and don't have access to download any

[appengine-java] Re: FK Maps not supported error when using HashMaps

2011-07-27 Thread Kesava Neeli
Any one has suggestions on this? GAE doc says A datastore property can have more than one value. In JDO, this is represented by a single field with a Collection type, where the collection is of one of the core value

[appengine-java] Re: Mining logs for performance data

2011-07-26 Thread Kesava Neeli
Thanks but that means you are manually doing a cutpaste of the log from google logs viewer and then applying the rules. That cannot be autoamated. I like to run a cron job that can parse the log for my special log statements and then create a report of out of it. Anyone from appengine team has

[appengine-java] FK Maps not supported error when using HashMaps

2011-07-26 Thread Kesava Neeli
Hi, I am seeing the following stack trace when using HashMap in my persistable class. I have something like this in my app. @PersistenceCapable public class MyClass { ... ListClassA list1; ListClass B list2; ... } @PersistenceCapable public class ClassA { //some fields

[appengine-java] How to handle SNMP traps on appengine?

2011-07-25 Thread Kesava Neeli
Hi, I just wanted to know what's the best process to handle SNMP traps from the application. Our app will be doing some critical third party backend hits and we need to alerts/notifications on any errors. One option is sto end SNMP traps to some SNMP sever outside appengine but I don't want to

[appengine-java] Mining logs for performance data

2011-07-25 Thread Kesava Neeli
Hi, My application writes timing information for the backend hits in the log using standard logger. I can see them in the logs using GAE dashboard 'Logs' tab. I would like to run a cron job to get these metrics and have a report. How can I mine the application logs? Any suggestions on how to

Re: [appengine-java] How to run quatz(kind) of scheduler service on appengine?

2011-07-22 Thread Kesava Neeli
Yes.. I looked at Background instance. It allows to have long tasks but it doesn't allow to spawn threads. Quartz fires off events in threads. So I guess quartz is not an option on app-engine. We can use appengine cron jobs to some extent but if you need to fire an event at exact minute, it

[appengine-java] Re: JPA em.persist() saving old copies of nested Entity class

2011-07-21 Thread Kesava Neeli
Thanks a lot for taking time to create a test case. I think I know what I am doing wrong. I actually tried JDO interface too and saw the same issue. I realized the old data items The first time i pass a json string for list1, list2 items and they get saved into ListSmartItem data field in

[appengine-java] How to run quatz(kind) of scheduler service on appengine?

2011-07-21 Thread Kesava Neeli
Hi, I have a requirement to run a quatrz scheduler service and fire off jobs based on the contents in the appengine datastore objects. We cannot run any quarts service that's up all the time in appengine. The crontasks in appengien with it's limitations are the only option? Any plans to

[appengine-java] multiple relationship fields error in JDO

2011-07-20 Thread Kesava Neeli
Hi, I have seen similar error message posted in groups. I just wanted to see if this is fixed in current release or we shouldn't use this paradigm at all.. class A{ } class B extends class A { } class MyClass { ListA aList; Listb bList; . } I get the error

[appengine-java] JPA em.persist() saving old copies of nested Entity class

2011-07-19 Thread Kesava Neeli
Hi, I have a question on nested Entity class using JPA framework on appengine. I have code liek this.. @Entity public class MyDataObject { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) Key key; // some persistent fields of standatd types @Basic

[appengine-java] Re: JPA em.persist() saving old copies of nested Entity class

2011-07-19 Thread Kesava Neeli
Hi, Any one has suggestions to my issue? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/_j8bIC6qa54J. To post to this group, send