----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Ludovic Bailly wrote:
> Hello
>
> Using jserv 1.1b3, apache 1.3.9, Solaris 7 x86, load balancing I have
> some
> problems.
> If I use 127.0.0.1 to communicate between apache and jserv all is Ok
> Now, I try to use my own IP : 10.254.4.84 and apache can't connect to
> jserv.
> I set security.allowedAddresses=10.254.4.84 in jserv.properties
>
> In my logs file, I have
> mod_jserv.log
> (ERROR) balance: virtual host not found or not running
> (ERROR) an error returned handling request via protocol "balance"
>
> jserv logs :
> Connection allowed from resa2.travelprice.com/10.254.4.84
> Listening on port 8007 accepting 5 maximum connections
>
> bash-2.03$ /usr/sbin/ifconfig -a
> lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232
> inet 127.0.0.1 netmask ff000000
> elxl0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
> inet 10.254.4.84 netmask ffffff00 broadcast 10.254.4.255
> bash-2.03$ telnet 10.254.4.84 8007
> Trying 10.254.4.84...
> telnet: Unable to connect to remote host: Connection refused
> bash-2.03$ telnet 127.0.0.1 8007
> Trying 127.0.0.1...
> Connected to 127.0.0.1.
> Escape character is '^]'.
>
> Where is the problem ?
>
> I want to make this configuration :
> * 1 Apache Linux
> * 2 Solaris running 4 servlet engine
> * 1 RMI server on Solaris
>
> So using 127.0.0.1 is not the solution.
>
> Note : I already have this working using jserv 1.0 and Linux on
> production
> servers. But I want to upgrade to jserv 1.1b3 and use Solaris instead of
> Linux
> for running java
>
> Thanks for comments.
>
> Ludo
Well, the Apache side (mod_jserv) reacts like telnet, which is a good
point.
Now, there is something wrong in YOUR JServ config, as this is working
here : http://jnix.penguinpowered.com
without any problem.
What about setting (in jserv.properties) to the appropriate value ?
bindaddress=10.254.4.84
That was in the "upgrade document" ...
Jean-Luc
--
--------------------------------------------------------------
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]