Skip Headers

Oracle® Application Server 10g Release Notes
10g (9.0.4) for Linux x86

Part Number B12261-03
Go To Documentation Library
Home
Go To Table Of Contents
Contents

Go to previous page

26
Oracle Enterprise Manager

This chapter describes issues with Oracle Enterprise Manager. It includes the following topics:

26.1 General Issues and Workarounds

This section describes general issues and their workarounds for the Oracle Enterprise Manager Application Server Control. It includes the following topics:

26.1.1 Using Multiple Browser Windows When Managing Multiple Application Servers on the Same Host

When you are making configuration changes within the Application Server Control, the browser keeps track of the state of your editing session. For example, the browser keeps track of the changes you make and your location within on-screen configuration wizards before you click Finish or Apply.

A problem with the browser state can occur if you have installed multiple application server instances on a single host and you open two more browser windows to manage the OC4J instances on the host. If you switch between the windows while making configuration changes, you could experience some unpredictable behavior. For example, the browser may display a message saying that the session has expired.

To avoid this problem, start a new browser instance from the desktop and close any new windows opened from the original browser session.

If you are using Netscape 7 you will need to create a new Netscape Profile for additional browser windows.

26.1.2 Oracle HTTP Server Must Be Running To Collect OC4J Metrics

In order to collect performance metrics for the OC4J instances in an application server installation, the Oracle HTTP Server for the application server instance must be up and running. If the Oracle HTTP Server component is down, OC4J metrics will not be collected and, as a result, will not be available in the Application Server Control.

26.1.3 Virtual Hosts Must Have at Most One IP:Port Pair

The Application Server Control does not support the ability to enter multiple IP address pairs in the Virtual Host directive in the Oracle HTTP Server httpd.conf configuration file.

In other words, do not enter more than the following in the httpd.conf file when using the Application Server Control to manage your Oracle HTTP Server instance:

<VirtualHost 1.2.3.4:5678 9.10.11.12:5679 >
  ...
</VirtualHost>

26.1.4 Protocol Used for OracleAS Web Cache Admin Port Must Match the Protocol for the Statistics Port

Oracle Application Server Web Cache provides two ports. One port is the Administration port, which is used to access the Web Cache Manager. The other port is used to gather Web Cache performance statistics.

If you change the protocol for Oracle Application Server Web Cache, you must be sure to use the same protocol for the Administration Port and the Statistics port. If the protocol for these two ports does not match, the Application Server Control may not be able to gather performance metrics and the link to the Web Cache Manager on the Web Cache target home page will not function properly.

26.1.5 No Support for Path Information When Configuring JAZN

OC4J security employs a user manager to authenticate and authorize users and groups that attempt to access a J2EE application. One of the user managers that can be used to designate the users and groups for an application is the JAZN user manager.

With the Enterprise Manager Application Server Control, you can specify that the JAZN user manager be associated with an application. Using the Deploy Application: User Manager page for Enterprise Manager, you can specify that the application use either a JAZN XML configuration or a JAZN LDAP configuration.

When you use Enterprise Manager to specify an XML-based JAZN configuration, the following line is entered into the orion-application.xml file:

<jazn provider="XML" location="./jazn-data.xml" />

When you use Enterprise Manager to specify an LDAP-based JAZN configuration, the following line is entered in the orion-application.xml file:

<jazn provider="LDAP" default-realm="sample_subrealm" location="<<ldap_url>>" />

Some applications may prefer to specify a JAZN configuration by providing a path to a jazn.xml file, but Enterprise Manager does NOT support this type of JAZN configuration. This type of JAZN configuration would be specified as follows in the orion-application.xml file:

<jazn config="jazn.xml"/>

If you manually specify this type of JAZN configuration in the orion-application.xml file, you will either NOT be able to use the Enterprise Manager OC4J Security page or you may experience problems even after apparently using the page successfully.

For more information about using user managers specifying users and groups for a J2EE application, see Oracle Application Server Containers for J2EE Security Guide.

26.1.6 Lookup Error When Deploying OC4J Application

When you are attempting to deploy an OC4J application using the Application Server Control, you may receive the following error:

Deployment failed: Nested exception
Root Cause: Lookup error: javax.naming.NoPermissionException: Not allowed to
look up java:comp/ServerAdministrator, check the namespace-access tag setting
in orion-application.xml for details; 

This error may appear if the user manager for the OC4J default application does not include the user admin and the group administrators.

To view or define the users and groups for the default application user manager:

  1. Navigate to the OC4J home page for the OC4J instance you used to deploy your application.

  2. Click Applications to display the list of application deployed in the selected OC4J instance.

  3. Click the Default Application Name, which appears at the top of the Applications page.

    Enterprise Manager displays the OC4J Application home page for the default application.

  4. Scroll to the bottom of the page and click Security.

    Enterprise Manager displays the Security page, which lists the Groups and Users.

26.1.7 OC4J Restart Required After Adding Users on the OC4J Security Page

After you make changes on the OC4J Security page, you must restart the OC4J instance in order for the changes to take effect. For example, if you add the user admin user and the administrators group as described in Section 26.1.6, you must restart the OC4J instance to complete the procedure.

26.1.8 "SMISession has been invalidated" Error in Browser Window

In some cases, you may see the following error message displayed in your browser window:

The SMISession has been invalidated. Resolution: Please close the current 
SMISession, start another one and reapply the actions

To resolve this issue, click the Refresh Data icon located to the right of the time stamp, or close and reopen the browser to start a new session. This error can be the result of multiple users performing conflicting configuration actions on a single Enterprise Manager Application Server Control at the same time.

26.1.9 NLS_LANG and LC_ALL (OS Default Locale) Must Be Defined Before Starting Management Processes

If in a non-English environment, you launch a command line tool (for example, opmnctl or emctl) to start a process, make sure the operating system default locale and the NLS_LANG settings are configured properly.

26.1.9.1 Checking the Operating System Locale

To make sure the default locale is set properly, make sure the LC_ALL or LANG environment variables are set with the appropriate value. To check the current setting, issue the following command:

$PROMPT> locale

For the specific value in each operating system, refer to the platform-specific documentation.

26.1.9.2 Checking the NLS_LANG Setting

To check the NLS_LANG setting:

  1. Make sure the NLS_LANG environment variable is set with the appropriate and compatible value with the OS default locale setting. For the specific value for the language, refer to the Globalization Support Guide of the Oracle product you are using.

  2. Check to see if the NLS_LANG setting exists in following file:

    $ORACLE_HOME/opmn/conf/opmn.xml
    
    
  3. If opmn.xml exists, make sure the NLS_LANG setting in the opmn.xml file is identical to the NLS_LANG environment variable.

  4. For example, the following content should appear in the opmn.xml file:

    <environment> 
         			<variable id="TMP" value="/tmp"/> 
         			<variable id="NLS_LANG" value="JAPANESE_JAPAN.JA16SJIS"/> 
    </environment>
    

26.1.10 Newly Created Virtual Host Access Log Not Available in the Log Viewer

When operations that affect the name, location, or creation of HTTP Server logs are performed (for example, if you create a new HTTP Server virtual host), the Log File Viewer may not reflect these updates. For example, the log files for the newly created virtual host may not appear in the Log Viewer.

This problem is caused because the Log File Viewer may cache information about HTTP Server log files. Press the Refresh Data icon on the Log File Viewer page to workaround this situation and discover the current log files.

26.1.11 Problems Displaying XML Log Files in the Log Viewer

Depending upon the version of Internet Explorer and the server platform that the application server is running on, you may not be able to display log files that are stored in XML format.

For example, if you click the name of a log file on the Log File page the Application Server Control may display an error rather than the contents of the log file.

To work around this problem, try using a different browser or browser version to display the XML log file.

26.1.12 Problems with the Oracle Application Server 10g Application Server Control After Deinstalling Oracle Application Server 9.0.2 or 9.0.3

In certain situations, deinstallation of Application Server 9.0.2 or 9.0.3 may, through an automatic procedure run at deinstall time, cause a number of configuration files in the Application Server 10g directories to be overwritten with incorrect information.

The Enterprise Manager control scripts in Application Server 10g have been modified to make as-needed backups of these files; as a result, you should be able to recover from this problem by replacing the files from the backup versions.

These files are:

$ORACLE_HOME/sysman/config/iasadmin.properties
$ORACLE_HOME/sysman/emd/targets.xml
$ORACLE_HOME/sysman/j2ee/config/jazn-data.xml
$ORACLE_HOME/sysman/webapps/emd/WEB-INF/config/consoleConfig.xml

There may be a number of backup files in each of these cases. The backups are named in the form <original-file-name>.n, where n is a number from 1 to 10.

The most recent backup of the file is .1, then next most recent .2, and so on. You should check the timestamps or inspect these files to determine which is the most recent correct version of the data. This is most likely the last backup version before you deinstalled Application Server 9.0.2 or 9.0.3.

