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

2010-04-15 Thread Featheast Lee
The Request Timer limits a request's time to 30 seconds, however in my situation, I'd like to reduce the time, say only 5 seconds. Is there any method to achieve this? The reason I want to do this is because I seldom see a request cost more than 5 seconds, however if there is one, it must be the

[appengine-java] Re: How to create query with 4 arguments?

2010-04-15 Thread Renars
Thank you, thats what I needed :) > executeWithArray(), executeWithMap() all allow as many input > parameters as you want. -- 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...@

Re: [appengine-java] Run App Engine on a production intranet

2010-04-15 Thread Don Schwarz
The DevAppServer is definitely not designed to be used in this way. The biggest problem that you will probably run into is that the local datastore implementation is designed to store all data in memory. There are most likely security issues with the DevAppServer (which is the reason that it is o

[appengine-java] Re: Run App Engine on a production intranet

2010-04-15 Thread Iqbal Yusuf Dipu
http://code.google.com/p/appscale/ take a look at this project... don't know the status of this project and never tried it myself. -- 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-appengi

[appengine-java] Re: Is the any limitation on entity group size?

2010-04-15 Thread ailinykh
One more question. How to make massive update? If it takes more then 30 sec engine probably will cancel it. What are possible ways to do it? Thank you, Andrey On Apr 12, 4:18 pm, "Ikai L (Google)" wrote: > No, it should be fine UNLESS you want to load all these child objects in a > single req

[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] Cookie expiration: how can I make them expire programmatically?

2010-04-15 Thread Esteban Ignacio Masoero
Hi there: When I make a deploy, I have the problem that if I make changes to classes that where serialized as part of the session (this is natural in a wicket app, as it is mine), every user that was already logged from before the deploy gets this ugly "local class incompatible" error, which to m

[appengine-java] Re: Domain Name Setup

2010-04-15 Thread fletcher
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? On Apr 14, 11:22 pm, yjun hu wrote: > http://hapeblog.appspot.com/blog.shtml?id=12002 > you just need to forward fakedomain.com towww.fakedomain.com > > > > On Thu, A

Re: [appengine-java] Re: Does Thread.sleep count towards CPU time?

2010-04-15 Thread Don Schwarz
My guess is that with such a large sleep time you are causing us to load your application across more servers, and those loading requests are causing a higher CPU usage. Can you read through this: http://code.google.com/appengine/kb/java.html#What_Is_A_Loading_Request And look at the individual

[appengine-java] Re: How to exclude the optional jars for deployment?

2010-04-15 Thread Jake
Hello, Thanks for the help. This is quite a long, detailed post, but hopefully it will help generate some documentation. I started by making an exact copy of an existing Maven/GAE project that I've been working on. The pom.xml file for that project has a few build commands that run embedded ANT

[appengine-java] Re: Detecting non existing entity

2010-04-15 Thread Vik
hie any one on this plz? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Thu, Apr 15, 2010 at 4:26 PM, Vik wrote: > Hie > > I have a Entity class Country. > > > The very first time when i am running my app this is not created in > datastore. > So my code: > try{

[appengine-java] Re: Does Thread.sleep count towards CPU time?

2010-04-15 Thread Thorsten
Dear Don, I'm refering to my dashboard quota display. I did not (yet) check it via the API. But this high CPU time usage just began when I deployed a new version of my application where the only change was this new sleep... Per request I'm sleeping about up to three seconds. Thanks for your qu

Re: [appengine-java] Does Thread.sleep count towards CPU time?

2010-04-15 Thread Don Schwarz
In general, no. Can you provide more information? Are you looking at the Quota API output or the actual times reported in the Admin Console request logs? How long are you sleeping for, and how much CPU time are you being charged for while you are sleeping? On Thu, Apr 15, 2010 at 10:40 AM, Thor

Re: [appengine-java] Google Plugin for Eclipse - working from behind the proxy

2010-04-15 Thread Rajeev Dayal
Hi Raj, Have you considered starting out with the JEE version of Eclipse, and then installing the plugin via the zip mechanism? The JEE version of Eclipse should contain all of the components that you need. Rajeev On Thu, Apr 15, 2010 at 2:23 AM, Raj wrote: > I am trying to install the plug-i

[appengine-java] Re: Operation commit failed on resource

2010-04-15 Thread dmitrygusev
Answering my question, The problem appeared because I was updating two instances of class Job simultaneously (I had two tasks in the same queue with bucket size > 1). @Entity public class Job { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Key key; Class

[appengine-java] Does Thread.sleep count towards CPU time?

2010-04-15 Thread Thorsten
Hello, it seems - although it would be "strange" - that the time my Servlet spends with "Thread.sleep" is added to the used CPU time. Can anybody confirm that? Thanks! -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to t

[appengine-java] Google Plugin for Eclipse - working from behind the proxy

2010-04-15 Thread Raj
I am trying to install the plug-in from behind a proxy and I have no clue of what/where the proxy is, it's addess and username/password to bypass it. So I had to install the plug ins from zip file as per the FAQ. The only problem is that none of the JEE plug in has been install so this Select Hel

[appengine-java] Deployment Descriptor >> Filters: typo in example

2010-04-15 Thread Chau Huynh
Hello, It looks like a typo in http://code.google.com/appengine/docs/java/config/webxml.html#Filters Code: filterConfig.doFilter(request, response); Also sample LogFilterImpl does not implement all methods defined in javax. servlet.Filter Can you please take a look and update. Thanks -- You rec

[appengine-java] Run App Engine on a production intranet

2010-04-15 Thread Harry Monroe
Hi, I know this is not the point on Google App Engine, but I´ve come across this problem. We have a running app online that satisfies many customers, but one of them (there´s always one) would like to run it somehow "offline"... Does anyone have used the developement server to run a production ap

[appengine-java] Detecting non existing entity

2010-04-15 Thread Vik
Hie I have a Entity class Country. The very first time when i am running my app this is not created in datastore. So my code: try{ String query = "select from " + BloodDonorCountryList.class.getName() + " where countryName == \"" + country.toLowerCase() + "\""; log.info

[appengine-java] Re: Owned one-to-one relationships: cannot attach a new child to a parent which has already been saved

2010-04-15 Thread ckitop
Here, I've created a project that hosting the problem http://code.google.com/p/testjdo/source/browse/#svn/trunk/TestJDO -Appengine sdk 1.3.2 -JUnit 3 So, I made two unit tests to test: Owned one-to-one relationships Owned one-to-many relationships -- You received this message because you are su

[appengine-java] Re: Problems upgrading sdk from 1.3.0 to 1.3.2

2010-04-15 Thread Ian Marshall
I believe that GAE does not guarantee that the format of local development datastore "local_db.bin" files remains unchanged between SDK versions. So updating to a newer version of the SDK has the risk that data stored in a local copy of the development datastore is lost. I remember that there have

[appengine-java] Re: Object hierarchy and GAE datastore

2010-04-15 Thread datanucleus
> I turned the relationship around and it managed to work, but I still > liked your idea of embedding the user class better since there will be > no user without a person object. You could use @Embedded with JDO (assuming Google have implemented it), and then if you use it against an RDBMS in the

[appengine-java] Re: How to create query with 4 arguments?

2010-04-15 Thread datanucleus
> I want to create JDO query with 4 arguments, but in Eclipse I got > error, that only 3 arguments are allowed. > List results = (List) q.execute(companyKey, true, true, false); Why not look at the JDO API ? It's a standard after all. http://db.apache.org/jdo/api23/apidocs/index.html executeWithA