Re: [google-appengine] java.lang.NoClassDefFoundError: com/google/api/services/servicemanagement/ServiceManagement$Builder

2021-03-03 Thread 'Olu' via Google App Engine
Hello Rajesh,

Surely, reporting the issue by creating a Developer's Support ticket is a 
viable way to further evaluate this issue. The GCP Support Engineers would 
be able to check the details of the Logs and any underlying conditions or 
infrastructure, which may be causing the issue you reported.  

I have not attempted deploying a Java8 recently, certainly not this year, 
but is there any reason for asking about that?

On Tuesday, March 2, 2021 at 11:57:13 PM UTC-5 
rajesh...@veersoftsolutions.com wrote:

> Hello,
>
> I am experiencing similar java.lang.NoClassDefFoundError error.  Its not 
> the same class as you said, but it is one of my internal class.  
> I was able to deploy the code a week ago, and the same code I am not able 
> to deploy for the last two days.
>
> I have opened a developer support ticket.
>
> Has anyone recently deployed a java 8 app to the standard app engine?
>
>
> On Mon, Mar 1, 2021 at 11:17 PM bml  wrote:
>
>> Hello all, running into the below problem. The odd thing is all was 
>> working then this started without any change to code.   This 
>> com/google/api/services/servicemanagement/ServiceManagement$Builder is a 
>> private class of GAE right?  I could try downgrading my version of 
>> endpoints-management-control-appengine-all but is anyone running into this 
>> ? Any suggestions much appreciated. Thanks!
>>
>> Uncaught exception from servlet java.lang.NoClassDefFoundError: 
>> com/google/api/services/servicemanagement/ServiceManagement$Builder
>> at 
>> com.google.api.config.ServiceConfigSupplier.(ServiceConfigSupplier.java:108)
>> at 
>> com.google.api.config.ServiceConfigSupplier.create(ServiceConfigSupplier.java:233)
>> at 
>> com.google.api.config.ServiceConfigFetcher.create(ServiceConfigFetcher.java:45)
>> at 
>> com.google.api.control.ServiceManagementConfigFilter$1.load(ServiceManagementConfigFilter.java:33)
>> at com.google.api.control.ConfigFilter.init(ConfigFilter.java:90)
>> at 
>> org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:139)
>> at 
>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:881)
>> at 
>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:349)
>> at 
>> org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1406)
>> at 
>> com.google.apphosting.runtime.jetty9.AppEngineWebAppContext.startWebapp(AppEngineWebAppContext.java:175)
>> at 
>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1368)
>> at 
>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778)
>> at 
>> org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)
>> at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:522)
>> at 
>> com.google.apphosting.runtime.jetty9.AppEngineWebAppContext.doStart(AppEngineWebAppContext.java:120)
>> at 
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>> at 
>> com.google.apphosting.runtime.jetty9.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:240)
>> at 
>> com.google.apphosting.runtime.jetty9.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:178)
>> at 
>> com.google.apphosting.runtime.jetty9.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:120)
>> at 
>> com.google.apphosting.runtime.JavaRuntime$RequestRunnable.dispatchServletRequest(JavaRuntime.java:772)
>> at 
>> com.google.apphosting.runtime.JavaRuntime$RequestRunnable.dispatchRequest(JavaRuntime.java:735)
>> at 
>> com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:705)
>> at 
>> com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:261)
>> at java.lang.Thread.run(Thread.java:748)
>> Caused by: java.lang.ClassNotFoundException: 
>> com.google.api.services.servicemanagement.ServiceManagement$Builder
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>> at 
>> com.google.apphosting.runtime.ApplicationClassLoader.findClass(ApplicationClassLoader.java:135)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>> 
>> from pom file
>> ```
>> 
>> com.google.endpoints
>> endpoints-framework
>> 2.2.2
>> 
>> 
>> com.google.endpoints
>> endpoints-management-control-appengine-all
>> 1.0.14
>> 
>>
>> 
>> com.google.endpoints
>> endpoints-framework-auth
>> 1.0.14
>> 
>> 
>> com.google.firebase
>> firebase-admin
>> 7.1.0
>> 
>> 
>> com.google.endpoints
>> endpoints-framework-tools
>> 2.2.2
>> 
>> 
>> com.google.appengine
>> appengine-api-1.0-sdk
>> 1.9.83
>> ```
>>
>> My dependency tree is:
>>
>> com.meety:meetings:war:0.1.0-SNAPSHOT
>> [INFO] +- com.google.endpoints:endpoints-framework:jar:2.2.2:compile
>> [INFO] |  +- com.google.guava:guava:jar:20.0:compile
>> [INFO] |  +- 
>> 

[google-appengine] Re: GraphQL on AppEngine Standard

2021-03-01 Thread 'Olu' via Google App Engine

