Re: [google-appengine] filter logs by user?

2014-02-27 Thread Vinny P
On Wed, Feb 26, 2014 at 8:35 AM, stephanos  wrote:

> we would like to filter our logs by user as well as by company.
> The dashboard provides filtering by "Labels" and explains that these are
> "regular expressions for filtering Apache Combined logs". It also lists a
> few valid labels including "user" and "identd_user".
> How can I specify the values for those labels so that App Engine will
> parse them correctly?
>


Hi Stephan,

It's a fairly straightforward regular expression. Here's a simple example:
I uploaded a Go application which uses Google Accounts to log in, then
logged in with my *vinnyapp* Gmail account. Then I went into logs and
searched for my login. Here's an example of the search (note that the
*labels* radiobox is selected): http://imgur.com/1qeJ5tZ  and here's an
example of one of the logs that the search pulled up:
http://imgur.com/XteD1FN . Note that my Google account is listed in the
logs.

If you're using the built-in Users service, the logs should automatically
record the user logging in. If you're not, then you'll have to find a
different way of recording the current user and inspecting the logs.


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] golang Appengine edge cache not work

2014-02-27 Thread Vinny P
On Thu, Feb 27, 2014 at 3:41 AM, poke  wrote:
>
> My go app (paid) converted from java app . Using same header , but only go
> app edge cache not work
>
> Here are the header
> root@Server:~# curl -I http://www.showsites.us/sites/imow.org
> HTTP/1.1 200 OK
> Content-Type: text/html; charset=utf-8
> Cache-Control: public, max-age=172800
> Pragma: public
> Last-Modified: Wed, 01 Aug 2012 05:49:54 GMT
> Date: Thu, 27 Feb 2014 09:32:19 GMT
> Server: Google Frontend
> Alternate-Protocol: 80:quic,80:quic
> Transfer-Encoding: chunked
>


Hello,

As far as I'm aware, the Edgecache system doesn't depend on the language
runtime; it operates on a separate part of Google's infrastructure. In
short, it shouldn't matter whether your code is written in Go or Java.

Can you try increasing the *max-age* time and then repeatedly accessing the
page? Sometimes Edgecache won't cache the page - even if it has the correct
headers - if the page isn't being accessed frequently enough. You can use
ApacheBench ( http://en.wikipedia.org/wiki/ApacheBench ) to automate the
repeated access.


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] java.lang.NoClassDefFoundError: com/google/api/client/extensions/appengine/auth/oauth2/AbstractAppEngineAuthorizationCodeServlet

2014-02-27 Thread Vinny P
On Thu, Feb 27, 2014 at 8:49 AM, Amit Rai  wrote:
>
> I have included all the dependency jar file and build path also.And this
> code is compiled successfully but while running in localhost
> its giving following error.
>
> org.mortbay.util.MultiException[java.lang.NoClassDefFoundError:
> com/google/api/client/extensions/appengine/auth/oauth2/AbstractAppEngineAuthorizationCodeCallbackServlet,
> java.lang.NoClassDefFoundError:
> com/google/api/client/extensions/appengine/auth/oauth2/AbstractAppEngineAuthorizationCodeServlet]
>



Are you including the JAR dependencies via Maven or by manually placing the
library JAR? If you're manually placing the JAR file, where did you
originally download the file from? Can you open up the JAR and double check
that the "missing" classes are included?


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Publishing Google App Engine applications using UserService rejected on Google Apps Marketplace

2014-02-27 Thread Vinny P
On Tue, Feb 25, 2014 at 5:32 AM, Daniel Florey 
 wrote:
>
> My apps have been rejected as the Google Apps Marketplace allows only
> Oauth2 / OpenID connect for logging in.
> How can I use the UserService with the new Google Apps Marketplace?
> Is the UserService sill officially supported or is it somehow deprecated?
> The OpenID still is marked as experimental and OAuth2 is not supported at
> all.
>


Hi Daniel,

Apps published in the Google Apps Marketplace have to implement Single
Sign-On: you can see here for details (
https://developers.google.com/google-apps/marketplace/sso ) but essentially
it means that by using OAuth/OpenID, users won't have to login to your
application when it's opened via Apps.

UserService isn't deprecated, it's just that it doesn't smoothly connect
with SSO just yet.

-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Re: Announcing a credit for App Engine applications with new custom domains

2014-02-27 Thread Laurent Raufaste
Well that's good to know, thanks for the update.

On Thursday, February 27, 2014 8:23:32 PM UTC-5, Andrew Jessup wrote:
>
> Hi Folks,
>
> I don't have a more concrete update to share at this time, since we don't 
> like talking about features that haven't been released yet. 
>
> But we completely aware this is a huge pain point, and engineers *are* 
> actively 
> working on it right now.
>
>
> On Wed, Feb 26, 2014 at 4:07 AM, Max Völkel 
> > wrote:
>
>> Such  a great product sleeping in such an unusable state. Don't your 
>> analytics clearly show a decline in new users?
>>  
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengi...@googlegroups.com .
>> To post to this group, send email to 
>> google-a...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
>
> Andrew Jessup | Product Manager, Google Cloud Platform | 
> jes...@google.com
>  
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Have anyone tried to port a java project with heavy framworks, such as struts and spring, to a pure jsp/servlet project?

2014-02-27 Thread Tapir
How long is the warmup time of your app?
Can you show the configuration file of your app? (appengine-web.xml)

On Friday, February 28, 2014 1:02:28 AM UTC+8, de Witte wrote:

> We don't use modules, why should you? Do you have a requirement which 
> cannot be done without them?
>
>
> Op donderdag 27 februari 2014 02:58:56 UTC+1 schreef Rafael Sanches:
>>
>> De Witte,
>>
>> Do you have a multi module project?
>>
>> How do you handle that without module? The eclipse plugin doesn't work 
>> with that setup.
>>
>> thanks
>> rafa
>>
>>
>> On Wed, Feb 26, 2014 at 3:45 PM, de Witte  wrote:
>>
>>> We have been working with Java and GAE for several years now and so far 
>>> no problems. 
>>>
>>> AngularJs + ExtJS 4.0 is a good combo for the front end. Although I 
>>> prefer GWT.
>>>
>>> Spring+Maven is a headache even without GAE. We have been avoiding it 
>>> and doing fine.
>>>
>>>  
>>>
>>>
>>>
>>>
>>> Op maandag 24 februari 2014 03:11:22 UTC+1 schreef Rafael Sanches:

 Not being updated doesn't mean it doesn't work properly. 

 GAE + java is definitely frustrating, but some of your statements are a 
 bit too broad ;)
  

 On Sun, Feb 23, 2014 at 12:44 AM, Tapir  wrote:

>
>
> On Sunday, February 23, 2014 1:47:28 PM UTC+8, Rafael Sanches wrote:
>>
>> Can you try and let us all know? it may be the solution you're 
>> looking for. 
>>
>>
> The Google App Engine module for Play has not been updated for 2 
> years! :(
>
> For another one, Objectify , https://code.google.com/p/
> play-framework-objectify/, the showcase on this page need >15 seconds 
> to load. :(
>
> The decision is made, I will never use java for web development any 
> more, for many reasons, such as not support hot deploy, large memory 
> consumption, too many configurations, too many hidden elements, and too 
> slow startup on GAE.
>  
>
>>
>> On Thu, Feb 20, 2014 at 8:29 PM, Tapir  wrote:
>>
>>>
>>>
>>> On Friday, February 21, 2014 5:39:17 AM UTC+8, Rafael Sanches wrote:

 Have you tried playframework? They have optimizations to make your 
 life easier when developing. 

 My life is living hell right now when developing with maven and 
 appengine. The play framework solves that by running their own thing. 

 Read more: 
 http://www.playframework.com/documentation/1.0/gae

>>>
>>> I don't think they can bypass the core GAE SDK lib.
>>> The problem of GAE Java is at the core GAE SDK lib.
>>>  
>>>



 On Wed, Feb 19, 2014 at 7:24 PM, Tapir  wrote:

>
>
> On Thursday, February 20, 2014 6:26:52 AM UTC+8, Emanuele Ziglioli 
> wrote:
>>
>> Great stuff
>>
>> hope you don't move to Go too soon!
>>
>
> Why?
> It is a way of no ways.
>  
>
>>
>> On Thursday, 20 February 2014 03:52:33 UTC+13, Tapir wrote:
>>>
>>>
>>>
>>> On Tuesday, February 18, 2014 6:43:56 PM UTC+8, Tapir wrote:



 On Tuesday, February 18, 2014 4:56:51 PM UTC+8, Rafael Sanches 
 wrote:
>
> very interesting... 
>
> can you tell me how you did that? in a maven build or only via 
> eclipse?
>

 neither, I did it manually.

 ok, the new test result:
 1. if I remove all jar files from the war/WEB-INF/lib, the 
 warmup time is about 2.3 seconds. 
 2. if I put the only the core app engine sdk jar file in 
 war/WEB-INF/lib, but doesn't reference it, the warmup time is 
 about 2.9 
 seconds.
 3. if I put "DatastoreService datastore = 
 DatastoreServiceFactory.getDatastoreService();" in the jsp 
 file but do nothing eslse, the warmup time is 3.5 seconds
 4. if I put a query in the default jsp file, the warmup time is 
 4.7 seconds.
 5. if I convert query result as list, the warmup time is 6 
 seconds.

>>>
>>>
>>> made some new tests today. The results are some different.
>>>
>>> ===
>>>
>>> First, the impact of number of lib jar files:
>>> 1. no lib jar files, warm up time = 3 seconds (slower than 
>>> yesterday)
>>> 2. one core lib jar file, no refs, warm up time = 5 seconds 
>>> (slower than yesterday)
>>> 3. four core lib jar files (the ones under

Re: [google-appengine] Re: Announcing a credit for App Engine applications with new custom domains

2014-02-27 Thread Andrew Jessup
Hi Folks,

I don't have a more concrete update to share at this time, since we don't
like talking about features that haven't been released yet.

But we completely aware this is a huge pain point, and engineers *are* actively
working on it right now.


On Wed, Feb 26, 2014 at 4:07 AM, Max Völkel  wrote:

> Such  a great product sleeping in such an unusable state. Don't your
> analytics clearly show a decline in new users?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 

Andrew Jessup | Product Manager, Google Cloud Platform | jes...@google.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Deplyement issue for Java 6

2014-02-27 Thread Vinny P
On Thu, Feb 27, 2014 at 5:35 AM, Deepak Singh 
 wrote:

> I have started facing deployment issue for my Java 6 app suddenly, asking
> to update for Java 7 and would not allow Java 6 app any more.
>



This was listed in the patch notes for 1.9.0 (scroll down to the Java
header):
https://groups.google.com/d/msg/google-appengine/iuvuVPJqPHc/N5ga3_RKjJ8J

Here's the relevant snippet:

*Java 6 applications cannot be deployed to Google App Engine from any
version *
*  of the SDK. Existing Java 6 applications will continue to run. If you
are*
*  still relying on a Java 6 application in Google App Engine, we strongly*
*  encourage you to start testing and deploying your app using Java 7. Java
7*
*  has been certified by Oracle to be fully backwards compatible with Java
6,*
*  as well as providing a number of benefits to developers. Java 7
applications*
*  will be fully supported in future releases of the App Engine SDK.*
*  If you absolutely need to continue to deploy Java 6 applications for*
*  compatibility reasons, you can request that your application be
whitelisted*
*  for Java 6 deployment from http://goo.gl/ycffXq .
As we review each whitelist*
*  application by hand, please allow 10 working days for review, and note
that*
*  only billed applications that show a proven incompatibility will be*
*  considered for exemption.*


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Have anyone tried to port a java project with heavy framworks, such as struts and spring, to a pure jsp/servlet project?

2014-02-27 Thread de Witte
We don't use modules, why should you? Do you have a requirement which 
cannot be done without them?


Op donderdag 27 februari 2014 02:58:56 UTC+1 schreef Rafael Sanches:
>
> De Witte,
>
> Do you have a multi module project?
>
> How do you handle that without module? The eclipse plugin doesn't work 
> with that setup.
>
> thanks
> rafa
>
>
> On Wed, Feb 26, 2014 at 3:45 PM, de Witte 
> > wrote:
>
>> We have been working with Java and GAE for several years now and so far 
>> no problems. 
>>
>> AngularJs + ExtJS 4.0 is a good combo for the front end. Although I 
>> prefer GWT.
>>
>> Spring+Maven is a headache even without GAE. We have been avoiding it and 
>> doing fine.
>>
>>  
>>
>>
>>
>>
>> Op maandag 24 februari 2014 03:11:22 UTC+1 schreef Rafael Sanches:
>>>
>>> Not being updated doesn't mean it doesn't work properly. 
>>>
>>> GAE + java is definitely frustrating, but some of your statements are a 
>>> bit too broad ;)
>>>  
>>>
>>> On Sun, Feb 23, 2014 at 12:44 AM, Tapir  wrote:
>>>


 On Sunday, February 23, 2014 1:47:28 PM UTC+8, Rafael Sanches wrote:
>
> Can you try and let us all know? it may be the solution you're looking 
> for. 
>
>
 The Google App Engine module for Play has not been updated for 2 years! 
 :(

 For another one, Objectify , https://code.google.com/p/
 play-framework-objectify/, the showcase on this page need >15 seconds 
 to load. :(

 The decision is made, I will never use java for web development any 
 more, for many reasons, such as not support hot deploy, large memory 
 consumption, too many configurations, too many hidden elements, and too 
 slow startup on GAE.
  

>
> On Thu, Feb 20, 2014 at 8:29 PM, Tapir  wrote:
>
>>
>>
>> On Friday, February 21, 2014 5:39:17 AM UTC+8, Rafael Sanches wrote:
>>>
>>> Have you tried playframework? They have optimizations to make your 
>>> life easier when developing. 
>>>
>>> My life is living hell right now when developing with maven and 
>>> appengine. The play framework solves that by running their own thing. 
>>>
>>> Read more: 
>>> http://www.playframework.com/documentation/1.0/gae
>>>
>>
>> I don't think they can bypass the core GAE SDK lib.
>> The problem of GAE Java is at the core GAE SDK lib.
>>  
>>
>>>
>>>
>>>
>>> On Wed, Feb 19, 2014 at 7:24 PM, Tapir  wrote:
>>>


 On Thursday, February 20, 2014 6:26:52 AM UTC+8, Emanuele Ziglioli 
 wrote:
>
> Great stuff
>
> hope you don't move to Go too soon!
>

 Why?
 It is a way of no ways.
  

>
> On Thursday, 20 February 2014 03:52:33 UTC+13, Tapir wrote:
>>
>>
>>
>> On Tuesday, February 18, 2014 6:43:56 PM UTC+8, Tapir wrote:
>>>
>>>
>>>
>>> On Tuesday, February 18, 2014 4:56:51 PM UTC+8, Rafael Sanches 
>>> wrote:

 very interesting... 

 can you tell me how you did that? in a maven build or only via 
 eclipse?

>>>
>>> neither, I did it manually.
>>>
>>> ok, the new test result:
>>> 1. if I remove all jar files from the war/WEB-INF/lib, the 
>>> warmup time is about 2.3 seconds. 
>>> 2. if I put the only the core app engine sdk jar file in 
>>> war/WEB-INF/lib, but doesn't reference it, the warmup time is about 
>>> 2.9 
>>> seconds.
>>> 3. if I put "DatastoreService datastore = 
>>> DatastoreServiceFactory.getDatastoreService();" in the jsp file 
>>> but do nothing eslse, the warmup time is 3.5 seconds
>>> 4. if I put a query in the default jsp file, the warmup time is 
>>> 4.7 seconds.
>>> 5. if I convert query result as list, the warmup time is 6 
>>> seconds.
>>>
>>
>>
>> made some new tests today. The results are some different.
>>
>> ===
>>
>> First, the impact of number of lib jar files:
>> 1. no lib jar files, warm up time = 3 seconds (slower than 
>> yesterday)
>> 2. one core lib jar file, no refs, warm up time = 5 seconds 
>> (slower than yesterday)
>> 3. four core lib jar files (the ones under sdk user folder), no 
>> refs, warm up time = 5.7 seconds 
>> 4. fifty-four jar files (used in my projects) , no refs, warm up 
>> time = 6.2 seconds 
>>
>> So, obviously,  the core GAE SDK lib files have a big impact on 
>> the warm up time.
>>
>> ===

[google-appengine] java.lang.NoClassDefFoundError: com/google/api/client/extensions/appengine/auth/oauth2/AbstractAppEngineAuthorizationCodeServlet

2014-02-27 Thread Amit Rai
Hi 

Here I am doing google directory search that will search all the people in 
same directory using java.
Below is the block of code

public class DirectorySampleServlet
extends AbstractAppEngineAuthorizationCodeServlet {

  /**
   * Be sure to specify the name of your application. If the application 
name is {@code null} or
   * blank, the application will log a warning. Suggested format is 
"MyCompany-ProductName/1.0".
   */
  private static final String APPLICATION_NAME = "";

  private static final long serialVersionUID = 1L;

  @Override
  public void doGet(HttpServletRequest req, HttpServletResponse resp)
  throws IOException, ServletException {
// Get the stored credentials using the Authorization Flow
AuthorizationCodeFlow authFlow = initializeFlow();
Credential credential = authFlow.loadCredential(getUserId(req));
// Build the Directory object using the credentials
@SuppressWarnings("unused")
Directory admin = new Directory.Builder(
Utils.HTTP_TRANSPORT, Utils.JSON_FACTORY, credential)
.setApplicationName(APPLICATION_NAME)
.build();

// Add the code to make an API call here.

// Send the results as the response
resp.setStatus(200);
resp.setContentType("text/html");
PrintWriter writer = resp.getWriter();
writer.println("Success! Now add code here.");
  }
  @Override
  protected AuthorizationCodeFlow initializeFlow() throws ServletException, 
IOException {
return Utils.initializeFlow();
  }

  @Override
  protected String getRedirectUri(HttpServletRequest req) throws 
ServletException, IOException {
return Utils.getRedirectUri(req);
  }
}




I have included all the dependency jar file and build path also.And this 
code is compiled successfully but while running in localhost 
its giving following error.



org.mortbay.util.MultiException[java.lang.NoClassDefFoundError: 
com/google/api/client/extensions/appengine/auth/oauth2/AbstractAppEngineAuthorizationCodeCallbackServlet,
 
java.lang.NoClassDefFoundError: 
com/google/api/client/extensions/appengine/auth/oauth2/AbstractAppEngineAuthorizationCodeServlet]
at 
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:656)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at 
com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:249)
at 
com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:306)
at 
com.google.appengine.tools.development.AutomaticInstanceHolder.startUp(AutomaticInstanceHolder.java:26)
at 
com.google.appengine.tools.development.AbstractModule.startup(AbstractModule.java:79)
at com.google.appengine.tools.development.Modules.startup(Modules.java:88)
at 
com.google.appengine.tools.development.DevAppServerImpl.doStart(DevAppServerImpl.java:254)
at 
com.google.appengine.tools.development.DevAppServerImpl.access$000(DevAppServerImpl.java:47)
at 
com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:212)
at 
com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:210)
at java.security.AccessController.doPrivileged(Native Method)
at 
com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:210)
at 
com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:414)
at 
com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48)
at 
com.google.appengine.tools.development.DevAppServerMain.(DevAppServerMain.java:348)
at 
com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:324)
java.lang.NoClassDefFoundError: 
com/google/api/client/extensions/appengine/auth/oauth2/AbstractAppEngineAuthorizationCodeCallbackServlet


Someone please help me regarding this.Thanks in advance



-- 
This message and any files transmitted with it are the property of 
Sigma-Aldrich Corporation, are confidential, and are intended solely for 
the use of the person or entity to whom this e-mail is addressed. If you 
are not one of the named recipient(s) or otherwise have reason to believe 
that you have received this message in error, please contact the sender and 
delete this message immediately from your computer. Any other use, 
retention, d

Re: [google-appengine] Deplyement issue for Java 6

2014-02-27 Thread Shilendra Sharma
Yes!! Google Team already update you for this !. It's not big issue you
change your java version for this !!! It will solve automatic.


On Thu, Feb 27, 2014 at 5:05 PM, Deepak Singh wrote:

> I have started facing deployment issue for my Java 6 app suddenly, asking
> to update for Java 7 and would not allow Java 6 app any more.
>
> Anyone else facing the same.
>
> --
> Deepak Singh
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Thanks,
Shilendra

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: Best way to update 400,000 entities at once?

2014-02-27 Thread de Witte
Use a backend instance and keep it running until done.

Or

Use two tasks. One for retrieving 1000 keys at the time and a second one to 
update the entities in a batch of 1000.

Done it for 300.000 entities in less than a 20 mins. ~300 tasks

Op vrijdag 7 februari 2014 22:43:33 UTC+1 schreef Keith Lea:
>
> Hi everyone,
>
> I'm a long time App Engine user for my app's backend, but I'm really still 
> a novice about the datastore.
>
> I'd like to add a new property (and index) for all entities of a certain 
> type. I have about 400,000 of this type of entity in the datastore, and I'd 
> like to load each one, add a property, and save it back to the datastore. 
> 400,000 times.
>
> This will obviously take a long time, so I'd really like to split it up 
> into ~100 tasks that each take 1/100th of the entities (~4,000 entities) 
> and perform this operation.
>
> But I really don't know how to do this using queries, and the Java 
> MapReduce library is overwhelmingly complicated. 
>
> So how can I create 100 tasks that each take a unique chunk of the 
> entities to operate on? Is this called "sharding"? Is there a way for a 
> task to say "give me entity #200,000 thru #204,000"? (My entity's keys are 
> strings, which were generated by my application and generally look like 
> "928348-com.example-iOS".)
>
> I'm using Java and Objectify btw. Thanks for any help or guidance!!
>
> Keith
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Deplyement issue for Java 6

2014-02-27 Thread Deepak Singh
I have started facing deployment issue for my Java 6 app suddenly, asking
to update for Java 7 and would not allow Java 6 app any more.

Anyone else facing the same.

-- 
Deepak Singh

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] golang Appengine edge cache not work

2014-02-27 Thread poke

My go app (paid) converted from java app . Using same header , but only go 
app edge cache not work 

Here are the header 
root@Server:~# curl -I http://www.showsites.us/sites/imow.org
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=172800
Pragma: public
Last-Modified: Wed, 01 Aug 2012 05:49:54 GMT
Date: Thu, 27 Feb 2014 09:32:19 GMT
Server: Google Frontend
Alternate-Protocol: 80:quic,80:quic
Transfer-Encoding: chunked

2nd tries 

root@Server:~# curl -I http://www.showsites.us/sites/imow.org
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=172800
Pragma: public
Last-Modified: Wed, 01 Aug 2012 05:49:54 GMT
Date: Thu, 27 Feb 2014 09:35:57 GMT
Server: Google Frontend
Alternate-Protocol: 80:quic,80:quic
Transfer-Encoding: chunked



As you see cache header not work here is example java app that edge cache 
worked 

root@Server:~# curl -I 
http://www.myhotarticles.us/article/exam-98-349-mta-windows-operating-system-fundamentals
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Date: Thu, 27 Feb 2014 09:38:21 GMT
Server: Google Frontend
Cache-Control: public, max-age=2592000
*Age: 16*
Alternate-Protocol: 80:quic,80:quic
Transfer-Encoding: chunked


