[appengine-java] Απ: ANN: BatchFB 2.1, a Java Facebook library with automatic batching

2011-07-15 Thread George Moschovitis
Thanks for the release, but why don't you use Future?

-g.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/3i3R-OpLvjAJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] download detailed loga

2011-07-15 Thread andrew
Is there anyway to download logs that include the full log entry and
not just the summary line?

I'd like to every night down load warnings and exceptions from the
previous day, and send detail by email.

If there is not already an enhancement request, do others have this
need also? I would post one.

-- 
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 group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: [google-appengine] Re: 1.5.2 SDK Prerelease

2011-07-15 Thread Alexandru Farcaş
Hi Alfred,

Thanks for clarification. I also have 2 questions:

1. For this query:
SELECT * FROM Model WHERE list = :1 AND list =:2 AND list=:3 AND string :=4 
 ORDER BY date DESC
will be enough this index? 

- kind: Model
  properties:
  - name: list
  - name: string
  - name: date
direction: desc
 
2. After I create this index (or indexes) I will still receive this 
exceptions?

com.google.appengine.api.datastore.DatastoreNeedIndexException  
The built-in indices are not efficient enough for this query and your data. 
Please add a composite index for this query..  An index is missing but we are 
unable to tell you which one due to a bug in the App Engine SDK.  If your query 
only contains equality filters you most likely need a composite index on all 
the properties referenced in those filters.


--Alex


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/cHCKy8QEXw0J.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Unauthorized Sender Error when trying to send an email (User logged in with Google Account)

2011-07-15 Thread Zbój
I'm having the same problem. The sender of the email is the user who's
currently signed in and I'm getting this exception too. Sending emails
from admin accounts works without problems.


On Jul 13, 8:33 am, kghate kgh...@gmail.com wrote:
 The 
 documentationhttp://code.google.com/appengine/docs/java/mail/overview.htmlclearly
  states
 the following

 *For security purposes, the sender address of a message must be the email
 address of an administrator for the application, the Google Account email
 address of the current user who is signed in, or any valid email receiving
 address for the app (see Receiving 
 Mailhttp://code.google.com/appengine/docs/java/mail/overview.html#Receivi...).
 The message can also include a reply to address, which must also meet
 these restrictions.*

 In my use case, we want the email to be sent from the email address of the
 current user who is signed in, and not via any email that is in the
 permissions list. The administrator emails (listed in the permissions list)
 are being sent successfully, no issues there.

 I am using UserService to get the current user's email information

 UserService userService = UserServiceFactory.getUserService();
 if (userService.isUserLoggedIn()) {
 msg.setFrom(new InternetAddress(userService.getCurrentUser().getEmail(),
 from));}else{

 // request user to login so that email can be sent







 }

-- 
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 group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Απ: ANN: BatchFB 2.1, a Java Facebook library with automatic batching

2011-07-15 Thread Jeff Schnitzer
On Thu, Jul 14, 2011 at 10:59 PM, George Moschovitis 
george.moschovi...@gmail.com wrote:

 Thanks for the release, but why don't you use Future?


The Future? interface is fundamentally defective because it uses checked
exceptions.

Checked exceptions are one of the handful of gross design flaws of the Java
language.  It's notable that not a single modern language in the post-Java
era - not even the typed languages (groovy, scala, clojure, ceylon) -
include the checked exception.  It was one of those theoretically good ideas
that just turned out to be wrong.  But, like the JCP, it's one of those ugly
warts we just can't seem to get rid of.

If you use Future?, you're stuck with catching InterruptedException and
ExecutionException *everywhere* in your code.  Or you do what Google does
and use FutureHelper everywhere.  This is bullshit.  I'm not going to do it
in my code, and I'm not going to expect anyone else to do it.

Objectify's async api is built around the same principle.  There is a
Request? interface that works almost exactly like Future? but throws
runtime exceptions instead of the crappy checked exceptions.  I wish I could
use the same interface for BatchFB but I can't without making one project
rely on the other.  I blame the asshats at Sun (now Oracle) for dogmatically
sticking to this anachronism and refusing to let the language evolve; this
is one of the reasons the web development community has abandoned Java and
moved on to Ruby and Python.  It pisses me off.

Jeff

-- 
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 group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Put fails with The request to API call datastore_v3.Put() was too large when Entity with Blob of 58618 bytes is put in the datastore

2011-07-15 Thread Miroslav Genov


Put fails with The request to API call datastore_v3.Put() was too large  when 
Entity with Blob of 58618 bytes is put in the datastore

com.google.code.twig.standard.BaseObjectDatastore servicePut: Problem during 
try 0
com.google.apphosting.api.ApiProxy$RequestTooLargeException: The request to API 
call datastore_v3.Put() was too large.
at 
com.google.apphosting.runtime.ApiProxyImpl$AsyncApiFuture.rpcFinished(ApiProxyImpl.java:421)
at 
com.google.net.rpc.RpcStub$RpcCallbackDispatcher$1.runInContext(RpcStub.java:1050)
at 
com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:448)
at com.google.tracing.TraceContext.runInContext(TraceContext.java:688)
at 
com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:326)
at 
com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:318)
at 
com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:446)
at 
com.google.net.rpc.RpcStub$RpcCallbackDispatcher.rpcFinished(RpcStub.java:1071)
at com.google.net.rpc.RPC.internalFinish(RPC.java:2192)
at 
com.google.net.rpc.impl.RpcNetChannel.finishRpc(RpcNetChannel.java:2338)
at 
com.google.net.rpc.impl.RpcNetChannel.messageReceived(RpcNetChannel.java:1267)
at 
com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:328)
at 
com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:299)
at com.google.net.async.Connection.handleReadEvent(Connection.java:474)
at 
com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:831)
at 
com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:207)
at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:103)
at 
com.google.net.async.GlobalEventRegistry$2.runLoop(GlobalEventRegistry.java:95)
at 
com.google.net.async.LoopingEventDispatcher$EventDispatcherThread.run(LoopingEventDispatcher.java:385)


Store bytes count: 58618

LimitAmountmaximum entity size1 megabytemaximum number of values in all 
indexes for an entity (1)5,000 values
Any idea where the problem is and how can I fix it ? 


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/-ZQDVNN2blUJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Unauthorized Sender Error when trying to send an email (User logged in with Google Account)

2011-07-15 Thread jMotta
I don't think you'll be able to do this, and wait for an answer of any
Googler about it is to wait a no. So far as I know, this kind of feature
isn't pretty common and could lead to something undesired, try another
approach or to use something outside appengine. :P

*Jayr Motta*
Software Developer
*
*
I'm  on 
BlackBeltFactory.comhttp://www.blackbeltfactory.com/ui#!User/jmotta/ref=jmotta
!



On Fri, Jul 15, 2011 at 6:38 AM, Zbój homol...@gmail.com wrote:

 I'm having the same problem. The sender of the email is the user who's
 currently signed in and I'm getting this exception too. Sending emails
 from admin accounts works without problems.


 On Jul 13, 8:33 am, kghate kgh...@gmail.com wrote:
  The documentationhttp://
 code.google.com/appengine/docs/java/mail/overview.htmlclearly states
  the following
 
  *For security purposes, the sender address of a message must be the email
  address of an administrator for the application, the Google Account email
  address of the current user who is signed in, or any valid email
 receiving
  address for the app (see Receiving Mail
 http://code.google.com/appengine/docs/java/mail/overview.html#Receivi..
 .).
  The message can also include a reply to address, which must also meet
  these restrictions.*
 
  In my use case, we want the email to be sent from the email address of
 the
  current user who is signed in, and not via any email that is in the
  permissions list. The administrator emails (listed in the permissions
 list)
  are being sent successfully, no issues there.
 
  I am using UserService to get the current user's email information
 
  UserService userService = UserServiceFactory.getUserService();
  if (userService.isUserLoggedIn()) {
  msg.setFrom(new InternetAddress(userService.getCurrentUser().getEmail(),
  from));}else{
 
  // request user to login so that email can be sent
 
 
 
 
 
 
 
  }

 --
 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 group, send email to
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



-- 
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 group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Apache Shiro on Google App Engine

2011-07-15 Thread objectuser
As far as I know, there's nothing that prevents the conditionals throughout 
the code.  Fortunately, with GWT, you're basically coding in Java, so all of 
the patterns you're used to for reducing the number of conditionals in your 
code should apply in the same way (basically, polymorphism through 
factories, etc.).

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/t66wciLWpgIJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Frequent DeadlineExceeededExceptions on warm up requests

2011-07-15 Thread David
I am paying for 3 reserved server instances and have a Spring based
web app that isn’t doing anything fancy, initializing about 15 beans
at startup.  My logs show that the app can be initialized in less than
3 seconds and consumes around 4 seconds of cpu time on successful warm
ups.

However the warm up can take much longer.  Particularly over the last
3 days I’ve noticed that roughly 1/3 of the time the warm up fails
with a DeadlineExceeededException sometime after 30 seconds.  I was
also surprised to find that sometimes the warmup was successful, but
took around 40 seconds. (I thought GAE would always timeout the
request after 30 seconds.)

I’m curious if anyone else is experiencing this and if the GAE team
has an explanation for this behavior.

-- 
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 group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: [google-appengine] Re: 1.5.2 SDK Prerelease

2011-07-15 Thread Alfred Fuller
On Fri, Jul 15, 2011 at 12:25 AM, Alexandru Farcaş 
alex.far...@expert-group.biz wrote:

 Hi Alfred,

 Thanks for clarification. I also have 2 questions:

 1. For this query:
 SELECT * FROM Model WHERE list = :1 AND list =:2 AND list=:3 AND string :=4
  ORDER BY date DESC
 will be enough this index?

 - kind: Model
   properties:
   - name: list
   - name: string
   - name: date
 direction: desc



Yes. This is the index the SDK will now suggest.


 2. After I create this index (or indexes) I will still receive this
 exceptions?


 com.google.appengine.api.datastore.DatastoreNeedIndexException 
 The built-in indices are not efficient enough for this query and your data. 
 Please add a composite index for this query..  An index is missing but we are 
 unable to tell you which one due to a bug in the App Engine SDK.  If your 
 query only contains equality filters you most likely need a composite index 
 on all the properties referenced in those filters.



It is possible. This means that there are lots of results that match each
filter and no results that match all filters (in the first 10k results). If
you see this, adding the following exploding index should help a great deal:

- kind: Model
  properties:
  - name: list
  - name: list
  - name: string
  - name: date

We plan on removing this exception in the future, but this won't improve
the efficiency of the query (the only thing that will do that is adding
indexes like this).

--Alex


  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine-java/-/cHCKy8QEXw0J.

 To post to this group, send email to
 google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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 group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Is Google planning to offer HR datastore migration feature

2011-07-15 Thread philburk
I would also like to switch to the HR datastore. I am just in
development and do not have any data that I need to keep.

Can I clear out my test data and switch my current app?

Or can I delete my app and then recreate it with the same name but
using the HR datastore?

-- 
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 group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-python] Re: [appengine-java] Re: [google-appengine] Re: 1.5.2 SDK Prerelease

2011-07-15 Thread Alfred Fuller
Yes, you are correct and those indexes will work. It's a trade of, composite
indexes 'pre-intersect' (at write time) properties while zigzag merge join
'post-intersects' properties (at read time). I left the ancestor in because
it is probably very 'selective' which has the potential to greatly reduce
the amount of data that needs intersected at read time (though this is very
data dependent).

On Thu, Jul 14, 2011 at 11:35 AM, PK p...@gae123.com wrote:

 Alfred thanks for the clarification.

 However, isn't ancestor a list too that could contribute to an explosion
 (albeit minor assuming shallow hierarchies). If this is the case, would
 these indexes help/work?

 - kind: Model
   ancestor: yes
   properties:
   - name: int
   - name: date
 direction: desc
 - kind: Model
   properties:
   - name: list1
   - name: int
   - name: date
 direction: desc
 - kind: Model
   properties:
   - name: list2
   - name: int
   - name: date
 direction: desc

 Thanks

  --
 You received this message because you are subscribed to the Google Groups
 google-appengine-python group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine-python/-/aQh0Xx49xlsJ.
 To post to this group, send email to
 google-appengine-pyt...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-python+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-python?hl=en.


-- 
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 group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Higher than expected latencies, 2011 Jul 14 9-11pm PDT/GMT-7

2011-07-15 Thread Wesley C (Google)
From 9-11pm PDT/GMT-7, a set of Java applications experienced higher
than normal latencies. This issue is resolved, but we are currently
conducting an investigation and will follow up with more details
shortly.

- The Google App Engine team

-- 
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 group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] URLFetch Setting User Agent

2011-07-15 Thread ANithian
Hi all,

Apologies if I am missing something fundamental but I am not having
any luck setting the user agent string of my URL connection to a web
site I am trying to invoke.

Here is my code:
URL u = new URL(http://hokiesuns.appspot.com/echorequest;);
HttpURLConnection uConn = (HttpURLConnection)u.openConnection();
uConn.setRequestProperty(User-Agent, MyAgent);

If you access that URL, it will simply print the user agent of the
request and I always see:
AppEngine-Google; (+http://code.google.com/appengine; appid:
s~hokiesuns) (Since my app is hokiesuns and I am invoking from that)

I have read that it's possible to set the user agent and I double
checked the spelling from the HTTP spec, am I missing something?

Thanks
Amit

-- 
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 group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Severe task queue delays after the 7/14 maintenance.

2011-07-15 Thread Jason Cahill
My app is only able to queue at about 2/3rds it's normal rate since the 7/14 
maintenance. The System Status is showing green across the board, but I 
think there's an issue with Task Queues still!

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/T8NmHBMd0QIJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: The page isn't redirecting properly

2011-07-15 Thread fblack61
This the rest of the message.
Firefox has detected that the server is redirecting the request for this 
address in a way that will never complete.

How can I get into my account?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/rx_MYIDpKnkJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Axis2 soap client implementation doesn't work

2011-07-15 Thread Chris Merrill
When I was researching WS clients for GAE, I found that Axis attempts to open
network sockets directly, rather than using HttpUrlConnection.  That was a
while ago, perhaps a work-around has been found.

The AccessControlException you are getting could be a result of that.

Chris


On 7/14/2011 4:16 PM, kamco wrote:
 Hello,
 
 I am implementing SOAP client implementation on server side of
 application.
 
 I am desperate right now, I allways get error. Does somebody have
 suggestions? Thank you very much
 
 public String type_submit(String number, String type, String name) {
 RPCServiceClient serviceClient;
 try {
 serviceClient = new RPCServiceClient();
 Options options = serviceClient.getOptions();
 EndpointReference targetEPR = new EndpointReference(http://
 lala.com);
 options.setTo(targetEPR);
 QName methodName = new QName(ns,three);
 Class?[] returnTypes = new Class[] { String.class };
 Object[] args = new Object[] { number, type, name };
 Object[] response = serviceClient.invokeBlocking(methodName, args,
 returnTypes);
 String ret = (String) response[0];
 return ret;
 } catch (AxisFault e) {
 e.printStackTrace();
 }
 return null;
 }
 
 
 
 I allways get error..
 
 [ERROR] javax.servlet.ServletContext log: Exception while dispatching
 incoming RPC call
 com.google.gwt.user.server.rpc.UnexpectedException: Service method
 'public abstract java.lang.String
 empty.local.hfu.client.rpc.UserTypePageService.type_submit(java.lang.String,java.lang.String,java.lang.String)'
 threw an unexpected exception: java.security.AccessControlException:
 access denied (java.io.FilePermission C:\Users\Kamil-hfu\Downloads
 \eclipse_gwt\plugins
 \com.google.appengine.eclipse.sdkbundle_1.5.0.r36v201105191508\appengine-
 java-sdk-1.5.0.1\lib\impl\agent\appengine-agentruntime.jar read)
   at
 com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:
 385)
   at
 com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
 588)
   at
 com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:
 208)
   at
 com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:
 248)
   at
 com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
 62)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
 511)
   at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1166)
   at
 com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:
 35)
   at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1157)
   at
 com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:
 58)
   at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1157)
   at
 com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:
 43)
   at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1157)
   at
 com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:
 122)
   at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1157)
   at
 com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:
 94)
   at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1157)
   at
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
 388)
   at
 org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
 216)
   at
 org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
 182)
   at
 org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
 765)
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
 418)
   at
 com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:
 70)
   at
 org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
 152)
   at com.google.appengine.tools.development.JettyContainerService
 $ApiProxyHandler.handle(JettyContainerService.java:351)
   at
 org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
 152)
   at org.mortbay.jetty.Server.handle(Server.java:326)
   at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
 542)
   at org.mortbay.jetty.HttpConnection
 $RequestHandler.content(HttpConnection.java:938)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
   at
 

Re: [appengine-java] Re: [google-appengine] Re: 1.5.2 SDK Prerelease

2011-07-15 Thread Matija
OMG... finally... zigzag merge join... 

Any info on query performance 

SELECT * 
FROM Model 
WHERE 
list = :1 AND 
list = :2 AND 
list = :3 
ORDER BY date DESC

with index
- kind: Model
  properties:
  - name: list
  - name: date
 
or is it highly dependent on data distribution?

Matija

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/w_WoWIWmEncJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-python] Re: [appengine-java] Re: [google-appengine] Re: 1.5.2 SDK Prerelease

2011-07-15 Thread Alfred Fuller
:-)

performance is data dependent.

Here is convoluted explanation of performance:
Sx = set of entities where list = :x
smallest_set = min(S1.size(), S2.size(), ...)

It works best when the intersection(S1, S2, S3,...) is large compared to the
smallest_set.
The pathological case is intersection(S1, S2, S3, ...) = 0 and smallest_set
= |all data| / 2

On Fri, Jul 15, 2011 at 12:26 PM, Matija matija.jerko...@gmail.com wrote:

 OMG... finally... zigzag merge join...

 Any info on query performance

 SELECT *
 FROM Model
 WHERE
 list = :1 AND
 list = :2 AND
 list = :3
 ORDER BY date DESC

 with index
 - kind: Model
   properties:
   - name: list
   - name: date

 or is it highly dependent on data distribution?

 Matija

 --
 You received this message because you are subscribed to the Google Groups
 google-appengine-python group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine-python/-/w_WoWIWmEncJ.
 To post to this group, send email to
 google-appengine-pyt...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-python+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-python?hl=en.


-- 
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 group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Higher than expected latencies, 2011 Jul 14 9-11pm PDT/GMT-7

2011-07-15 Thread culov
The issue is NOT resolved -- im still getting way more 500 errors than
i should be.  And I'm experiencing 10 minutes or so at a time where
EVERY request results in a deadline limit exceeded.

On Jul 15, 10:58 am, Wesley C (Google) wesc+...@google.com wrote:
 From 9-11pm PDT/GMT-7, a set of Java applications experienced higher
 than normal latencies. This issue is resolved, but we are currently
 conducting an investigation and will follow up with more details
 shortly.

 - The Google App Engine team

-- 
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 group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] DataStore Statistics not updated for at least 2 days

2011-07-15 Thread lp
hi all

the database stats have NOT been updated for at least 2 days.

it says last updated 19:10:27 but clear what day it happened.

what can be done to get them updated?

-lp

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/C4b789TBJQ0J.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] bulkloader - namespace -errors

2011-07-15 Thread Aswath Satrasala
Hello,
I was trying to download the data for a particular namespace using the
bulkloader tool.  Following command is issued.

C:\backup\vs-accounting\asterix\Program
Files\Google\google_appengine\appcfg.py download_data
--filename=aswath.sql3 --url=http://vs-accounting.appspot.com/r
emote_api --namespace=aswath-gmail-com
Downloading data records.
[INFO] Logging to bulkloader-log-20110715.201356
[INFO] Throttling transfers:
[INFO] Bandwidth: 25 bytes/second
[INFO] HTTP connections: 8/second
[INFO] Entities inserted/fetched/modified: 20/second
[INFO] Batch Size: 10
[INFO] Opening database: bulkloader-progress-20110715.201356.sql3
[INFO] Opening database: bulkloader-results-20110715.201356.sql3
[INFO] Connecting to vs-accounting.appspot.com/remote_api
[ERROR   ] Unable to download kind stats for all-kinds download.
[ERROR   ] Kind stats are generated periodically by the appserver
[ERROR   ] Kind stats are not available on dev_appserver.

Any ideas on how to make bulkloader work with namespaces?

-Aswath
www.AccountingGuru.in

-- 
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 group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: GAE Eclipse Plugin for Indigo (3.7)

2011-07-15 Thread Akash Mohan
Hi David

Does GPE have an option of manual install?

Thanks
Akash

On Jul 13, 7:17 pm, David Chandler drfibona...@google.com wrote:
 Hi Akash,

 Sorry you're having problems. I just tried a fresh install of Eclipse 3.7
 for Java EE Developers on Mac and I'm unable to reproduce this. If you try a
 fresh Eclipse install in a new workspace, what happens? Also confirm that
 you're using the correct update site URL for 3.7:

 http://dl.google.com/eclipse/plugin/3.7

 /dmc

 On Tue, Jul 12, 2011 at 12:25 PM, Akash Mohan 
 akashmohanak...@gmail.comwrote:









  GPE Installation on eclipse 3.7 is throwing up errors as shown below:

  n error occurred while collecting items to be installed
  session context was:(profile=epp.package.jee,
  phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
  action=).
  No repository found containing:
  osgi.bundle,com.google.appengine.eclipse.sdkbundle,
  1.5.1.r37v201106211634
  No repository found containing:

  org.eclipse.update.feature,com.google.appengine.eclipse.sdkbundle.e37.featu 
  re,
  1.5.1.r37v201106211634
  No repository found containing:
  osgi.bundle,com.google.gdt.eclipse.designer,2.3.2.r37x201106201351
  No repository found containing:
  osgi.bundle,com.google.gdt.eclipse.designer.UiBinder,
  2.3.2.r37x201106201351
  No repository found containing:
  org.eclipse.update.feature,com.google.gdt.eclipse.designer.editor.feature,
  2.3.2.r37x201106201351
  No repository found containing:
  osgi.bundle,com.google.gdt.eclipse.designer.hosted,
  2.3.2.r37x201106161421
  No repository found containing:
  osgi.bundle,com.google.gdt.eclipse.designer.hosted.
  2_0,2.3.2.r37x201106161421
  No repository found containing:
  osgi.bundle,com.google.gdt.eclipse.designer.hosted.2_0.super,
  2.3.2.r37x201106161421
  No repository found containing:
  osgi.bundle,com.google.gdt.eclipse.designer.hosted.2_0.webkit,
  2.3.2.r37x201106161421
  No repository found containing:
  osgi.bundle,com.google.gdt.eclipse.designer.hosted.
  2_0.webkit_win32x64,2.3.2.r37x201106161421
  No repository found containing:
  osgi.bundle,com.google.gdt.eclipse.designer.hosted.
  2_2,2.3.2.r37x201106161421
  No repository found containing:
  osgi.bundle,com.google.gdt.eclipse.designer.hosted.2_2.webkit,
  2.3.2.r37x201106161421
  No repository found containing:
  org.eclipse.update.feature,com.google.gdt.eclipse.designer.hosted.feature,
  2.3.2.r37x201106161421
  No repository found containing:
  osgi.bundle,com.google.gdt.eclipse.designer.hosted.lib,
  2.3.2.r37x201106161421
  No repository found containing: osgi.bundle,org.eclipse.wb.core,
  1.0.0.r37x201106161401
  No repository found containing:
  osgi.bundle,org.eclipse.wb.core.databinding,1.0.0.r37x201106161401
  No repository found containing:
  osgi.bundle,org.eclipse.wb.core.databinding.xml,1.0.0.r37x201106161417
  No repository found containing:
  org.eclipse.update.feature,org.eclipse.wb.core.feature,
  1.0.0.r37x201106161401
  No repository found containing: osgi.bundle,org.eclipse.wb.core.lib,
  1.0.0.r37x201106161401
  No repository found containing: osgi.bundle,org.eclipse.wb.core.xml,
  1.0.0.r37x201106161417
  No repository found containing:
  org.eclipse.update.feature,org.eclipse.wb.core.xml.feature,
  1.0.0.r37x201106161417
  No repository found containing: osgi.bundle,org.eclipse.wb.css,
  1.0.0.r37x201106161406
  No repository found containing:
  org.eclipse.update.feature,org.eclipse.wb.css.feature,
  1.0.0.r37x201106161406
  No repository found containing:
  osgi.bundle,org.eclipse.wb.jdt.fragment,1.0.0.r37x201106161401
  No repository found containing: osgi.bundle,org.eclipse.wb.os,
  1.0.0.r37x201106161401
  No repository found containing:
  osgi.bundle,org.eclipse.wb.os.win32,1.0.0.r37x201106161401
  No repository found containing: osgi.bundle,org.eclipse.wb.runtime,
  1.0.0.r37x201106161401
  No repository found containing: osgi.bundle,org.eclipse.wb.runtime.lib,
  1.0.0.r37x201106161401

  On Jun 29, 5:15 pm, David Chandler drfibona...@google.com wrote:
   Yes!

  http://googlewebtoolkit.blogspot.com/2011/06/gpe-support-for-eclipse-...

   On Jun 28, 10:03 am, JT jem...@gmail.com wrote:

Team, will the plugin works with recently released Eclipse 3.7? Thanks.

   --
   David Chandler
   Developer Programs Engineer, GWT+GAE
   w:http://code.google.com/
   b:http://googlewebtoolkit.blogspot.com/
   t: @googledevtools

  --
  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 group, send email to
  google-appengine-java+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.

 --
 David Chandler
 Developer Programs Engineer, GWT+GAE
 w:http://code.google.com/
 b:http://turbomanage.wordpress.com/
 b:http://googlewebtoolkit.blogspot.com/
 t: @googledevtools

-- 
You