Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How Do I make Sun ONE WebServer to display custom Error Page

807567Nov 14 2009 — edited Nov 18 2009
Hello All,

I have Sun ONE WebServer installed and configured to WebLogic Server application, I wanted to configure a custom error page for the 404 Error when there is no application in Application Server side/application Server is down.

However I was able to successfully configure the WebServer for maintainance page when Application Server is down by using ErrorPage Directive in object tag as below.
<Object name="app" ppath="*/app/*">
Service fn="wl_proxy" WebLogicHost="www.xxxxxxxxxx.com" WebLogicPort="7002" SecureProxy="OFF" ErrorPage="http://www.xxxxxxxxxxx.com/app-error
/maintenance.html"
</Object>

This works when there is a problem with NSAPI Plug-in - as ErrorPage directive looks for the 503 Erro Which is thrown by NSAPI Plug-in. But I am not able to see this page (maintenance page) when Application is not present in App Server container, there it shows the 404-Not Found Page.

I tried Configuring Error directive as below within object tag and some other using Client Tag.

Error fn="send-error" code=404 url="http://www.xxxxxxxxxxx.com/app-error/maintenance.html"

But No luck, please let me know if anybody have solution for this.

Thanks in Advance
Shailesh Dyade

Edited by: SMDyade on Nov 14, 2009 11:31 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 16 2009
Added on Nov 14 2009
2 comments
193 views