[appengine-java] Re: Application deletion

2012-03-19 Thread Simon Knott
app-id. Cheers, Simon On Monday, 19 March 2012 18:52:12 UTC, Pavel Lisa wrote: > > No, that can’t work, the HRD migration tool doesn’t offer to migrate to > the same application id. > > Dne pondělí, 19. března 2012 18:19:19 UTC+1 Simon Knott napsal(a): >> >> Hi, >

[appengine-java] Re: Application deletion

2012-03-19 Thread Simon Knott
Hi, No it means that the name will no longer be usable, unfortunately. Application names appear to last forever, no matter whether the app has been deleted, so the only way to retain the same app name externally is to use the HRD migration tool. Cheers, Simon On Monday, 19 March 2012 11:27

[appengine-java] Re: Unlimited Channel Quota

2012-02-21 Thread Simon Knott
Hi, Have you tried filling out the quota form<http://support.google.com/code/bin/request.py?&contact_type=AppEngineCPURequest>, referenced from the Quotas documentation<http://code.google.com/appengine/docs/quotas.html#Channel> ? Cheers, Simon -- You received this message

[appengine-java] Re: memcache data after down

2012-02-20 Thread Simon Knott
ck" it would be empty. Cheer, Simon -- 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/-/Qg2OMmgBu1MJ. To post to this group,

Re: [appengine-java] Re: Resource is currently experiencing a short-term quota limit

2012-02-01 Thread Simon Knott
our data? Each persistence framework has a different way of turning off the per-property indexes. It should be noted that if you remove a per-property index, you can no longer query on that property. Cheers, Simon -- You received this message because you are subscribed to the Google Groups "G

[appengine-java] Re: Resource is currently experiencing a short-term quota limit

2012-02-01 Thread Simon Knott
n you must either have a lot of properties, use a lot of list-based properties, or have a lot of composite indexes. Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on

Re: [appengine-java] Re: Logging when using local unit testing

2012-01-31 Thread Simon Knott
the plug-in. Cheers, Simon -- 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/-/xUs4HCrb9e4J. To post to this group, send

Re: [appengine-java] Apache POI spreadsheet autoSizeColumn() throws NoClassDefFoundError

2012-01-29 Thread George Simon K
Hi Mathew, POI uses GAE restricted classes. Please refer to http://code.google.com/p/googleappengine/wiki/WillItPlayInJava Alternate way is to use jxl library. Thanks George On Sun, Jan 29, 2012 at 7:17 AM, Matthew Johnson wrote: > I'm working on an export to XLS service using Apache POI 3.6, a

[appengine-java] Re: Turning off logging for spring security when running in App Engine java

2012-01-29 Thread Simon Knott
Have you tried setting log4j.logger.org.springframework.web=OFF? The log comments aren't coming from the security package. -- 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.g

[appengine-java] Re: Hello world demo isn't working.

2012-01-29 Thread Simon Knott
It looks like you've compiled the Hello World application with JDK 7 - GAE only supports JDK 6 applications currently. Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the w

[appengine-java] Logging when using local unit testing

2012-01-28 Thread Simon Knott
When I get near a computer I'll see what settings I've got. I swear I see log output for my unit tests. Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on

Re: [appengine-java] OAuth and google chrome

2012-01-18 Thread George Simon K
Hi Chris, Solution to your problem can be fixed by moving oauthParameters.setOAuthCallback("http://myappengine/connect.jsp";); after oauthHelper.getUnauthorizedRequestToken(oauthParameters); But this is oauth 1.0 not the updated 1.0.a, means you won't receive a verifer id and will have the yellow

[appengine-java] Re: Oracle JDBC connection in App Engine

2012-01-12 Thread Simon Knott
rface. There is a product in beta for SQL access to a GAE-hosted MySQL instance, but once again this won't allow access to externally hosted databases. Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java"

[appengine-java] Re: Datastore API for free applications.

2011-12-29 Thread Simon Knott
Whilst you don't control the maximum version that GAE supports, it does honour whichever version you've specified in your app configuration file. -- 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 v

[appengine-java] Re: Any inputs for How to use the DataStore for Java?

2011-12-29 Thread Simon Knott
some example of using JDO. Please put a little bit of effort into searching for info! In 2 seconds I pulled up a list of links with other sample apps using Objectify - http://code.google.com/p/objectify-appengine/wiki/BestPractices#Interesting_discussions_related_to_Objectify Cheers, Simon --

[appengine-java] Re: Datastore API for free applications.

2011-12-29 Thread Simon Knott
Which SDK are you developing against - are you actually developing against 1.6+? Do you get any error in your server logs? Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the

[appengine-java] Re: Any inputs for How to use the DataStore for Java?

2011-12-28 Thread Simon Knott
Hi Suresh, It might be worth having a look through some of Brandon's examples at http://code.google.com/p/gwt-examples/ Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion o

[appengine-java] Re: Any inputs for How to use the DataStore for Java?

2011-12-27 Thread Simon Knott
=6 Once you've read all of those, hopefully you will have some more direct questions to ask. Cheers, Simon -- 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.g

[appengine-java] Re: Build a SOAP Server and a SOAP Client on Google App Engine

2011-12-27 Thread Simon Knott
Suresh, a 404 error means that the URL you have pointed your SOAP client at doesn't exist. What URL are you attempting to connect to? -- 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

[appengine-java] Re: singleton in gae different instance

2011-12-23 Thread Simon Knott
Hi, Your best bet is the datastore, as this is probably the most reliable shared service. You could potentially share state in a backend server, but these too have a tendency to go down. Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Googl

[appengine-java] Re: OutOfMemory Exception

2011-12-19 Thread Simon Knott
Well I've just tried an F2 and F3 with exactly the same results - one call to a particular handler just blows the memory completely. Seems to be a general failure around AppStats and Memcache usage today! com.google.apphosting.api.ApiProxy$CancelledException: The API call memcache.Set() was ex

[appengine-java] OutOfMemory Exception

2011-12-19 Thread Simon Knott
run this code since the change to the new instance sizing... Cheers, Simon -- 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/-

[appengine-java] need advise on processing of imported large number of mails

2011-12-17 Thread Simon Knott
Move the processing into the task queue - individual tasks can process for 10 minutes. Cheers, Simon -- 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

[appengine-java] Re: Basic Question Regarding Deploying the apps with Google Engine

2011-12-16 Thread Simon Knott
ient then look at Pubnub. Cheers, Simon -- 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/-/WgE301DKUdUJ. To post to this group,

[appengine-java] Re: Basic Question Regarding Deploying the apps with Google Engine

2011-12-15 Thread Simon Knott
What do you need to use JMS for - connecting to a third-party application, outside of GAE? If not, have you looked at the Task Queue API? Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this

[appengine-java] Re: Indexes - how to deal with them?

2011-12-15 Thread Simon Knott
Ah it would have helped if I'd read your original post - I believe (and I haven't bothered with DataNucleus for a long time) that you need to add that annotation for every property you wish to be unindexed. Cheers, Simon -- You received this message because you are subscribed to

[appengine-java] Re: Indexes - how to deal with them?

2011-12-15 Thread Simon Knott
ll of your entities for the property indexes to take effect for existing entities. Cheers, Simon -- 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/g

[appengine-java] Re: Basic Question Regarding Deploying the apps with Google Engine

2011-12-14 Thread Simon Knott
ur SOAP call doesn't exist - whatever URL you've set up in your app is incorrect. If you try accessing the same URL in your browser, you will get the same error response code. Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Google

[appengine-java] Re: Sample Application using SOAP and webservices using Google App Engine Project

2011-12-14 Thread Simon Knott
nsole logs. Cheers, Simon -- 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/-/YRzN4vAPao4J. To post to this group, send

[appengine-java] Re: Sample Application using SOAP and webservices using Google App Engine Project

2011-12-13 Thread Simon Knott
Hi, Unless your JMS Queue provider supports HTTP connectivity, you will be unable to use JMS on GAE. HTTP is currently the only communication protocol supported on GAE-hosted applications. Cheers, Simon -- You received this message because you are subscribed to the Google Groups "G

[appengine-java] Re: XML reading error.

2011-12-12 Thread Simon Knott
information. Cheers, Simon -- 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/-/t39QvGEKgkkJ. To post to this group, send email

Re: [appengine-java] Frontend Instance Hours - what am i doing wrong?

2011-12-08 Thread Simon Knott
Hi, We actually get 28hrs for free - it allows for a couple of extra instances being spun up by the scheduler on the odd load spike, without having to face charges. Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java&q

[appengine-java] Re: max list properties

2011-11-30 Thread Simon Knott
Another couple of useful links: http://stackoverflow.com/questions/5131247/google-app-engine-datastore-index-cap and http://code.google.com/appengine/docs/python/datastore/queries.html#Big_Entities_and_Exploding_Indexes -- You received this message because you are subscribed to the Google Grou

[appengine-java] Re: max list properties

2011-11-30 Thread Simon Knott
Hi, The limit is actually 5000 indexed properties per entity - see this post for a more detailed explanation: https://groups.google.com/d/msg/google-appengine/1fTct9AO1MY/FmjJBcye9OAJ Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Googl

[appengine-java] Re: exception in 1.60 and unable to run the app

2011-11-25 Thread Simon Knott
That error looks like you are using the wrong version of the supplied DataNucleus library with GAE SDK 1.6 -- 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

[appengine-java] Re: HUGE range (30 seconds+) in startup times

2011-11-24 Thread Simon Knott
A couple of other people in the group have resolved this issue by JARing up their custom classes, rather than loading them up from the WEB-INF/classes. You'll notice that all of your errors come from class resolution or classpath scanning - it seems the file system on GAE is particularly slow,

[appengine-java] Re: Uncaught exception from servlet java.lang.UnsupportedClassVersionError with HelloWorld guest book example?

2011-11-15 Thread Simon Knott
JRE7 isn't supported, you need to use JDK6. -- 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/-/ro2mMcBE-3UJ. To post to this group, send

[appengine-java] Re: GAE app completely down for over an hour due to com.google.appengine.api.memcache.MemcacheServiceException: Memcache put: Error setting single item

2011-10-27 Thread Simon Knott
nt to fail! Cheers, Simon -- 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/-/U5F0drL5LmMJ. To post to this group, send email to g

[appengine-java] Re: GAE app completely down for over an hour due to com.google.appengine.api.memcache.MemcacheServiceException: Memcache put: Error setting single item

2011-10-26 Thread Simon Knott
Can you post one of the exceptions which was thrown from your JSP pages? That seems a little strange to me! -- 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

[appengine-java] Re: Size limit for POST Request ?

2011-10-25 Thread Simon Knott
As far as I can see, from SDK 1.5.5 onwards the following is true: Each incoming HTTP request can be no larger than 32MB. > This came from http://code.google.com/appengine/docs/quotas.html -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java

[appengine-java] Re: unablr to add entities to datastore

2011-10-20 Thread Simon Knott
/docs/java/config/indexconfig.html for more information. Cheers, Simon -- 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/-/rgoH

[appengine-java] Re: Namespaces and filter instances

2011-10-10 Thread Simon Knott
Re-reading your post, I've realised that this is almost what you were proposing anyway - the only difference is that you can't use the init method. You'll need to store the namespace passed into the init method and use it to call the NamespaceManager in the doFilter method. -- You received th

[appengine-java] Re: Namespaces and filter instances

2011-10-10 Thread Simon Knott
And I've just re-read your post - apologies, as this was exactly what you were suggesting and it will work fine! -- 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

[appengine-java] Re: Namespaces and filter instances

2011-10-10 Thread Simon Knott
etter option would be to create a single request filter which interrogates the request context and sets the namespace for that request, or create two filters which just set the correct namespace and apply them to separate URL patterns. Cheers, Simon -- You received this message because yo

[appengine-java] Re: Prerelease SDK 1.5.5 available for download!

2011-10-03 Thread Simon Knott
Wow, great job! -- 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/-/_i2OYZoqR_UJ. To post to this group, send email to google-appengine-j

[appengine-java] Re: ThreadLocal seems not to be working sometimes

2011-09-30 Thread Simon Knott
It's much better practice to set the ThreadLocal as final and static, in my experience. i.e. private static final ThreadLocal localUser = new ThreadLocal(); If you don't do this, then you've got the danger that a separate thread can re-initialise the ThreadLocal between your first and seco

[appengine-java] Re: .A research: how long will your java app instance start up fully?

2011-09-29 Thread Simon Knott
3-4 seconds -- 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/-/eGjoKqAMLQkJ. To post to this group, send email to google-appengine-java@

[appengine-java] Re: Threads

2011-09-18 Thread Simon Knott
There is a very high possibility that your application will run in multiple JVMs, so you should avoid synchronizing between threads. -- 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:/

[appengine-java] Re: disable warmup-requests-enabled

2011-09-14 Thread Simon Knott
have three instances available. However, this will be disappearing with the new pricing structure at the end of the month. Cheers, Simon -- 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 h

Re: [appengine-java] Help: Memcache - not hitting at all

2011-09-13 Thread Simon Knott
Hi, I'd hope that the value is never null, it was just an observation. How long is there between a *putById *and a *hasById*? Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discus

[appengine-java] Re: Can't connect with database

2011-09-13 Thread Simon Knott
Sorry, I should also have added that GAE doesn't currently support PHP either! -- 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/-/--tLa

[appengine-java] Re: Can't connect with database

2011-09-13 Thread Simon Knott
Hi, You can't connect GAE applications to external databases directly. The only external connections which are allowed are connections over the HTTP protocol. Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java&

[appengine-java] Re: Help: Memcache - not hitting at all

2011-09-13 Thread Simon Knott
My only two comments are: - MemCache can contain null values - it wouldn't be the cause of your issue but it's worth checking for null, rather than assuming that the returned value has a length. - Your data will never stay in MemCache for 30 days - how often are your calls betwe

[appengine-java] Re: Google App Engine NO LONGER FOR SMALL DEVELOPERS!!!!!!!

2011-09-09 Thread Simon Knott
When you state that "*As of now, there are no data store reads and writes*", quite clearly there are datastore reads and writes somewhere in your application - if there weren't and Google were miscalculating this, then everyone would be up in arms. If your application is "almost" working as a s

Re: [appengine-java] Data updated using key is not shown when searched through other attribute

2011-09-05 Thread Simon Knott
Have a read of the Development Server info - this explains how to set it from both the command line or through the Eclipse plug-in GUI. -- You received this message because you are subscribed to the Google Groups "Google App Eng

Re: [appengine-java] Data updated using key is not shown when searched through other attribute

2011-09-05 Thread Simon Knott
There isn't an issue because it was designed in - see the SDK release notesfor 1.5.1 The eventual consistency of queries can and will happen in Production - if you are using the High Replication datastore in Production, read all of t

[appengine-java] Re: Data updated using key is not shown when searched through other attribute

2011-09-05 Thread Simon Knott
I strongly suggest you read the documentation about the datastore around queries- what you're experiencing is the eventual consistency of queries, which can occur in Production and is highlighted in the development environment.

[appengine-java] Re: URLFetch Http Method "DELETE" returns http response 400

2011-09-05 Thread Simon Knott
You may want to raise a Production issue, if this is happening after you've deployed the code: http://code.google.com/p/googleappengine/issues/entry?template=Production%20issue -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To vi

[appengine-java] Re: Loading requests timeout with DeadlineExceededException while reading classes

2011-08-31 Thread Simon Knott
How are you deploying your classes? Under WEB-INF/classes, or as a custom JAR file? Another developer posted that they had a massive performance improvement deploying their classes in a JAR file - see https://groups.google.com/d/msg/google-appengine/Gl7OaMOHJD8/i_ti0KceockJ for the relevant t

[appengine-java] Re: Session/Cookie problem with redirect

2011-08-28 Thread Simon Knott
You're not placing anything in your session which isn't serializable are you? Given that everything seems to be failing when it's starting up a new instance, which is when it will attempt to read the session out of the datastore/memcache, it may be that it can't deserialize your data. -- Yo

[appengine-java] Re: Always On not working properly

2011-08-26 Thread Simon Knott
I should add that, as far as I'm aware, GAE is still in beta - it is due to come out of beta by the end of the year I believe. -- 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://group

[appengine-java] Re: Always On not working properly

2011-08-26 Thread Simon Knott
Are you talking about static resources, or your Java compiled code? The former can be cached on the front-end servers, so you need to use some cache-busting techniques to get around that if you are updating static resources. I can't say I've ever experienced issues with Java code being stale.

[appengine-java] Re: Problem with Memcache

2011-08-26 Thread Simon Knott
r<http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/memcache/MemcacheService.html#setErrorHandler%28com.google.appengine.api.memcache.ErrorHandler%29>method. Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Google App Engine fo

[appengine-java] Re: Problem with Memcache

2011-08-26 Thread Simon Knott
ache still has data in it. Cheers, Simon -- 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/-/3lpWncVnM70J. To post to this g

[appengine-java] Re: Problem with Memcache

2011-08-26 Thread Simon Knott
store. Cheers, Simon -- 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/-/aNSmEbdvcy0J. To post to this group, send email to g

[appengine-java] Re: how to port application from the AppEngine to other webcontainers, e.g.Jboss or tomcat?

2011-08-25 Thread Simon Knott
Is this a serious question? Your web app's WAR can just be installed into JBoss or Tomcat - then all you'll have to do is rewrite all of your code which uses the datastore, memcache, and any of the other GAE SDK APIs... -- You received this message because you are subscribed to the Google Grou

[appengine-java] Re: Always On not working properly

2011-08-25 Thread Simon Knott
There have been a few threads discussing this recently. It appears that they are bringing in the new instance scheduler in the background, which will eventually replace the "Always On" concept. Unfortunately this has the side effect that the current Always On instances aren't being used in the

[appengine-java] Re: java.net.DatagramPacket supported ?

2011-08-24 Thread Simon Knott
There is no way to query a server using UDP packets on GAE - the only supported transport protocol is HTTP. -- 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/

[appengine-java] Re: Java PaaS shoutout

2011-08-18 Thread Simon Knott
Hmm not sure where I got February from - replace all references to February with April! -- 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-jav

[appengine-java] Re: Java PaaS shoutout

2011-08-18 Thread Simon Knott
Comments below - I'd say that the person who wrote the article did very little research, or was using some very out of date resources, if that article was really written in Feb this year. On Thursday, 18 August 2011 10:57:34 UTC+1, Thomas Wiradikusuma wrote: > > Hi guys, > > I just stumbled upo

Re: [appengine-java] Re: date comparison fails

2011-08-17 Thread Simon Knott
Hi, Have you tried the following on the Calendar object? today.set(Calendar.MILLISECOND, 0); Cheers, Simon -- 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.go

Re: [appengine-java] Re: date comparison fails

2011-08-16 Thread Simon Knott
Hmm, can you please check the milliseconds components of both the stored object and your query object. You're resetting all properties of the time apart from the milliseconds bit! -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group.

Re: [appengine-java] Re: date comparison fails

2011-08-16 Thread Simon Knott
Can you post your Entity class, with annotations, and the code for setting up the "today" variable in the query? My only guess at the moment is that the millisecond component of the date is not equal. -- You received this message because you are subscribed to the Google Groups "Google App Eng

Re: [appengine-java] Re: date comparison fails

2011-08-16 Thread Simon Knott
A few questions: - Is this happening on your development or production server? - Have you created any custom indexes? - Also, have you turned off property indexes at all? Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Googl

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

2011-08-16 Thread Simon Knott
A few questions / comments: - How many instances can you see being started in your GAE application, in the admin console? This code only works on the assumption that you have one JVM running and it's very likely that you have more than one. i.e. To put it bluntly, this code is al

[appengine-java] Re: QUOTAs, usage limits

2011-08-16 Thread Simon Knott
It means that you will very likely require a proxy server in the middle. GAE doesn't allow you to present a single, static IP address and all GAE-hosted applications will be detected as the same IP range - I know for Twitter / Facebook there have been a number of developers who have hit "thei

[appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-15 Thread Simon Knott
There is another thread for this issue, on the main GAE forum, which has been answered by a Googler - https://groups.google.com/d/msg/google-appengine/Zx85suFS3zc/o5SeyhH4eSkJ -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To vi

[appengine-java] Re: Multiple PersistenceManagerFactory with Singleton?

2011-08-10 Thread Simon Knott
If that was your original code, that could definitely cause the problem - two threads can both hit that method at the same time and create a new PersistenceManager. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this dis

[appengine-java] Re: Entity modelling

2011-08-09 Thread Simon Knott
Given that the target GAE datastore should be optimised for reads, since writes are expensive, normalization of data is by no means the way to go. Are Categories and Groups joined in any way? i.e. Has a specific Category got a set of groups, or the other way around? If not, then storing the gr

[appengine-java] Re: Multiple PersistenceManagerFactory with Singleton?

2011-08-09 Thread Simon Knott
Whilst I don't know what could cause this error, what makes you believe that "static" and "static final" are equivalent? Static variables are in no way implicitly final. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view th

[appengine-java] Re: Slow DataStore on the Development Server after update

2011-08-05 Thread Simon Knott
Are you experiencing into the new functionality of the SDK, which is emulating the eventual consistency of a High-replication datastore? This is turned on by default in the newest SDKs - see this post for more info - https://groups.google.com/forum/#!topic/objectify-appengine/ECNbSVgEcSQ -- Y

[appengine-java] Re: Reading static XML file on App Engine

2011-07-19 Thread Simon Knott
Oops, read that link without any coffee! It obviously states that you *can*use the FileInputStream class - have you tried dropping the "war" bit off your filepath? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this dis

[appengine-java] Re: Reading static XML file on App Engine

2011-07-19 Thread Simon Knott
The link you've provided states that you can't use FileInputStream, as it's not a whitelisted class. Have you tried placing the XML file into your classes directory and using getClass().*getResourceAsStream()?* -- You received this message because you are subscribed to the Google Groups "G

Re: [appengine-java] Re: @Google: Are you working on UserService running with OpenId?

2011-07-14 Thread George Simon K
Hi Daniel, Were you able to figure out Step2 integrated with UserService. Your help greatly appreciated. Thanks George On Thu, Mar 18, 2010 at 6:03 AM, Conor Power wrote: > would be great if you could share your solution with the community ... > > > > On Wed, Mar 17, 2010 at 8:11 PM

[appengine-java] Re: Usage of this forum

2011-06-15 Thread Simon Knott
Hi, I suspect that it is because your last few posts have been asking questions about only GWT - if you keep you GAE questions in this forum and the GWT questions in the GWT forum, I suspect you'll get more responses! Cheers, Simon -- You received this message because you are subscrib

Re: [appengine-java] can we use Spreadsheet api in GAE Java?

2011-06-02 Thread George Simon
Hi Rambo, First update appengine-web.xml by adding Also refer to the simple steps from Google http://code.google.com/apis/spreadsheets/data/2.0/developers_guide_java.html Thanks George On Thu, Jun 2, 2011 at 1:56 PM, Rambo wrote: > Hi friends...! > >Am new to Google app engine

Re: [appengine-java] Unable to find the webapp directory

2011-05-31 Thread George Simon
dev_appserver.cmd *"*C:\Program Files\GoogleAppEngine \appengine-java-sdk-1.3.0\demos\guestbook\war*"* On Mon, May 30, 2011 at 3:05 PM, Suresh wrote: > hi > > i have just installed the java sdk. after extracting the files from > the appengine-java-sdk-1.3.0 jar, I am trying to start the server >

[appengine-java] Gmail IMAP and SMTP using OAuth

2011-05-30 Thread George Simon
APPS and I am looking to send mails on behalf of the logged in user. Any thoughts on this? Thanks in advance George Simon -- 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: Index Names now throwing an error

2011-05-05 Thread Simon Knott
How have you managed to create a Java property which starts with a number? -- 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: java.lang.IllegalArgumentException: query not found

2011-04-21 Thread Simon Knott
Hi, What version of the SDK are you using? The increase to the time allocated for backgrounds tasks only took place in v1.4 onwards. Also, there was a bug in the development server pre version 1.4.3, which meant that the tasks didn't have a 10 minute timeout. Cheers, Simon -- You rec

[appengine-java] Re: Cheapest way to update a versioned object?

2011-04-20 Thread Simon Knott
Just be warned that some users were complaining that their entities were being flushed within seconds, a couple of months ago. I personally haven't experienced this, however. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To po

[appengine-java] Re: Two fields of sister classes in an entity!

2011-04-20 Thread Simon Knott
What storage mechanism are you using JPA or JDO? I'm assuming that if you've got the error message for your Card object, that it would be a two-minute job to test the scenario you're querying about. Cheers, Simon -- You received this message because you are subscribed to th

[appengine-java] Re: How to log user generated traffic per user

2011-04-18 Thread Simon Knott
c pages as well. You won't be able to capture specific user data for static entities unless you deliver them to end users via some servlet-delivery mechanism. Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" grou

Re: [appengine-java] Re: Custom security for servlets

2011-04-14 Thread Simon Knott
role1,role2,role3 role1Only com.company.RoleFilter roles role1 allRoles /everyone/* role1Only /someOtherUrl/* Cheers, Simon -- You received this message because you are subscribed to the

Re: [appengine-java] Re: Mem cache

2011-04-14 Thread Simon Knott
The stats are obviously completely dependent on how you write your code, the balance between reads/writes and how much you are able to cache. Underlying stats and fluctuations for each of the services can be seen at http://code.google.com/status/appengine Cheers, Simon -- You received this

[appengine-java] Re: Using Concurrent Requests and java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.reflect)

2011-04-13 Thread Simon Knott
anner. Cheers, Simon -- 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-appengin

[appengine-java] Re: Datastore Stats for High Replication

2011-04-13 Thread Simon Knott
Hi Stephen, Now that you mention it, my data also seems to be stuck - my entity count and storage used hasn't changed, despite the stats supposedly being updated twice today... Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Google App

[appengine-java] Re: Datastore Stats for High Replication

2011-04-13 Thread Simon Knott
I get datastore stats on my HR apps. They are updated every 5 or 6 hours - is your app new? -- 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 unsubscr

[appengine-java] Re: The more task queues the smaller overall execution rate??

2011-04-12 Thread Simon Knott
Hi, In your first scenario, by setting a maximum of one concurrent task, unless your tasks are taking 0.01 seconds to run you will never hit 100/s. How long do your tasks take to run on average? Can you paste a sample of one of your queue configurations? Cheers, Simon -- You received this

[appengine-java] Re: Custom security for servlets

2011-04-08 Thread Simon Knott
Hi, In what way is it not working? Cheers, Simon -- 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

  1   2   >