[redhat-ccm-list] how to load updated HTML/XSL pages without restarting resin
Yi Jiang
yij at ncommon.com
Thu Feb 26 18:15:26 UTC 2004
Daniel,
So two entries in enterprise.init file:
init com.arsdigita.presentation.Initializer {
//Currently, choices available are : Saxon, Xalan, Resin, JD.XSLT,
XSLTC
XSLTTransformer = "Saxon"; // we are using Saxon
}
...
init com.arsdigita.kernel.Initializer {
stylesheetTimeout = 60;
...
}
will work after "ant deploy" and restart the server again?
Thanks,
- Yi Jiang
-----Original Message-----
From: Daniel P. Berrange [mailto:berrange at redhat.com]
Sent: Wednesday, February 25, 2004 11:29 AM
To: Yi Jiang
Cc: redhat-ccm-list at redhat.com
Subject: Re: [redhat-ccm-list] how to load updated HTML/XSL pages
without restarting resin
On Wed, Feb 25, 2004 at 11:25:59AM -0600, Yi Jiang wrote:
> Hi,
>
> We are running CCM5.2 using Resin. In the development, we don't want
to
> restart the server every time after we changed the UI files such as
XSL
> or HTML and doing "Ant deploy". I guess somewhere in the resin
> configuration file change needs to be made?
In config.vars file set the following
xslt-engine = JD.XSLT
xslt-timeout = 60
and then re-run 'ant make-init' and 'ant deploy' to regenerate&deploy
the enterprise.init file. Next time you restart it'll check for updates
every 60 seconds. NB, never do this on a production site since it
destroys scalability of the server.
Dan
--
|=- Daniel P. Berrange - berrange at redhat.com
-=|
|=- Red Hat, 338 Euston Road, London, NW1 3BT. +44 (0)7977 267 243
-=|
|=-
-=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505
-=|
More information about the Redhat-ccm-list
mailing list