and no request in access log 

Another question is why Server: Google Frontend header is send after than 
Cache-Control: public, max-age=2592000 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] How to filter a Query by Date

2014-02-27 Thread Ben Liet

>
> As you noted, the datastore only supports one inequality filter. In 
> general, most people get around it by querying on one inequality, 
> collecting all the matching results, and filtering on the other inequality 
> within the application. Another way is to use IN queries: see this example 
> SO answer: 
> http://stackoverflow.com/questions/14939152/gae-datastore-filter-by-date-interval
>   
>

ok, thanks for the reply.
it is very disappointing that theres only this ungly workarounds...  

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: Appengine Python seems to be slow after the general release of 1.9

2014-02-27 Thread timh
Things seem to have settled back down to more normal response times and 
scheduler behaviour.

T

On Thursday, February 27, 2014 9:10:24 AM UTC+8, timh wrote:
>
> Scheduler behavior seems to be all over the shop as well.
> Hopefully this will settle down soon :-)
>
> T
>
> On Thursday, February 27, 2014 8:22:13 AM UTC+8, timh wrote:
>>
>> Hi
>>
>> I hope this is just an artifact of the roll out of 1.9 and things settle 
>> down.
>>  At the moment appengine seems very slow, actions that are normally sub 
>> 200ms is up above 800ms, and things that might take 800ms are somewhere 
>> between 1300ms and 4000ms.
>>
>> In the last 6 hours loading latency has also gone from sub 4000ms to 
>> around nearly 6000ms.
>>
>> Cheers
>>
>> Tim
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.