?
Solved

How to detect weblogic app server is down and show custom error page

Posted on 2003-03-26
7
Medium Priority
?
828 Views
Last Modified: 2013-12-10
We are using iPlanet web server 6.0 as the web server and Weblogic as the app server. We need to show a custom error page when a request is made thru the web server and weblogic is down. Default msg comes up now is "No backend server available for connection: timed out after 10 seconds". Basically we need to detect if the app server (weblogic in this case) is down.

0
Comment
Question by:ankurwal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
7 Comments
 
LVL 4

Expert Comment

by:boxy73
ID: 8252083
Hi,

I'm using iPlanet 4.1 along with weblogic, and when I connect them two using obj.conf, I put it this way, for example, for jsps:

<Object name="My_jsp" ppath="*/*.jsp">
Service fn="wl-proxy" WebLogicCluster="10.9.6.10:7005,10.9.6.11:7005" ErrorPage="http://your_domain/your_path/your_error_page.html"
</Object>

and the same for servlets, for example.

This way, when I have my weblogic server down, my error page is the one that is shown in the web browswer.

Hope this helps you.
0
 

Author Comment

by:ankurwal
ID: 8252158
Thanks for your reply. But it didnt work for me. I tried using this entry in obj.conf

===================
<Object name="weblogic" ppath="*/*.jsp">
Service fn="wl-proxy" WebLogicHost="127.0.0.1" WebLogicPort="7001"
ErrorPage="index.html"
</Object>
====================

But got the following error in the web logs:

[02/Apr/2003:14:27:36] failure ( 3024):  Invalid configuration: File C:\Apps\iPlanet\Servers\https-my-instance\config\server.xml, line 32, column 11: Error processing obj.conf line 56: Directives must have at least one parameter  [02/Apr/2003:14:27:36] info ( 3024):  Suspend Httpd Service  

Any clues?
0
 
LVL 4

Expert Comment

by:boxy73
ID: 8253269
Try including the real IP address of your weblogic, and the port altogether as in my example.

And include the entire path of your error page. Is your weblogic listening on port 7001?
0
 
LVL 4

Accepted Solution

by:
boxy73 earned 200 total points
ID: 8253407
Also, check the compatibility between your iPlanet version and the weblogic one.

You can check that here:

http://e-docs.bea.com/wls/certifications/certifications/overview.html

For configuring plug-in for weblogic 7.0, you can find a useful doc here:

http://edocs.bea.com/wls/docs70/pdf/plugins.pdf

Hope this helps you.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question