Overriding default errror page for Apache-Weblogic bridge

I am writing this problem again as nobody has replied me with any solution.
I want to overide the default error page that comes up when weblogic is down
for some reason in apache-weblogic bridge. I looked into the weblogic
documentation and specfied the following in the apache configuration file
ErrorPage http://www.domain.com/systemerror.html
But for some reason it is not able to locate the domain as well as the page.
But if try the same url in the browser, it works. Please help.
Rakesh

I am using the plugin and using the error page successfully. Apache and WL
use the same document root, and the error page is located within the
document root:
Within the httpd.conf, I have:
<IfModule mod_weblogic.c>
# Config file for WebLogic which defines parameters for plugin
Include conf/weblogic.conf
</IfModule>
Within the weblogic.conf, I have:
ErrorPage unavailable.html
Provide your configuration settings.
"Rakesh Gupta" <[email protected]> wrote in message
news:39d3bcd3$[email protected]..
Well, we are using weblogic supplied apache plugin and I am following all
the steps that is specified in setting up apache plugins in weblogic
documentation. I do not think it is apache network problem as apache is
working fine.
The think the problem is somewhere in the weblogic-apache plugin module.
"Jesse E Tilly" <[email protected]> wrote in message
news:[email protected]..
[email protected] (Rakesh Gupta) wrote in <[email protected]>:
I am writing this problem again as nobody has replied me with any
solution.
I want to overide the default error page that comes up when weblogic is
down for some reason in apache-weblogic bridge. I looked into the
weblogic documentation and specfied the following in the apache
configuration file
ErrorPage http://www.domain.com/systemerror.html
But for some reason it is not able to locate the domain as well as the
page. But if try the same url in the browser, it works. Please help.
Rakesh
as worded, that sounds like a network setup problem on the apache server
side.
however, it seems that you want a server-connection-timeout error toreturn
an specific error page via the plug-in. This all depends on how theplugin
works. If it is how I think it works, there needs to be an INI
setting
to sepcify a page. Why? Because the plug-in effectively has control of
the response. It either needs a way hand control back to the web serveror
needs to have error pages of its own.
BEA?
Jesse

Similar Messages

  • Re: Overriding default errror page for Apache-Weblogic

    I am writing this problem again as nobody has replied me with any solution.
    I want to overide the default error page that comes up when weblogic is down
    for some reason in apache-weblogic bridge. I looked into the weblogic
    documentation and specfied the following in the apache configuration file
    ErrorPage http://www.domain.com/systemerror.html
    But for some reason it is not able to locate the domain as well as the page.
    But if try the same url in the browser, it works. Please help.
    Rakesh

    I am using the plugin and using the error page successfully. Apache and WL
    use the same document root, and the error page is located within the
    document root:
    Within the httpd.conf, I have:
    <IfModule mod_weblogic.c>
    # Config file for WebLogic which defines parameters for plugin
    Include conf/weblogic.conf
    </IfModule>
    Within the weblogic.conf, I have:
    ErrorPage unavailable.html
    Provide your configuration settings.
    "Rakesh Gupta" <[email protected]> wrote in message
    news:39d3bcd3$[email protected]..
    Well, we are using weblogic supplied apache plugin and I am following all
    the steps that is specified in setting up apache plugins in weblogic
    documentation. I do not think it is apache network problem as apache is
    working fine.
    The think the problem is somewhere in the weblogic-apache plugin module.
    "Jesse E Tilly" <[email protected]> wrote in message
    news:[email protected]..
    [email protected] (Rakesh Gupta) wrote in <[email protected]>:
    I am writing this problem again as nobody has replied me with any
    solution.
    I want to overide the default error page that comes up when weblogic is
    down for some reason in apache-weblogic bridge. I looked into the
    weblogic documentation and specfied the following in the apache
    configuration file
    ErrorPage http://www.domain.com/systemerror.html
    But for some reason it is not able to locate the domain as well as the
    page. But if try the same url in the browser, it works. Please help.
    Rakesh
    as worded, that sounds like a network setup problem on the apache server
    side.
    however, it seems that you want a server-connection-timeout error toreturn
    an specific error page via the plug-in. This all depends on how theplugin
    works. If it is how I think it works, there needs to be an INI
    setting
    to sepcify a page. Why? Because the plug-in effectively has control of
    the response. It either needs a way hand control back to the web serveror
    needs to have error pages of its own.
    BEA?
    Jesse

  • Overrding default Apache-Weblogic bridge error message

    We are running WLS 5.1 sp5 with Apache as Webserver. I want to know how
    could I display more user freindly error messages when
    weblogic is down and apache is working. Currently we get the default
    Weblogic-Apache down page.
    I tried putting
    ErrorPage http://www.mydomain.com/error.html
    in apache conf file. Now I do not get the default message, but now it can
    not find the above url.
    I am able to this url directly in the browser. Please help ?

    [email protected] (srinivasa reddy) wrote in
    <39bb039e$[email protected]>:
    >
    hi,
    I have a basic question, does webloigc support apache-weblogic
    bridge with mod_ssl/any ssl installed on apache.
    thanks & regards
    [email protected]
    There is a mod_wl_ssl.so in sp4 (i believe). mod_ssl extends Apaches API
    and thereby breaks the WebLogic bridge. For raven installations you need
    mod_wl_ssl_rave.so because raven extends the API even further.
    Joel
    E-Mail: (jbf (at) proceedo dot com)

  • Apache-weblogic bridge problems with virtual hosting

    Hi,
    Can we set apache-weblogic bridge where apache webserver is configured
    as virtual hosts and each Virtual Host is mapped to a WebLogic server
    instance running on separate port ?
    Please provide doc or reference or your comments if you have solved this
    problem
    Thanks
    Shriniwas

    The above comments notwithstanding, there's one outstanding line in your post that seems crucial:
    Also if I type on my browser the name of another secondary (or virtual) domain name in the form http://domain2.com it brings the website hosted under the primary domain which is domain1.com. In case I type http://www.domain2.com than it works as it should and displays the website hosted under this domain name.
    As far as Apache is concerned, 'domain2.com' and 'www.domain2.com' are completely separate entities. They have to be otherwise if all domain2.com traffic went to this site you'd never be able to host different sites within the domain (e.g. blogs.domain2.com, wiki.domain2.com, blah.domain2.com, etc.). In other words, there is no automatic relationship between a hostname and sub-records of that hostname.
    So what's happening here is Apache is seeing a request for 'domain2.com' which does not match any of its configured virtual hosts, so it handles the request via the default site. If you request www.domain2.com this matches your virtual host configuration so Apache serves the alternate content.
    The fix is simple - trivial, even - you just need to tell Apache all the hostnames that match this site - in this case if you've configured the site's primary address as 'www.domain2.com' and you want it to also respond to requests to 'domain2.com' then add 'domain2.com' to the list of Server Aliases in Server Admin.

  • Apache-Weblogic Bridge does not work?

    I've gone thru' the documentation regarding setting up of apache-weblogic bridge, but still it does not work. Does anyboday have any more details regarding this...EnvironmentOS - Solars 5.7Weblogic - 5.1 SP 8Apache 1.3.12

    I've given up and had to go back to running "Double NAT" which also reports as a "problem" within the AEBS, but I just "ignore" it so the light will always be green.
    It still ***** though, as "Double NAT" is also a reason for "Back to my Mac" not working properly, but how the ** am I supposed to avoid Double NAT when the wireless will not work in bridged mode?!

  • RMI Through Apache-Weblogic Bridge

    Hi,
    How to use RMI in apache-weblogic bridge
    Thanks,
    Siva E.

    [email protected] (srinivasa reddy) wrote in
    <39bb039e$[email protected]>:
    >
    hi,
    I have a basic question, does webloigc support apache-weblogic
    bridge with mod_ssl/any ssl installed on apache.
    thanks & regards
    [email protected]
    There is a mod_wl_ssl.so in sp4 (i believe). mod_ssl extends Apaches API
    and thereby breaks the WebLogic bridge. For raven installations you need
    mod_wl_ssl_rave.so because raven extends the API even further.
    Joel
    E-Mail: (jbf (at) proceedo dot com)

  • How do I set the default welcome page for PUBLIC user

    gurus,
    i'm using -
    Oracle 9i Database
    Oracle 9ias Portal Release 2
    QUESTION => how do I set the default welcome page for the PUBLIC user.
    i did the following to achieve this -
    1. logged into portal
    2. clicked on builder
    3. clicked on administer tab
    4. selected PUBLIC user in the Portal User Profile portlet
    5. went to the preferences tab
    6. in the default home page selected a custom page group
    7. logged out of portal
    8. open a new browsere session
    9. type the portal URL and i get the login page ....??
    i'm unable to understand this behavior ... shouldn't i be getting the page group that i set for the PUBLIC user in step 6 above ....
    the second QUESTION is => when the user logs out he/she should see the PUBLIC page set in step 6 above ... but, instead the user sees a page that is as follows -
    Partner Application Name Logout Status [Logout Status]
    Oracle Portal (portal) logout status
    The SSO Server (orasso) checkmark
    buzz.resva.trw.com:7778 checkmark
    infrastructure.happy.resva.trw.com checkmark
    portal1.buzz.resva.trw.com checkmark
    portal2.sylvester.resva.trw.com checkmark
    sylvester.resva.trw.com:7778 checkmark
    so, how can i set the default page for the PUBLIC user and also a page when he user logs out.
    ideas anyone ....?
    thanx a bunch.
    hero

    Hi,
    The sequence of operation you are doing to set the home page for public users is correct. You are getting the login screen as the "custom page group" selected as "home page" has not been granted to public.
    Also, while logging-out, it is normal behaviour to get the screen where it shows the list of partner applications from where user has been logged-out. When you click on "Return" button, you will get to the "home page" set above.
    Hope it clarifies the things.
    Regards,
    Ved

  • How can I set the default home page for all new users in Firefox 4

    I'm trying to deploy FF 4.0rc1 in a corporate environment but I can't find a way to set the default home page or any other settings for that matter.
    Is there a way to set the default home page for all new users and lock it so that the users can't change home page?
    Best regards
    Jonas

    In Firefox 4 the template folder for new profiles (C:\Program Files\Mozilla Firefox\defaults\profile\
    ) doesn't exist. You can create that \defaults\profile\ folder and place a file user.js in it with the prefs that you want to initialize.
    See:
    *http://www-archive.mozilla.org/catalog/end-user/customizing/briefprefs.html
    You can also use a mozilla.cfg file to set the default value for prefs.<br />
    See: http://kb.mozillazine.org/Locking_preferences
    defaultPref(); // set new default value
    pref(); // set pref, but allow changes
    lockPref(); // lock pref, disallow changes

  • I can set my default home page (when Firefox starts) but if I open subsequent tabs I get a blank page. How do I set my default home page for all tabs.

    I set my default home page to AltaVista.com. This page comes up as expected when I start Firefox. However if I open a new tab I get a blank page. How to I setup Firefox to use my default web page for all subsequent tabs. This was an easy process in IE

    Sounds like you want the New Tab Homage extension.
    https://addons.mozilla.org/en-US/firefox/addon/777/
    For more info about extensions, see [[Using extensions with Firefox]]

  • Final cut server-Test Page for Apache installation comes up when IP put in

    I have installed Final Cut Server on our Mac Pro Running OSX Leopard. Installation succeeded, but when I type in the IP address of the server in safari, the "Test Page for Apache Installation" comes up. This happens on every computer on the network. I need the client installation window to come in order to install the client. What am I missing, what settings need to be changed?
    Would greatly appreciate some help.
    Thanks

    So when you type in the URL your using this format http://hostname/FinalCutServer, where hostname is the IP address or name of the computer on which you installed Final Cut Server? Especially the "FinalCutServer" part.
    o| TonyTony |o

  • Aborting uploads through Apache/Weblogic bridge

    Hi,
    I have an application to which people should be able to upload files,
    however only of a certain size. So if I detect that the file is too
    large (based on Content-Length), I return an errorpage and don't read
    the data from the browser. This is allowed according to rfc 1867 (which,
    though it is obsoleted, is the one the HTTP1.1 rfc refers to on the
    matter - also the obsoleting rfc doesn't say anything on the matter) and
    all browsers seems to handle this.
    However, once I go through the Apache/Weblogic bridge the behaviour
    changes. When the browser sends the POST request to the bridge, the
    bridge relays it on to the Weblogic server and my code. I immediately
    determine that the file is too large, and returns the previously
    mentioned errorpage. But, the bridge doesn't stop recieving the file
    from the browser until it has got the entire file and then it returns a
    standard bridge POST timeout error (and the timeout has definately not
    been reached).
    Any ideas?
    CAPUT A/S Morten Jensen Phone +45 70 12 24 42
    Nygade 6 Senior Developer Fax +45 70 11 24 42
    DK-1164 Kbh K [email protected] http://www.caput.com

    Add the following attributes:
    <Location /re >
    WLProxySSL ON
    EnforceBasicConstraints false
    </Location>
    Original example in [http://m-button.blogspot.com/2008/11/how-to-configure-weblogic-to-use-ssl.html]
    I hope this helps.

  • Apache-WebLogic bridge for Solaris 8

    Is there an Apache bridge for Solaris 8 running on an x86 platofrm yet? Obviously, the one for SPARC systems doesn't work...

    After looking everywhere for the reason why it wasn't working, I found this forum.
    I built my own and it worked like a charm!!
    Thanks!
    Shawn.
    "Eric Gross" <[email protected]> wrote:
    Yes.. I've seen this.
    Unfortunately, we do not ship separate modules. It is unfortunate that
    Redhat has chosen 2.0.40 as their base version and to backport fixes
    into
    that base version. The reason this is unfortunate is that the rest of
    the
    world is using at least 2.0.42.
    Is there any chance you can build your own version ?
    Thanks,
    Eric
    "Victoria A Smith" <[email protected]> wrote in message
    news:3f296a76$[email protected]..
    The problem with that is that the vendor supported,
    secure version of Apache (for RedHat) is 2.0.40.
    To understand why this is important, read this
    short article:
    http://www.redhat.com/advice/speaks_backport.html
    Victoria
    "Eric Gross" <[email protected]> wrote:
    Yes, you need to be using at least Apache 2.0.42.
    Eric
    "Rahul Phadnis" <[email protected]> wrote in message
    news:3f1c895d$[email protected]..
    I am trying to configure the plugin to work for apache 2.0.40. Theapache
    server
    has been installed on RedHat linux 7.3..
    i copied the mod_wl_20.so from linux/i686/ directory of weblogicinstallation.[...]

  • Apache - Weblogic bridge - tricky question...

    We have WLS 5.1 sp4 on Redhat 6.1 and Apache 1.3.12 on the same box.
    I also have Mass virtual hosting setup under Apache. Before, the Apache-WLS
    bridge was available, I used RewriteRule to proxy the requests:
    Apache:
    <VirtualHost 10.10.10.1:80>
    ServerName test.com
    ServerAlias *.test123.com www.test.com
    VirtualDocumentRoot /www/vhosts/%1.1/%1.2/%1
    DirectoryIndex index.html index.jsp
    <Files *.jsp*>
    RewriteEngine On
    RewriteRule ^/(.*)$ http://www.test.com:7001/$1 [P]
    </Files>
    </VirtualHost>
    WLS:
    weblogic.properties: weblogic.httpd.documentRoot=public_html/
    I also had a link in the public_html directory called www->/www
    So, when a person connect to http://test1.test.com/shoppingcart.jsp, they
    are forwarded to WLS with the path
    /public_html/www/vhosts/test1/shoppingcart.jsp.
    However, if I want to use the Apache-WLS bridge:
    <VirtualHost 10.10.10.1:80>
    ServerName test.com
    ServerAlias *.test.com www.test.com
    VirtualDocumentRoot /www/vhosts/%1
    DirectoryIndex index.html index.jsp
    <Files *.jsp*>
    WeblogicHost localhost
    WebLogicPort 7001
    </Files>
    </VirtualHost>
    If a person connects to http://test1.test.com/shoppingcart.jsp, the path
    forwarded to WLS is /shoppingcart.jsp and it looks for the file in the
    public_html directory and it fails.
    I cannot use the "PathPrepend" directive as the path varies with the URL.
    Any ideas????
    Thanks...
    Hemanth

    You need mod_rewrite which is enabled for Apache on redhat by default.
    hemanth
    "Klaus Oberecker" <[email protected]> wrote in message
    news:[email protected]..
    hi!
    .. I have juste a short question concerning the Apache-Rewriting: do you
    need a special module for that?!? - if so: which one???
    thanks,
    klaus
    Hemanth wrote:
    We have WLS 5.1 sp4 on Redhat 6.1 and Apache 1.3.12 on the same box.
    I also have Mass virtual hosting setup under Apache. Before, the
    Apache-WLS
    bridge was available, I used RewriteRule to proxy the requests:
    Apache:
    <VirtualHost 10.10.10.1:80>
    ServerName test.com
    ServerAlias *.test123.com www.test.com
    VirtualDocumentRoot /www/vhosts/%1.1/%1.2/%1
    DirectoryIndex index.html index.jsp
    <Files *.jsp*>
    RewriteEngine On
    RewriteRule ^/(.*)$ http://www.test.com:7001/$1 [P]
    </Files>
    </VirtualHost>
    WLS:
    weblogic.properties: weblogic.httpd.documentRoot=public_html/
    I also had a link in the public_html directory called www->/www
    So, when a person connect to http://test1.test.com/shoppingcart.jsp,
    they
    are forwarded to WLS with the path
    /public_html/www/vhosts/test1/shoppingcart.jsp.
    However, if I want to use the Apache-WLS bridge:
    <VirtualHost 10.10.10.1:80>
    ServerName test.com
    ServerAlias *.test.com www.test.com
    VirtualDocumentRoot /www/vhosts/%1
    DirectoryIndex index.html index.jsp
    <Files *.jsp*>
    WeblogicHost localhost
    WebLogicPort 7001
    </Files>
    </VirtualHost>
    If a person connects to http://test1.test.com/shoppingcart.jsp, the path
    forwarded to WLS is /shoppingcart.jsp and it looks for the file in the
    public_html directory and it fails.
    I cannot use the "PathPrepend" directive as the path varies with theURL.
    >>
    Any ideas????
    Thanks...
    Hemanth

  • ServletContextProvider Implementation class for Apache Struts Bridge in OAS

    Hello,
    I am using Apache Struts Bridge to create JSR-168 portlets, based on Struts.
    But I am stuck in one point... i.e. maybe oracle doesnot provide a implementaion for the ServletContextProvider interface, which is required by the struts bridge, inorder to get the servlet context.
    Other Portal Servers like, Pluto, etc... provide a implementation class for this.
    I have heard that, if a Implementation class can be written for this, then the problem will be solved.
    Have any one faced any such situation? Have any one implemented the ServletContextProvider interface for OC4J....
    Any Help would be highly appreciated.
    Thanks
    Sam...

    I was able to find that class by downloading the Oracle Portlet Container 10.1.2.0.2 and following the instructions for extracting it into my OC4J. When you do that it will give you a file called ${OC4J_HOME}/shared-lib/oracle.wsrp/1.0/wsrp-container.jar. That jar file contains the class you need.
    Oracle Portlet Container 10.1.2.0.2: http://download.oracle.com/otndocs/tech/ias/portal/files/portlet-container.zip
    PDK Page: http://www.oracle.com/technology/products/ias/portal/pdk.html

  • How do you set a default home page for tabs

    Default home page setting is easy enough but when clicking the "+" to open a tab I want to set the page that it defauts to. You would think that it would do the default home page but it doesn't and I cant find where to set it.

    Troubleshooting tips on the '''browser.newtab.url''' preference:
    ''If Firefox won't let you edit this setting:'' you may have something called SearchProtect on your system. This needs to be removed from the Windows Control Panel.
    ''If Firefox lets you save your change but ignores it:'' one of your extensions may be overriding it. You can review, disable, and/or remove extensions on the add-ons page. Either:
    * Ctrl+Shift+a
    * "3-bar" menu button (or Tools menu) > Add-ons
    In the left column, click Extensions. Then cast a critical eye over the list on the right and disable (or remove) anything unknown.
    ''If the change works during your session, but at the next startup is back to the unwanted page:'' you might have a user.js file in your personal Firefox settings folder (your Firefox profile folder). This article describes how to track down and remove the file: [[How to fix preferences that won't save]]. Also beware of features in utility programs like Advanced SystemCare that roll back settings changes between sessions.
    If bad add-ons do not have a Remove button or keep coming back, here's my suggested procedure for tracking down and cleaning them up. I know this seems long, but it's not that bad.
    (1) Open the Windows '''Control Panel''', Uninstall a Program. After the list loads, click the "Installed on" column heading to group the infections, I mean, additions, by date. This can help in smoking out undisclosed bundle items that snuck in with some software you agreed to install. Take out as much trash as possible here.
    (2) Open Firefox's '''Add-ons page''' using either:
    * Ctrl+Shift+a
    * "3-bar" menu button (or Tools menu) > Add-ons
    * in the Windows "Run" dialog, type or paste <br><code>firefox.exe "about:addons"</code>
    In the left column, click '''Plugins'''. Set nonessential and unrecognized plugins to "Never Activate".
    In the left column, click '''Extensions'''. Then, if in doubt, disable (or Remove, if possible) unrecognized and unwanted extensions.
    Often a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.
    Any improvement?
    (3) You can search for remaining issues with the '''scanning/cleaning tools''' listed in our support article: [[Troubleshoot Firefox issues caused by malware]]. These on-demand scanners are free and take considerable time to run. If they finish quickly and especially if they require payment, you may have a serious infection. I suggest the specialized forums listed in the article in that case.
    Success?

Maybe you are looking for