--
>I was unable to solved this problems after reading through the FAQ
>and tips.
>
> I am using Apache 1.3.6, JServ Final 1.0, jdk1.1.6 and JSDK2.0
>(y2k). The platform is Solaris 2.5.1.
>
>I'm trying to load-balancing using two/more JServs (running on the
>same host as the apache web server).
>
> My configuration files are as follows:
[ balance config looks fine ]
>
>
> I always encountered the following problems:
> *********** jserv.logs *************
> [30/06/1999 11:37:47:343] (EMERGENCY) ajp11: cannot scan
>servlet headers
> [30/06/1999 11:37:47:344] (ERROR) an error returned handling
>request via protocol "ajpv11"
> [30/06/1999 11:37:47:344] (INFO) balance: virtual host not found
>or not running
> [30/06/1999 11:37:47:344] (ERROR) an error returned handling
>request via protocol "balance "
>
> *********** error.log ********
> [Wed Jun 30 11:37:47 1999] [error] [client 10.3.11.18] Premature
>end of script
> headers: /example/Hello
> [Wed Jun 30 11:37:47 1999] [error] [client 10.3.11.18] Premature
>end of script
> headers: /example/Hello
>
>
> I have no problems running in automatic mode (non-load
>balancing)
I'm assuming the zone was to localhost in this case, which would work.
[ more config info ]
>
> # Security parameters
> #####################
>
> security.maxConnections=50
> security.allowedAddresses=127.0.0.1
> security.authentication=false
> security.challengeSize=5
>
I think the problem is that when you define your load-balanced
configurations, you use the machine name. That will resolve to some ip
address. In the security parameters, you left the allowedAddresses set to
the default of localhost which may resolve differently than the machine
name, tango.
You should do one of the following: Either add the ip address of tango to
the allowedAddresses, or set the ApJServHost definition to use localhost as
the machine name like this:
ApJServHost PII450-1 ajpv11://localhost:8807
I don't know for sure that this is the problem, but it's my best first guess.
Bernie Bernstein
Talk City Inc.
voice: 408-871-5320 Join the Conversation.
email: [EMAIL PROTECTED] http://www.talkcity.com/
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]