Re: [appengine-java] Re: How to delete all entities of a kind with the datastore viewer

2010-03-13 Thread
*In my store,have more than 100,000 entities here,but i find delete(limit 400) it's cost > 26s* my datas is wrong so i must delete all entities of the kind(no index in the kind)! *1. first i use:* Query q = pm.newQuery(query); q.setRange(0, 400); int count = 0;

Re: [appengine-java] How to delete all entities of a kind with the datastore viewer

2010-03-11 Thread
in the admin console:clike the next 20 entity,then change the brower's location.href set *size=200* and *offset=0*, enter^ ^ The offset's max is *1000* Good luck! 2010/3/12 Spines > I'm only able to delete 20 entities at a time, I have over 500 > entities of a certain kind. Is there a way I ca

Re: [appengine-java] AppCfg error

2010-02-16 Thread
e > ant-deploy.xml ? > > Thanks > > > 2010/1/30 杨浩 > >> after gae set,this is a e.x: >> >> >> 开始更新GAE... >> >> >> > -- You received this message because you are subscribed to the Google Groups "G

Re: [appengine-java] How to use junit test in the newest SDK1.3.1

2010-02-11 Thread
Hello Ikai L(Google)! Thank you! In the demo: http://code.google.com/appengine/docs/java/tools/localunittesting.html I have a idea about the JUnit4 testcase! defined a Basic TestCase: public class *GAETestCase* { protected final LocalServiceTestHelper gaeHelper = new LocalServiceTestHelper(

Re: [appengine-java] How to use junit test in the newest SDK1.3.1

2010-02-11 Thread
Thanks for your help! ^ ^ It's OK! Where's the download of the appengine-testing.jar sources? It's a security? Thanks! 在 2010年2月11日 上午8:25,Ikai L (Google) 写道: > We've got a more simple interface for you now. Take a look: > > http://code.google.com/appengine/docs/java/tools/localunittesting.h

Re: [appengine-java] How to clear logs?

2010-02-09 Thread
Now,there is not found the document about the logs! Thanks Andrés Cerezo! My solustion: deploy another version as the default, and del the old version! so the logs may be clear all! 2010/2/10 Andrés Cerezo > I've the same problem that you and looking in the documentation of > google, I read that

Re: [appengine-java] Error; Transaction is not active.

2010-02-09 Thread
tx.begin(); // new > Robot obj = (Robot)iter.next(); > pm.deletePersistent(obj); > tx.commit(); > } > > isn´t? > > 2010/2/10 杨浩 : > > First it 's work ok! > > but after tx.commit() the transaction is complete,so you must call > > tx.begin() to start a

Re: [appengine-java] Error; Transaction is not active.

2010-02-09 Thread
First it 's work ok! but after tx.commit() the transaction is complete,so you must call tx.begin() to start a transaction before tx.commit()! Or invoke the tx.commit out of the while block! I'm sorray for my English! 2010/2/10 Acerezo > > Hello all, I can´t delete records of a table > > I'm us

Re: [appengine-java] Re: Google Plugin for Eclipse 1.3 plans

2010-02-06 Thread
Where's the lastest plugin update sites for GAE Plugin? I will to test it! 2010/2/6 Philippe Marschall > Sounds like a good start. Ideally the maven eclipse plugin [1] could > be configured to automatically generate the configuration for the > Google Plugin and M2Eclipse [2] picking that up as w

Re: [appengine-java] Log4j in production GAE

2010-02-01 Thread
I use slf4j! use slf4j-log4j when development! use slf4j-jdk log when GAE Server!(change slf4j-log4j to slf4j-jdk-log before GAE appcfg update war) 2010/2/2 Alex > Hello, > > Has anyone tried to use Log4j in production GAE? Is it supported? > > According to Java GAE docs, only java.util.logging

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

2010-01-30 Thread
Server.handle(Server.java:313) > [java] at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506) > [java] at > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830) > [java] at > org.mortbay.jetty.Htt

Re: [appengine-java] AppCfg error

2010-01-30 Thread
after gae set,this is a e.x: 开始更新GAE... -- 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

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

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 > 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

Re: [appengine-java] Re: the inappropriate encoding occured when store chinese characters to datastore

2010-01-20 Thread
In developer server:_ah/admin watch the datastore viewer is not encode utf8,so see ??? but in GAE server it's good! -- 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...@googlegr

Re: [appengine-java] Re: After how much time of no traffic does GAE shut-down the instance

2010-01-14 Thread
our app ID? There may be > something going on with your application. Our numbers indicate that even if > you are getting a minute amount of traffic, you shouldn't not be cycled out. > > In general we discourage using cron to ping your application. Cold startup > time is a very high pr

Re: [appengine-java] Re: Task Queue problems

2010-01-14 Thread
代理 支持ssl: proxy.kerkgroep-hopjestad.com 3128 jwe219.internetdsl.tpnet.pl 3128 webmail.mwit.ac.th 80 我一般用第一个,他不是很稳定! 2010/1/13 yjun hu > which proxy are u using now? > > 2010/1/12 杨浩 > >> 在中国appspot的https无法正常工作,因为gfw屏蔽了这部分,你寻找一个https代理,然后再测试应该就没有问题了! >> > > > &

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

2010-01-14 Thread
治本只能等GAE的升级了,这样确实只能保证你的应用不会因为两分钟没有请求被关闭! 不知道GAE收费版本是不是没有这个问题 2010/1/13 yjun hu > 治标不治本 > > On Wed, Jan 13, 2010 at 1:24 PM, 杨浩 wrote: > >> create a cron:every one minutes to run for keep your app online in the >> GAE! >> I try it,and it is work very goo

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

2010-01-12 Thread
create a cron:every one minutes to run for keep your app online in the GAE! I try it,and it is work very good! -- 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.

Re: [appengine-java] Re: Task Queue problems

2010-01-12 Thread
在中国appspot的https无法正常工作,因为gfw屏蔽了这部分,你寻找一个https代理,然后再测试应该就没有问题了! -- 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

Re: [appengine-java] Eclipse plugin failure after log4j added to the classpath (WEB-INF/lib)

2010-01-11 Thread
I have the slf4j + log4j in my GAE app, it's work fine! war/WEB-INF/lib/slf4j-log4j12-1.5.10.jar war/WEB-INF/lib/log4j-1.2.15.jar you can try version 1.2.15 of log4j! ^ ^ -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to t

Re: [appengine-java] Eclipse plugin failure after log4j added to the classpath (WEB-INF/lib)

2010-01-11 Thread
*Check your Java Build Path of GAE App!* notice that:add your log4j lib into your app build path 2010/1/11 杨浩 > I have the slf4j + log4j in my GAE app, it's work fine! > war/WEB-INF/lib/slf4j-log4j12-1.5.10.jar > war/WEB-INF/lib/log4j-1.2.15.jar > you can try versio

Re: [appengine-java] Re: After how much time of no traffic does GAE shut-down the instance

2010-01-11 Thread
my GAE app too shutdown every tow minutes when no request! so when my app init that is terrible, because spring init need 15s! so my answer is: create a cron:every one minutes to run once,It's work very good!(every tow minutes don't keep my app online, It's still shutdown!) -- You received this m