On Tue, Mar 9, 2010 at 8:47 PM, John Patterson jdpatter...@gmail.com wrote:
For the sake of comparison, see below for the Twig equivalent
class UserSkill {
�...@parent User user;
String skill
int ability;
}
Note that no key is required and user is referenced directly
This is silly, but yesterday night it worked!
My app runs a cron job everyday at 2am my time (8:00 GMT). Often the
job fails because of a timeout. You know, those timeouts one gets
because the virtual server won't start.
Then I tried this silly solution. I run 5 dummy jobs 5, 4, 3, 2 and 1
OK, filled this here:
* http://code.google.com/p/googleappengine/issues/detail?id=2943
On Mar 9, 8:21 pm, Don Schwarz schwa...@google.com wrote:
No, at the moment we specifically disable jetty-web.xml for security
purposes. Feel free to file a feature request in our issue tracker asking
us to
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
Actually this is the one and single thing that makes my GAE experience
kind of bittersweet. I am still recommending the platform to friends
and colleagues, but mentioning the cold start problem up front.
Setting this feature/bug to high priority would be most welcome. I
think this is the most
I have defined a class :
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
@SuppressWarnings(serial)
@PersistenceCapable(identityType = IdentityType.APPLICATION,
Hi Jeff, some of your concerns would have been valid with the pre-
release versions but not with the final release 1.0 of Twig. See
below for explanations
On 10 Mar 2010, at 16:14, Jeff Schnitzer wrote:
On Tue, Mar 9, 2010 at 8:47 PM, John Patterson
jdpatter...@gmail.com wrote:
For the
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
Most interesting:
- How to deploy the app? Restrict to a target domain or not?
- How to integrate Step2 to retrieve user information
- How to use 2-legged OAuth in conjunction with Step2/App Marketplace
Any ideas?
--
You received this message because you are subscribed to the Google Groups
You should use memcache instead of your servlet env. The memcache service
will evict values if you run out of memory.
2010/3/10 Prashant Gupta nextprash...@gmail.com
Hi,
I have designed my app to keep data (within servlet env.) for all previous
requests. For each request it will first
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
If yes, I can sit down and wait. If not, I have to keep on my fight
with getting Step2 running on App Engine...
--
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
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
Primefaces (combined with JSF2.0) is also working here
--
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
Hi,
I have 2 persistent classes:
1. class A that has a primary key (Long) and a property called
name (String).
2. class B that is referencing class A (one to many relationship, each
B has one A, but A can belong to many B's)
I need to retrieve the B's sorted by the name property of A. In
other
Hi all,
I'm in the process of porting a small java webapp to GAE and I've
encountered an issue around my use of JasperReports.
I've solved (I think) the original issue I had of how to get the data
into the report by passing a collection of JavaBeans rather than a
JDBC connection.
However I'm
Hi All,
Can you tell me where can specify my log file in my new Google Web
App.
Is it Log4j.properties file or logging.properties file? and also tell
me how can i make to work?
Thanks in advance.
- MallikarjunBK
--
You received this message because you are subscribed to the Google Groups
I too would like to be able to use Java to upload data to the
datastore, either from a file or from a jdbc connection. Any
development on providing us with some sample code for the
RemoteApiServlet while creating the docs?
On Feb 24, 7:37 pm, Ikai L (Google) ika...@google.com wrote:
You should
Hi Nacho,
I agree with you. GAE is great in many aspects. The cold-start/timeout
issue is probably my only concern, too. But the sad thing is that is
an absolute killer. Slow response times are a bad thing, but aborting
cron jobs because of virtual server start issues is unacceptable, at
least in
Hi,
I am trying to store two dimensional string array in google data
store. I was getting an exception saying this data type not supported.
I tried changing the string array object to java.util.arraylist (gave
serizable = 'true' option). This time I was able to write the data
successfully. But
Hi Nacho,
I agree with you. GAE is great in many aspects. The cold-start/timeout
issue is probably my only concern, too. But the sad thing is that is
an absolute killer. Slow response times are a bad thing, but
exceptions in the cron jobs because of virtual server start issues is
unacceptable, at
My question says it all.
I would love to leverage the centralized structure of the marketplace
and the enhanced user trust that it brings with my app, but what I am
working on is targeted at general consumers, not the enterprise
sector... Why not make something like the marketplace for the
I have the following datastructure:
Users are the root entities, and each user can have one or more
decks, and each deck can have one or more cards.
When a user wants to add a deck, I would like to be able to add the
deck to the user's collection of decks without first fetching all of
the user's
I tell people to give appengine a try if they're using Python, but
that Java support isn't mature enough yet (for exactly this reason). I
also get the impression that Java start up times are getting slower,
or at least more varied; though I haven't been keeping stats over
time.
I'm sure google
The datastore latency graph is still broken (URI too long for Google
Charts):
http://code.google.com/status/appengine/detail/datastore/2010/03/10#ae-trust-detail-datastore-query-latency
In the periods when it works, it reports query latencies sometimes
over one second. The graph is usually
The way I understand it, if an object can be owned by more than one
object it must be unowned. I would assume that cards can be in
multiple decks so they must be unowned. I would assume each deck
would belong to one user so decks could be owned. I don't know a good
way to store cards that can
Can you send me your application id, please?
On Tue, Mar 9, 2010 at 10:48 AM, rmurta rmu...@gmail.com wrote:
My application uses Stripes and Freemarker. I am already using the
freemarker jar version build to gae.
Application is working fine in the test GAE Server in my local but
when I
On Wed, Mar 10, 2010 at 6:14 AM, John Patterson jdpatter...@gmail.com wrote:
No that is incorrect. You actually have very fine control over what is
loaded and when using activation [1]
Ah, this Activation annotation does help out. But it still leaves
edge cases (read on).
I also don't think
Instead of
@PrimaryKey
private String key;
have you tried
@PrimaryKey
@Persistent
private String key;
?
Since I use keys as encoded strings (instead of unencoded string
keys), I personally use
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
To pick one at random:
http://commons.apache.org/collections/apidocs/org/apache/commons/collections/map/LRUMap.html
On Wed, Mar 10, 2010 at 11:08 AM, Prashant Gupta nextprash...@gmail.comwrote:
Thanks Don for clarification.
100MB seems sufficient for me. Please suggest me a library for LRU
I use both files, located in:
war\WEB-INF\classes\log4j.properties
war\WEB-INF\classes\logging.properties
In my appengine-web.xml file, I have the following extract for you:
?xml version=1.0 encoding=UTF-8?
appengine-web-app xmlns=http://appengine.google.com/ns/1.0;
Where does Google store the logs when you do a Logging statement?
Logging statements seem to be pretty fast, so it doesn't seem like
they are stored in the datastore.
How reliable are the logs? If I do a logging statement and it
succeeds, is it pretty much guaranteed that it will show up in the
Actually cards can only be owned by one deck... so that's not a
problem. Deck--1...0toN--card.
The thing that I am looking for is a way to add new cards without
loading a deck's entire card collection, and to add decks without
loading a User's entire deck collection.
On Mar 10, 9:15 pm,
Hello,
I Got a problem when quering data with the key fileName . The error
is below :
com.google.appengine.api.datastore.DatastoreNeedIndexException: no
matching index found..
datastore-index kind=Picture ancestor=false source=manual
property name=__key__ direction=desc/
Hello,
I think google log are stored in file.
My experience about log reliability is that when the app is very
strong working, not all the log are stored.
It's confusing, but i can't not explain it.
Bye
On 10 mar, 22:04, Spines kwste...@gmail.com wrote:
Where does Google store the logs when you
Are you talking about request logs or diagnostic logs? Although we conflate
them a bit in both the Admin Console viewer and the appcfg command, but they
are stored and tracked separately.
On Wed, Mar 10, 2010 at 4:01 PM, Spines kwste...@gmail.com wrote:
Hmm, that is my biggest concern, log
Like many, I'm anxious to learn more. I just deployed my first app
today and while the load is light (just me), it's a giant usability
issue to have to wait 6s for spinup if (god forbid) I stop to read a
page for more than 60s or so. I'm not using any frameworks, so this
is just VM and JDO
Exactly, CardList is potentially very large and I want to avoid having
to load it just to add the cardreference.
On Mar 10, 10:43 pm, WillSpecht willspe...@gmail.com wrote:
So if you have a reference to a new card and do
cardList.add(cardRefference)
all you are loading into memory is the
I am able to get it to work. Followed the same tutorial on
Pages section of this forum. Here is what I had to modify
1. Set devMode to False.
2. add an applicationlistener with set OgnlRunTime.setSecurityManager
to null.
Deepam
On Mar 7, 2:52 pm, Deepam Tiwan deepamti...@gmail.com wrote:
Hi
I have found why i'm wrong...finally...
On Mar 11, 1:06 pm, Jolam j.jo...@gmail.com wrote:
to Ian Marshall:
I have changed the class to two form as u mentioned, but it did't
work...
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java
Instead of
@PrimaryKey
private String key;
have you tried
@PrimaryKey
@Persistent
private String key;
A String field/method doesn't even need @Persistent. All basic types
are by default persistent, as per the JDO spec (unlike in the GAE/J
docs).
--
You received this message
Sorry to bother you.
And if I need to have a script working every night at the same hour (to work
on the datastore changing some values). How can I do this?
Thanks
2010/3/9 drew einhorn drew.einh...@gmail.com
On Tue, Mar 9, 2010 at 4:07 AM, Massimiliano
massimiliano.pietr...@gmail.com wrote:
Hi Nickolas,
On Wed, Mar 10, 2010 at 12:28 AM, Nickolas Daskalou n...@daskalou.comwrote:
I remember reading a thread not long ago (
http://groups.google.com/group/google-appengine/browse_thread/thread/f69fe7dc4a9bc2ec)
about how put()'ing entities with near-sequential key names or IDs could
Hi,
On Tue, Mar 9, 2010 at 5:58 PM, markm208 markm...@gmail.com wrote:
Ah, I see. I'm not a lawyer and I admit I did not read the terms of
service in great detail. Does that violate any app engine terms of
service if I were to sell instances of this app to different schools
like you suggest?
Hi Nick,
Thanks for the reply. I've got a few question below that I'm hoping you can
answer.
On 10 March 2010 22:10, Nick Johnson (Google) nick.john...@google.comwrote:
Hi Nickolas,
On Wed, Mar 10, 2010 at 12:28 AM, Nickolas Daskalou n...@daskalou.comwrote:
I remember reading a thread not
hello
maybe you should try 11 parts so each would be below the max 1MB api
limit. You definitely need separate entities for each part
I use this technique right now to store large images and it does work.
In the future, if Google adds a BlobStore api for manipulating large
files from your app
On Wed, Mar 10, 2010 at 12:35 PM, Nickolas Daskalou n...@daskalou.comwrote:
Hi Nick,
Thanks for the reply. I've got a few question below that I'm hoping you can
answer.
On 10 March 2010 22:10, Nick Johnson (Google) nick.john...@google.comwrote:
Hi Nickolas,
On Wed, Mar 10, 2010 at 12:28
As part of my site about Japan, I have a feature where the user can
get a large PNG for use as desktop background that shows the user's
name in Japanese. After switching my site hosting entirely to App
Engine, I removed this particular feature because I could not find any
way to render text to a
Hi,
My company is a google apps service provider, we migrate users to
google apps for your domain, and we do custom dev.
Basically we don't want to bother our customers with using their
mobile numbers to activate the accounts.
Is there any way we can get around having to use a new mobile number
Hi,
Is there a clean way (without having to change TZ environment
variable) to set the timezone of a property using auto_now so eveytime
my entity is updated time is in the timezone I need.
Thanks in advance
--
Jairo Vasquez Moreno
Mentez Developer
www.mentez.com
Medellin - Colombia
--
You
Hi
it appears that the DateTimeProperty converts to UTC if a timezone is
defined and stored, and you get a naive datetime back from the
datastore, (which has no timezone attached).
Also auto_now etc... creates dates as utc
you can get the date back in whatever timezone you want by re-adding
the
Dear All,
I hope someone can help me with those p.
I need to have a script working every night at the same hour (to work on the
datastore changing some values). How can I do this?
Thanks
Massimiliano
--
My email: massimiliano.pietr...@gmail.com
My Google Wave:
As long as the script doesn't take long, you can use cron jobs. Check
out http://code.google.com/appengine/docs/python/config/cron.html
You'll have 30 seconds to complete your job, same as the amount of
time you have to complete a normal request.
Mark
On Mar 10, 10:01 am, Massimiliano
Thanks
2010/3/10 mstodd toaste...@gmail.com
As long as the script doesn't take long, you can use cron jobs. Check
out http://code.google.com/appengine/docs/python/config/cron.html
You'll have 30 seconds to complete your job, same as the amount of
time you have to complete a normal request.
Just one more information.
cron:
- description: daily summary job
url: /tasks/summary
schedule: every 24 hours
I can just add a class in my main python file and route this url to this
class and I will use the GET method, right?
2010/3/10 Massimiliano massimiliano.pietr...@gmail.com
When the task runs, it does just do a 'GET' on the url, so you simply
need to handle a GET on that url like you would any other.
On Mar 10, 10:47 am, Massimiliano massimiliano.pietr...@gmail.com
wrote:
Just one more information.
cron:
- description: daily summary job
url: /tasks/summary
Still not working until now.
he...@rainbowpurple.com is not a Google Apps account, it's a regular
Google Account.
The issue is not that I can't use a Google Apps account (I can use GAE
just fine with a Google Apps account), but that I can't use my regular
Google Account for GAE *properly*. If
Same case happened me. I have a Google Account with ID same as my Apps
account ID. I shared an app form my gmail id to my app id (google account)
but after accepting the invitation app didn't appear in the account instead
page redirected to /start page. Later when I logged in using my apps account
There's too much queries. I'll try it. Thanks
On Mar 5, 10:36 am, djidjadji djidja...@gmail.com wrote:
In the development environment clear your index.yaml.
Run through your app completely, get every query to execute once.
Your index.yaml contains all the currently needed indices.
Upload
I am planning to integrate an appengine hosted app on custom domain
with the Apps Marketplace. Has anybody done that yet and has
experiences to share ?
One thing I am wondering about is whether the customer has to add on
his Google Apps Admin Panel both, the Market place and the appengine
app
Hi - I've been doing a bit of reading on google applications and the
idea of integrating their applications such to form a complete
product. Especially after reading case studies of small companies
shifting to google and 'customising' google applications.
Basically I have a strong php background
Sorry, maybe you missed address?
petras
On Wed, Mar 10, 2010 at 9:51 AM, Adhi adhi.ramanat...@orangescape.comwrote:
Hi Barry,
Thanks for your reply. I tried in 2 ways
Split the data into 10 parts and
1. Created separate entity for each part (as you told)
2. In a single entity with 10
OK, thanks.
My servlet are all stateless, so it shouldn't be a problem.
But do i get my servlet into app engine?
In tomcat i just put it in the webapps -folder, what is the is the
corresponding action to take here?
On Mar 9, 8:36 pm, Ikai L (Google) ika...@google.com wrote:
App Engine uses the
I would like to create an app whose primary function is to serve
static files to other services on the web. For example, someone might
use my app to reduce the load on their server, or to decrease the
number of files they have to manage in their app. Someone using GAE
might use my app to avoid
What makes you think your government won't just block other IPs used
to serve requests?
On Mar 10, 12:32 am, Will vocalster@gmail.com wrote:
The access is being completely denied.
As of this moment, in China, both your...@appspot.com
andwww.yourdomain.comarebeing served by
You'll want to read up on all the services we offer:
Alfred came over and showed us how to use the workflow weather page:
http://0.prod-appengine.workflow.weather.apphosting.yq.borg.google.com:25962/index-page.html
There's a logjam at IndexThrottler. Is there any way we can reduce the
amount of
Just a simple question :
is it sufficient to do
pm.detachCopy(object);
instead of
object = pm.detachCopy(object);
?
Thanks
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
If you're not using the application for this purpose, you should be
fine. It just sounds like you're writing an application that provides
an API for uploading files for distribution. I don't see any problem
with this.
On Wed, Mar 10, 2010 at 9:59 AM, Riley rileyl...@gmail.com wrote:
I would like
I think '@vwzpix.net' should be '@vzwpix.net'.
On Mar 9, 10:58 am, A1programmer derrick.simp...@gmail.com wrote:
I can tell them, but I'm pretty sure that since I don't own
apphosting.google.com , or am in no way affiliated with it, that
they'll do nothing about it on my behalf.
On Mar 9,
If you want to get the datastore stats page updated to show this
information, then please star:
http://code.google.com/p/googleappengine/issues/detail?id=2740
Philip
On Mar 9, 6:44 am, Magnus O. mag...@magnusottosson.se wrote:
Hi,
I started uploading a hole lot of entities (6 million) a
yeah, define a __unicode__ function for the referenced class.
-John
On Mar 9, 9:03 pm, Randell josephrandell.benavi...@gmail.com wrote:
I found the solution here if anyone is
interested:http://code.google.com/p/googleappengine/issues/detail?id=230(see
first
post).
On Thu, Oct 8, 2009 at
Thanks for the response, but I'm not sure I've been clear. I want to
create App X on GAE, but I am hitting the 3k file limit when I use
Library L. I think to myself, hmm, I could create App Y, whose sole
purpose is to distribute the static files needed in L. In fact, many
people could use Y to
The built-in property classes are not likely to change in future
releases. I've already written an article about extending properties
and am loath to break peoples existing applications (even though it
sometimes happens by mistake - and we then revert those changes):
Albert,
How did you get that working?
When I try to map domains to my app through the Google Apps admin
section, it allows me to add as many subdomains as I want, but it won't let
me add an empty sub domain. Also, what IP address did you set your base
domain (example.com) to point to in
So I know that App Engine prevents working with images greater than 1
MB in size, but I'm getting RequestTooLargeError: The request to API
call images.Transform() was
too large when I call images.resize on an jpg that is 400K on disk.
The dimensions of the jpg are 1600 x 1200, so is it that app
So I'm guessing the answer is no.
On Mar 8, 12:41 pm, todd t...@possibility.com wrote:
It's not mentioned and I don't see it discussed, but is possible to
stream videos from theblobstore? And if it is possible, is it
affordable?
thanks
--
You received this message because you are
I'm wondering how reliable are the app engine logs? If I call
Logger.info(something), and the call succeeds, will the entry
definitely show up in the logs? Or might it sometimes silently fail?
I have some data I have to persist with every request, but I will only
read the data once, about 30
I'm inclined to agree with Ikai on this one. I also think you should be
able to monetize your application any way you wish, providing it's legal.
--
Patrick H. Twohig.
Namazu Studios
P.O. Box 34161
San Diego, CA 92163-4161
--
You received this message because you are subscribed to the Google
When I try to view one of my objects in the Datastore Viewer I get the
error:
A server error has occurred.
Unfortunately, that is all the information is that is provided.
It is a Java object that contains:
Long
String
String
Link
String
boolean
long
boolean
Any ideas?
--
You received this
Hi,
The sso page here does not have any python openid libraries for the
marketplace??
http://code.google.com/googleapps/marketplace/sso.html
Is that an oversigght? is there any way a python google appengine app
can
participate in the marketplace??
Thanks
S. Sriram
On Mar 10, 9:56 am, Roberto
Great, thanks again Nick!
On 10 March 2010 23:47, Nick Johnson (Google) nick.john...@google.comwrote:
On Wed, Mar 10, 2010 at 12:35 PM, Nickolas Daskalou n...@daskalou.comwrote:
Hi Nick,
Thanks for the reply. I've got a few question below that I'm hoping you
can answer.
On 10 March 2010
Rafe, do you think we'll be seeing a db.ModelMixin anytime in the near
future?
On 11 March 2010 10:01, Rafe slobberch...@gmail.com wrote:
The built-in property classes are not likely to change in future
releases. I've already written an article about extending properties
and am loath to
Then we deal with that later. Some people there and across the world are
working hard to reach the ultimate solution, but for now, this is an easy
and quick fix.
Will
On Thu, Mar 11, 2010 at 2:37 AM, Wooble geoffsp...@gmail.com wrote:
What makes you think your government won't just block other
Hi,
i'm working with google app application using java program,for my
application i'm having consumer key and secret key.In my programs
i'm directly using the secret key.But i wish to use encrypted secret
key is it possible, how to work with this concept. I didnt have any
idea about it. Help me.
On Mar 8, 1:22 pm, Iap iap...@gmail.com wrote:
2010/3/7 Richard richar...@gmail.com
How can I get a cron job to run every 20 seconds? Run 3 identical ones
every minute?
This might
help:http://groups.google.com/group/google-appengine/browse_thread/thread/...
cron job generating tasks -
I'm also struggling to port my app to the new marketplace integration
system.
Is there a dedicated Google group to get assistance from the Google
developers or is this Group the right place?
On Mar 11, 3:52 am, molicule molic...@gmail.com wrote:
Hi,
The sso page here does not have any python
Thank you all for the feedback, which I accept. It is a tough call to
decide between open source and closed source, and your feedback makes
me think that the best way is to have 2 offerings : an open-source
core library, available freely, complemented by professional, payable
tools and services
87 matches
Mail list logo