• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How To Disable the Oracle WebLogic Server Default Welcome Page

by admin

Below page is displayed when going to the default location on the admin server port http://host:[PORT]/ and says “Welcome to Oracle Fusion Middleware 11g”.

(where http://host:[PORT]/console or http://host:[PORT]/em is working and you do not want to allow users to backspace to the doc root location)

disable Oracle WebLogic Server Default Welcome Page

Note the port [PORT] is really only used for /em and /console, so one does not need the welcome page, nor any other page to replace it. When using Oracle Fusion Middleware products with Oracle HTTP Server (OHS), the default pages would actually be on OHS.

How to Change the Default Home Page of Oracle HTTP Server

This is separate and in addition to the WLS default page. You would usually want to handle the page on OHS to a default page of your own, but the backend WLS default page is rarely used when you have a proxy handling things in front. However, you may want to disable the display if users attempt to request the root directory (/).

To disable the Oracle WebLogic Server Default Welcome Page you should:

1. Go to the Weblogic server administration Console.

2. In the Domain Structure go to Deployments, and then locate the “FMW Welcome Page Application (11.1.0.0.0)”, (screenshot below). Note: These applications are installed when you install a Fusion Middleware product

Then you may update, delete, or stop the application, restart weblogic admin server, clear browser cache and retest accessing / again.

deployments

Update the Application

If you choose to update the application, updating the Context Root to something other than “/” will achieve the effect of disabling the default page.

via Administration Console:

1. In Deployments Window, expand “FMW Welcome Page Application”.
2. An application named “/” is shown.
3. Click on it.
4. Then go to “Configuration” tab.
5. Scrolling down go to “Context Root” field.
6. Set for any entry different from “/” for instance “/nowelcomepage”
7. Restart AdminServer.

Delete the Application

If you choose to delete the application, it will remove the following from the domain’s config.xml (which you may also replace the fmw-welcome.ear with one of your own):

<app-deployment>
<name>FMW Welcome Page Application#11.1.0.0.0</name>
<target>AdminServer</target>
<module-type>ear</module-type>
<source-path><MW_HOME>/oracle_common/modules/oracle.jrf_11.1.1/fmw-welcome.ear</source-path>
<deployment-order>5</deployment-order>
<security-dd-model>DDOnly</security-dd-model>
<staging-mode>nostage</staging-mode>
</app-deployment>

Using Custom Static html page

You may also use a custom static .html page as the default (“/”) with the following steps:

1. Create a directory of your choice to manage your custom page. For example:

Linux: [path]/defaultwlspage
Windows: [path]\defaultwlspage

2. Copy a custom .html file to this directory, e.g., name it default.html:

<html>
<body>

3. Create a WEB-INF directory. For example:

Linux: /[path]/mypage/WEB-INF
Windows: [path]\mypage\WEB-INF

4. Place a file called web.xml in this WEB-INF directory with the following contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
<web-app>
</web-app>

5. Go to the Deployments page on WLS Console

6. Choose Install, and select the ‘defaultwlspage’ directory with a Context Root of “/”.

7. Ensure the the AdminServer is selected as the target to “Install this deployment as an application”.

8. Click Finish, and after deployment completes, click Activate Changes.

9. You should see the application started and can then access http://host:[PORT]/ to see your .html page.

Filed Under: oracle, WebLogic

Some more articles you might also be interested in …

  1. Retrieving data with PL/SQL
  2. Oracle Database – How to Recover from a Lost or Deleted Datafile with Different Scenarios
  3. How to move ASM spfile to a shared device in RAC
  4. Oracle database 12c : How to Drop Partition(s)
  5. How to Monitor SGA Memory on Oracle Pluggable Databases
  6. How to Remove or delete a Weblogic Server (WLS) Domain
  7. What Happens and What to Do when the SPFILE has been Manually Modified
  8. How to start up the ASM instance when the spfile is misconstrued or lost
  9. How to do a Synchronous Refresh with Staging Logs in Oracle 12c
  10. How To Calculate The Required Network Bandwidth Transfer Of Redo In Data Guard Environments

You May Also Like

Primary Sidebar

Recent Posts

  • JavaFX ComboBox: Set a value to the combo box
  • Nginx load balancing
  • nginx 504 gateway time-out
  • Images preview with ngx_http_image_filter_module

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright