[appengine-java] delete log and entities

2010-01-30 Thread Andrés Cerezo
Hello!! Ho can I delete the logs and the entities of my project in app engine? I need it to initializate all the system. Thanks. -- 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

[appengine-java] java.security.AccessControlException: access denied java.net.NetPermission specifyStreamHandler

2010-01-30 Thread Andreas Blomqvist
Hi all I get this error: *java.security.AccessControlException: access denied java.net.NetPermission specifyStreamHandler* when trying to connect to my GAE server. Anyone know how to grant permissions in GAE? thanks /x -- You received this message because you are subscribed to the Google

[appengine-java] AppCfg error

2010-01-30 Thread Andreas Blomqvist
Hi I get this error when I try and deply to GAE. usage: dirname path Exception in thread main java.lang.NoClassDefFoundError: com/google/appengine/tools/admin/AppCfg Caused by: java.lang.ClassNotFoundException: com.google.appengine.tools.admin.AppCfg at

Re: [appengine-java] java.security.AccessControlException: access denied java.net.NetPermission specifyStreamHandler

2010-01-30 Thread 杨浩
It's not enough information! Show the full stack trace,please! 2010/1/30 Andreas Blomqvist blomqvist.andr...@gmail.com Hi all I get this error: *java.security.AccessControlException: access denied java.net.NetPermission specifyStreamHandler* when trying to connect to my GAE server.

[appengine-java] Re: How can I install my GAE application into other user accounts?

2010-01-30 Thread Jorge
Hi Mike, You may want to see the Selling App Engine Apps thread in the Google App Engine group. The 3rd post, by Brian Flood, explain his approach to your question and it is pretty cleaver. http://groups.google.com/group/google-appengine/browse_thread/thread/4ce497229c8ff0aa?hl=en# Jorge

Re: [appengine-java] AppCfg error

2010-01-30 Thread 杨浩
check your gae settings in the ant build file! Good luck! This is my gae set: #GAE setting gae.sdk.dir=/prog/eclipse/gae/eclipse/plugins/com.google.appengine.eclipse.sdkbundle.1.3.0_1.3.0.v200912141120/appengine-java-sdk-1.3.0 import file=${gae.sdk.dir}/config/user/ant-macros.xml / path

Re: [appengine-java] AppCfg error

2010-01-30 Thread 杨浩
after gae set,this is a e.x: target name=GAE update description=Uploads the application to App Engine. echo开始更新GAE.../echo appcfg action=update war=war/ /target -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To

Re: [appengine-java] java.security.AccessControlException: access denied java.net.NetPermission specifyStreamHandler

2010-01-30 Thread 杨浩
In the htmlunit it's use java.net.URL,so you must check the port of the request url! It's a little limit in the GAE: The URL must use the standard ports for HTTP (80) and HTTPS (443). The port is implied by the scheme, but may also be mentioned in the URL as long as the port is standard for the

[appengine-java] Re: One-to-many querying for a child instance

2010-01-30 Thread Sydney
The thread http://groups.google.com/group/google-appengine-java/browse_thread/thread/2acea43161d8ac5/96c77de6c686526d?lnk=gst is dealing with the same kind of problem. Basically it's not possible to filter on the name property. So I guess I have two ways of doing it. 1/ Creating the key by hand

[appengine-java] Does precompilation work ?

2010-01-30 Thread tomekc
Hi All, does precompilation work for you ? I'm trying a few times deploy with precompilation but still get an exception: java.io.IOException: Precompilation failed. Consider adding precompilation-enabledfalse/precompilation-enabled to your appengine-web.xml and trying again. Unable to update

[appengine-java] memcache question

2010-01-30 Thread Andrei
I have one entry in memcache around 300Kb I serve it over request which come about one in every 1 to 5 mins About in half cases it takes about 4 seconds to get entry from cache, in other cases 50m ms I was expecting all cases to be 50 ms Any ideas? Thanks -- You received this message because you

Re: [appengine-java] Re: memcache question

2010-01-30 Thread Cristian Nicanor Babula
Could you please post the server-side code that reads the entity from memcache? On 01/30/2010 09:47 PM, Andrei wrote: i log where the value comes from for all cases where it takes 4 seconds the entity is already in cache On Jan 30, 3:41 pm, Cristian Nicanor Babulanicanor.bab...@gmail.com

[appengine-java] Re: memcache question

2010-01-30 Thread Andrei
byte data[] = null; if( cache!=null ){ data = (byte[])cache.get( data ); if( data!=null ) log.info( coming from cache ); } if( data==null ){ data = get_data( getServletContext() ); cache.put( data, data ); log.info( coming from file ); }

Re: [appengine-java] Re: Periodically download backup of datastore?

2010-01-30 Thread Dominik Steiner
That would be by far the easiest solution +1 from me here too are there any other solutions around here in the mean time? Thanks Dominik -- 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

[appengine-java] Re: memcache question

2010-01-30 Thread Andrei
it is related to new Servlet startup On Jan 30, 4:01 pm, Cristian Nicanor Babula nicanor.bab...@gmail.com wrote: Could you please post the server-side code that reads the entity from memcache? On 01/30/2010 09:47 PM, Andrei wrote: i log where the value comes from for all cases where it

[appengine-java] Re: App instance recycling and response times - is there solution?

2010-01-30 Thread Alyxandor
If you are experiencing failed requests on your long-running / requests, consider performing some kind of pre-warming procedure of your own... If you are getting timeout errors, Ping a do-nothing url, and wait for it to return before running the big job. If it's a big job, users should expect to