Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

[question] iPlanet setup for Weblogic proxy

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As we know, in iPlanet 6.0 Webserver, we can establish Weblogic proxy by modifing the magnus.conf and obj.conf files.
Thus iPlanet will forward all the JSP requests to Weblogic AppServer.
But when Weblogic AppServer is shutdown, a NSAPI error will be printed in the browser: No backend system.

My question is:
I want to create a HTML page.
When Weblogic server is shutdown, the browser will display this HTML page instead of the NSAPI error message.
But if Weblogic server is available, Weblogic server will provide service for all the JSP files regarding as the above HTML page does not exist.

How to setup?
Any response will be appreciated.

Thanks,
David
 
David Li
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks.

I found the solutions:
Add a ErrorPage parameter.

Service method="(GET|HEAD|POST|PUT)" type="magnus-internal/jsp"
fn="wl_proxy" WebLogicHost="127.0.0.1" WebLogicPort="7001"
KeepAliveEnabled="false" Debug="ON" ErrorPage="/error.htm"
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic