2

I have deployed war on weblogic with following URL

http://xx.xx.xx.xx:6767/em/index.html

My cisco loadbalancer probe following URL

http://xx.xx.xx.xx:6767/em

and on getting http 200 response it make status of my servers to active.

But currently weblogic is providing 302 status code.

I am unable to identify why it doing so?

I check above both URL through browser and its working fine.

Regards, imran

ImranRazaKhan
  • 1,955
  • 5
  • 33
  • 74

1 Answers1

2

A HTTP 302 response is not an error. Only 4nn (client) and 5nn (server) are errors. A 302 simply means that the response is been redirected to another URL. The webserver is apparently redirecting http://xx.xx.xx.xx:6767/em to http://xx.xx.xx.xx:6767/em/ or http://xx.xx.xx.xx:6767/em/index.html.

You just need to let your loadbalancer probe http://xx.xx.xx.xx:6767/em/ or http://xx.xx.xx.xx:6767/em/index.html.

See also:

Community
  • 1
  • 1
BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
  • Hi, Thanks for reply can i do changes on application side? because for changes on loadbalancer i have to call my vendor. – ImranRazaKhan Mar 01 '11 at 13:02
  • how about if we deploy servlet and set url pattern to rootcontext? – ImranRazaKhan Mar 01 '11 at 15:14
  • Not possible. The request URL has to end with `/` or a file extension, then the servletcontainer won't 302 redirect to the path root or the welcome file. – BalusC Mar 01 '11 at 15:15