It only happened locally but now it works, maybe it was some mismatch of JARs. Anyway the issue is gone now :)
wt., 23 paź 2018 o 09:52 Yasser Zamani <yasserzam...@apache.org> napisał(a): > > We just have fixed file monitoring and reloading in recent versions including > 2.5.18. I think the last modified date of one or more of > XmlConfigurationProvider.loadedFileUrls has changed maybe by google cloud or > something else? > > Regards. > > >-----Original Message----- > >From: Lukasz Lenart <lukaszlen...@apache.org> > >Sent: Friday, October 19, 2018 11:23 AM > >To: Struts Developers List <dev@struts.apache.org> > >Subject: Regression in Struts 2.5.18 > > > >Hello, > > > >I have notice a regression bug in Struts 2.5.18, looks like defining your own > >ConfigurationProvider wich will change some internal states cause infinitive > >reload loop. > > > >See this: > > > >[INFO] GCLOUD: 2018-10-19 07:46:57,567 INFO [qtp403716510-30] > >config.ConfigurationManager (ConfigurationManager.java:212) - Detected > >container provider [Struts XML configuration provider (struts-default.xml)] > >needs > >to be reloaded. Reloading all providers. > >[INFO] GCLOUD: 2018-10-19 07:46:57,603 DEBUG [qtp403716510-30] > >web.GruufConfigurationProvider (GruufConfigurationProvider.java:66) - Setting > >struts.devMode to value true [INFO] GCLOUD: 2018-10-19 07:46:57,680 INFO > >[qtp403716510-16] config.ConfigurationManager > >(ConfigurationManager.java:212) - Detected container provider [Struts XML > >configuration provider (struts-default.xml)] needs to be reloaded. Reloading > >all > >providers. > > > >The GruufConfigurationProvider class is my custom provider which sets devMode > >based on Google AppEngine envs, but now this causes reloading of all > >providers > >again, which will request reloading my GruufConfigurationProvider again, and > >again,.... > > > >[INFO] GCLOUD: 2018-10-19 07:46:57,717 DEBUG [qtp403716510-16] > >web.GruufConfigurationProvider (GruufConfigurationProvider.java:66) - Setting > >struts.devMode to value true [INFO] GCLOUD: 2018-10-19 07:46:57,803 INFO > >[qtp403716510-23] config.ConfigurationManager > >(ConfigurationManager.java:212) - Detected container provider [Struts XML > >configuration provider (struts-default.xml)] needs to be reloaded. Reloading > >all > >providers. > > > >Any idea what's wrong? > > > >The easiest workaround is to set "struts.configuration.xml.reload" to false. > > > > > >Regards > >-- > >Łukasz > >+ 48 606 323 122 http://www.lenart.org.pl/ > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > >For additional commands, e-mail: dev-h...@struts.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org