My Oracle Support Banner

How To Remove the Example Pages from OC4J Based Environments (Doc ID 1526336.1)

Last updated on OCTOBER 15, 2020

Applies to:

Oracle Containers for J2EE - Version 10.1.3.1.0 and later
Information in this document applies to any platform.

Goal

In Oracle AS 10.1.3 OC4J based environments and in OC4J Standalone installations, there are automatically installed some example pages which aare not suitable for production environments, such as the following

http://host:port/examples/servlets/index.html
http://host:port/examples/jsp/snp/snoop.jsp
http://host:port/examples/jsp/index.html

These pages are exposed as part of the defaultWebApp Web Module that comes by default with Oracle Containers for J2EE, and are not desirable in environments in which other products are already configured, how can you disable or remove the "examples" application from the default web application ? 

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 The ONLY official and recommended method to remove the examples is to apply the last CPU (Critical Patch Update) patches, which will remove completely the included example pages. 
 A) Instructions for version 10.1.3.4 and 10.1.3.5
 B) Instructions for versions prior to 10.1.3.4


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.