To restore these files:

26.1.13 Performance Notes for the Application Server Control

The following performance notes can help improve the overall performance of the Oracle Enterprise Manager Application Server Control in specific usage situations.

26.1.13.1 Deployment Performance in Internet Explorer and Netscape Navigator 7.0

If you attempt to deploy an OC4J application while using Microsoft Internet Explorer or Netscape 7.0, the file upload may take an extremely long time (for example, 10 minutes for a 45MB .ear file as compared to 15 seconds with Netscape 7.1). This has a direct impact on the OC4J deployment wizard performance.

If you are using Netscape Navigator, upgrade to Netscape 7.1.

If you are using Internet Explorer, refer to the following Microsoft knowledge base article, which addresses this problem:

http://support.microsoft.com/default.aspx?scid=kb;en-us;329781

26.1.13.2 Problems Deploying Large OC4J Applications

When attempting to deploy a large application (greater than 50MB EAR or WAR file), the default configuration for the DCM Daemon is insufficient. Attempting to deploy such a large application will result in an Out Of Memory error.

To resolve this issue, use the Application Server Control to increase the java heap for the DCM Daemon:

  1. Navigate to the Application Server home page in the Application Server Control.

  2. Click Process Management to edit the opmn.xml file.

  3. Locate the DCM Daemon configuration section and append the following string to the value section of the java-parameters data tag:

    -Xmx<nnn>MB 
    
    

    For example:

    
    -Xmx128M
    
    

26.1.13.3 Agent Memory Errors

Oracle Application Server includes a version of the Oracle Management Agent that gathers monitoring data for the Application Server Control. If the Management Agent is running out of memory while collecting application server metrics, the memory available to the JVM running within the Management Agent can be increased (default is 64M).

Within the $ORACLE_HOME/sysman/config/emd.properties file, the agentJavaDefines property can have the -Xmx<nnn>M (for example, -Xmx128M) qualifier appended to it to increase the amount of java heap available to the Management Agent JVM. The Management Agent must be restarted for the qualifier to be recognized.

26.1.13.4 Additional Performance Notes

To retrieve cached metrics (metrics which are collected by default and stored in the agents memory) for pages within the Application Server Control, define the environment variable EM_OC4J_OPTS to the following before starting the Application Server Control:

-Doracle.sysman.refreshFlag=true

To disable the processing page so that the Application Server Control waits for start, stop, and other such actions, define the environment variable EM_OC4J_OPTS to the following before starting the Application Server Control:

-Doracle.sysman.eml.util.iAS.waitForCompletion=true

To increase the timeout (default is 2 seconds) for status and host related metric retrieval for non-opmn managed components on the Application Server home page, define the environment variable EM_OC4J_OPTS to the following before starting the Application Server Control:

-Doracle.sysman.ias.ApplicationServerObject.timeout=true

26.1.14 Network Utilization Metrics Not Displayed

If network interfaces do not show values for "Network Interface Combined Utilization (%)", "Network Interface Read Utilization (%)" and "Network Interface Write Utilization (%)" metrics, create the text file
$ORACLE_HOME/sysman/config/network_speed and create entries using the following syntax:

<Interface Name> <Speed in Mbps> 

For example, if metrics are not displayed for the interface eth0, add the following entry, where 100 is the network speed in MB per second:

eth0 100

26.2 Documentation Errata

This section describes known errors in the documentation and online help. It includes the following topics:

26.2.1 Incorrect Location of the setupinfo.txt File

The setupinfo.txt file contains information about the URLs and port numbers you can use to access the Application Server Control, as well as other information about the Oracle Application Server installation.

The online help topic "Displaying the Application Server Control" incorrectly identifies the location of this file after the application server installation. The correct location of the file is:

$ORACLE_HOME/Apache/Apache/setupinfo.txt

26.2.2 Oracle HTTP Server Listener Port May Be Listed Twice

On the ports page of the Application Server Control, an additional Oracle HTTP Server Listener row for Oracle HTTP Server Listener with Oracle HTTP Server Diagnostic port may be listed twice. This may happen if you execute an OPMN reload operation after making changes to the opmn.xml file. The double port listing typically occurs when a new OC4J instance is created.

The duplicate row will go away when you restart Oracle HTTP Server.


Go to previous page
Oracle
Copyright © 2003 Oracle.

All Rights Reserved.
Go To Documentation Library
Home
Go To Table Of Contents
Contents