Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

[12:39:48 CDT(-0500)] <peterjhart> I am looking into how to permanently turn off content aggregation in uP4 for development

[12:40:17 CDT(-0500)] <peterjhart> The instructions on this page are out of date: https://wiki.jasig.org/display/UPM40/UE+Development+Tips

[12:40:36 CDT(-0500)] <EricDalquist>  -Dorg.jasig.resourceserver.utils.aggr.aggregated_theme=false

[12:40:37 CDT(-0500)] <peterjhart> because the parameters in portal.properties were removed by UP-2808

[12:40:50 CDT(-0500)] <EricDalquist> that needs to be set as a system property

[12:40:56 CDT(-0500)] <peterjhart> where do I pass that

[12:40:57 CDT(-0500)] <EricDalquist> in whatever manner you start tomcat

[12:41:03 CDT(-0500)] <peterjhart> ok

[12:41:06 CDT(-0500)] <EricDalquist> so how do you start/stop tomcat?

[12:41:23 CDT(-0500)] <peterjhart> /etc/init.d/tomcat

[12:41:38 CDT(-0500)] <EricDalquist> so there should be a way to set CATALINA_OPTS

[12:41:46 CDT(-0500)] <EricDalquist> you would add to that env variable

[12:42:01 CDT(-0500)] <peterjhart> ok

[12:44:49 CDT(-0500)] <holdorph> there's probably a config file in /etc somewhere it could get added to

[12:44:50 CDT(-0500)] <peterjhart> why is it better to have it set at the tomcat level than at the webapp level?

[12:45:02 CDT(-0500)] <holdorph> but I've never used a distribution packaged tomcat to know where it would be

[12:45:40 CDT(-0500)] <peterjhart> I add it straight into /etc/init.d/tomcat, which is a script

[12:45:45 CDT(-0500)] <peterjhart> tomcat6 rather

[12:46:10 CDT(-0500)] <holdorph> yeah, but there's probably an actual config file where values like that could go

[12:46:28 CDT(-0500)] <holdorph> because that script in /etc/init.d will get overwritten when the package is updated in the future

[12:46:37 CDT(-0500)] <holdorph> config files do not

[12:46:52 CDT(-0500)] <peterjhart> good point

[13:08:04 CDT(-0500)] <athena> EricDalquist: with the spring ehcache library, how do i configure what's used as a cache key?

[13:08:25 CDT(-0500)] <athena> like i have a method getMap(PortletRequest request), and i'd like to it just cache the result ignoring the portlet request parameter

[13:08:29 CDT(-0500)] <athena> since it's the same for all users

  • No labels