[google-appengine] Re: AppEngine crashing my webserice randomly with errors

2022-04-21 Thread 'Darrell (Cloud Platform Support)' via Google App Engine
Hi,

Are there any other relevant error logs? I am asking because there are a 
couple of reasons for the shutdown process to occur[1]. I suggest verifying 
if your instance is exceeding the maximum memory and checking if there are 
any CPU spikes prior to the crashing.

I hope this helps!

[1] 
https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#shutdown

On Thursday, April 21, 2022 at 10:29:59 AM UTC-4 rob...@cluemaster.io wrote:

> Were getting random AppEngine instance crashing ever so many days. It 
> seems this year to happen allot more then usual.
>
> We get these shutdown errors when it happens in the log console. Any ideas 
> on why this happens?  Is this Google updating the Linux kernel os behind 
> the scenes?  Any way to stop that or set updates only on off hours?
>
> {
>   "insertId": "0",
>   "jsonPayload": {
> "@type": "type.googleapis.com/cloud_integrity.IntegrityEvent",
> "shutdownEvent": {},
> "bootCounter": "25"
>   },
>   "resource": {
> "type": "gce_instance",
> "labels": {
>   "instance_id": "",
>   "zone": "us-central1-c",
>   "project_id": ""
> }
>   },
>   "timestamp": "2022-04-20T21:07:52.780477835Z",
>   "severity": "NOTICE",
>   "logName": "projects//logs/compute.googleapis.com
> %2Fshielded_vm_integrity",
>   "receiveTimestamp": "2022-04-20T21:07:54.811246896Z"
> }
>

-- 
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/421db933-f451-4d9d-b837-28344eff2063n%40googlegroups.com.


[google-appengine] Re: App Engine doesn't send response leads to timeout at client

2022-04-21 Thread 'Horace (Cloud Platform Support)' via Google App Engine


Hello

Since we don't have visibility on your project to check your App Engine 
settings including your yaml file and further use our internal tools to 
find out what is happening, kindly take a look at your configuration such 
as your max instances, idle time out, and scaling. From your log, the 
‘Quitting on terminated signal’ indicates there is a shutdown of an 
instance [1], it could be that there are no requests hence the instance was 
shutdown and there could be a spike in subsequent requests that the 
instance was not ready to respond since there are no instances available.

Lastly, kindly take a look at your scaling, do note that there is no 
guaranteed uptime for basic and manual scaling [3]. Due to this behavior, 
if you want a higher Monthly Uptime Percentage, try to configure your 
instance with automatic scaling. You can set the max_instances and 
max_idle_instances to values that better achieve your architecture in the 
app.yaml file [4]

[1] 
https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#shutdown

[2] 
https://cloud.google.com/appengine/docs/standard/python3/configuring-warmup-requests

[3] 
https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_uptime

[4] 
https://cloud.google.com/appengine/docs/standard/go/config/appref#scaling_elements


On Thursday, April 21, 2022 at 10:30:00 AM UTC-4 nikhilhem...@rakuten.com 
wrote:

> I think no issue on application side. I have logged upto last line of my 
> post method and after that is return response. 
> *Code:*
>
> class myView(generics.ListCreateAPIView):
> permission_classes = (IsAuthenticated,)
> http_method_names = ['get', 'post']
> search_fields = ['some', 'thing', 'here'']
> filter_backends = (DynamicSearchFilter,)
> pagination_class = PageNumberPagination
> serializer_class = mySerializer
> queryset = mymodel.objects.all().order_by("-update_date")
>
> def __init__(self, **kwargs):
> .
> .
> .
>
>
> def create(self, request, *args, **kwargs):
> .
> .
> .
> logger.info(f"Returning response of size {len(response_data)}")
>
> return Response(response_data, content_type='application/json')
>
>
>
>
>
> *here are my logs.*[
>   {
> "textPayload": "2022-04-14 03:05:21,344 INFO app.myview  create 
>  Returning response of size 11",
> "insertId": "62578f71000541533a99d6a0",
> "resource": {
>   "type": "gae_app",
>   "labels": {
> "project_id": "my-prj",
> "module_id": "myapp",
> "zone": "asia-northeast1-1",
> "version_id": "20220406t140722"
>   }
> },
> "timestamp": "2022-04-14T03:05:21.344403Z",
> "labels": {
>   "clone_id": 
> "00c61b117cd9f4551488432b6f7441914e77d3c1dae0ed84f783550c94129238df03e3311f8837126c38d73af6577b91baa8a9c0ed6b68487259cdaad779413ebb5f1bf9d9ef33fa5de9b7b2f6d7a5"
> },
> "logName": "projects/my-prj/logs/stderr",
> "receiveTimestamp": "2022-04-14T03:05:21.478498355Z"
>   },
>   {
> "textPayload": "[start] 2022/04/14 03:20:24.968447 Quitting on 
> terminated signal",
> "insertId": "625792f8000ec856db894b8e",
> "resource": {
>   "type": "gae_app",
>   "labels": {
> "module_id": "myapp",
> "zone": "asia-northeast1-1",
> "version_id": "20220406t140722",
> "project_id": "my-prj"
>   }
> },
> "timestamp": "2022-04-14T03:20:24.968790Z",
> "labels": {
>   "clone_id": 
> "00c61b117cd9f4551488432b6f7441914e77d3c1dae0ed84f783550c94129238df03e3311f8837126c38d73af6577b91baa8a9c0ed6b68487259cdaad779413ebb5f1bf9d9ef33fa5de9b7b2f6d7a5"
> },
> "logName": "projects/my-prj/logs/%2Fvar%2Flog%2Fgoogle_init.log",
> "receiveTimestamp": "2022-04-14T03:20:24.971407404Z"
>   },
>   {
> "textPayload": "[2022-04-14 03:20:24 +] [10] [INFO] Handling 
> signal: term",
> "insertId": "625792f8000ed2e870511881",
> "resource": {
>   "type": "gae_app",
>   "labels": {
> "project_id": "my-prj",
> "version_id": "20220406t140722",
> "module_id": "myapp",
> "zone": "asia-northeast1-1"
>   }
> },
> "timestamp": "2022-04-14T03:20:24.971496Z",
> "labels": {
>   "clone_id": 
> "00c61b117cd9f4551488432b6f7441914e77d3c1dae0ed84f783550c94129238df03e3311f8837126c38d73af6577b91baa8a9c0ed6b68487259cdaad779413ebb5f1bf9d9ef33fa5de9b7b2f6d7a5"
> },
> "logName": "projects/my-prj/logs/stderr",
> "receiveTimestamp": "2022-04-14T03:20:24.975480517Z"
>   },
>   {
> "textPayload": "[2022-04-14 03:20:24 +] [24] [INFO] Worker exiting 
> (pid: 24)",
> "insertId": "625792f8000f38c249d53b78",
> "resource": {
>   "type": "gae_app",
>   "labels": {
> "module_id": "myapp",
> "project_id": "my-prj",
> "zone": "asia-northeast1-1",
> "version_id": "20220406t140722"
>   }
> },
> "timestamp": "2022-04-14T03:20:24.997570Z",
> "labels": {
>   "clone_id": 
> 

Re: [google-appengine] Re: hot reload: mvn google cloud sdk

2022-04-21 Thread 'Rogelio Monter Rodriguez' via Google App Engine


This gist on GitHub 
 provides 
a summary on how to run Eclipse on WSL2.

For Netbeans, as shown on this StackOverflow answer 
, there’s only a workaround.


Also, this tutorial 

 
could be useful for Using WSL 2 to develop Java applications on Windows.

On Thursday, April 21, 2022 at 10:14:03 AM UTC-5 ludovic.c...@gmail.com 
wrote:

> Hi,
>
> You can install InteliJ on wsl2 according to 
> https://nirisarri.github.io/2020-11-03-how-to-install-and-run-intellij-idea-for-linux-in-wsl2/
>
> similar steps should work for NetBeans or Eclipse I guess.
>
> Ludp
> On 4/21/22 2:55 AM, 'Rajesh G' via Google App Engine wrote:
>
> If you dont' use IDE  like eclipse or netbeans (it is not available on 
> windows 11 wsl2 env) 
> Use mvn compile.
> It is working for me now on windows 11.  I will try on wsl2 later.
>
> On Sat, Apr 16, 2022 at 10:20 PM Ludovic Champenois <
> ludovic.c...@gmail.com> wrote:
>
>> Hi, 
>> Almost there,  I think you are missing this critical line in your pom.xml:
>> 
>> 
>> target/${project.artifactId}-${project.version}/WEB-INF/classes
>> 
>> ...
>>
>> This way, the compile on save is put the changed class in the correct web 
>> app location.
>> At least, I tested it in NetBeans and it works great as NetBeans can do 
>> compile automatically when you save a java file, even in the Maven project.
>> Ludo
>>
>>
>> On Saturday, April 16, 2022 at 4:50:43 AM UTC-7 
>> rajesh...@veersoftsolutions.com wrote:
>>
>>> Hello, 
>>> I have created a simple java appengine using maven archetypes.
>>> I am not using eclipse (because I don't have eclipse in windows wsl2.)
>>>
>>> I run the server using
>>> mvn appengine:run
>>>
>>> Then I do simple changes to a servlet. Then another window, I run 
>>> mvn:compile.  It compiles into the target/snapshot folder
>>>
>>> However, I am not seeing the changes on the server.  The latest servlet 
>>> changes is not reflected 
>>>
>>> I tried the following settings also in the pom.xml file.  The server is 
>>> not restarted
>>>
>>> 
>>>   true
>>> 
>>>
>>>
>>> --
>>> Support Team
>>> www.servicefolder.com
>>> *Field Service Software on Google Cloud Platform and Mobile*
>>>
>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengi...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/02a10f06-ff90-4e1b-80ae-457c49a56bf9n%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Support Team
> www.servicefolder.com
> *Field Service Software on Google Cloud Platform and Mobile*
>
>
> -- 
>
> You received this message because you are subscribed to a topic in the 
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/google-appengine/5XT9ASv7iM4/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to 
> google-appengi...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijY2QAOGaP%2B38XD4To%3DUiqyDWNx44_S6PvVcLdU%2BU3yWtg%40mail.gmail.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c1291b88-fa45-45ff-ac94-d94c0238711bn%40googlegroups.com.


Re: [google-appengine] Re: hot reload: mvn google cloud sdk

2022-04-21 Thread Ludovic Champenois

Hi,

You can install InteliJ on wsl2 according to 
https://nirisarri.github.io/2020-11-03-how-to-install-and-run-intellij-idea-for-linux-in-wsl2/


similar steps should work for NetBeans or Eclipse I guess.

Ludp

On 4/21/22 2:55 AM, 'Rajesh G' via Google App Engine wrote:
If you dont' use IDE  like eclipse or netbeans (it is not available on 
windows 11 wsl2 env)

Use mvn compile.
It is working for me now on windows 11.  I will try on wsl2 later.

On Sat, Apr 16, 2022 at 10:20 PM Ludovic Champenois 
 wrote:


Hi,
Almost there,  I think you are missing this critical line in your
pom.xml:
    

target/${project.artifactId}-${project.version}/WEB-INF/classes
        
...

This way, the compile on save is put the changed class in the
correct web app location.
At least, I tested it in NetBeans and it works great as NetBeans
can do compile automatically when you save a java file, even in
the Maven project.
Ludo


On Saturday, April 16, 2022 at 4:50:43 AM UTC-7
rajesh...@veersoftsolutions.com wrote:

Hello,
I have created a simple java appengine using maven archetypes.
I am not using eclipse (because I don't have eclipse in
windows wsl2.)

I run the server using
mvn appengine:run

Then I do simple changes to a servlet. Then another window, I run
mvn:compile.  It compiles into the target/snapshot folder

However, I am not seeing the changes on the server.  The
latest servlet changes is not reflected

I tried the following settings also in the pom.xml file.  The
server is not restarted


   true



--
Support Team
www.servicefolder.com 
/Field Service Software on Google Cloud Platform and Mobile/
/

/

-- 
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/02a10f06-ff90-4e1b-80ae-457c49a56bf9n%40googlegroups.com

.



--
Support Team
www.servicefolder.com 
/Field Service Software on Google Cloud Platform and Mobile/
/

/
--
You received this message because you are subscribed to a topic in the 
Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/google-appengine/5XT9ASv7iM4/unsubscribe.
To unsubscribe from this group and all its topics, 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/CA%2BS7ijY2QAOGaP%2B38XD4To%3DUiqyDWNx44_S6PvVcLdU%2BU3yWtg%40mail.gmail.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/eedb662d-ced9-e9c0-0060-58ac339e79d2%40gmail.com.


[google-appengine] AppEngine crashing my webserice randomly with errors

2022-04-21 Thread Robert Bartram
Were getting random AppEngine instance crashing ever so many days. It seems 
this year to happen allot more then usual.

We get these shutdown errors when it happens in the log console. Any ideas 
on why this happens?  Is this Google updating the Linux kernel os behind 
the scenes?  Any way to stop that or set updates only on off hours?

{
  "insertId": "0",
  "jsonPayload": {
"@type": "type.googleapis.com/cloud_integrity.IntegrityEvent",
"shutdownEvent": {},
"bootCounter": "25"
  },
  "resource": {
"type": "gce_instance",
"labels": {
  "instance_id": "",
  "zone": "us-central1-c",
  "project_id": ""
}
  },
  "timestamp": "2022-04-20T21:07:52.780477835Z",
  "severity": "NOTICE",
  "logName": 
"projects//logs/compute.googleapis.com%2Fshielded_vm_integrity",
  "receiveTimestamp": "2022-04-20T21:07:54.811246896Z"
}

-- 
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/8d36cccb-61e0-493e-9a30-913abcaa4f8fn%40googlegroups.com.


[google-appengine] Re: App Engine doesn't send response leads to timeout at client

2022-04-21 Thread 'Nikhil Patil' via Google App Engine
I think no issue on application side. I have logged upto last line of my 
post method and after that is return response. 
*Code:*

class myView(generics.ListCreateAPIView):
permission_classes = (IsAuthenticated,)
http_method_names = ['get', 'post']
search_fields = ['some', 'thing', 'here'']
filter_backends = (DynamicSearchFilter,)
pagination_class = PageNumberPagination
serializer_class = mySerializer
queryset = mymodel.objects.all().order_by("-update_date")

def __init__(self, **kwargs):
.
.
.


def create(self, request, *args, **kwargs):
.
.
.
logger.info(f"Returning response of size {len(response_data)}")

return Response(response_data, content_type='application/json')





*here are my logs.*[
  {
"textPayload": "2022-04-14 03:05:21,344 INFO app.myview  create 
 Returning response of size 11",
"insertId": "62578f71000541533a99d6a0",
"resource": {
  "type": "gae_app",
  "labels": {
"project_id": "my-prj",
"module_id": "myapp",
"zone": "asia-northeast1-1",
"version_id": "20220406t140722"
  }
},
"timestamp": "2022-04-14T03:05:21.344403Z",
"labels": {
  "clone_id": 
"00c61b117cd9f4551488432b6f7441914e77d3c1dae0ed84f783550c94129238df03e3311f8837126c38d73af6577b91baa8a9c0ed6b68487259cdaad779413ebb5f1bf9d9ef33fa5de9b7b2f6d7a5"
},
"logName": "projects/my-prj/logs/stderr",
"receiveTimestamp": "2022-04-14T03:05:21.478498355Z"
  },
  {
"textPayload": "[start] 2022/04/14 03:20:24.968447 Quitting on 
terminated signal",
"insertId": "625792f8000ec856db894b8e",
"resource": {
  "type": "gae_app",
  "labels": {
"module_id": "myapp",
"zone": "asia-northeast1-1",
"version_id": "20220406t140722",
"project_id": "my-prj"
  }
},
"timestamp": "2022-04-14T03:20:24.968790Z",
"labels": {
  "clone_id": 
"00c61b117cd9f4551488432b6f7441914e77d3c1dae0ed84f783550c94129238df03e3311f8837126c38d73af6577b91baa8a9c0ed6b68487259cdaad779413ebb5f1bf9d9ef33fa5de9b7b2f6d7a5"
},
"logName": "projects/my-prj/logs/%2Fvar%2Flog%2Fgoogle_init.log",
"receiveTimestamp": "2022-04-14T03:20:24.971407404Z"
  },
  {
"textPayload": "[2022-04-14 03:20:24 +] [10] [INFO] Handling 
signal: term",
"insertId": "625792f8000ed2e870511881",
"resource": {
  "type": "gae_app",
  "labels": {
"project_id": "my-prj",
"version_id": "20220406t140722",
"module_id": "myapp",
"zone": "asia-northeast1-1"
  }
},
"timestamp": "2022-04-14T03:20:24.971496Z",
"labels": {
  "clone_id": 
"00c61b117cd9f4551488432b6f7441914e77d3c1dae0ed84f783550c94129238df03e3311f8837126c38d73af6577b91baa8a9c0ed6b68487259cdaad779413ebb5f1bf9d9ef33fa5de9b7b2f6d7a5"
},
"logName": "projects/my-prj/logs/stderr",
"receiveTimestamp": "2022-04-14T03:20:24.975480517Z"
  },
  {
"textPayload": "[2022-04-14 03:20:24 +] [24] [INFO] Worker exiting 
(pid: 24)",
"insertId": "625792f8000f38c249d53b78",
"resource": {
  "type": "gae_app",
  "labels": {
"module_id": "myapp",
"project_id": "my-prj",
"zone": "asia-northeast1-1",
"version_id": "20220406t140722"
  }
},
"timestamp": "2022-04-14T03:20:24.997570Z",
"labels": {
  "clone_id": 
"00c61b117cd9f4551488432b6f7441914e77d3c1dae0ed84f783550c94129238df03e3311f8837126c38d73af6577b91baa8a9c0ed6b68487259cdaad779413ebb5f1bf9d9ef33fa5de9b7b2f6d7a5"
},
"logName": "projects/my-prj/logs/stderr",
"receiveTimestamp": "2022-04-14T03:20:25.306874254Z"
  },
  {
"textPayload": "[2022-04-14 03:20:25 +] [27] [INFO] Worker exiting 
(pid: 27)",
"insertId": "625792f9530acac710eb",
"resource": {
  "type": "gae_app",
  "labels": {
"version_id": "20220406t140722",
"module_id": "myapp",
"zone": "asia-northeast1-1",
"project_id": "my-prj"
  }
},
"timestamp": "2022-04-14T03:20:25.021258Z",
"labels": {
  "clone_id": 
"00c61b117cd9f4551488432b6f7441914e77d3c1dae0ed84f783550c94129238df03e3311f8837126c38d73af6577b91baa8a9c0ed6b68487259cdaad779413ebb5f1bf9d9ef33fa5de9b7b2f6d7a5"
},
"logName": "projects/my-prj/logs/stderr",
"receiveTimestamp": "2022-04-14T03:20:25.306874254Z"
  },
  {
"textPayload": "[2022-04-14 03:20:25 +] [25] [INFO] Worker exiting 
(pid: 25)",
"insertId": "625792f953b58a77b5a5",
"resource": {
  "type": "gae_app",
  "labels": {
"module_id": "myapp",
"zone": "asia-northeast1-1",
"project_id": "my-prj",
"version_id": "20220406t140722"
  }
},
"timestamp": "2022-04-14T03:20:25.021429Z",
"labels": {
  "clone_id": 
"00c61b117cd9f4551488432b6f7441914e77d3c1dae0ed84f783550c94129238df03e3311f8837126c38d73af6577b91baa8a9c0ed6b68487259cdaad779413ebb5f1bf9d9ef33fa5de9b7b2f6d7a5"
},
"logName": "projects/my-prj/logs/stderr",
"receiveTimestamp": "2022-04-14T03:20:25.306874254Z"
  

Re: [google-appengine] Re: hot reload: mvn google cloud sdk

2022-04-21 Thread 'Rajesh G' via Google App Engine
If you dont' use IDE  like eclipse or netbeans (it is not available on
windows 11 wsl2 env)
Use mvn compile.
It is working for me now on windows 11.  I will try on wsl2 later.

On Sat, Apr 16, 2022 at 10:20 PM Ludovic Champenois <
ludovic.champen...@gmail.com> wrote:

> Hi,
> Almost there,  I think you are missing this critical line in your pom.xml:
> 
>
> target/${project.artifactId}-${project.version}/WEB-INF/classes
> 
> ...
>
> This way, the compile on save is put the changed class in the correct web
> app location.
> At least, I tested it in NetBeans and it works great as NetBeans can do
> compile automatically when you save a java file, even in the Maven project.
> Ludo
>
>
> On Saturday, April 16, 2022 at 4:50:43 AM UTC-7
> rajesh...@veersoftsolutions.com wrote:
>
>> Hello,
>> I have created a simple java appengine using maven archetypes.
>> I am not using eclipse (because I don't have eclipse in windows wsl2.)
>>
>> I run the server using
>> mvn appengine:run
>>
>> Then I do simple changes to a servlet. Then another window, I run
>> mvn:compile.  It compiles into the target/snapshot folder
>>
>> However, I am not seeing the changes on the server.  The latest servlet
>> changes is not reflected
>>
>> I tried the following settings also in the pom.xml file.  The server is
>> not restarted
>>
>> 
>>   true
>> 
>>
>>
>> --
>> Support Team
>> www.servicefolder.com
>> *Field Service Software on Google Cloud Platform and Mobile*
>>
>>
>> --
> 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/02a10f06-ff90-4e1b-80ae-457c49a56bf9n%40googlegroups.com
> 
> .
>


-- 
Support Team
www.servicefolder.com
*Field Service Software on Google Cloud Platform and Mobile*

-- 
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/CA%2BS7ijY2QAOGaP%2B38XD4To%3DUiqyDWNx44_S6PvVcLdU%2BU3yWtg%40mail.gmail.com.


Re: [google-appengine] Re: hot reload: mvn google cloud sdk

2022-04-21 Thread 'Rajesh G' via Google App Engine
mvn war:exploded did not work.

However, mvn compile is working now and the server will restart. It did not
when I tried earlier.

Cheers

On Thu, Apr 21, 2022 at 12:56 AM 'Rogelio Monter Rodriguez' via Google App
Engine  wrote:

> As stated in the app-maven-plugin User guide
> 
> :
>
> To enable automatic reload of an application, you must tell the Dev
> App Server to scan for changes :
>
> 
>
>   true
>
> 
>
> While your app is running, just run mvn war:exploded to reflect your
> changes into the running application.
>
> On Wednesday, April 20, 2022 at 4:51:47 AM UTC-5 ludovic.c...@gmail.com
> wrote:
>
>> Hi,
>> Try to follow the doc at:
>>
>> https://cloud.google.com/appengine/docs/standard/java/maven-reference#appenginerun
>> Especially the config for the Pom.xml file to put the classes in the
>> correct folder.
>>
>> Thanks
>>
>>
>> On Tue, Apr 19, 2022 at 8:43 PM 'Rajesh G' via Google App Engine <
>> google-a...@googlegroups.com> wrote:
>>
>>> Hi, any ideas on how to make the hot reload work
>>>
>>> Thanks
>>>
>>> On Sat, Apr 16, 2022 at 5:20 PM Rajesh G <
>>> rajesh...@veersoftsolutions.com> wrote:
>>>
 Hello,
 I have created a simple java appengine using maven archetypes.
 I am not using eclipse (because I don't have eclipse in windows wsl2.)

 I run the server using
 mvn appengine:run

 Then I do simple changes to a servlet. Then another window, I run
 mvn:compile.  It compiles into the target/snapshot folder

 However, I am not seeing the changes on the server.  The latest servlet
 changes is not reflected

 I tried the following settings also in the pom.xml file.  The server is
 not restarted

 
   true
 


 --
 Support Team
 www.servicefolder.com
 *Field Service Software on Google Cloud Platform and Mobile*



>>>
>>> --
>>> Support Team
>>> www.servicefolder.com
>>> *Field Service Software on Google Cloud Platform and Mobile*
>>>
>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Google App Engine" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/google-appengine/5XT9ASv7iM4/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> google-appengi...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijaEYSV83h6rvK-NDF8bpTw%3Dx31cSrtzmZExufXu%3DP%3DqzQ%40mail.gmail.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 view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/d4855b59-c9d5-4eab-9678-ac19094529afn%40googlegroups.com
> 
> .
>


-- 
Support Team
www.servicefolder.com
*Field Service Software on Google Cloud Platform and Mobile*

-- 
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/CA%2BS7ijaOH8OUfy-bkE4j09LvbTOOENGTrYvVPc_DpSAxOXeAtQ%40mail.gmail.com.