W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1999

a second http listener in one server

From: Kevin Regan <kevin@differential.com>
Date: Mon, 3 May 1999 18:18:24 -0400 (EDT)
Message-Id: <199905032218.PAA27586@differential.com>
To: www-jigsaw@w3.org

I am attempting to create a second listener in the jigsaw server.
I have done the following:

1) cd <Jigsaw Root>/Jigsaw/config
2) cp http-server.props http2-server.props

3) changed the following properties in http2-server.props:

org.w3c.jigsaw.propfile
org.w3c.jigsaw.port

4) run jigsaw

This seems to work fine for static files (I can access files on
the new port).  However, servlets no longer seem to be configured
correctly (they are served out as flat files).  I'm not sure if
this is the correct way to do what I want, but I couldn't find
anything in the docs.

My reason for wanting a second server:

I have extended the class 'org.w3c.jigsaw.http.socket.SocketClientFactory'
to add SSL support.  When I modify the config property
'org.w3c.jigsaw.http.ClientFactory' in 'http-server.props' to
point to my new class (and add a few additional properties such
as the location of a Java KeyStore), my SSL class seems to work
fine.

However, I would also like to listen on a different port for non-SSL
connections.  My goals are to (1) run only one jigsaw server and
(2) to be able to use the same configuration (except for the port #
and ClientFactory) for the two services.

Any help would be greatly appreciated.


Thanks,
Kevin Regan
kevin@differential.com
Received on Monday, 3 May 1999 18:21:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT