Salut,
Joe Walker wrote:
>
> DWR needs to be configured with a special load monitor when we are using
> a fancy container. e.g. from ContainerUtil:
>
> if
> (servletConfig.getServletContext().getServerInfo().startsWith("jetty-6"))
> {
> container.addParameter(ServerLoadMonitor.class.getName(),
> ThreadDroppingServerLoadMonitor.class.getName());
> }
> else
> {
> container.addParameter(ServerLoadMonitor.class.getName (),
> DefaultServerLoadMonitor.class.getName());
> }
>
> What's the best way of detecting Grizzy?
The getServerInfo() returns for GlassFish|SailFin|OpenEsb:
Sun Java System Application Server <<version>>
(Hopefully Sun's marketing doesn't come with another ugly name ;-))
For Grizzly standalone, it only return 'grizzly'.
Thanks!
-- Jeanfrancois
---------------------------------------------------------------------
To unsubscribe, e-mail:
dev-unsubscribe@...
For additional commands, e-mail:
dev-help@...