Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Weblogic Not responding to HEAD requests!

Status
Not open for further replies.

MattYeates

Technical User
May 13, 2002
6
0
0
GB
Hi, I'm a bit of a n00bie on weblogic, but here goes....

I have a two machine cluster with one admin server (machines: bea1 and bea2 for ease). I have two apache 1.3.23 servers accessed via alteon load balancers (machines: alteon, web1 and web2). When the portal was first developed access was:


Whereas what was required is
So to get past this I made my "myapp" the default application for both my managed servers, and the default server name is set to "alteon". In my apache conf I have the following:


<IfModule mod_weblogic.c>
MatchExpression *.jsp
WebLogicCluster bea1:7468,bea2:7468
CookieName myapp
MaxPostSize 2048
ConnectTimeoutSecs 120
DefaultFileName index.jsp
ConnectRetrySecs 2
</IfModule>

<Location /myapp>
SetHandler weblogic-handler
PathTrim /myapp
</Location>

<Location >
SetHandler weblogic-handler
DefaultFileName index.jsp
# PathPrepend /myapp
</Location>

<Location /static>
SetHandler default-handler
</Location>

<Location /staticimages>
SetHandler default-handler
</Location>


This acheives what I require (although the <Location > is a bit extreme>) but the following script returns a server error 500...

telnet alteon 80
HEAD / HTTP1.1
Host: alteon
Connection: Close
<cr>
<cr>

If I replace the head with something that apache serves :

telnet alteon 80
HEAD /static/image.gif HTTP1.1
Host: alteon
Connection: Close
<cr>
<cr>

I get a 200 response (most favourable).

With Bea returning an error 500, it means that none of my pages are being cached by the site host and ultimately means I get far too many database hits.

What am I doing wrong and can someone point me in the right direction?

Hopefully


Matthew
 
Oops - additional - using Weblogic 6.1 sp 2 and Portal 4.0 sp1 on Solaris 2.8 - Everything is patched to advised levels
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top