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
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
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.
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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.
--
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
48 matches
Mail list logo