On Wed, Dec 9, 2015 at 9:31 PM, Feed My Lambs Esq.
<victor.replo...@gmail.com> wrote:
> Changing those flags in-place and saving suddenly stopped the CPU behavior I
> have documented -- even without stopping/starting Tomcat!

Yes, as expected, it was the reloadable attribute.

> Your warning regarding "as opposed to server.xml" sounded like server.xml
> was the approved / better place for these contexts (although the
> documentation here seems to imply 3 separate documents is most proper). I
> have since moved all 3 into server.xml at your recommendation.

It's better only because it allows to make them separately reloadable.
If you don't want to use that feature, I don't think it matters
whether you use server.xml or context fragments.

The thing is on systems like Linux, Tomcat doesn't poll for changes to
its xml files, it is notified by the OS via subsystems like inotify.
It's easily possible that Windows doesn't have such subsystem or if it
has, Tomcat is not programmed to use it, thus it has to poll for
changes periodically.

> In my catalina (Tomcat) log file, I also found the following warning 3 times
> with each start-up:
> org.apache.tomcat.util.digester.SetPropertiesRule.begin
> [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property
> 'cachingAllowed' to 'true' did not find a matching property.
>
> There is not a correlated comment about reloadable so does our application
> need to create a container somehow for cachingAllowed to make the intended
> difference? I haven't found anyone else posting about this warning so we may
> be doing something uniquely wrong. The only place I found a reference to
> reloadable in our application was in dspace/config/default.context but
> adding the cachingAllowed property there didn't stop the error message.
>
> Here are the contexts now with 'debug' and 'allowLinking' as holdovers from
> when we ran DSpace 3 (those two properties also make catalina WARNINGs):

Those attributes were simply removed in newer versions of Tomcats. The
warning just tells you that it doesn't do anything, it's not
dangerous.

Compare:
https://tomcat.apache.org/tomcat-8.0-doc/config/context.html#Attributes
https://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Attributes


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

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

Reply via email to