----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Ed Robbins wrote:

> Thanks for the reply, I got it working last night.  In reference to your
> question, how do you know the port isn't working?

the logs show an "EMERGENCY" unable-to-connect.

>  If you're trying to do something like [..]
> http://localhost:8007/servlet/Hello -- Don't,

no, i'm not.  i want to be able to run two completely independent servers, so
the second one can't use 8007.   my "ApJServDefaultPort" in jserv.conf and
"port" in jserv.properties both are set to the same number (i've tried several,
18007, 9007, etc.).

>  If your running a Unix based system, then do the following
> on the machine that the server is running on, netstat -a|grep <port number>
> you should see a listen on the port that it's configured for.

D'OH!  [smacks forehead].

well, what do you know.  i get two lines listening to 8007 with both servers
running, only the second line with just the "production" server running:

tcp        0      0  localhost.8007         *.*                    LISTEN
tcp        0      0  *.8007                 *.*                    LISTEN

this, mind you, with the second server's port set to 9007.

hmmm.  i mean, i could hack the source to change DEFAULT_PORT, but it's
crystal-clear that you're SUPPOSED to be able to change it...right?  when the
hypotheses are "rick screwed up config" and "bug in code", i lean toward #1, but
i'm running out of places to look for 8007s.

thanks for the reply,

rw



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to