Thursday, October 13, 2011

How to enable the As control in 10.1.3.1?

Visit the Below Website to access unlimited exam questions for all IT vendors and Get Oracle Certifications for FREE
http://www.free-online-exams.com
Problem: How to enable the As control in 10.1.3.1?

Symptoms:
Installation went successful. But em page is not coming.


Solution:
The AS Control in OracleAS 10g Rel 3 (10.1.3) is a j2ee application deployed in the default OC4J instance.

If you perform a basic install of OracleAS 10.1.3 the AS Control application will be activated by default as part of the install process.

If you choose the OracleAS 10.1.3 Advanced Install type, the installation process will only activate the application if you choose to make the OracleAS instance an administration instance. This is done in the install "Administration Settings Screen". In this screen there is a checkbox labelled

"Configure this as an administrative instance"

If this checkbox left unchecked the resulting OracleAS instance will not have an active AS Control application. The assumption is that you will be installing other OracleAS 10.1.3 instances as part of a cluster topology and one of the OracleAS instances will be chosen to be 'configured' as the administrative instance, and thus host the active AS Control application.

Note: Only one OracleAS instance in a cluster topology can have an active AS Control. In other words one AS Control application is used to manage all OracleAS instances configured in a cluster topology.

Question:

If you have

- mistakenly forgotten to check the box
or
- checked the box for more than one OracleAS instance install in a cluster topology
or
- simply wish to transfer the active AS Control to a different OracleAS in a cluster topology

what steps should be taken?
Solution



Disabling an Application Server Control instance
If two OracleAS instances are clustered together and ASC application is running on both instances, the following warning will appears in the browser when ASC is accessed:

Warning
You have more than one instance of the Application Server Control application running in this cluster. This is not a recommended configuration and could lead to unexpected problems. Please stop the additional instances of Application Server Control or disable routing to these instances.

Perform following steps on one of the nodes to disable the ASC application:

1. Stop the AS Control application:
opmnctl stopproc application=ascontrol

2. Modify /j2ee/home/config/default-web-site.xml. Configure ohs-routing= "false" for the web-app application="ascontrol" element.


3. Modify /j2ee/home/config/server.xml. Configure start="false" for the application name="ascontrol" element


Enabling an Application Server Control instance

If you failed to check the box "Configure this as an administrative instance" then an attempt to access the AS Control will simply fail with

HTTP 404 Not Found

appearing in the browser

To rectify (without recourse to a reinstall), follow the advice given in

Oracle Application Server Administrator's Guide 10g Release 3 (10.1.3.1.0)
Appendix A Managing and Configuring Application Server Control
A.6.4 Identifying and Configuring a New Active Application Server Control

This is also the advice to be followed if the AS Control is active and working fine, but you wish to switch the active deployment to a different OC4J instance.


References:

Note.418395.1 - How to Activate or Reconfigure the OracleAS 10.1.3 AS Control Application Post Install
Get Oracle Certifications for all Exams
Free Online Exams.com

No comments: