Forum Discussion
Ray_Sbrusch_941
Nimbostratus
Dec 28, 2007Peoplesoft Monitor Receives Error 500
I am baffled by the way a back end Weblogic web server handles newlines. The monitors I've deployed in LTM receive an Error 500 (Internal Server Error).
Here's the monitor as I have configured it in LTM:
GET /xmllink/E_REC/TCHH_WEB_DOWN_PAGE HTTP/1.1\r\nHost: peoplesoft-hr.ad.childrenshospital.org:7251\r\nConnection: close\r\n\r\n
It's all one line. When I test it by hand (telnet to port 80 and paste the string) I receive the error 500.
However, when I enter literal newlines, it works. For example:
GET /xmllink/E_REC/TCHH_WEB_DOWN_PAGE HTTP/1.1\r\n
Host: peoplesoft-hr.ad.childrenshospital.org:7251\r\n
Connection: close\r\n
\r\n
Any tips?
2 Replies
- hoolio
Cirrostratus
I'm pretty sure the monitoring daemon, bigd, automatically appends a \r\n to the end of the send string. So if you include two pairs, three will actually be sent to the pool member.
Do you still get a 500 if you take off the last \r\n so the send string:
GET /xmllink/E_REC/TCHH_WEB_DOWN_PAGE HTTP/1.1\r\nHost: peoplesoft-hr.ad.childrenshospital.org:7251\r\nConnection: close\r\n
If you still get a 500, can you take a look at the errors log for the web server and get any additional detail?
You can also enable debug logging on bigd by setting a database key:
b db Bigd.Debug enable
The debug output is written to /var/log/bigdlog by default.
To disable the debug, run:
b db Bigd.Debug disable
Aaron - Ray_Sbrusch_941
Nimbostratus
Thanks Aaron. The problem was the extra \r\n in the send string.
Nice way to end the week!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects