[google-appengine] Servlet Spec 12.2 violation: glob '*' can only exist at end of prefix based matches: bad spec "/*.xhtml"

2022-04-02 Thread Henry Saldyga
After  2 years of troubles work JSF application raised this exception:

Uncaught exception from servlet java.lang.IllegalArgumentException: Servlet 
Spec 12.2 violation: glob '*' can only exist at end of prefix based 
matches: bad spec "/*.xhtml"at 
org.eclipse.jetty.http.pathmap.ServletPathSpec.assertValidServletPathSpec(ServletPathSpec.java:157)
 
   at 
org.eclipse.jetty.http.pathmap.ServletPathSpec.(ServletPathSpec.java:56) 
   at 
org.eclipse.jetty.servlet.ServletHandler.updateMappings(ServletHandler.java:1424)
 
   at 
org.eclipse.jetty.servlet.ServletHandler.doStart(ServletHandler.java:164)   
 at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
 
   at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
 
   at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
 
   at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
 
   at 
org.eclipse.jetty.security.SecurityHandler.doStart(SecurityHandler.java:411) 
   at 
org.eclipse.jetty.security.ConstraintSecurityHandler.doStart(ConstraintSecurityHandler.java:417)
 
   at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
 
   at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
 
   at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
 
   at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
 
   at 
org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:120) 
   at 
org.eclipse.jetty.server.session.SessionHandler.doStart(SessionHandler.java:505)
 
   at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
 
   at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
 
   at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
 
   at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
 
   at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
 
   at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
 
   at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
 
   at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
 
   at 
org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:120) 
   at 
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:969)
 
   at 
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:375)
 
   at 
org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1449) 
   at 
com.google.apphosting.runtime.jetty94.AppEngineWebAppContext.startWebapp(AppEngineWebAppContext.java:263)
 
   at 
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1414) 
   at 
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:910)
 
   at 
org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288)
 
   at 
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524)   
 at 
com.google.apphosting.runtime.jetty94.AppEngineWebAppContext.doStart(AppEngineWebAppContext.java:207)
 
   at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
 
   at 
com.google.apphosting.runtime.jetty94.AppVersionHandlerFactory.doCreateHandler(AppVersionHandlerFactory.java:178)
 
   at 
com.google.apphosting.runtime.jetty94.AppVersionHandlerFactory.createHandler(AppVersionHandlerFactory.java:112)
 
   at 
com.google.apphosting.runtime.jetty94.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:82)
 
   at 
com.google.apphosting.runtime.jetty94.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:167)
 
   at 
com.google.apphosting.runtime.RequestRunner.dispatchServletRequest(RequestRunner.java:264)
 
   at 
com.google.apphosting.runtime.RequestRunner.dispatchRequest(RequestRunner.java:229)
 
   at 
com.google.apphosting.runtime.RequestRunner.run(RequestRunner.java:194)   
 at 
com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:273)
 
   at java.lang.Thread.run(Thread.java:748) 

-- 
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/09e1f211-050c-4532-bc45-f50350889235n%40googlegroups.com.


[google-appengine] Re: Google BLOB service stopped to upload files in US region,

2020-08-20 Thread Henry Saldyga
Do you want to say the analyst managed to upload an image to the BLOB? 
Please provide an URL to this BLOB please?


On Thursday, August 20, 2020 at 2:21:17 p.m. UTC-7 Elliott (Cloud Platform 
Support) wrote:

> Hello Henry,
>
> I'm sorry that you've had to do through this multiple times. I've looked 
> at one of the issue trackers you opened with us. The analyst could not 
> reproduce your scenario and left a message for you.
>
> On Wednesday, August 19, 2020 at 3:23:32 PM UTC-4 henry@gmail.com 
> wrote:
>
>> Of you can do that Jason, but since February 20th I created 5 private 
>> issue trakers but problem still not solved. 
>>
>>
>> On Wednesday, 19 August 2020 12:02:40 UTC-7, David (Cloud Platform 
>> Support) wrote:
>>>
>>> Jason, if you are still experiencing this issue and you believe it’s an 
>>> issue on our end, you are able to create a private Issue Tracker 
>>> <https://issuetracker.google.com/issues/new?component=491168=1161155>
>>>  
>>> and provide information such as Project ID. If determined this issue is not 
>>> only individually affecting you, an investigation will be launched. 
>>> Otherwise, you are also able to open a support ticket with GCP support 
>>> <https://cloud.google.com/support#tab2> if you have access to a support 
>>> package.
>>>
>>>

-- 
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/bffa4213-11fa-4945-a5fa-765d78fe151dn%40googlegroups.com.


[google-appengine] Re: Google BLOB service stopped to upload files in US region,

2020-08-19 Thread Henry Saldyga
Of you can do that Jason, but since February 20th I created 5 private issue 
trakers but problem still not solved. 

On Wednesday, 19 August 2020 12:02:40 UTC-7, David (Cloud Platform Support) 
wrote:
>
> Jason, if you are still experiencing this issue and you believe it’s an 
> issue on our end, you are able to create a private Issue Tracker 
> 
>  
> and provide information such as Project ID. If determined this issue is not 
> only individually affecting you, an investigation will be launched. 
> Otherwise, you are also able to open a support ticket with GCP support 
>  if you have access to a support 
> package.
>
>

-- 
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/23ad1044-953b-403d-994f-f16c3c60a3b8o%40googlegroups.com.


Re: [google-appengine] Re: Max 10,000 file limit is not suitable for modern full featured wordpress site or any PHP app

2020-03-31 Thread Henry Saldyga
Thanks  Katayoon
we are uploading just 1 file per POST request.  About 10'000 files per
month.
Henry



On Tue, 31 Mar 2020 at 10:45, 'Katayoon (Cloud Platform Support)' via
Google App Engine  wrote:

> Hello Henry,
>
> Looking into your issue report, it seems your issue is not related to the
> App Engine deployment quota and is related to the Blobstore
> <https://cloud.google.com/appengine/docs/standard/java/blobstore>. So,
> you may consider the maximum number of files in a single form POST which
> the limit is 500. I have reopened your issue tracker ticket for further
> investigation and you can continue with it.
>
> --
> 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/cb50ade3-c13b-4de0-a0ab-3ac9311157ef%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/cb50ade3-c13b-4de0-a0ab-3ac9311157ef%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAADXkw-FMrJw_iOCrtTAtCA8b95HVoMussNH67kVy-f8HUwdSQ%40mail.gmail.com.


Re: [google-appengine] Re: Max 10,000 file limit is not suitable for modern full featured wordpress site or any PHP app

2020-03-28 Thread Henry Saldyga
Hi Manpreet Sidhu,

Thank you for the clarification.

We upload about 10'000 files to the BLOB in a MONTH not in a DAY. In a day
it's no more that 500 files now days and have a plenty of room while our
business is growing.
It's hard to switch to google Cloud storage  as we have hundreds of
application copies that our clients using all around the world. And it's
Android application  and Cloud java client library does not have Android
support.

The 500 Internal server started on 2020-02-15  when we  made more than
180'000 uploads  in about 6 years.
If the quota is 10'000 per day  and not in total  as you said  than we do
not have what to worry about in term of quota.

Henry


On Sat, 28 Mar 2020 at 14:01, 'Manpreet Sidhu (Google Cloud Support)' via
Google App Engine  wrote:

> Hi Henry,
>
> The Quota of 10,000 files is an App Engine deployment quota. This
> information is publicly available on our App Engine documentation regarding
> Quotas[1]. This quota enforces a maximum of 10,000 files per day.
>
> As an alternative to uploading files when deploying App Engine
> Applications, I suggest that you consider using Cloud Storage[2] with your
> application[3]. This will allow you to theoretically have millions of files
> and you will not need to worry about the deployment quotas.
>
> If you wish to keep using this method (not make any changes to your
> codebase), when your application does face this deployment issue, you can
> attempt to request a higher quota as mentioned in the documentation[4].
> Keep in mind that all quota requests are subject to the approval of
> engineering, which means that it can be denied.
>
> Regarding your other projects, I cannot tell you why you are not faced
> with the limitation of 10,000 files. Google Groups are for general
> questions, product discussions and not in-depth technical issues. As such,
> I am unable to tell you why it works in the other projects. My hypothesis
> is that a Quota increase request was made and it was approved, but this is
> my theory and only that.
>
> TL;DR: Use Cloud Storage. Less stress in regards to quotas.
>
> [1]: https://cloud.google.com/appengine/quotas#Deployments
> [2]: https://cloud.google.com/storage
> [3]:
> https://cloud.google.com/appengine/docs/standard/java/using-cloud-storage
> [4]: https://cloud.google.com/appengine/quotas#When_a_Resource_is_Depleted
>
> --
> 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/98c5598a-c501-4012-b660-e04283086119%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/98c5598a-c501-4012-b660-e04283086119%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAADXkw_avU%3Dw5KQbHJ99Fs9%3D%3Dthj5n7bBODGSDDrW6PWK%3Dd74Q%40mail.gmail.com.


Re: [google-appengine] Re: Max 10,000 file limit is not suitable for modern full featured wordpress site or any PHP app

2020-03-26 Thread Henry Saldyga
Hi Michael,

Also this what I got in private issue from your colleague: 

*ba...@google.com  added comment #10 
<https://issuetracker.google.com/issues/149815047#comment10>:*
Hi Henry,

There is a hidden quota of 1 files uploaded per app ( i.e per project). 
That would explain why you are not facing this error in other projects with 
the exact same code. Could you check that you are not hitting this quota?

So I'm afraid that when my new project reached 10'000 uploads it will stop 
working as well. It will be disaster  for us.

Henry



On Thursday, 26 March 2020 21:08:23 UTC-7, Henry Saldyga wrote:
>
> Hi Michael,
>
> Thank you for the fast respond too. 
> This is actually the key.
> The issue occurs in  the one ( old ) project only that already have about 
> 180'000 uploads. 
> I  created another project and  uploaded there the same source  code and 
> everything works as expected and how it used to be in the old project for 6 
> years up to 2020-02-15. 
> All those details are provided in the private tracker issue.
>
> Henry
>
>
> On Thursday, 26 March 2020 20:55:00 UTC-7, Michael T wrote:
>>
>>
>> Thanks for your prompt answer, Henry!
>>
>> The team did try to reproduce the issue on their test environment, not on 
>> your project (which we're not allowed to make any changes/updates). Ty
>>
>>
>> On Thursday, March 26, 2020 at 11:29:18 PM UTC-4, Henry Saldyga wrote:
>>>
>>> Hi  Michael Targino,
>>>
>>> You stated that  App Engine team couldn't reproduce the issue. That 
>>> means they managed to upload a file to the BLOB storage using BLOB API  on 
>>> my project. 
>>> Could you please provide the blob-key for this uploaded  file ?
>>>
>>> Henry.
>>>
>>>
>>>
>>> On Thu, 26 Mar 2020 at 20:12, 'Michael Targino' via Google App Engine <
>>> google-a...@googlegroups.com> wrote:
>>>
>>>> Hi Henry,
>>>>
>>>> I also could locate the private thread you made reference to. 
>>>>
>>>> Indeed the App Engine team couldn't reproduce this issue you're 
>>>> experiencing. But I can see a lot of communication issues on that thread 
>>>> by 
>>>> the person who was talking to you. More specifically he should've 
>>>> explained 
>>>> that it seemed that these requests didn’t make their way into App Engine 
>>>> stack. The App Engine team wasn’t able to reproduce this issue, then more 
>>>> information is required. 
>>>>
>>>> As you can easily reproduce it. I suggest you to do so, gather 
>>>> additional information such as reproduction url, screenshot or any other 
>>>> information on where/how do you observe the 500s? Can you tell where you 
>>>> are coming from?
>>>>
>>>> Then you can refer to one of the support channels [1] for further 
>>>> technical assistance. 
>>>>
>>>> [1] console.cloud.google.com/support
>>>>
>>>>
>>>> On Thursday, March 26, 2020 at 12:45:12 PM UTC-4, Henry Saldyga wrote:
>>>>>
>>>>> Hello Jad,
>>>>>
>>>>> That;s what I got from the person you are directly in contact and  the 
>>>>> person handling it ( The issue I experienced ).
>>>>>
>>>>> Status: Won't Fix (Infeasible)
>>>>> 02:14AM
>>>>>
>>>>> Hi Henry,
>>>>>
>>>>> I there has been some confusion here. We are not Google Cloud Platform 
>>>>> support. Google Issue Tracker is intended for tracking reproducible 
>>>>> issues 
>>>>> and feature requests during product development 1 
>>>>> <https://developers.google.com/issue-tracker/>.
>>>>>
>>>>> Since you issue is a technical one, I believe you should raise this on 
>>>>> the right channel, which would be Google Cloud Platform support 2 
>>>>> <https://cloud.google.com/support/>.
>>>>> Which mean after 45 days they are figured out that they  cannot 
>>>>> reproduce it  and do not want to fix.
>>>>>
>>>>> Henry
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Wednesday, 25 March 2020 08:49:12 UTC-7, Jad El Houssami wrote:
>>>>>>
>>>>>> Hello and thank you all for your feedback.
>>>>>>
>>>>>> @Dmitry I can certainly understand how the 10,000 file limit could b

Re: [google-appengine] Re: Max 10,000 file limit is not suitable for modern full featured wordpress site or any PHP app

2020-03-26 Thread Henry Saldyga
Hi Michael,

Thank you for the fast respond too. 
This is actually the key.
The issue occurs in  the one ( old ) project only that already have about 
180'000 uploads. 
I  created another project and  uploaded there the same source  code and 
everything works as expected and how it used to be in the old project for 6 
years up to 2020-02-15. 
All those details are provided in the private tracker issue.

Henry


On Thursday, 26 March 2020 20:55:00 UTC-7, Michael T wrote:
>
>
> Thanks for your prompt answer, Henry!
>
> The team did try to reproduce the issue on their test environment, not on 
> your project (which we're not allowed to make any changes/updates). Ty
>
>
> On Thursday, March 26, 2020 at 11:29:18 PM UTC-4, Henry Saldyga wrote:
>>
>> Hi  Michael Targino,
>>
>> You stated that  App Engine team couldn't reproduce the issue. That means 
>> they managed to upload a file to the BLOB storage using BLOB API  on my 
>> project. 
>> Could you please provide the blob-key for this uploaded  file ?
>>
>> Henry.
>>
>>
>>
>> On Thu, 26 Mar 2020 at 20:12, 'Michael Targino' via Google App Engine <
>> google-a...@googlegroups.com > wrote:
>>
>>> Hi Henry,
>>>
>>> I also could locate the private thread you made reference to. 
>>>
>>> Indeed the App Engine team couldn't reproduce this issue you're 
>>> experiencing. But I can see a lot of communication issues on that thread by 
>>> the person who was talking to you. More specifically he should've explained 
>>> that it seemed that these requests didn’t make their way into App Engine 
>>> stack. The App Engine team wasn’t able to reproduce this issue, then more 
>>> information is required. 
>>>
>>> As you can easily reproduce it. I suggest you to do so, gather 
>>> additional information such as reproduction url, screenshot or any other 
>>> information on where/how do you observe the 500s? Can you tell where you 
>>> are coming from?
>>>
>>> Then you can refer to one of the support channels [1] for further 
>>> technical assistance. 
>>>
>>> [1] console.cloud.google.com/support
>>>
>>>
>>> On Thursday, March 26, 2020 at 12:45:12 PM UTC-4, Henry Saldyga wrote:
>>>>
>>>> Hello Jad,
>>>>
>>>> That;s what I got from the person you are directly in contact and  the 
>>>> person handling it ( The issue I experienced ).
>>>>
>>>> Status: Won't Fix (Infeasible)
>>>> 02:14AM
>>>>
>>>> Hi Henry,
>>>>
>>>> I there has been some confusion here. We are not Google Cloud Platform 
>>>> support. Google Issue Tracker is intended for tracking reproducible issues 
>>>> and feature requests during product development 1 
>>>> <https://developers.google.com/issue-tracker/>.
>>>>
>>>> Since you issue is a technical one, I believe you should raise this on 
>>>> the right channel, which would be Google Cloud Platform support 2 
>>>> <https://cloud.google.com/support/>.
>>>> Which mean after 45 days they are figured out that they  cannot 
>>>> reproduce it  and do not want to fix.
>>>>
>>>> Henry
>>>>
>>>>
>>>>
>>>>
>>>> On Wednesday, 25 March 2020 08:49:12 UTC-7, Jad El Houssami wrote:
>>>>>
>>>>> Hello and thank you all for your feedback.
>>>>>
>>>>> @Dmitry I can certainly understand how the 10,000 file limit could be 
>>>>> insufficient to your use case, however you must keep in mind that a free 
>>>>> trial <https://cloud.google.com/free/docs/gcp-free-tier> is meant for 
>>>>> customers to learn the platform and experiment new solutions. We don’t 
>>>>> normally expect those uses to require more than 10,000 files however we 
>>>>> do 
>>>>> acknowledge that it is possible in some cases. If you would like, I 
>>>>> invite 
>>>>> you to submit a feature request 
>>>>> <https://issuetracker.google.com/issues/new?component=187191=0> 
>>>>> to 
>>>>> increase the max file limit for App Engine’s Free Tier. Don’t forget to 
>>>>> include details regarding your use case(s) and any other relevant 
>>>>> information that might help us when evaluating the request as everything 
>>>>> will be considered.
>>>>>
>>>>> @Hen

Re: [google-appengine] Re: Max 10,000 file limit is not suitable for modern full featured wordpress site or any PHP app

2020-03-26 Thread Henry Saldyga
Hi  Michael Targino,

You stated that  App Engine team couldn't reproduce the issue. That means
they managed to upload a file to the BLOB storage using BLOB API  on my
project.
Could you please provide the blob-key for this uploaded  file ?

Henry.



On Thu, 26 Mar 2020 at 20:12, 'Michael Targino' via Google App Engine <
google-appengine@googlegroups.com> wrote:

> Hi Henry,
>
> I also could locate the private thread you made reference to.
>
> Indeed the App Engine team couldn't reproduce this issue you're
> experiencing. But I can see a lot of communication issues on that thread by
> the person who was talking to you. More specifically he should've explained
> that it seemed that these requests didn’t make their way into App Engine
> stack. The App Engine team wasn’t able to reproduce this issue, then more
> information is required.
>
> As you can easily reproduce it. I suggest you to do so, gather additional
> information such as reproduction url, screenshot or any other information
> on where/how do you observe the 500s? Can you tell where you are coming
> from?
>
> Then you can refer to one of the support channels [1] for further
> technical assistance.
>
> [1] console.cloud.google.com/support
>
>
> On Thursday, March 26, 2020 at 12:45:12 PM UTC-4, Henry Saldyga wrote:
>>
>> Hello Jad,
>>
>> That;s what I got from the person you are directly in contact and  the
>> person handling it ( The issue I experienced ).
>>
>> Status: Won't Fix (Infeasible)
>> 02:14AM
>>
>> Hi Henry,
>>
>> I there has been some confusion here. We are not Google Cloud Platform
>> support. Google Issue Tracker is intended for tracking reproducible issues
>> and feature requests during product development 1
>> <https://developers.google.com/issue-tracker/>.
>>
>> Since you issue is a technical one, I believe you should raise this on
>> the right channel, which would be Google Cloud Platform support 2
>> <https://cloud.google.com/support/>.
>> Which mean after 45 days they are figured out that they  cannot reproduce
>> it  and do not want to fix.
>>
>> Henry
>>
>>
>>
>>
>> On Wednesday, 25 March 2020 08:49:12 UTC-7, Jad El Houssami wrote:
>>>
>>> Hello and thank you all for your feedback.
>>>
>>> @Dmitry I can certainly understand how the 10,000 file limit could be
>>> insufficient to your use case, however you must keep in mind that a free
>>> trial <https://cloud.google.com/free/docs/gcp-free-tier> is meant for
>>> customers to learn the platform and experiment new solutions. We don’t
>>> normally expect those uses to require more than 10,000 files however we do
>>> acknowledge that it is possible in some cases. If you would like, I invite
>>> you to submit a feature request
>>> <https://issuetracker.google.com/issues/new?component=187191=0> to
>>> increase the max file limit for App Engine’s Free Tier. Don’t forget to
>>> include details regarding your use case(s) and any other relevant
>>> information that might help us when evaluating the request as everything
>>> will be considered.
>>>
>>> @Henry Thank you for reporting this. We take all reported issues
>>> seriously; an unanswered private thread in our issue tracker is
>>> unacceptable and I sincerely apologize for that. I have looked into our
>>> Issue Tracker and was able to locate your thread. I will be directly in
>>> contact with the person handling it to ensure that you can get an update as
>>> soon as possible.
>>>
>> --
> 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/a0485fb6-01bc-4d7a-9588-16dbf1a5890a%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/a0485fb6-01bc-4d7a-9588-16dbf1a5890a%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAADXkw-57ucnrEpYbCLcrGtzX1ijfF-fHTSxsf3hn1jmZYH%3Dsg%40mail.gmail.com.


[google-appengine] Re: Max 10,000 file limit is not suitable for modern full featured wordpress site or any PHP app

2020-03-26 Thread Henry Saldyga
Hello Jad,

That;s what I got from the person you are directly in contact and  the 
person handling it ( The issue I experienced ).

Status: Won't Fix (Infeasible)
02:14AM

Hi Henry,

I there has been some confusion here. We are not Google Cloud Platform 
support. Google Issue Tracker is intended for tracking reproducible issues 
and feature requests during product development 1 
<https://developers.google.com/issue-tracker/>.

Since you issue is a technical one, I believe you should raise this on the 
right channel, which would be Google Cloud Platform support 2 
<https://cloud.google.com/support/>.
Which mean after 45 days they are figured out that they  cannot reproduce 
it  and do not want to fix.

Henry




On Wednesday, 25 March 2020 08:49:12 UTC-7, Jad El Houssami wrote:
>
> Hello and thank you all for your feedback.
>
> @Dmitry I can certainly understand how the 10,000 file limit could be 
> insufficient to your use case, however you must keep in mind that a free 
> trial <https://cloud.google.com/free/docs/gcp-free-tier> is meant for 
> customers to learn the platform and experiment new solutions. We don’t 
> normally expect those uses to require more than 10,000 files however we do 
> acknowledge that it is possible in some cases. If you would like, I invite 
> you to submit a feature request 
> <https://issuetracker.google.com/issues/new?component=187191=0> to 
> increase the max file limit for App Engine’s Free Tier. Don’t forget to 
> include details regarding your use case(s) and any other relevant 
> information that might help us when evaluating the request as everything 
> will be considered.
>
> @Henry Thank you for reporting this. We take all reported issues 
> seriously; an unanswered private thread in our issue tracker is 
> unacceptable and I sincerely apologize for that. I have looked into our 
> Issue Tracker and was able to locate your thread. I will be directly in 
> contact with the person handling it to ensure that you can get an update as 
> soon as possible.
>

-- 
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/6c8d4670-5d9d-4cb5-b8b6-5395fc5a7ab1%40googlegroups.com.


[google-appengine] Re: Max 10,000 file limit is not suitable for modern full featured wordpress site or any PHP app

2020-03-25 Thread Henry Saldyga
Thanks Jad.

When Google set a 10'000 upload limit to BLOB  to a commercial project 
where hundreds of external applications   upload  about 10'000 files in a 
month  after they already uploaded 180'000 it  ruins the  business.  

You are our last hope, Jad

Henry.


On Wednesday, 25 March 2020 08:49:12 UTC-7, Jad El Houssami wrote:
>
> Hello and thank you all for your feedback.
>
> @Dmitry I can certainly understand how the 10,000 file limit could be 
> insufficient to your use case, however you must keep in mind that a free 
> trial <https://cloud.google.com/free/docs/gcp-free-tier> is meant for 
> customers to learn the platform and experiment new solutions. We don’t 
> normally expect those uses to require more than 10,000 files however we do 
> acknowledge that it is possible in some cases. If you would like, I invite 
> you to submit a feature request 
> <https://issuetracker.google.com/issues/new?component=187191=0> to 
> increase the max file limit for App Engine’s Free Tier. Don’t forget to 
> include details regarding your use case(s) and any other relevant 
> information that might help us when evaluating the request as everything 
> will be considered.
>
> @Henry Thank you for reporting this. We take all reported issues 
> seriously; an unanswered private thread in our issue tracker is 
> unacceptable and I sincerely apologize for that. I have looked into our 
> Issue Tracker and was able to locate your thread. I will be directly in 
> contact with the person handling it to ensure that you can get an update as 
> soon as possible.
>

-- 
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/7f93f0b0-8a5a-4901-b9e3-e430f4095b43%40googlegroups.com.


[google-appengine] Re: Max 10,000 file limit is not suitable for modern full featured wordpress site or any PHP app

2020-03-23 Thread Henry Saldyga
Our Java GAPE application ( and it's not a free tier with billing enabled ) 
since 2014 was using a Google BLOB storage . 
Since that our clients  performed about 180'000 file uploads . 
Than on February 15th Google BLOB API stopped to upload any files just 
returning 500 Internal server error. 
A private issue  was created and Google support  informed that it was a 
restriction of 10'000 uploads set. 
And on February 28th they simple stopped to respond in the private issue 
board. 
I have to create another project and redirect all clients traffic there. 
But we and our clients experienced a financial losses due to service 
interruption.
Right now on a new project we are getting to 10'000 uploads limit. 
Looks Google support does not care about their clients at all.



On Monday, 23 March 2020 05:07:24 UTC-7, Dmitry Ivanov wrote:
>
> It's an idiotic restriction. The tensorflow package alone contains over 
> 5000 files. I have a tiny app and I exceeded the limit. What were they 
> thinking..
>
> On Monday, 15 April 2019 14:51:02 UTC+1, Shaharia Azam wrote:
>>
>> Hello Everyone,
>> I know this is a common questions but actually this is now becoming more 
>> and more strange to me day by day. Why Google still feels about the hard 
>> limit related to max 10,000 file? If I want to install Wordpress latest 
>> version with any premium themes, few e-commerce related mandatory plugins 
>> then easily from the beginning of my development this would cross 10,000 
>> files. 
>>
>> We are a web solution provider company and we are facing few very hard 
>> questions that is forbidding us to suggest GCP to our client's for their 
>> needs.
>>
>> 1. Advance & Full featured E-Commerce site powered by Wordpress due to 
>> 10,000 file limit issue.
>> 2. SMTP outgoing issue due to block of Port 25. Even our own cPanel 
>> server is hosted on AWS for that. Rest of our servers that doesn't need 
>> email communication are on GCP.
>>
>> Does Google think that it is irrelevant? Even from the quota request 
>> page, this file limit quota can't be increased. In this case, not only us 
>> but also lots of people are going away from using GCP and specially Google 
>> App Engine (our use case depends on it). So I want to hear something from 
>> any internal team members about this. Is there any plan in future to remove 
>> this limit or increase this limit or you are suggesting us to go away from 
>> App engine to somewhere else?
>>
>> - @shaharia
>>
>

-- 
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/a08dcb13-741a-4957-8a35-34b671f6420d%40googlegroups.com.


[google-appengine] Re: Google BLOB service stopped to upload files in US region,

2020-02-20 Thread Henry Saldyga
Thanks I have already created an issue there.

On Thursday, 20 February 2020 11:18:57 UTC-8, Aref Amiri (Cloud Platform 
Support) wrote:
>
> Henry,
>
> There has been an wide spread incident with Blobstore as of Feb 19, 2020 
> however, this has been resolved by the engineering team. If the issue 
> persists on your end, I'd suggest to create a Private Issue Tracker 
> <https://issuetracker.google.com/issues/new?component=491168=1161155>
>  
> and provide project name so that it can be investigated further.
>

-- 
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/def029a3-a867-45f1-81d9-2c5f056a42f7%40googlegroups.com.


[google-appengine] Google BLOB service stopped to upload files in US region,

2020-02-19 Thread Henry Saldyga
Have same Java application on  Google application engine in US region  and 
in Australia region  that using BLOB storage. And functionality used to be 
working for about 6 years. 

3 days ago started to get an 500 internal error when uploading a file to 
the BLOB store using the upload URL received from application in US region.
Uploads to the BLOB storage with URLs received from application in AU 
regions still working.
Looks like something wrong on Google side ?

-- 
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/ee04598c-7e80-4d71-8836-e0accc09a03c%40googlegroups.com.


[google-appengine] Want to send feedback on Gmail? Contact Gmail support.

2020-02-14 Thread henry jurk


There might be times when you must have noticed some vulnerability or a 
loophole and want to bring this to the notice by giving your feedback but 
do not know how to do so. Don’t worry. You just need to go to the *Gmail 
support*  and 
then navigate to send feedback. This is the procedure. 
https://www.market-place.biz/gmail-support-phone-number/

-- 
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/664f80ba-5c2c-4d56-9b99-26ef0747a6c6%40googlegroups.com.


[google-appengine] Is it possible for googleplex GAE to detect access from googleGuestWIFI and redirect to a custom page

2020-01-10 Thread 'Henry Lai' via Google App Engine
I have a GAE under googleplex. If accessing from googleGuest WIFI, server 
not available error page is shown. 

Server not reachable is desired behavior. But, I want to have a custom user 
friendly page that gives procedure to access the server.

Where/How I can configure such custom behavior? 

-- 
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/bd42f131-b066-4b63-92a0-9d24ccc5db40%40googlegroups.com.


Re: [google-appengine] Re: Google Cloud Platform large architecture solutions?

2018-12-26 Thread Henry Pan
Saluting Omair from Seattle,

Enjoy your cool answer:>)

*Thanks*


*Henry Pan*

DevOps Architect | Dito <http://ditoweb.com/>

henry@ditoweb.com | PHONE: (425) 802-3975

[image: Dito Logo.png]



On Wed, Dec 26, 2018 at 12:15 PM 'Omair (Cloud Platform Support)' via
Google App Engine  wrote:

>
> Hi Ridha,
>
> Google App Engine is a regional service[1] which can not be deployed
> cross-region unless you create multiple projects in multiple regions and
> clone your apps explicitly to each project. Like App Engine, Cloud SQL is
> also a regional service which can be configured for high availability in a
> single region [2].
>
> As per the documentation at [3], Cloud Datastore and Cloud Spanner can be
> deployed across multiple regions for redundancy. See the article Building
> Scalable Web Applications with Cloud Datastore [4] for more details. The
> multi-region locations that are available can be found at [5]. However,
> this will not synchronize the Datastores in your multiple projects. For
> this you will have to use Remote API[6].
>
> You can also create cross region load balancers to serve traffic to your
> app. The article at [7] gives an example of how to do this using four
> Compute Engine instances.
>
> There is a similar question on StackOverflow [8] that you might find
> helpful.
>
> I hope this helps.
>
>
> [1] https://cloud.google.com/appengine/docs/locations
>
> [2] https://cloud.google.com/sql/docs/mysql/high-availability
>
> [3]
> https://cloud.google.com/docs/geography-and-regions#multi-regional_resources
>
> [4]
> https://cloud.google.com/solutions/building-scalable-web-apps-with-cloud-datastore
>
> [5] https://cloud.google.com/datastore/docs/locations#location-mr
>
> [6]
> https://cloud.google.com/appengine/docs/standard/python/tools/remoteapi
>
> [7]
> https://cloud.google.com/load-balancing/docs/https/cross-region-example#sendtraffic
>
> [8] https://stackoverflow.com/a/41368308/10553701
>
>
> On Wednesday, December 26, 2018 at 8:42:37 AM UTC-5, Ridha El Bekri wrote:
>>
>> Hi everyone,
>>
>> I'm wondering about architectural solutions for very large, world wide,
>> backend services.
>>
>> I've worked on POC projects using different Google Cloud Tech solutions :
>>
>>- Google App Engine (GAE) standard environment
>>- GAE flex environment
>>- Google Container Engine (GKE) a kubernetes cluster of Flask nodes +
>>Google Cloud SQL
>>
>> The goal is to have a backend service which is pretty much "fast to
>> answer" [we are talking about a video game backend] no matter where the
>> request comes from in the world.
>>
>> My first thoughts were about data-centers and their location. As far as I
>> can tell, a google cloud project and the resources used for a solution are
>> Region, and or Zone, relative. Meaning that having an just an appengine
>> backend defined in us-central1 data-center is not the best solution to
>> serve millions of users of an online video game.
>>
>> My question, to be more specific, is to know if there is any "standard"
>> optimized how to setup things with a precise tech choices ?
>>
>> What I'm thinking of, with what I know from Google Cloud Platform, would
>> be (in case we go for the appengine standard environment) to have a project
>> per region (picking 4 of 5 relevant regions for the world) and to "proxy"
>> client side or server side to each region. The project will be "simply"
>> cloned from a main region to another one. The downside of this solution is
>> of course to end up with a big amount of maintenance operations to go with,
>> not talking about monitoring that would probably become a mess as well.
>> What about the Database ? It will be a datastore per region -> how would
>> players interact with each other ? maintain some sort of replica of each
>> region in each region ??
>>
>> I'm feeling like I'm missing a keypoint somewhere but at the same time I
>> m telling my self that it's probably ran somehow this way with tons of
>> maintenance tools for automation and a  load of devOps/operators just
>> to make sure everything is okey everywhere.
>>
>> Maybe there is an article and/or a book that I should be reading ?
>>
>> Anyway, thank you in advance for your help and contribution.
>>
> --
> 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 thi

Re: [google-appengine] crud samples python 3.7

2018-11-17 Thread Henry Pan
Yes, Charles,

That's also on my wish list as well:>)

*Thanks + Happy Saturday *


*Henry Pan*

DevOps Architect | Dito <http://ditoweb.com/>

henry@ditoweb.com | PHONE: (425) 802-3975

[image: Dito Logo.png]



On Sat, Nov 17, 2018 at 7:09 AM Charles tenorio 
wrote:

> Hi!!!
> Good morning people! who has an example of a crud using
> datastore python 3.7
> tanks!!
>
> --
> 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 https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/a69f2ef3-11c1-47ac-aef7-c9051d44ba64%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/a69f2ef3-11c1-47ac-aef7-c9051d44ba64%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANkDXrM4C%2BH-AyHrFsjXAOt6%3DKfPWN%3DNKCyEpqTGQoPKO59jyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Issue with Standard environment(Node.js) automatic scaling

2018-11-14 Thread Henry Pan
Saluting Dan from Sunnyvale,

Would you please also advice whether the instance will scale better in GKE ?

Thanks in advance

Henry Pan


On Wednesday, November 14, 2018 at 9:51:28 AM UTC-8, Dan S (Cloud Platform 
Support) wrote:
>
> Hello, 
>
> Your instance will be scaled depending on the parameter limits first 
> reached. 
>
> If you have 5 concurrent requests, but reached the Max_pending_latency 
> parameter, for example, then the instance will be scaled. Also, there are 
> some standard values that can spawn your instances[1].
>
> [1] https://cloud.google.com/appengine/docs/standard/nodejs/config/appref
>
>
> On Saturday, November 10, 2018 at 7:25:12 PM UTC-5, Nikitha Kamath wrote:
>>
>> Thank you. This issue have been reported in Issue tracker.
>>
>> With the below scaling parameters, when will a new instance get spawned? 
>> I mean will it depend on concurrent requests or CPU utilization or pending 
>> latency or any other metrics?
>>
>> instance_class: F2
>> automatic_scaling:
>>   max_concurrent_requests: 10
>>   max_idle_instances: 1
>>   max_pending_latency: 300ms
>>   min_idle_instances: 0
>>   min_pending_latency: 30ms
>>
>>
>> On Monday, November 5, 2018 at 7:08:54 PM UTC+5:30, Nikitha Kamath wrote:
>>>
>>>
>>> Hi,
>>>
>>> A Node.js application is deployed in App engine standard environment. In 
>>> the app.yaml, automatic scaling is chosen with values given below. However, 
>>> when using 'gcloud app deploy', it gives this error : Unexpected 
>>> attribute 'target_throughput_utilization' for object of type 
>>> AutomaticScaling.What is the solution for this? Are we missing some 
>>> values in app.yaml? Also when there are no incoming requests, the number of 
>>> instances is always 2 instead of 0. Why is that?
>>>
>>> Thank you.
>>>
>>> runtime: nodejs8
>>> instance_class: F2
>>> automatic_scaling:
>>>   max_concurrent_requests: 10
>>>   target_throughput_utilization: 0.8
>>> handlers:
>>> - url: /.*
>>>   secure: always
>>>   redirect_http_response_code: 301
>>>   script: auto
>>>
>>>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/98618e65-f5d1-4182-8407-54959b0c8e77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: env: Flex ; runtime: Java ; with NodeJs ?

2018-11-12 Thread Henry Pan
Great answer:>)

Any ETA to run Java 11 in the App Engine?

*Thanks*


*Henry Pan*

DevOps Architect | Dito <http://ditoweb.com/>

henry@ditoweb.com | PHONE: (425) 802-3975

[image: Dito Logo.png]



On Mon, Nov 12, 2018 at 8:21 AM 'George (Cloud Platform Support)' via
Google App Engine  wrote:

> Hello Deepak,
>
> It all depends on how do you plan to structure your app's services. If you
> opt for microservices, code can be deployed to these services
> independently, and different services can be written in different
> languages, such as Python, Java, Go, and PHP. You may gather more detail
> from the "Microservices Architecture on Google App Engine" documentation
> page
> <https://cloud.google.com/appengine/docs/standard/python/microservices-on-app-engine#app_engine_services_as_microservices>,
> as well as related postings outside official documentation, such as
> excellent contributions from Dan Cornilescu on stackoverflow: "Can I mix
> programming languages in a single appengine project?
> <https://stackoverflow.com/questions/51119402/can-i-mix-programming-languages-in-a-single-appengine-project>",
> or "Deploying different languages services to the same Application
> <https://stackoverflow.com/questions/41681288/deploying-different-languages-services-to-the-same-application-google-app-engin/41681718#41681718>".
> However, you cannot mix different languages within the same microservice.
>
> What deployment concerns, you can have a look at the "Testing and
> Deploying your Application" documentation page
> <https://cloud.google.com/appengine/docs/flexible/nodejs/testing-and-deploying-your-app>
> for instructions and examples.
>
> --
> 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 https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/8c63d24c-00f8-4f11-90fa-c33248b65808%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/8c63d24c-00f8-4f11-90fa-c33248b65808%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANkDXrMOiaQgdRgoSgRSoTbv8Bpf7GkGSMEnsYL-WxcKrvXzNg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: url created by blobstore.create_upload_url not work.

2018-11-12 Thread Henry Pan
Wow Sorry  Attila,

My silly question is that should the similar issue happens on GKE, is your
advice still apply?


*Thanks*


*Henry Pan*

DevOps Architect | Dito <http://ditoweb.com/>

henry@ditoweb.com | PHONE: (425) 802-3975

[image: Dito Logo.png]



On Mon, Nov 12, 2018 at 4:52 AM Attila-Mihaly Balazs 
wrote:

> Hi Henri,
>
> Sorry, I'm having trouble understanding the question "whether this is
> 'URLs' also true for GKE as well". When you say
> "blobstore.create_upload_url" I'm assuming that you're talking about the
> "blobstore" service which is a deprecated (but still running) service
> available in Google AppEngine Python Standard 2.7:
> https://cloud.google.com/appengine/docs/standard/python/refdocs/google.appengine.ext.blobstore.blobstore
>
> AFAIK, this is not available outside of this environment. Or are you
> talking about running a client in GKE? (ie. the piece of code which uploads
> to the generated URL?)
>
> Attila
>
> --
> 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 https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/583b7260-1e62-40e0-9b0e-6c20cf3bf72c%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/583b7260-1e62-40e0-9b0e-6c20cf3bf72c%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANkDXrOGuMZMG-jtDT0M9UQPvCD3peth6mT4-Orzx4DqAjU1Gg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: url created by blobstore.create_upload_url not work.

2018-11-12 Thread Henry Pan
Saluting Attila from Redmond,

Would you pls also advice whether this is 'URLs' also true for GKE as well?

Thanks in advance + Happy Monday
'
Henry Pan

On Monday, November 12, 2018 at 4:39:34 AM UTC-8, Attila-Mihaly Balazs 
wrote:
>
> URLs created with "blobstore.create_upload_url" are one-time only (so you 
> can't reuse them) and also time-limited (so you can't wait very long for 
> using it). Are you using the generated URL only once and without waiting 
> for a long time?
>
> Attila
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/576986cc-955d-48ba-8a26-908069768aed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Does GAE support tags?

2018-11-10 Thread Henry Pan
Good question,

I was also wonder what's the best way to pass those billing info to another
app, such as Harvest ? (
https://help.getharvest.com/api-v2/timesheets-api/timesheets/time-entries/ )

*Thanks + Happy Friday*


*Henry Pan*

DevOps Architect | Dito <http://ditoweb.com/>

henry@ditoweb.com | PHONE: (425) 802-3975

[image: Dito Logo.png]



On Thu, Nov 8, 2018 at 11:11 AM 'George (Cloud Platform Support)' via
Google App Engine  wrote:

> Hello Joshua,
>
> Your latest specifications have been included in the same PIT issue
> <https://issuetracker.google.com/110507715> mentioned above, so you may
> monitor developments and fixes on the same thread.
>
> --
> 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 https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/f433c9e0-93db-4dd6-ae95-e86789fc28c9%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/f433c9e0-93db-4dd6-ae95-e86789fc28c9%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANkDXrMtLM6qSMGSqOTZPRMbXCTFfwrPEWhE--QM%3D-FF%3D_yyww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] How to setup Eclipse to debug Local GAE in Google3 environment

2016-07-28 Thread 'Henry Lai' via Google App Engine
I am looking for document to setup Eclipse, so that I can debug in local 
GAE for web application (GAE web app and Django web app). (Python)

Thank you very much.

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b561ef7a-d078-425d-8812-7cbbcb00914f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: HR datastore is in readonly but there are no errors?

2015-04-10 Thread Henry Liu
This is happening for me too.

On Friday, April 10, 2015 at 12:38:09 PM UTC-7, Matija wrote:

 Are we only one with this problem? For the last one hour it is like HR 
 datastore is in some kind read only state but datastore put statements 
 don't return any errors?

 We have noticed that they are testing 1.9.19 java GAE version on some 
 instances.

 Anybody??? What to do? Where to report? Koju posluku porati?


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a399ffcf-d026-434c-9950-b21dd7881fcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: HR datastore is in readonly but there are no errors?

2015-04-10 Thread Henry Liu
Something switched over and I've been getting 500 responses for stuff too. 
Seems like the best thing to do right now is to not cause any additional 
damage and let them sort it out.

On Friday, April 10, 2015 at 1:27:28 PM UTC-7, Gilberto Torrezan Filho 
wrote:

 I'm having problems with my Datastore as well. I tried to rebuild my index 
 with vacuum_indexes (didn't know it was a general problem) and got:

 Apr 10, 2015 5:17:53 PM 
 com.google.appengine.tools.admin.AbstractServerConnection send1
 WARNING: Error posting to URL: 
 https://appengine.google.com/api/datastore/index/delete?app_id=myid;
 500 Internal Server Error
 htmlheadmeta http-equiv=content-type 
 content=text/html;charset=utf-8title500 Server 
 Error/title/headbody text=#00 bgcolor=#ffh1Error: Server 
 Error/h1h2The server encountered an error and could not complete your 
 request.pPlease try again in 30 seconds./h2h2/h2/body/html
 This is try #0


 On Friday, April 10, 2015 at 4:38:09 PM UTC-3, Matija wrote:

 Are we only one with this problem? For the last one hour it is like HR 
 datastore is in some kind read only state but datastore put statements 
 don't return any errors?

 We have noticed that they are testing 1.9.19 java GAE version on some 
 instances.

 Anybody??? What to do? Where to report? Koju posluku porati?



-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b367f278-13fe-407d-aaa0-3b64631b2b51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Post Requests Are Executed Twice

2015-02-19 Thread Henry Chang
I am using python appengine, and it looks like something external (outside 
of my app) is making post requests executed twice.  Is anybody seeing this 
also?

Looks like something like this has happened before.
https://groups.google.com/forum/#!topic/google-appengine-downtime-notify/9fAYP7UyppQ

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ede0a661-e52b-4bf1-812b-30e43cf19d9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Cookies on Cloud Endpoints Java

2014-02-20 Thread Brian Henry
After posting that, I found a bug report with the same problem:
https://code.google.com/p/googleappengine/issues/detail?id=10100

I also figured there should be an annotation:
@ApiAuth(allowCookieAuth = AnnotationBoolean.TRUE)

but it didn't make any difference when I tried it.

Cookie is in the request header on the dev server but not on appspot. I get 
the following headers:
Host
Accept
Accept-Language
Cache-Control
Content-Length
Content-Type
dnt
method
origin
originalMethod
Referer
User-Agent
X-Appengine-Peer
Accept-Charset
X-AppEngine-Country
X-AppEngine-Region
X-AppEngine-City
X-AppEngine-CityLatLong



On Thursday, 20 February 2014 03:01:35 UTC, Vinny P wrote:

 On Mon, Feb 17, 2014 at 7:07 AM, Brian Henry brian@gmail.comjavascript:
  wrote:

 Can anyone tell me how to allow cookies when using Cloud Endpoints with 
 Java? They're accessible when using the local dev server but once I deploy 
 to .appspot HttpServletRequest.getCookies() is null.



 If you call HttpServletRequest.getHeaderNames(), do you see the cookie 
 request headers listed?
  
   
 -
 -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.


[google-appengine] Cookies on Cloud Endpoints Java

2014-02-18 Thread Brian Henry
Can anyone tell me how to allow cookies when using Cloud Endpoints with 
Java? They're accessible when using the local dev server but once I deploy 
to .appspot HttpServletRequest.getCookies() is null.

There's an answer on SO for Python:
http://stackoverflow.com/questions/15690831/cloud-endpoints-http-cookies

- which led me to find an equivalent class 
com.google.api.server.spi.config.ApiAuthConfig 
with setAllowCookieAuth(boolean) method but I don't know how to use it with 
my endpoint class.

-- 
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] The only SMS verified owner cannot be removed.

2012-04-26 Thread Henry Messenger
I'm having an interesting problem with my app.

When I go to manage the developer list, all the developers who have
the role Owner have the message The only SMS verified owner cannot
be removed. under Remove Access, and the Remove button and role
dropdown are disabled.

I have 6 different developers on my screen that have this message,
which is a rather creative definition of the word only!

How do I straighten this out?

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



[google-appengine] Re: Reading and Writing files using App Engine

2011-10-19 Thread henry
But I want to make sure if running an executable file is okay because
I read somewhere you can't run an executable on appengine b/c what if
you're running a virus, for instance.


On Oct 14, 5:08 pm, Ikai Lan (Google) ika...@google.com wrote:
 You probably want to read all the docs of App Engine first. There's no
 filesystem access. You don't worry about nodes. It's all handled for you.
 Instead of saving to files, you save binary data to the datastore or the
 blobstore via the APIs.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 plus.ikailan.com | twitter.com/ikai







 On Tue, Oct 11, 2011 at 6:57 PM, henry henrywan...@gmail.com wrote:
  Hi,

  Please let me know if this is possible with google app engine.

  I basically have an executable file that takes in 2 input files and
  spits out 4 output files when finished. Can I run this using app
  engine? I am worried about reading and writing file features using App
  engine because I'm not sure which directory I will need to specify my
  output file to write to.

  Also, is the number of nodes allocated handled automatically? Like in
  amazon you specify number of nodes so here all the parallelization is
  done automatically?

  thanks,
  Henry

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

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



[google-appengine] Reading and Writing files using App Engine

2011-10-12 Thread henry
Hi,

Please let me know if this is possible with google app engine.

I basically have an executable file that takes in 2 input files and
spits out 4 output files when finished. Can I run this using app
engine? I am worried about reading and writing file features using App
engine because I'm not sure which directory I will need to specify my
output file to write to.

Also, is the number of nodes allocated handled automatically? Like in
amazon you specify number of nodes so here all the parallelization is
done automatically?

thanks,
Henry

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



[google-appengine] GAE problem in Eclipse

2011-10-10 Thread Pierre-Henry Perret

Hello,

A *maven * project , which compiles and runs, appears with resource path 
problem in the Eclipse IDE:
___
Description Resource Path Type Location
The App Engine SDK 
'C:\Users\Pierre\.m2\repository\com\google\appengine\appengine-api-1.0-sdk\1.5.4\appengine-api-1.0-sdk-1.5.4.jar'
 
on the project's build path is not valid (SDK location 
'C:\Users\Pierre\.m2\repository\com\google\appengine\appengine-api-1.0-sdk\1.5.4\appengine-api-1.0-sdk-1.5.4.jar'
 
is not a directory) gwtp-sample-basic Google App Engine Problem Unknown



