users@glassfish.java.net

Re: HTTP Listeners and Virtual Servers

From: <glassfish_at_javadesktop.org>
Date: Sat, 01 Mar 2008 15:24:34 PST

Hi,

of course you can use your http listeners for more than one virtual server. And you can use more listener for one virtual server (e.g. the default listeners http-listener-1 for normal requests and http-listener-2 for SSL/TLS-secured requests).

About acceptor-threads the guidelines for SJSAS 8.2 do not apply to Glassfish v2 (which corresponds to SJSAS 9.1). I do not know correct values for SJSAS 8.2. But for Glassfish v2 the default values is 1. You should change this value to match the number of CPUs of your machine.

You could use "asadmin help create-http-listener" and see what value is recommended for the option --acceptorthreads in there.

--
Wolfram Rittmeyer
http://weblogs.java.net/blog/writtmeyer/
[Message sent by forum member 'writtmeyer' (writtmeyer)]
http://forums.java.net/jive/thread.jspa?messageID=261805