users@glassfish.java.net

Re: how to customize web container settings

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 24 Jan 2008 17:10:54 -0500

Salut,

glassfish_at_javadesktop.org wrote:
> hello,
>
> how can i customize web-container settings in glassfish? i found the web-container node in the admin-console but there are no properties defined and i didn't find anywhere which properties are allowed.
>
> are tomcat properties like maxThreads, min/maxSpareThreads buffer size or maxKeepAliveRequests allowed here?

Yes, see:

http://docs.sun.com/app/docs/doc/819-3674/6n5skvts8?l=en&a=view#abhco
http://docs.sun.com/app/docs/doc/819-3674/6n5skvtsj?l=en&a=view#abhcq

Specially request-processing and keep-alive, which are equivalent to Tomcat.

>
> or maybe can someone tell me in which file in the server-directory-tree i can change these settings (some kind of server.xml like in tomcat)?

${glassfish.home}/domains/domain1/config/domain.xml

But I would not recommend you change them manually, but instead use the
admin-gui.

Hope that help.

-- Jeanfrancois


>
> thanks a lot for your help,
>
> greetings,
>
> mario
> [Message sent by forum member 'the666pack' (the666pack)]
>
> http://forums.java.net/jive/thread.jspa?messageID=255674
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>