[appengine-java] @Nick - ClassCastException on dev server when using ApiProxy to implement Multi tenancy

2010-04-23 Thread Krishna
Nick (and others who may be able to help), When I tried to implement multi tenancy in my application by following what was described at http://blog.notdot.net/2009/11/App-Engine-Java-API-call-hooks, I got the following exception on my dev server while trying to access localhost/_ah/admin: java.l

[appengine-java] Distributed cache that are globally available, really?

2010-04-23 Thread Phuong Nguyen
>From the document, I found this is how my application obtain the cache: cache = cacheFactory.createCache(Collections.emptyMap()); try { cache = CacheManager.getInstance().getCacheFactory().createCache(Collections.emptyMap()); } catch (CacheException e) { //

[appengine-java] Re: Datastore size growing one way

2010-04-23 Thread vinothkumar
classifs On Apr 24, 4:21 am, "Ikai L (Google)" wrote: > What's your application ID? > > On Wed, Apr 21, 2010 at 8:54 PM, vinothkumar wrote: > > > > > > > Thanks Ikai for a prompt response! > > > Its been more than 24hours now and the datstore still shows up as 40% > > of 1GB usage. > > > Generall

[appengine-java] What is the package for Cache & CacheManager

2010-04-23 Thread Phuong Nguyen
>From the document, it said that the interfaces & classes (Cache, CacheManager) should be in package net.sf.jsr107. However, I couldn't find these interfaces and classes in the GAE 1.3.2 SDK, but rather, I found them in javax.cache. Is it the document obsolete or...? -- You received this message

[appengine-java] Re: org.datanucleus.store.appengine.query.DatastoreQuery$2

2010-04-23 Thread CodeMan
Hi, Can you please take a look at this error.It has been pending for many days and I really don't have any clue. This code works fine on my local machine but when deployed it throws exceptions. This is the class that genarates the error. @ManagedBean() @SessionScoped public class MyTemplates imp

Re: [appengine-java] Wildcard root url-pattern and 1.3.3

2010-04-23 Thread Christian Goudreau
It's failling for everyone. You just have to go back to 1.3.2. Someone from google answered in a post that they're working on that issue. Christian On Fri, Apr 23, 2010 at 11:06 PM, Millisecond wrote: > Trying to deploy my app (noticeorange) with the 1.3.3 runtime is > giving me some hiccups w

[appengine-java] Re: Handling concurrent modification

2010-04-23 Thread Phuong Nguyen
Hi Chau: Thanks for your tips. I've also found one in there: http://appengine-cookbook.appspot.com/recipe/mutex-using-memcache-api/ Pretty good solution to try, though. On Apr 23, 9:53 pm, Chau Huynh wrote: > Maybe you can look into low level API to obtain a > "lock"http://code.google.com/appeng

[appengine-java] Re: Handling concurrent modification

2010-04-23 Thread Phuong Nguyen
Hi James, Thanks for pointing out. But please forgive my bad, what is CAS? (I'm keeping the object for some modification before actually write it to the Datastore) On Apr 23, 8:00 pm, James wrote: > It sounds like you're looking for memcached CAS > -http://groups.google.com/group/memcached/brows

[appengine-java] Wildcard root url-pattern and 1.3.3

2010-04-23 Thread Millisecond
Trying to deploy my app (noticeorange) with the 1.3.3 runtime is giving me some hiccups with my main servlet mapping. I map all requests into this one servlet and then figure stuff out from there. Has worked fine until just now when I tried to upgrade my dev environment to 1.3.3. Only / is mappi

[appengine-java] Re: Mobile login with Google Accounts

2010-04-23 Thread TM
Added to issue tracker #3144. On Apr 23, 5:29 pm, "Ikai L (Google)" wrote: > Can you file a bug here in our issues tracker? > > http://code.google.com/p/googleappengine/issues/list > > > > > > On Fri, Apr 23, 2010 at 12:56 AM, TM wrote: > > I've noticed that if you log into a GAE App via a mobil

[appengine-java] Java Mail API receiving emails on different versions

2010-04-23 Thread Yaw
Hi, Is it possible to send an email just to a particular version of the app and not the default? str...@appid.appspotmail.com Suppose appid = version.appid? Otherwise it makes it difficult to do 'dev' testing before making it 'live' for new mail functionality. And, there is no function to atta

[appengine-java] Geocoding API quickly throwing OVER_QUERY_LIMIT error

2010-04-23 Thread Sekhar
The geocoding API is throwing OVER_QUERY_LIMIT error after just one or two queries for me. The problem is intermittent (was failing consistently and then worked OK for some time just now). This is happening only in production, there doesn't seem to be any such problem in my dev server. I guess this

[appengine-java] NullPointerException on URLFetchService

2010-04-23 Thread hector
I'm sometimes getting a NullPointerException when using the URLFetchService to a web service running on another appspot. In these cases the request does not show up in the other appspot's logs. If I make this request from the command-line, it works fine and I can see the request in the logs. I'm

Re: [appengine-java] Mobile login with Google Accounts

2010-04-23 Thread Ikai L (Google)
Can you file a bug here in our issues tracker? http://code.google.com/p/googleappengine/issues/list On Fri, Apr 23, 2010 at 12:56 AM, TM wrote: > I've noticed that if you log into a GAE App via a mobile device you > get "Sign in to Google App Engine with your Google Account" as the > login text

Re: [appengine-java] Indexes for one field

2010-04-23 Thread Ikai L (Google)
No, we haven't exposed these in the dashboard. There are a few different feature requests in the App Engine Issue Tracker for this (search for index/indexes - doesn't look like we do stemming right in the tracker search, sigh): http://code.google.com/p/googleappengine/issues/list You'll want to f

Re: [appengine-java] Re: Datastore size growing one way

2010-04-23 Thread Ikai L (Google)
What's your application ID? On Wed, Apr 21, 2010 at 8:54 PM, vinothkumar wrote: > Thanks Ikai for a prompt response! > > Its been more than 24hours now and the datstore still shows up as 40% > of 1GB usage. > > Generally, how long does it take to update? > > Also, in the past even when I delete s

Re: [appengine-java] Re: Servlet filter does not work on SDK 1.3.3

2010-04-23 Thread Ikai L (Google)
This is being reported in another thread - there are issues with the filter /* in 1.3.3 when deployed. The workaround is to deploy with 1.3.2. A fix will be coming out shortly for the 1.3.3 SDK. On Fri, Apr 23, 2010 at 1:49 AM, Mabuse wrote: > Hi > > I've the same problem with ServletFilters. I

Re: [appengine-java] May I suggest ... (was: Broken URL Mapping in GAE 1.3.3 ?)

2010-04-23 Thread Ikai L (Google)
I'd feel annoyed, and Windows does do that (forced restart, AHH). I don't think we force you to update, though. The SDK just nags you. I've got Python projects running 1.3.0. On Fri, Apr 23, 2010 at 6:26 AM, Guillermo Schwarz < guillermo.schw...@gmail.com> wrote: > May I suggest that when a

[appengine-java] Re: Database cursor for "back" cursor?

2010-04-23 Thread boustanihani
To achieve this I am saving all corsors (in an ArrayList) on the Client and reusing them for getting bachward pages :) ... this works! What do u think? On 2 Apr., 21:57, Arny wrote: > Hi, > > Is there a way to get acursorto pagebackto a previous page? > If not, whats the point of paging forward o

Re: [appengine-java] QueueFactory and NoClassDefFoundError

2010-04-23 Thread Felipe Quintella Correia
Hi Max, Apparently it was on the classpath, but just after I added this line of code to the projected it stopped complaining about the missing class definition, and now, even after I deleted the print code it continue to run just fine =) I don't know why, but it solved my problem! Hehe Thanks aga

Re: [appengine-java] QueueFactory and NoClassDefFoundError

2010-04-23 Thread Max Ross (Google)
Hi Felipe, Can you print out the value of System.getProperty("java.class.path") while the app is running and see if that jar is listed? On Fri, Apr 23, 2010 at 1:56 PM, Felipe Quintella Correia < felipequintell...@gmail.com> wrote: > Hello again. > > Well, unless I'm overseeing something, I'm pr

Re: [appengine-java] Re: TaskOptions.countdownMillis not used

2010-04-23 Thread Max Ross (Google)
The difference between 2 seconds and immediate isn't much. How are you measuring? Do you have logs that show the time at which the task was enqueued and the time at which it executes? Thanks, Max On Fri, Apr 23, 2010 at 12:31 PM, Fabrizio wrote: > Production. > > > On Apr 23, 3:02 pm, James

[appengine-java] Re: TaskOptions.countdownMillis not used

2010-04-23 Thread Fabrizio
Production. On Apr 23, 3:02 pm, James wrote: > Are you seeing this on the dev server or in production?  I vaguely > recall reading somewhere that the dev server always executes > immediately(??). > > James -- You received this message because you are subscribed to the Google Groups "Google Ap

[appengine-java] Re: TaskOptions.countdownMillis not used

2010-04-23 Thread Fabrizio
delay = 2000 On Apr 23, 12:03 am, "Max Ross (Google)" wrote: > What is the value of the delay variable? -- 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.

[appengine-java] Re: escape characters in strings (maybe related to Broken URL Mapping in GAE 1.3.3 ? )

2010-04-23 Thread Thatcher
It appears, in fact that any file I load via a straight filereader or a url connection is having the back-slash character escaped so \n becomes \\n for example if my source file had var foo = "this is a pig \n oink, oink"; then loading the file into a string is actually var foo = "this is a pig

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

2010-04-23 Thread TiagoP
Same problem here. Any solution? How do I downgrade my plugin version? On Apr 22, 5:24 am, 时空之蕊 wrote: > Me too have the misstake! > It's not effect gae application running!but it's :( > > ubuntu 9.10 64b,Eclipse 3.5,GAE 1.3.3,jdk1.6.20 > > -- > You received this message because you are subscribe

[appengine-java] Re: Update to GAE/J 1.3.2 -> Project in Eclipse broken

2010-04-23 Thread Henri
The problem may be related to the Vaadin eclipse plugin. See http://dev.vaadin.com/ticket/4596 -- Henri Muurimaa On Apr 20, 9:02 am, Dannemano wrote: > Note, I am also MacOSX snow leopard. I have been hacking away in App > Engine and Vaadin before 1.3.2 and it has been working flawlessly. > > I

Re: [appengine-java] org.datanucleus.store.appengine.FatalNucleusUserException

2010-04-23 Thread Chau Huynh
"This is not a valid representation of a primary key for an instance of com.appenginedatastore.model.Gift.' The error message looks self explainable, and you should check if EntityManager.find(Gift, Long) was called. As tip for debug, I would suggest to call find() with an id value you know of exis

Re: [appengine-java] Re: TaskOptions.countdownMillis not used

2010-04-23 Thread Max Ross (Google)
The dev server used to not execute tasks automatically at all but now the functionality emulates prod pretty closely. On Fri, Apr 23, 2010 at 6:02 AM, James wrote: > Are you seeing this on the dev server or in production? I vaguely > recall reading somewhere that the dev server always executes

[appengine-java] escape characters in strings (maybe related to Broken URL Mapping in GAE 1.3.3 ? )

2010-04-23 Thread Thatcher
Im currently getting escape sequences in rendered strings instead of the expected result (eg a newline or tab). It also breaks regular expression that are compiled from a string instead of regex literals (this is actually javascript source running with rhino on gae). I saw several posts that rece

[appengine-java] Re: Servlet filter does not work on SDK 1.3.3

2010-04-23 Thread Mabuse
Hi I've the same problem with ServletFilters. I'm using Gaelyk's URL- Routing and it doesn't work with 1.3.3 but with 1.3.2. Is there an open issue? Stefan -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, se

[appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Martin Voigt
Also starred. We see 404s without end in our wicket/ gae applications. Switching back to a version compiled against 1.3.2 (via appengine.google.com, just recompiling against 1.3.2 and deploying didn't solve it). I hope this will be solved soon. Martin On Apr 23, 12:52 pm, Miroslav Genov wrote:

[appengine-java] Mobile login with Google Accounts

2010-04-23 Thread TM
I've noticed that if you log into a GAE App via a mobile device you get "Sign in to Google App Engine with your Google Account" as the login text. I would like it to read "Sign in to *AppName* with your Google Account". Logging in via a normal browser picks up the application name within it's logi

[appengine-java] Utility for checking compatibility of existing java app

2010-04-23 Thread bruce kr
Hi, Is there any utility available for finding incompatibilities in an existing java app with respect to GAE? . Where I am coming from is that there are may APIs/Specifications not supported by App Engine like JMS/JNDI/JDBC/EJB etc as of now. Before I could port an existing applicatio

[appengine-java] org.datanucleus.store.appengine.FatalNucleusUserException

2010-04-23 Thread vathanak mao
Hi, i got an error as below: javax.persistence.PersistenceException: org.datanucleus.store.appengine.FatalNucleusUserException: Received a request to find an object of type com.appenginedatastore.model.Gift identified by com.appenginedatastore.model.g...@c3362f. This is not a v alid representati

Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Don Schwarz
(I did not do anything.) On Fri, Apr 23, 2010 at 11:21 AM, Dmitry Gusev wrote: > I don't know what you did (if you actually did anything) but I just tried > (again) to downgrade to 1.3.2 and it worked. > > So waiting for 1.3.3 fix. > > > On Fri, Apr 23, 2010 at 20:13, Christian Goudreau < > goudr

Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Dmitry Gusev
I don't know what you did (if you actually did anything) but I just tried (again) to downgrade to 1.3.2 and it worked. So waiting for 1.3.3 fix. On Fri, Apr 23, 2010 at 20:13, Christian Goudreau < goudreau.christ...@gmail.com> wrote: > There's also a problem with cookies. > > ACSID is created ju

Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Christian Goudreau
There's also a problem with cookies. ACSID is created just fine client side. But return null server side. At least, from what I read... I didn't take any chance and removed the check until seeing a fix for it. Christian On Fri, Apr 23, 2010 at 12:01 PM, Don Schwarz wrote: > I've identified a

Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Don Schwarz
I've identified a bug in the 1.3.3 SDK that affected Christian. If anyone is having a problem like this that is *not* fixed by redeploying with the 1.3.2 SDK, please let me know your application ID so I can investigate. If you want a fairly nasty workaround for the 1.3.3 SDK bug that I found, you

Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Christian Goudreau
Update : In my case, switching back to AppEngine 1.3.2 was enough. Christian On Fri, Apr 23, 2010 at 11:34 AM, Christian Goudreau < goudreau.christ...@gmail.com> wrote: > DAMN I should have read this message before... now stuck with the same > problem as the other and no older version. > > Chris

Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Christian Goudreau
DAMN I should have read this message before... now stuck with the same problem as the other and no older version. Christian On Fri, Apr 23, 2010 at 11:29 AM, Don Schwarz wrote: > Also, if you have an old version of your application still deployed that > does not show this problem, please provid

Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Don Schwarz
Also, if you have an old version of your application still deployed that does not show this problem, please provide the version numbers for the working and not-working versions. On Fri, Apr 23, 2010 at 10:25 AM, Don Schwarz wrote: > I am taking a look at this now. Can one (or more) of you reply

Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Don Schwarz
I am taking a look at this now. Can one (or more) of you reply to me privately with app ids that are experiencing problems? On Fri, Apr 23, 2010 at 10:01 AM, Raphael André Bauer < raphael.andre.ba...@gmail.com> wrote: > On Fri, Apr 23, 2010 at 4:48 PM, Miroslav Genov > wrote: > > The problem is

[appengine-java] Re: Error:Server Error

2010-04-23 Thread Anil
I added below lines to web.xml (Based on advice from http://marguspala.com/?p=73&cpage=1#comment-156580) com.sun.faces.enableThreading false That fixed my problem. Thanks, Anil On Apr 22, 6:43 pm, Anil wrote: > Hi, > > I deployed the default web app to the App Engine. > (It works well on m

RE : [appengine-java] Re: Handling concurrent modification

2010-04-23 Thread Romain Pelisse
+1 Why are you looking to that on memcache rather than with the datastore ? It could definitelly be sounded approach, I would just like to know the reasons behind ... Le 23 avr. 2010 15:00, "James" a écrit : It sounds like you're looking for memcached CAS - http://groups.google.com/group/memca

Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Raphael André Bauer
On Fri, Apr 23, 2010 at 4:48 PM, Miroslav Genov wrote: > The problem is not only in GuiceFilter. The problem occurs and when some > filter is mapped to "/*" and is writing some content to the output stream. > My testing app was using only simple filter that was bound in web.xml > directly. I thin

Re: [appengine-java] Handling concurrent modification

2010-04-23 Thread Chau Huynh
Maybe you can look into low level API to obtain a "lock" http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/memcache/MemcacheService.html#increment%28java.lang.Object,%20long%29 There're also sample implementation using this posted in the group https://groups.google.com/gr

Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Miroslav Genov
The problem is not only in GuiceFilter. The problem occurs and when some filter is mapped to "/*" and is writing some content to the output stream. My testing app was using only simple filter that was bound in web.xml directly. Regards, Miroslav On 04/23/2010 05:39 PM, Raphael André Bauer

Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Raphael André Bauer
On Fri, Apr 23, 2010 at 12:52 PM, Miroslav Genov wrote: > Starred. > > Thanks for the assitance keyelo. I hope that problem will soon be removed. +1 That's a huge blocker: 1.3.3 breaks all my com.google.inject.servlet.GuiceFilter based apps... If you use GuiceFilter do NOT upgrade to 1.3.3...

[appengine-java] String datatype

2010-04-23 Thread Timofey Koolin
http://code.google.com/intl/en/appengine/docs/java/datastore/dataclasses.html short text string is 500 characters or 500 bytes? For example Russian characters encoded by two bytes of UTF-8. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java"

[appengine-java] Re: App Engine cold starts and overly aggressive cycling

2010-04-23 Thread Jake
Another wicket user! I'm down to about 2-3 seconds for the WicketFilter init(), which includes the Application init(). Since I figure I'm only allowed about 2-3 seconds, I realized that it was either give up Wicket or give up JDO. So, I swapped out JDO for Objectify and couldn't be happier. You

[appengine-java] May I suggest ... (was: Broken URL Mapping in GAE 1.3.3 ?)

2010-04-23 Thread Guillermo Schwarz
May I suggest that when a new version of gae is available, people can choose which apps to migrate to the new version for some time, until the old versions become unsupported? For example, if 1.3.3 just came out, we could have 4 different versions of gae to choose: 1.3.3, 1.3.2, 1.3.1 and 1.3.0. W

[appengine-java] Re: TaskOptions.countdownMillis not used

2010-04-23 Thread James
Are you seeing this on the dev server or in production? I vaguely recall reading somewhere that the dev server always executes immediately(??). James On Apr 22, 4:21 pm, Fabrizio wrote: > Hello, > > I need to add a task in the TaskQueue. But I need a small delay before > exectution (2 seconds).

[appengine-java] Re: Handling concurrent modification

2010-04-23 Thread James
It sounds like you're looking for memcached CAS - http://groups.google.com/group/memcached/browse_thread/thread/b98fc70ddeb39650/f4febb23a0cd0db7?pli=1 Of course, this all begs the question of what you do if your data is expunged from memcached. Are you not also writing to the datastore (which ha

Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Miroslav Genov
Starred. Thanks for the assitance keyelo. I hope that problem will soon be removed. Regards, Miroslav On 04/23/2010 01:48 PM, kinyelo wrote: Issue opened http://code.google.com/p/googleappengine/issues/detail?id=3138 -- You received this message because you are subscribed to the Google

[appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread kinyelo
Issue opened http://code.google.com/p/googleappengine/issues/detail?id=3138 -- 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

[appengine-java] Re: Servlet filter does not work on SDK 1.3.3

2010-04-23 Thread kinyelo
Same problem but downgrade did not help. Issue opened http://code.google.com/p/googleappengine/issues/detail?id=3138 -- 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...@google

[appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread kinyelo
Same problem looks like filters don't work any more. Downgrade to 1.3.2 did not help. Also index.jsp exists in folder /cms it's not checked when accessing / cms so /cms gives 404 /cms/index.jsp works fine Problem arrived after deployment. Previously deployed applications builded up on 1.3.2 work

[appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread dmitrygusev
My site also become broken in production and now always returning 404 errors :( I tried to downgrade to 1.3.2 but the problem persists. On Apr 23, 4:59 am, Steve Ziegler wrote: > Seeing the same thing with our application's use of guice-servlet. > Tested a deployment using 1.3.3 this afternoon a

[appengine-java] Re: Servlet filter does not work on SDK 1.3.3

2010-04-23 Thread Peter Svedberg
Hi, I have a similar problem with 1.3.3. Deploying a Guice enabled Wave robot with the url-pattern /* for the Guice filter together with a serveRegex("\\/_wave/.*").with(Robot.class) handler mapping throws a 404: No handlers matched this URL. Switching back to 1.3.2 solves the problem. ~Peter O

[appengine-java] Servlet filter does not work on SDK 1.3.3

2010-04-23 Thread Yasuo Higa
Hi, The following filter does not work on SDK 1.3.3 when the path is "/xxx/yyy". MyFilter.java: public class MyFilter implements Filter { @Override public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException