----------------------------------------------------------------
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!!!
----------------------------------------------------------------
----- Original Message -----
From: Bari, Naeem <[EMAIL PROTECTED]>
To: 'Java Apache Users' <[EMAIL PROTECTED]>
Sent: Tuesday, April 25, 2000 11:56 AM
Subject: RE: error: java.net.Bindexception alreay in use
> > But this is done TWICE: once in jserv.conf (ApjServDefault
> > Host and Port)
> > and in jserv.properties (bindaddress and port directives).
> >
> > I have this behavior on two machines with identical setups.....sheesh.
>
> jserv.properties is used by JServ itself. Putting the values in
> this file tells JServ what machine and port to start up on.
>
> jserv.conf is used by apache, not jserv. It tells apache what
> machine and port Jserv is running on, so it can connect to it.
>
> The reason that this info is in 2 files is because Jserv can
> run on a totally different machine than apache, and apache
> connects to it when needed.
Hmmm....I Changed the ports from 8007 and 8008 and found that there is
indeed two jservs running. Not sure what is spawning the extra one....
Eureka! Here may be what is happening: I have modified the init script for
httpd to run at bootup. When I am modifying the configuration, I stop the
server and then restart it. However, there still is this one instance of
Jserv running after stopping apache using apachectl! Not sure if there is a
good way around this except to kill the extra service and restart the
server. When I have to reboot (I rarely have to), I will just have to
re-kill the extra Java.
Anyone know a more elegant way around this?
Ben Ricker
US-Rx
--
--------------------------------------------------------------
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]