[appengine-java] I have an error here with the Google App Engine

2011-11-24 Thread Thomas Z.
Here's exactly what it says: Over Quota This Google App Engine application is temporarily over its serving quota. Please try again later. _ I was browsing the internet and found a site called: www.playalterego.com and i

[appengine-java] Re: Show project: Neytap (classifieds)

2011-11-21 Thread Thomas Wiradikusuma
y interesting project. I have a question: how do you deal with > authentication? Have you tried to integrate the Facebook > authentication with Google App Engine? > > Thank you > Michele > > On Nov 20, 9:52 pm, Thomas Wiradikusuma > wrote: > > > > >

[appengine-java] Show project: Neytap (classifieds)

2011-11-20 Thread Thomas Wiradikusuma
Hi guys, Last night I launched my pet project to public, www.neytap.com. It's a (very) simple classifieds for room rentals inside Facebook. It runs on GAE/Java and written in Scala, using just Servlet/JSP in the server. I tried Spring but given up. Other than that, it uses: Objectify, StringTemp

[appengine-java] Re: Serious Performance Issues Due To Constant Startup of New Instances

2011-10-23 Thread Thomas Wiradikusuma
I was using Spring, Spring Security, Sitemesh, JSP and Objectify. Sometimes I experienced deadline exception (remember last time request timeout was set to 30sec). Now that I use JSP, Servlet, Objectify and custom Sitemesh, it takes less than 5secs to warmup. On Oct 24, 3:16 am, Miroslav Genov

[appengine-java] Re: Upload attachments Google Sites

2011-08-23 Thread Thomas Wiradikusuma
Hi Ikai, Just wondering, is it possible if instances are given limited space "temp" dir where programs can write to it? It will greatly help 3rd party frameworks which use file system for temp data. On Aug 24, 5:53 am, "Ikai Lan (Google)" wrote: > Hah, I should have looked at the code. Yeah, my

[appengine-java] Java PaaS shoutout

2011-08-18 Thread Thomas Wiradikusuma
Hi guys, I just stumbled upon this article: http://www.ibm.com/developerworks/java/library/j-paasshootout Are these constraints/limitations still valid? (the article date is April 2011) "GAE forces any application-initiated connection to close after 5 to 10 seconds" "But its raw performance is

[appengine-java] Re: Gaelyk 1.0 is here, the lightweight Groovy toolkit for Google App Engine

2011-08-05 Thread Thomas Wiradikusuma
Guillaume, congrats to Gaelyk and all its developers! Glad to hear it's now version 1.0! I'm currently developing "admin console" for my app, so far so good :) On Aug 6, 10:00 am, Guillaume Laforge wrote: > Hi all, > > I'm very happy to announce the *final release of Gaelyk 1.0*, the > lightweigh

[appengine-java] Re: When to use a String as ID? (using Objectify and GWT)

2011-06-15 Thread Thomas Wiradikusuma
Sorry for the stupid question, but in what scenarios would we need to allocate id? Usually if I need the id to be something, i just use string (e.g. email address), otherwise, just let datastore set it for me (when persisting). On Jun 15, 6:26 pm, Drew Spencer wrote: > Just one question - the Da

[appengine-java] Re: AccessControlException java.io.FilePermission

2011-05-10 Thread Thomas Wiradikusuma
Btw this is the console output (I'm using IntelliJ): /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java - javaagent:/java/appengine-java-sdk-1.4.3/lib/agent/appengine-agent.jar -XstartOnFirstThread -javaagent:/java/JRebel/jrebel.jar -noverify - Dfile.encoding=MacRoman -classpath /j

[appengine-java] AccessControlException java.io.FilePermission

2011-05-10 Thread Thomas Wiradikusuma
Hi guys, I don't know why, recently I always get this error everytime I run GAE/ J. HTTP ERROR 500 Problem accessing /index.jsp. Reason: Request processing failed; nested exception is java.security.AccessControlException: access denied ("java.io.FilePermission" "/Users/wiradikusuma/Document

[appengine-java] SystemProperty.environment.value() throws "NPE: Name is null" in Play Framework

2011-05-01 Thread Thomas Wiradikusuma
Hi guys, I was playing with Play Framework and Objectify, then I hit this problem. Whenever I add @Cached to any entity, the entity can't be put. The detail is here: http://groups.google.com/group/objectify-appengine/browse_thread/thread/de298fe07741cd53 Jeff Schnitzer suggested me to try execut

[appengine-java] Re: Which one is best for development...Spring Framework or Servlet& Jsp....

2011-04-20 Thread Thomas Wiradikusuma
I'm also using Spring MVC and Spring Security. I tried to ditch Spring in favor of Guice, but in the end I couldn't live without it. Form handling, i18n, security, etc, everything make me go back to Spring :) I use manual wiring, so performance is acceptable. I no longer get timeout when first loa

Re: [appengine-java] Using Text instead of String - Problem?

2011-04-16 Thread Thomas Riley
I see, thanks. Only problem is, doesn't toString() only return 70 chars or will .getValue().toString() return the whole 'string' in it's true form? -- 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

[appengine-java] Using Text instead of String - Problem?

2011-04-16 Thread Thomas Riley
Hello all, In my app engine project I have been storing values in the datastore as Text (com.google.appengine.api.datastore.Text) instead of String as I expect the value may be greater than 500 sometimes. It all works great bar one problem. When extracting the Text value and converting it to a

[appengine-java] HTTP Post not working

2011-04-15 Thread Thomas Riley
Hello, I'm using GAEJ as the back end for my Android application and have implemented Cloud to Device Messaging for Android (C2DM). I have everything working bar one bit of code. The Servlet that is executed in a TaskQueue refuses to execute correctly. The code includes a HTTP POST that is tec

[appengine-java] How to model object with lots of small properties

2011-04-09 Thread Thomas Wiradikusuma
Hi guys, I want to model an object with lots of small properties, e.g.: House { boolean hasAirCond, boolean hasInternet, boolean nearSchool, etc; } Is this naive way the best way to model it? Is there any better "GAE- way" to do this? -- You received this message because you are subscribed t

[appengine-java] Re: Happy Birthday Google App Engine !!

2011-04-06 Thread Thomas Wiradikusuma
I agree with Rajkumar, GAE/J is a very important service, especially for indie Java developers like me. The service is getting better, and the developer groups are vibrant. Happy Birthday GAE! regards, Thomas Wiradikusuma On Apr 7, 12:17 pm, Rajkumar Radhakrishnan wrote: > Hi, > > It

[appengine-java] Re: URL Fetch java.io.IOException

2011-04-04 Thread Thomas Visser
It looks like there's a bug in the 1.4.3 development server regarding to POST requests. It worked for me again when I removed the Content- Length header parameter. On Apr 4, 3:51 pm, Peter wrote: > Hi > > I have an application running on gae and another client application > running on a local dev

[appengine-java] Re: HTTP POST failing in dev environment with SDK 1.4.3

2011-04-03 Thread Thomas Visser
I also experienced it using the dyuproject library for OpenID authentication. It remained working fine on the app engine and I managed to get it to work locally as well by removing the Content- length header parameter. On Apr 2, 12:33 pm, rml wrote: > I have an issue with local development server

[appengine-java] Re: GAE implementation of java.util.concurrent....

2011-03-31 Thread Thomas Visser
The GAE SDK uses java.util.concurrent classes internally so I guess they do work. However, I've never used them because when I need locking, it should be application-wide. With java.util.concurrent you can only achieve locking within an instance. Or am I wrong here? On Mar 31, 12:55 pm, dilbert w

[appengine-java] Re: GAE with JPA and multiple jars

2011-01-31 Thread Thomas
mmm looks like i just forgot to add the class to my persistence unit after all -- 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 g

[appengine-java] GAE with JPA and multiple jars

2011-01-31 Thread Thomas
I try to create a GAE webapp that is using a "model" jar where i have my JPA entity classes. My war file includes the model.jar in the WEB-INF/lib directory My entity class is like this: package com.example.model; import java.io.Serializable; import com.google.appengine.api.datastore.Key;

[appengine-java] Sending email from Java dev server

2010-12-22 Thread Thomas Oldervoll
il does not work. Thomas -- 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 google-appengine-java+unsubsc

[appengine-java] Re: Problem switching to 1.4.0 - JSP compilation fails

2010-12-10 Thread Thomas Meyer
only exists locally on the development server. If you deploy it to the app engine servers the mappings will work. Best, Thomas On Dec 10, 9:10 am, "l.denardo" wrote: > Thank you Ikay and Starman. > I'll try to use auto mapping, and verify everything's fine in > production

[appengine-java] Re: 1.4 eclipse plugin

2010-12-07 Thread Thomas Meyer
I have the same problem - .jsp's work fine after moving the App Engine SDK to the top of the Order and Export list, but JSP-mappings don't work. I can also confirm that it works on the App Engine servers, deployed with the 1.4 SDK. Mac OS X 10.6.5 Eclipse SDK, Version: 3.5.2 Google Plugin for Ecl

[appengine-java] Tic Tac Toe not there

2010-12-02 Thread Thomas Wiradikusuma
I just read 1.4.0 release announcement, congrats to GAE team! Btw the sample project doesn't seem to exist http://code.google.com/p/java-channel-tac-toe/ -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send

[appengine-java] Sync datastore between server and local

2010-11-04 Thread Thomas Wiradikusuma
Hi, Is there any way to "sync" data in datastore between server (live) and local (localhost)? I have some test data that I want to make available to both environments. Another question: I'm splitting the web to "front-facing" webapp and "admin panel" webapp: web.latest.myapp.appspot.com and admi

[appengine-java] Batch put for JDO objects

2010-09-30 Thread Thomas Bean
I have about 5 JDO objects that I want to write to the datastore simultaneously. From other posts, it looks like you have to use the low-level API to do this. Here is what I'm trying: ArrayList objectsToSave; // Create Entity objects from the keys of the JDO objects DatastoreService datastore =

[appengine-java] Re: Gaelyk 0.5 released, with images, urlfetch, capabilities services enhancements

2010-09-28 Thread Thomas Wiradikusuma
Hi Guillaume, congrats on the release! On Sep 27, 10:33 pm, Guillaume Laforge wrote: > Hi all, > > This is with great pleasure that I'd like to announce the *release of Gaelyk > 0.5*. > > Gaelyk 0.5, the *lightweight Groovy toolkit for Google App Engine*, is a > significant release adding a lot

[appengine-java] Re: Redirect 404 with Jetty

2010-09-15 Thread Thomas P.
with redirecting 404 errors within a special directory to a special file. Hope for help :-) Kind regards, Thomas On 16.09.2010 08:15, Thomas P. wrote: Good Morning! I've got a directory structure like following: war war/images war/images/0 war/images/1 ... war/images/10 Now, I would l

[appengine-java] Redirect 404 with Jetty

2010-09-15 Thread Thomas P.
out, there are properties like and for the web.xml file but they seem to work globally. I only want to redirect 404-errors within the image directory. Does someone know how to do this with jetty? Thx in advance! Thomas -- You received this message because you are subscribed to the Google

[appengine-java] Problem starting a GWT (with jetty) app via LAN

2010-09-13 Thread Thomas P.
to be able to run my compiled GWT project in my lan again? Thx for help! Best regards, Thomas -- 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

Re: [appengine-java] Re: app eng java plugin not compatible with helios

2010-09-07 Thread Thomas P.
Hi, Don't understand ... Here everything is listed fine ... Can't be easier: http://code.google.com/intl/de-DE/eclipse/docs/getting_started.html Best regards, Thomas On 08.09.2010 08:06, Jeroen Lapre' wrote: Hi Kathrin, I tried your suggestion, and it looks like it&#

Re: [appengine-java] app eng java plugin not compatible with helios

2010-09-06 Thread Thomas P.
I think you did something wrong ... I've been working with GAE+GWT with Helios for about 4 weeks now and everything works fine ... Best regards, Thomas On 05.09.2010 19:33, syntheticperson wrote: I tried to install google app engine java plugin for eclipse, but it does not appear

[appengine-java] Using datanucleus datastore without google app engine

2010-09-05 Thread Thomas P.
local version of datastore perform in a real web application with many users using it concurrently? Or should I switch to mysql? Thx for help! All the best, Thomas -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group

[appengine-java] Image Service Factory interpolated makeresize

2010-09-03 Thread Thomas P.
s no way getting hands on the image rawdata. Does someone know a trick how I could generate interpolated thumbnails? Thx in advance, Thomas -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this grou

[appengine-java] (datastore) One large query vs lots of small ones

2010-09-02 Thread Thomas P.
Good morning, I have to fetch about 100 items from the datastore and I considered doing it this way: select from ... where x == 5 || x== 9 || x==30 || x==2 || x==0 || x==150 || ... The thing is ... I would have to append lots of "x == ... ||". This could be 100, in the most cases less than 10 bu

[appengine-java] 2dGraphics for GAE

2010-09-02 Thread Thomas P.
java servlets for an extra tomcat server ... Help would be very appreciated! All the best, Thomas -- 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...@googlegrou

[appengine-java] Re: PDF Files

2010-07-20 Thread Thomas
Hi: You can't let GAE/J Blobstore API serve the blob for you. You have to read the blob content and serve by yourself. This approach reduces to normal/regular pdf file download which is trivial. On 7月19日, 下午10時36分, chrischelmi wrote: > You are right conor, i set the content to application/pd

[appengine-java] Re: App Engine Java servlet clearing my Content-type Header for form POST from python

2010-07-20 Thread Thomas
Hi: I don't think so. I have uploaded lots of files onto production server without any problem. I guess the problem was due to your python script. Anyway you can unit test your upload handler of the production server with a browser. If the browser can upload files successfully, you can be sure

[appengine-java] Re: Must only return a redirect from a Blobstore upload callback??? What does it mean?

2010-07-20 Thread Thomas
I forgot to metion that If you used jsp as handler, you should call the response.sendRedirect(...) in your jsp's scriptlet. -- 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...@

[appengine-java] Re: Must only return a redirect from a Blobstore upload callback??? What does it mean?

2010-07-20 Thread Thomas
Hi: The below document is copied from Blobstore doc. ( http://code.google.com/intl/en/appengine/docs/java/blobstore/overview.html ) To prompt a user to upload a Blobstore value, your app presents a web form with a file upload field. The app generates the form's action URL by calling the Blobs

[appengine-java] Re: Uploading to blobstore gives OutOfMemoryError

2010-07-05 Thread Thomas
ed to upload lots of blobs without any problems. On 7月6日, 上午10時07分, Adrian Petrescu wrote: > Hi Thomas, > > Thanks for your reply :) But I'm not sure what you mean by "a plain normal > HttpServlet#doPost to handle the upload"; in what sense am I not doing that? > Do you

[appengine-java] Re: Uploading to blobstore gives OutOfMemoryError

2010-07-05 Thread Thomas
Hi: I read the post on Stack Overflow. My opinion is that you had better use a plain normal HttpServlet#doPost to handle the upload. I also encountered 500 Internal Server Error, but it worked well after I replace original handler with a plain servlet. Hope the above helps! On 7月6日, 上午8時25分, Adr

[appengine-java] Question about Blobstore billing

2010-07-02 Thread Thomas
Hi all: I have enabled billing for one of my sites. My question is that if I disable billing, will the already uploaded blobs still be served (by calling blobstoreServcie.serve(.) ) normally or there will be an exception? -- PS: Welcome to visit my above mentioned site ( which I build for my

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-15 Thread Thomas
Hi Rahul: For the official documentation please refer to http://code.google.com/intl/en/appengine/kb/java.html#Should_I_Run_A_Cron_Job On 6月15日, 下午11時27分, Rahul wrote: > Jake, > > Thanks for giving me a heads up about this. > I have read that post in past but is there any official documentat

[appengine-java] Re: Session object or memcache?

2010-06-12 Thread Thomas
Session is cached in memcache and persisted to datastore. So when loading request occurs it won't be lost if it is not expired. You can view session (_ah_SESSION) data with datastore viewer. On 6月11日, 下午11時09分, Rahul wrote: > No doubt if your application is low traffic you will definitely need >

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-11 Thread Thomas
Hi: You can define the dao interfaces and write the implementation of the interfaces with datastore low level api or some fast startup framework other than JDO or JPA. If you need to migrate to other platform which supports standard RDBMS, you implement the dao interface with JDO, JPA or JDBC.

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-11 Thread Thomas
Hi Mark: The 4.5 seconds is for struts 1.2 in my case. The startup time of 1.3~3.9 seconds is reported by using a more lightweight framework (slim3). Please refer to http://groups.google.com/group/slim3-user/browse_thread/thread/e9d2f7a52f3408 On 6月11日, 下午7時32分, Mark wrote: > Hi, just joinin

[appengine-java] Re: App Engine Scalability

2010-06-10 Thread Thomas
Hi: Please see http://groups.google.com/group/google-appengine-java/browse_thread/thread/f4a4bee6af04ba26 for more detail. -- 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-

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-07 Thread Thomas
Hi Jake: By default, all css/image files should be treated as static files. It seems that your css/image files were not served as static files. I think you should check your static files setting. Please refer to http://code.google.com/intl/en/appengine/docs/java/config/appconfig.html#Static_Fil

[appengine-java] Re: Is get-by-key for efficient than a query based on a string property that holds a GUID?

2010-06-05 Thread Thomas
Hi Chris: The byte array can not be used in query. The only choice for searchable GUID field is a String. On 6月6日, 上午11時39分, DutrowLLC wrote: > Additionally, what is the best type of Object to pass into the Entity > as the GUID?  An Ascii85 string? A byte array consisting of the 16 > bytes m

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-05 Thread Thomas
Hi Jake: I am curious about how do you know there were 2 startup during one request? Did you submit an issue about the phenomenon? On 6月6日, 上午2時34分, Jake wrote: > Hey Thomas, > > I get it all the time - to the point where all of my demonstration > applications are using the

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-03 Thread Thomas
On 6月4日, 下午12時02分, Jake wrote: > I understand that there can be problems with everyone having a full- > time reserved JVM.  My problem is simply that the instance restarts > too frequently.  I mean, honestly, one SINGLE page request results in > TWO application restarts?  Even if you get it down t

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-03 Thread Thomas
Hi Tin: > I'm VERY VERY agree with this, the instance restarting is TOO > frequently, even we just use Servlet + JSP the performance still can't > be accepted. I don't think this'e a reasonable behavior of a > production web container. In your case, the problem is due to JAP. If you want to h

[appengine-java] Re: I need facebook to connect with my dev server, how i configure jetty?

2010-06-03 Thread Thomas
See my post in the http://groups.google.com/group/google-appengine-java/browse_thread/thread/dce94c4deedd88e1/d506eebfd526b893 thread. -- 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: Performance issue for GAE auto-restart

2010-06-03 Thread Thomas
>     I use struts 1.2.x + Spring 2.0 initially. But quickly I realized > I had to get rid of Spring in order to decrease the startup time. So I > wrote a TidyDelegationProxy (tidy means TIny DependencY injector) to > replace Spring's struts proxy. I successfully reduced the startup CPU > time from

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-03 Thread Thomas
IMHO, 'Pay to reserve a JVM' is much more reasonable. Although everybody likes free lunch, but the resources will be wrongly allocated eventually. For example, the rival company of Google can legally eat up all its RAM by submitting tremendous amount of huge size application if there is no recy

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-03 Thread Thomas
Sorry! I made a mistake. The GAE for Business page ( http://code.google.com/intl/en/appengine/business/ ) doesn't mention anything about loading request. The No#1 approach is void. On 6月3日, 下午5時08分, Thomas wrote: > There are three common approaches. > > 1. Use App Engine for Busin

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-03 Thread Thomas
There are three common approaches. 1. Use App Engine for Business. 2. Wait for 'paid to reserve JVM feature'. 3. Use lightweight framework. -- 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 googl

[appengine-java] access denied (java.lang.RuntimePermission setFactory)

2010-05-23 Thread Thomas Riley
I was working on my App Engine project last night and it seems I must have broken something (code of a night must be a bad idea!) I have no idea what I have done, can anyone seen this error before? HTTP ERROR 500 Problem accessing /rest/v1/sendcopy. Reason: access denied (java.lang.RuntimeP

[appengine-java] Re: jspx extension

2010-05-20 Thread Thomas
I guess you have to exclude *.jspx in the static files and resources file setting. Please see http://code.google.com/intl/en/appengine/docs/java/config/appconfig.html#Static_Files_and_Resource_Files On 5月20日, 上午12時18分, Michael B wrote: > I'm sure I'm making an obvious mistake here, but it seems

[appengine-java] Re: Cross-browser testing with GAE

2010-05-19 Thread Thomas
Hi: I am using Eclipse 3.4 plugin for GAE/J. The steps to make DevServer serving clients from any IP addresses are below: . Project > Properties > Run/Debug Setting > [Choose the configuartion of your project] > Edit > Arguments . Add the '-a 0.0.0.0' (excluding the single quote) argument int

[appengine-java] Re: two applications accessing the same datastore

2010-05-18 Thread Thomas
Using version has one major problem. The ssl certificate is for URIs which is like *.appspot.com . The browser complained that you are probably visiting a malicious site when you browse a ssl page of a specified version. On 5月18日, 下午5時29分, Erdinc Yilmazel wrote: > You are not allowed to access th

[appengine-java] Re: elegant way of implementing sequence generator

2010-05-14 Thread Thomas
Hi Jaroslav: GAE is currently single-homed according to http://groups.google.com/group/google-appengine-java/browse_thread/thread/cccb943347b3c6a7/338eede3100f366 On 5月14日, 下午7時41分, Jaroslav Záruba wrote: > ...I just want to be sure. I had the impression that two 'my' JVMs > might not even resi

[appengine-java] Re: Prerelease 1.3.4 SDK ready for download

2010-05-13 Thread Thomas
It has been listed on their Features on Deck ( see item#2 of http://code.google.com/intl/zh-TW/appengine/docs/roadmap.html ) already. On 5月14日, 上午9時16分, yjun hu wrote: > maybe google app engine shall cancel the 30seconds limit,  most of backend > process need more than 30seconds appengine-java?hl

[appengine-java] Re: Inequality Filters Are Allowed On One Property Only

2010-05-03 Thread Thomas
Hi romesh: Datastore allows multi-value property. So you can have each (x,y, list of possible z) in only one row and the filter is as simple as where z=. The only limitation is that list-of-z can not exceed 5000 elements. Thomas On 5月3日, 下午2時02分, romesh soni wrote: > Thomas, > &

[appengine-java] Re: Inequality Filters Are Allowed On One Property Only

2010-05-02 Thread Thomas
I can't imagine what your data is. Is it possible to pre-solve the solution list z for every (x, y) pair and store them like (x, y, list of z). If it is the case, you can use a simple z= filter to get your single result. Thomas On 5月2日, 下午4時57分, romesh soni wrote: > Tristan, > >

[appengine-java] Re: Has anyone got actually got tag files to work?

2010-04-30 Thread Thomas
My tag files worked very well in dev server without any problem. When uploading to gae/j, I encountered the problem describe in the above mentioned issue and I could fix it according to the workaround guidelines provided in that issue. My environment: WinXP SP2 Eclipse version 3.4 GAE/J SDK 1.3.1

[appengine-java] Re: Manually restart GAE on the cloud

2010-04-27 Thread Thomas
In the Admin Console you can disable your application and re-enable it. I think it is much like a JVM reboot. -- 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.c

[appengine-java] Re: Is it necessary on deployment server to explicitly call HttpSession.setAttribute?

2010-04-19 Thread Thomas
I have submitted the issue#3112. http://code.google.com/p/googleappengine/issues/detail?id=3112 -- 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 unsubsc

[appengine-java] Re: Is it necessary on deployment server to explicitly call HttpSession.setAttribute?

2010-04-19 Thread Thomas
Hi Vaclav: Thanks for your reply. HttpSession is a defined standard interface in JEE. The standard doesn't ask developers for explicitly calling HttpSession.setAttribute. The GAE/J provides a servlet container implementation which utilize datastore and memcache to store session data. It is

[appengine-java] Is it necessary on deployment server to explicitly call HttpSession.setAttribute?

2010-04-17 Thread Thomas
I have a class which has a counter field. public Class Foo implements Serializable { private static final long serialVersionUID = 1L; private int counter = 0; // getter and setter omitted for simplicity } And in my program I put a Foo instance into HttpSession. HttpSession session = req

[appengine-java] Re: Is there anyway to set The Request Timer less than 30 seconds

2010-04-16 Thread Thomas
I think you can Thread.sleep(5000) after submiting a task which does the real job and write its start time and final result to datastore. Your main thread can fetch the start time and result from datastore after 5 secs. -- You received this message because you are subscribed to the Google Gro

[appengine-java] Re: Cookie expiration: how can I make them expire programmatically?

2010-04-15 Thread Thomas
Not related to the topic. But can anyone tell me why my recent posts always have the google generated messages attached as signatures? I didn't setup any personal information and have no idea why these messages appeared. -- You received this message because you are subscribed to the Google Groups

[appengine-java] Re: Cookie expiration: how can I make them expire programmatically?

2010-04-15 Thread Thomas
On 4月16日, 上午3時36分, Esteban Ignacio Masoero wrote: > - Is there a way I can programatically (or from the admin console would be > best) make all session cookies expire? You can remove all entries (each represents a user session) in th _ah_SESSION kind with Datastore Viewer of Admin console. >

[appengine-java] Re: Domain Name Setup

2010-04-15 Thread Thomas
You can try traceroute. I guess traffic toward these two different domains go to different data centers. On 4月16日, 上午2時32分, fletcher wrote: > Thanks for the reply. Those steps are exactly what I did so I guess > I've got it set up right. > > Any ideas on the latency concerns? -- You received th

[appengine-java] Re: ANN: Firefox add-on for tracking GAE estimated cost

2010-04-08 Thread Thomas
Does the X-AppEngine-Estimated-CPM-US-Dollars header appears only if the application is using Google Account authentication scheme? I have login as the administrator (developer of the web app), but have never seen this response header. -- You received this message because you are subscribed to th

[appengine-java] Re: Singleton class become double instance in GAE

2010-04-05 Thread Thomas
Multiple JVMs (high requests/s) and loading request (low requests/ s) are two possible reasons why you see many '' log messages. But when loading request happens, only one singleton exists at that moment. -- You received this message because you are subscribed to the Google Groups "Google Ap

[appengine-java] Re: How to find an object which uses a Key as its primary key?

2010-04-05 Thread Thomas
KeyFactory.stringToKey and use the key in a query. Thomas On 4月5日, 下午10時22分, Mark wrote: > Hi, > > I set up a persistent class like this: > >   @PersistenceCapable >   public class Farm >   { >       @PrimaryKey >       @Persistent(valueStrategy = IdGeneratorStrategy.ID

[appengine-java] Re: blobstoreService.getUploadedBlobs() returns null from deployed GAE app, but works in dev server

2010-04-03 Thread Thomas
Did you turn the billing on? -- 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 google-appengine-java+unsu

[appengine-java] Re: Discussion on will-it-play-in-app-engine

2010-03-30 Thread Thomas
Workaround for issue 1381 (Spring transactions throw GenericSignatureFormatError) Please see the comment#20 of issue 1381. ( http://code.google.com/p/googleappengine/issues/detail?id=1381 ) -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java"

[appengine-java] Re: Workaround for Spring transactions throw GenericSignatureFormatError

2010-03-30 Thread Thomas
think it could also work on spring 2.5. Thomas -- 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

[appengine-java] Workaround for Spring transactions throw GenericSignatureFormatError

2010-03-28 Thread Thomas
Please refer to http://code.google.com/p/googleappengine/issues/detail?id=1381 comment #20 -- 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

[appengine-java] Programmatically schedule cron jobs

2010-03-03 Thread Thomas Oldervoll
cron job is to edit cron.xml. Is there a way to do this in code? Thomas -- 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

Re: [appengine-java] Citical Security error in Accounts Java API: request.getUserPrincipal() gets wrong username/email

2010-02-25 Thread Thomas Schnocklake
Google) > Probably OAuth, though I'm not sure how that will work with a gadget. In > most places gadgets will include a user ID with the makeRequest. > > On Tue, Feb 23, 2010 at 12:23 PM, Thomas Schnocklake < > thomas.schnockl...@googlemail.com> wrote: > >> Thank

Re: [appengine-java] Citical Security error in Accounts Java API: request.getUserPrincipal() gets wrong username/email

2010-02-23 Thread Thomas Schnocklake
Thank you for your answer. So what would you suppose to use for authentication for a gadget that is places in google apps (e.g. gmail, google sites ) ? thanks thomas 2010/2/18 Ikai L (Google) > Yes, this seems to make sense. Being logged into Google Apps is independent > of being logge

[appengine-java] "appcfg.sh update" suddenly doesn't work

2010-01-23 Thread Thomas Wiradikusuma
Hi all, I created a new project, tested it in localhost, everything was OK. So I uploaded it: Reading application configuration data... Beginning server interaction for myapp... 0% Creating staging directory 5% Scanning for jsp files. 8%

[appengine-java] Robot copy to clipboard

2009-12-27 Thread Thomas Jungblut
Hey, I've build a form in a robot reply and there is a button, which should copy the content of the event's blip to the clipboard. Now I get this error in my Logs: java.lang.NoClassDefFoundError: Could not initialize class com.google.apphosting.runtime.security.shared.stub.java.awt.datatransfer.S

[appengine-java] AccessControlException on OutputStream#write(byte b[], int off, int len)

2009-10-20 Thread Thomas Wiradikusuma
Hi, The following Groovy snippet throws exception: byte[] responseData = byteOut.toByteArray() response.setContentLength(responseData.length) response.setContentType("application/octet-stream") respon

[appengine-java] Re: Simplest web framework + ORM for GAE/J?

2009-09-08 Thread Thomas Wiradikusuma
you mean more to the "web framework" thing? try Grails or Gaelyk. On Sep 8, 12:02 am, Chris wrote: > What's the simplest web framework + ORM combination that works well on > GAE/J? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

[appengine-java] Re: Datastore Import and Export

2009-08-29 Thread Thomas M
Hi Jason, this sounds extremely promising. When will it come? best Thomas On 19 Aug., 20:35, Jason wrote: > This is coming. As far as I know, it will work similarly to the Python > script, meaning it won't use Google Spreadsheets. > > - Jason > > On Aug 15,