Hello, 

Running GraphQL On App Engine, it seems there is no GCP Documentation that 
particularly addresses this concern. However, I do believe there are some 
information over third party sites. 

I see this GitHub link[1] for graphql-yoga, which is based on the Apollo 
Framework. However, it requires Websockets which may not necessarily be 
available in App Engine Standard but with App Engine Flexible[2]. Hence, I 
am not sure how useful that would be in your use-case. I believe there are 
workarounds provided on this Stackoverflow links for App Engine 
Standard[3]. 

This article[4] also attempts to provide some pointers but it is important 
to note that the article used older apollo and Node.JS runtime. 

I suggest you likewise taking this question to the Apollo community[4] to 
discuss it further. 

Thanks!

[1]https://github.com/prisma-labs/graphql-yoga
[2]https://cloud.google.com/appengine/docs/flexible/python/using-websockets-and-session-affinity
[3]https://stackoverflow.com/questions/4114902/how-can-i-run-a-websocket-server-on-top-of-gae
[4]https://medium.com/google-cloud/apollo-graphql-server-on-google-app-engine-in-under-5-minutes-bbd64050e9ff
[5]https://spectrum.chat/apollo?tab=posts
On Monday, March 1, 2021 at 9:18:50 AM UTC-5 Jagath Weerasinghe wrote:

> Hello, 
>
> Currently, we are running our REST APIs on AppEngine standard (Java 8) 
> with Cloud Endpoints. I am looking into running a GraphQL server on top of 
> that to serve mobile clients. If you have done this I appreciate any 
> recommendations/directions on getting this done. I see some cases running 
> apollo graphql on appengine 
> ,
>  
> but not sure about the production readiness of those solutions. 
>
> Thanks! 
> Jagath
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9828da0c-9647-46ea-b415-6a7fe33187ccn%40googlegroups.com.


[google-appengine] Re: Setting regions when creating a scheduled query in BQ

2022-02-01 Thread 'Olu' via Google App Engine
Hello Paul,

There are a number of reasons why this error may be obtained. It could be 
about your configurations, at the same time, there was a report of the 
error being related to a Console UI issue. So, the first step is to ensure 
that your configurations are right. 

I will like to point you to these Stackoverflow links[0][1] where similar 
concerns were reported. There are a few recommendations and suggestions 
from the Community on what to do about your setup. If the issue persists 
about the changes, then we may be able to help further at that point. 

[0]https://stackoverflow.com/questions/60259740/bigquery-scheduled-query-cannot-create-a-transfer-in-jurisdiction-us-when-des
[1]https://stackoverflow.com/questions/65398176/bigquery-scheduled-query-cannot-create-a-transfer-in-jurisdiction-us-when-desti?rq=1

On Sunday, January 30, 2022 at 1:12:44 PM UTC-5 Paul Swanson wrote:

> Hello,
>
> I'm pretty new to using GCP and BigQuery, and I've run into an issue I was 
> hoping someone might be able to help with.
>
> I have several tables added in BigQuery that are coming from Google 
> Sheets. I would like to create a scheduled query that pulls that data 
> together, but when I try to create this I get a message stating: "Error 
> creating scheduled query: Cannot create a transfer in JURISDICTION_US when 
> destination dataset is located in REGION_ASIA_SOUTHEAST_1"
>
> The GCP instance is set in REGION_ASIA_SOUTHEAST_1 because the school 
> where I work is in Singapore and that seems likely to have the lowest 
> latency, but I'm not sure how to set the Jurisdiction so that it matches. I 
> have created a successful scheduled query before based on CSVs that I have 
> uploaded, so my hunch is that the problem is the Google Sheet source for 
> this data, but I'm not sure what to do about the issue.
>
> Thanks in advance for your help!
> Paul
>
>
> *DISCLAIMER NOTICE*
>
> Stamford American International School ("SAIS") is part of the Cognita 
> group. The information contained in this e-mail and any attachments is 
> confidential and may be the subject of legal, professional or other 
> privilege. It is intended only for the named addressee (s) and may not be 
> disclosed to anyone else without the consent of Cognita Ltd. If you are not 
> the named addressee you must not use, disclose, distribute, copy, print or 
> rely on the contents of the e-mail and should return it to sender 
> immediately.
>
> Cognita Ltd may monitor outgoing and incoming e-mails. By replying to this 
> e-mail you give your consent to such monitoring.
>
> Cognita Ltd do not accept any liability for any form of viruses introduced 
> with this e-mail or its attachments.
>
> Registered in England
> Cognita Limited No. 5280910
> Registered Office: Seebeck House, One Seebeck Place, Knowlhill, Milton 
> Keynes, MK5 8FR
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ac472960-094a-4734-bc6b-87aec7b7n%40googlegroups.com.


<    1   2