It looks like the Elcipse plugin append '.jar' to the GAE path.

Has  someone ever seen a message like that ?

Suggestions are welcomed.
Thanks

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



[google-appengine] Re: Create an application stuck in loop

2010-11-19 Thread Henry Gretzinger
That worked a charm!  Many thanks, Robert.

Henry

On Nov 18, 10:41 pm, Robert Kluin robert.kl...@gmail.com wrote:
 login at appspot.com/a/vidiots.tv







 On Thu, Nov 18, 2010 at 19:24, henrygrins1 he...@vidiots.tv wrote:
  Hello all-
  I'm trying to implement FloreySoft's Shared Contacts, but whenever I choose
  the Create an Application feature, enter the url for the app id, and
  assign it to my private domain, the process simply restarts at Create an
  Application.  I don't get the typical Application Registered
  Successfully, and I get a 404 when I visit app-id.appspot.com.  I can't see
  the applications I've registered in my dashboard.  I've flushed my browser
  cache, switched to Safari, etc but no success.  Any ideas?
  Thanks in advance,
  Henry

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[appengine-java] Multilingual storing data

2010-05-07 Thread Henry
Hi Guys,

I've a simple question, I'm using Java App Engine and I need to store
multilingual data like 'ñ' character.
Storing it as a unicode String, when I retrieve it, I'm getting the
following one '?'.

Does any one know how to store them? I need to store data with
different languages.

Thanks in advance.

-- 
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 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: Use Blobstore Java API with GWT

2009-12-18 Thread Henry
Yes, I did like this and works without problems...thank for the
response!

On 17 Dec, 09:42, Raphael André Bauer raphael.andre.ba...@gmail.com
wrote:
 hey henry,

 the gwt frontend code looks like java, but it is crosscompiled. that's
 the reason why the imports cannot be found - it's technically
 something completely different.

 so what you have to do is having an RPC call to your server, that
 returns a valid form url where you can upload your files.

 basically

     BlobstoreService blobstoreService =
  BlobstoreServiceFactory.getBlobstoreService();

 must be in the servlet of your RPC and the value returned by
 then you get this url back and add it to your client code

 in .setAction

 ..

 hope that helps,

 ra

 On Thu, Dec 17, 2009 at 12:08 AM, Henry enricrequ...@gmail.com wrote:
  Hi Guys,

  Im trying to upload images using the new Blobstore API to the app
  engine with GWT.

  Ive created a FormPanel() to upload the images to the app engine, but
  when im trying to set up the action in the form using
  BlobstoreService, i cant because the import com.google.appengine
  cannot be resolved.

  My question is: how can I set up the action on the form using the
  BlobstoreService?? I've this code in the client side:

     import com.google.appengine.api.blobstore.BlobstoreService;

     FormPanel form = new FormPanel();
     form.setEncoding(FormPanel.ENCODING_MULTIPART);
     form.setMethod(FormPanel.METHOD_POST);
     BlobstoreService blobstoreService =
  BlobstoreServiceFactory.getBlobstoreService();
     form.setAction(blobstoreService.createUploadUrl(handizo/
  upload));

  error: import com.google.appengine cannot be resolved.

  Ive also tried to setup the action without the BlobstoreService, but
  when the form is read in the server side using the BlobstoreService:

         private BlobstoreService blobstoreService =
  BlobstoreServiceFactory.getBlobstoreService();

         protected void doPost(HttpServletRequest req, HttpServletResponse
  resp)
                         throws ServletException, IOException {

                 MapString, BlobKey blobs = 
  blobstoreService.getUploadedBlobs(req);
                 BlobKey blobKey = blobs.get(myFile);

                 if (blobKey == null) {
                         resp.sendRedirect(/);
                 } else {
                         resp.sendRedirect(/serve?blob-key= + 
  blobKey.getKeyString());
                 }

  I've this other error saying me that I've to set up the action using
  the BlobstoreService.

  Error: Must be called from a blob upload callback request.
         at
  com.google.appengine.api.blobstore.BlobstoreServiceImpl.getUploadedBlobs
  (BlobstoreServiceImpl.java:97)
         at com.handizo.server.service.FileUploadAnnouncementServlet.doPost
  (FileUploadAnnouncementServlet.java:23)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)

  So its possible to user the BlobstoreService with GWT by the moment??

  Thanks in advance :-)

  --

  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 to 
  google-appengine-java+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://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-j...@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] Use Blobstore Java API with GWT

2009-12-16 Thread Henry
Hi Guys,

Im trying to upload images using the new Blobstore API to the app
engine with GWT.

Ive created a FormPanel() to upload the images to the app engine, but
when im trying to set up the action in the form using
BlobstoreService, i cant because the import com.google.appengine
cannot be resolved.

My question is: how can I set up the action on the form using the
BlobstoreService?? I've this code in the client side:

import com.google.appengine.api.blobstore.BlobstoreService;

FormPanel form = new FormPanel();
form.setEncoding(FormPanel.ENCODING_MULTIPART);
form.setMethod(FormPanel.METHOD_POST);
BlobstoreService blobstoreService =
BlobstoreServiceFactory.getBlobstoreService();
form.setAction(blobstoreService.createUploadUrl(handizo/
upload));

error: import com.google.appengine cannot be resolved.

Ive also tried to setup the action without the BlobstoreService, but
when the form is read in the server side using the BlobstoreService:

private BlobstoreService blobstoreService =
BlobstoreServiceFactory.getBlobstoreService();

protected void doPost(HttpServletRequest req, HttpServletResponse
resp)
throws ServletException, IOException {

MapString, BlobKey blobs = 
blobstoreService.getUploadedBlobs(req);
BlobKey blobKey = blobs.get(myFile);

if (blobKey == null) {
resp.sendRedirect(/);
} else {
resp.sendRedirect(/serve?blob-key= + 
blobKey.getKeyString());
}

I've this other error saying me that I've to set up the action using
the BlobstoreService.

Error: Must be called from a blob upload callback request.
at
com.google.appengine.api.blobstore.BlobstoreServiceImpl.getUploadedBlobs
(BlobstoreServiceImpl.java:97)
at com.handizo.server.service.FileUploadAnnouncementServlet.doPost
(FileUploadAnnouncementServlet.java:23)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)

So its possible to user the BlobstoreService with GWT by the moment??

Thanks in advance :-)

--

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 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: java.lang.NoClassDefFoundError: java.rmi.server.UID -using commons-fileupload-1.2.1.jar

2009-12-10 Thread Henry
Thanks Toby.

On 9 Dec, 19:23, Toby Reyelts to...@google.com wrote:
 http://code.google.com/appengine/kb/java.html#fileforms

 On Wed, Dec 9, 2009 at 12:44 PM, Henry enricrequ...@gmail.com wrote:
  Hi Guys,

  Im trying to store and image with GWT to Google App engine, I'm using
  the packages:
   commons-codec-1.4.jar
   commons-fileupload-1.2.1.jar
   commons-io-1.4.jar
  to get the widgets from the formPanel that I'm sending to the server
  which contain the widgets FileUpload that has my image.
  When I'm using this packages to recover the image and store it I've
  the following error:

  java.lang.NoClassDefFoundError: java.rmi.server.UID is a restricted
  class. Please see the Google App Engine developer's guide for more
  details.
         at

  com.google.apphosting.runtime.security.shared.stub.java.rmi.server.UID.clinit
  (UID.java)
         at org.apache.commons.fileupload.disk.DiskFileItem.clinit
  (DiskFileItem.java:103)
         at org.apache.commons.fileupload.disk.DiskFileItemFactory.createItem
  (DiskFileItemFactory.java:196)
         at org.apache.commons.fileupload.FileUploadBase.parseRequest
  (FileUploadBase.java:358)
         at
  org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest
  (ServletFileUpload.java:126)
         at com.handizo.server.service.FileUploadAnnouncementServlet.doPost
  (FileUploadAnnouncementServlet.java:37)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
         at
  org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
  487)
         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
  (ServletHandler.java:1093)
         at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter
  (SaveSessionFilter.java:35)
         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
  (ServletHandler.java:1084)
         at
  com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter
  (TransactionCleanupFilter.java:43)
         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
  (ServletHandler.java:1084)
         at org.mortbay.jetty.servlet.ServletHandler.handle
  (ServletHandler.java:360)
         at org.mortbay.jetty.security.SecurityHandler.handle
  (SecurityHandler.java:216)
         at org.mortbay.jetty.servlet.SessionHandler.handle
  (SessionHandler.java:181)
         at org.mortbay.jetty.handler.ContextHandler.handle
  (ContextHandler.java:712)
         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
  405)
         at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle
  (AppVersionHandlerMap.java:238)
         at org.mortbay.jetty.handler.HandlerWrapper.handle
  (HandlerWrapper.java:139)
         at org.mortbay.jetty.Server.handle(Server.java:313)
         at
  org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
  506)
         at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete
  (HttpConnection.java:830)
         at
  com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable
  (RpcRequestParser.java:76)
         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
         at

  com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest
  (JettyServletEngineAdapter.java:139)
         at com.google.apphosting.runtime.JavaRuntime.handleRequest
  (JavaRuntime.java:239)
         at com.google.apphosting.base.RuntimePb$EvaluationRuntime
  $6.handleBlockingRequest(RuntimePb.java:5235)
         at com.google.apphosting.base.RuntimePb$EvaluationRuntime
  $6.handleBlockingRequest(RuntimePb.java:5233)
         at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest
  (BlockingApplicationHandler.java:24)
         at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
  363)
         at com.google.net.rpc.impl.Server$2.run(Server.java:838)
         at com.google.tracing.LocalTraceSpanRunnable.run
  (LocalTraceSpanRunnable.java:56)
         at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan
  (LocalTraceSpanBuilder.java:536)
         at com.google.net.rpc.impl.Server.startRpc(Server.java:793)
         at com.google.net.rpc.impl.Server.processRequest(Server.java:368)
         at com.google.net.rpc.impl.ServerConnection.messageReceived
  (ServerConnection.java:448)
         at com.google.net.rpc.impl.RpcConnection.parseMessages
  (RpcConnection.java:319)
         at com.google.net.rpc.impl.RpcConnection.dataReceived
  (RpcConnection.java:290)
         at com.google.net.async.Connection.handleReadEvent(Connection.java:
  466)
         at com.google.net.async.EventDispatcher.processNetworkEvents
  (EventDispatcher.java:759)
         at com.google.net.async.EventDispatcher.internalLoop
  (EventDispatcher.java:205)
         at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:
  101

[appengine-java] java.lang.NoClassDefFoundError: java.rmi.server.UID -using commons-fileupload-1.2.1.jar

2009-12-09 Thread Henry
Hi Guys,

Im trying to store and image with GWT to Google App engine, I'm using
the packages:
  commons-codec-1.4.jar
  commons-fileupload-1.2.1.jar
  commons-io-1.4.jar
to get the widgets from the formPanel that I'm sending to the server
which contain the widgets FileUpload that has my image.
When I'm using this packages to recover the image and store it I've
the following error:

java.lang.NoClassDefFoundError: java.rmi.server.UID is a restricted
class. Please see the Google App Engine developer's guide for more
details.
at
com.google.apphosting.runtime.security.shared.stub.java.rmi.server.UID.clinit
(UID.java)
at org.apache.commons.fileupload.disk.DiskFileItem.clinit
(DiskFileItem.java:103)
at org.apache.commons.fileupload.disk.DiskFileItemFactory.createItem
(DiskFileItemFactory.java:196)
at org.apache.commons.fileupload.FileUploadBase.parseRequest
(FileUploadBase.java:358)
at
org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest
(ServletFileUpload.java:126)
at com.handizo.server.service.FileUploadAnnouncementServlet.doPost
(FileUploadAnnouncementServlet.java:37)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1093)
at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter
(SaveSessionFilter.java:35)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter
(TransactionCleanupFilter.java:43)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle
(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle
(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle
(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
405)
at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle
(AppVersionHandlerMap.java:238)
at org.mortbay.jetty.handler.HandlerWrapper.handle
(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
506)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete
(HttpConnection.java:830)
at com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable
(RpcRequestParser.java:76)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest
(JettyServletEngineAdapter.java:139)
at com.google.apphosting.runtime.JavaRuntime.handleRequest
(JavaRuntime.java:239)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$6.handleBlockingRequest(RuntimePb.java:5235)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$6.handleBlockingRequest(RuntimePb.java:5233)
at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest
(BlockingApplicationHandler.java:24)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
363)
at com.google.net.rpc.impl.Server$2.run(Server.java:838)
at com.google.tracing.LocalTraceSpanRunnable.run
(LocalTraceSpanRunnable.java:56)
at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan
(LocalTraceSpanBuilder.java:536)
at com.google.net.rpc.impl.Server.startRpc(Server.java:793)
at com.google.net.rpc.impl.Server.processRequest(Server.java:368)
at com.google.net.rpc.impl.ServerConnection.messageReceived
(ServerConnection.java:448)
at com.google.net.rpc.impl.RpcConnection.parseMessages
(RpcConnection.java:319)
at com.google.net.rpc.impl.RpcConnection.dataReceived
(RpcConnection.java:290)
at com.google.net.async.Connection.handleReadEvent(Connection.java:
466)
at com.google.net.async.EventDispatcher.processNetworkEvents
(EventDispatcher.java:759)
at com.google.net.async.EventDispatcher.internalLoop
(EventDispatcher.java:205)
at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:
101)
at com.google.net.rpc.RpcService.runUntilServerShutdown
(RpcService.java:251)
at com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run
(JavaRuntime.java:396)
at java.lang.Thread.run(Unknown Source)


This  java.rmi.server.UID class is not in the jre class white list
of Google App Engine, this mean that I can't use these packages
because they need this class?
In that case how I can 

[google-appengine] Re: Empty value of a Key field

2009-12-09 Thread Henry
Thanks Ikai L, now with 1.2.8. i've NO problems :-).

On 9 Dec, 01:51, Ikai L (Google) ika...@google.com wrote:
 Henry,

 What's happening here is your Key is getting retrieved lazily. You need to
 do a call announcerLoaded.getCountry() before you close the
 PersistenceManager.

 This behavior has been changed in 1.2.8. All the fields should be eager
 populated.



 On Thu, Dec 3, 2009 at 9:58 AM, Henry enricrequ...@gmail.com wrote:
  The method which I have to retrieve the information of and announcer
  is this one...

  private Announcer getAnnouncerFromEmailAddress(String emailAddress)
  throws UnknownUserException {
                 Announcer announcerLoaded = null;
                 // Creating a PersistentManager to interact with the
  DataBase
                  PersistenceManager pm = PMF.get().getPersistenceManager();
                  // Query to check if the current user exists
                 Query query = pm.newQuery(Announcer.class);
                 // Set the filter
                 query.setFilter(emailAddress == emailAddressParam);
                 // Declare the parameter
                 query.declareParameters(String emailAddressParam);
                 // Run the query and check the result
                 try {
                         ListAnnouncer results = (ListAnnouncer)
  query.execute
  (emailAddress);
                         if (!results.isEmpty()) {
                                 announcerLoaded = results.get(0);
                         } else {
                                 throw new UnknownUserException();
                         }
                 } finally {
                         pm.close();
                 }
                 return announcerLoaded;
         }

  after execute the query, the field country is null.

  On Dec 2, 7:13 pm, Ikai L (Google) ika...@google.com wrote:
   Do you have a reproducible test case or some code you can post?

   On Tue, Dec 1, 2009 at 5:02 AM, Henry enricrequ...@gmail.com wrote:
Hi Guys,

Im new at Google App Engine, I've the follow problem:
When Im recovering a persistent class Announcer, it has one field
(country) with NO VALUE...I thought that must to be for a bad mapping
with the annotations creating the proper class, but I don't know how
to do to get again the Key that I've stored. When Im storing the Key
(country), it has value, I can see it in the Google App Engine
DataViewer.
This is my class with the annotations:

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Announcer {

      �...@primarykey
      �...@persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
       private Long id;
      �...@persistent
       private String emailAddress;
      �...@persistent
       private String password;
      �...@persistent
       private String firstName;
      �...@persistent
       private String lastName;
      �...@persistent
       private Key country;

Anyone could help me?
Im using Java and JDO.
Thanks for advance.

--

You received this message because you are subscribed to the Google
  Groups
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
  .
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
  google-appengine%2bunsubscr...@googlegroups.comgoogle-appengine%252bunsubscr...@googlegroups.com

.
For more options, visit this group at
   http://groups.google.com/group/google-appengine?hl=en.

   --
   Ikai Lan
   Developer Programs Engineer, Google App Engine

  --

  You received this message because you are subscribed to the Google Groups
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine

--

You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.




[google-appengine] Re: Empty value of a Key field

2009-12-03 Thread Henry
The method which I have to retrieve the information of and announcer
is this one...

private Announcer getAnnouncerFromEmailAddress(String emailAddress)
throws UnknownUserException {
Announcer announcerLoaded = null;
// Creating a PersistentManager to interact with the DataBase
PersistenceManager pm = PMF.get().getPersistenceManager();
// Query to check if the current user exists
Query query = pm.newQuery(Announcer.class);
// Set the filter
query.setFilter(emailAddress == emailAddressParam);
// Declare the parameter
query.declareParameters(String emailAddressParam);
// Run the query and check the result
try {
ListAnnouncer results = (ListAnnouncer) 
query.execute
(emailAddress);
if (!results.isEmpty()) {
announcerLoaded = results.get(0);
} else {
throw new UnknownUserException();
}
} finally {
pm.close();
}
return announcerLoaded;
}

after execute the query, the field country is null.

On Dec 2, 7:13 pm, Ikai L (Google) ika...@google.com wrote:
 Do you have a reproducible test case or some code you can post?



 On Tue, Dec 1, 2009 at 5:02 AM, Henry enricrequ...@gmail.com wrote:
  Hi Guys,

  Im new at Google App Engine, I've the follow problem:
  When Im recovering a persistent class Announcer, it has one field
  (country) with NO VALUE...I thought that must to be for a bad mapping
  with the annotations creating the proper class, but I don't know how
  to do to get again the Key that I've stored. When Im storing the Key
  (country), it has value, I can see it in the Google App Engine
  DataViewer.
  This is my class with the annotations:

  @PersistenceCapable(identityType = IdentityType.APPLICATION)
  public class Announcer {

        �...@primarykey
        �...@persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
         private Long id;
        �...@persistent
         private String emailAddress;
        �...@persistent
         private String password;
        �...@persistent
         private String firstName;
        �...@persistent
         private String lastName;
        �...@persistent
         private Key country;

  Anyone could help me?
  Im using Java and JDO.
  Thanks for advance.

  --

  You received this message because you are subscribed to the Google Groups
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine

--

You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.




[google-appengine] Empty value of a Key field

2009-12-01 Thread Henry
Hi Guys,

Im new at Google App Engine, I've the follow problem:
When Im recovering a persistent class Announcer, it has one field
(country) with NO VALUE...I thought that must to be for a bad mapping
with the annotations creating the proper class, but I don't know how
to do to get again the Key that I've stored. When Im storing the Key
(country), it has value, I can see it in the Google App Engine
DataViewer.
This is my class with the annotations:

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Announcer {

@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Long id;
@Persistent
private String emailAddress;
@Persistent
private String password;
@Persistent
private String firstName;
@Persistent
private String lastName;
@Persistent
private Key country;

Anyone could help me?
Im using Java and JDO.
Thanks for advance.

--

You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.




[google-appengine] Empty field (type=Key) after recover the entity from the database

2009-12-01 Thread Henry
Hi Guys,

I'm new in Google App Engine and I testing my first entities, I have
the follow problem:
After recover the follow object from the database, one of the fields:
country (that is a Key) is null !!! This is my entity:

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class  User{

@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Long id;
@Persistent
private String emailAddress;
@Persistent
private String firstName;
@Persistent
private String lastName;
@Persistent
private Key country;

I check the table in the database just before recovering the object
(after create it) and the column country has the proper Key, I have no
idea why is not recovering it.

This is my method to recover it:

User userLoaded = null;
// Creating a PersistentManager to interact with the DataBase
PersistenceManager pm = PMF.get().getPersistenceManager();
// Query to check if the current user exists
Query query = pm.newQuery(User.class);
// Set the filter
query.setFilter(emailAddress == emailAddressParam);
// Declare the parameter
query.declareParameters(String emailAddressParam);
// Run the query and check the result
try {
ListUser results = (ListUser) 
query.execute(emailAddressParam);
if (!results.isEmpty()) {
userLoaded = results.get(0);

 --- HERE THE FIELD
userLoaded.getCountry() = NULL

} else {
throw new UnknownUserException();
}
} finally {
pm.close();
}

}


--

You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.