Skip Headers
Oracle® Application Server Portal Error Messages Guide
10g Release 2 (10.1.4)
B19304-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents

Previous
Previous
 

7 Other Error Messages

This chapter contains all other messages that are either not numbered or not covered in the preceding chapters. The messages are grouped into the following subsections:

7.1 Login Error Messages

This section describes the error messages, their causes, and suggested actions, that you may encounter while configuring or logging into OracleAS Portal. For more information on securing OracleAS Portal, refer to the Oracle Application Server Portal Configuration Guide.

Error: "Proxy logon failed" together with the message "TNS could not resolve service name" when trying to connect or login to OracleAS Portal.
Cause: The logon to the portal database failed because mod_plsql could not connect to the Portal repository.
Action: Do one of the following:
  • Make sure that the connect string parameter in the DAD has been defined correctly in the right TNSNAMES.ORA or LDAP.ORA file. A common error is to either misconfigure the TNS_ADMIN parameter, or not specify the correct values for the connect string in the Net Service name resolution files.

  • Make sure that the database listener is running and is accessible from the middle tier. Set your Oracle environment to point to the same environment as the middle tier, and issue tnsping connect_string where connect_string is the parameter specified for the PlsqlDatabaseConnectString in the Portal DAD. The relevant Oracle environment variables to be set prior to issuing tnsping are ORACLE_HOME, PATH, and TNS_ADMIN. On UNIX platforms, you will also need to set LD_LIBRARY_PATH or its corresponding equivalent.

Error: "Database Login Failure" while trying to connect to OracleAS Portal.
Cause: The target database is not up and running, or the DAD is not properly configured.
Action: Make sure the Oracle Database is up and running along with the TNSLSNR on the infrastructure tier.

Make sure the connect information, database user, and password information is correctly specified in the DAD. (The DAD can only be configured and edited through Oracle Enterprise Manager 10g.) The DAD can be edited within Oracle Enterprise Manager 10g by navigating to the PLSQL Properties under the HTTP Server. The orasso DAD is created under the Infrastructure HTTP Server, while the OracleAS Portal DAD is created under the middle-tier server. The connect string information should be specified in either SIDFormat (host:port:sid) or as NetServiceNameFormat.

Error: Internal Server error when trying to access any page in OracleAS Portal.
Cause: Most likely, the Parallel Page Engine or the OC4J_Portal instance process either has gone down or has been misconfigured.
Action: Ensure that the OC4J_Portal instance process has been started and is configured correctly by trying to access the following URL from any browser:
  http://host.domain:port/jpdk/providers/sample 

If this does not work, then the OC4J_Portal instance is failing. Check the OC4J log files for more details. The log files are located in:

ORACLE_HOME/j2ee/OC4J_Portal/application-deployments/portal/OC4J_Portal_default_island_1

Error: Cannot log in to OracleAS Portal due to an incorrect Proxy Setting.
Cause: If the Proxy Setting is incorrect or invalid, OracleAS Portal cannot process login requests correctly.
Action: Using SQL*Plus, log in as the OracleAS Portal schema owner (default is portal) and issue the following statements:
begin
wwpre_api_value.set_value_as_varchar2( 
p_path=> 'oracle.portal.proxy', 
p_name=> 'name', p_level_type =>wwpre_api_value.SYSTEM_LEVEL_TYPE, p_level_name => null, 
p_value => NULL); 
wwpre_api_value.set_value_as_number( 
p_path=> 'oracle.portal.proxy', 
p_name=> 'port', 
p_level_type => 
wwpre_api_value.SYSTEM_LEVEL_TYPE, 
p_level_name => null, 
p_value=> NULL); 
end; 
/ 

After issuing these statements, the value of the proxy setting will be NULL.

Error: XML page displayed instead of HTML output when trying to access OracleAS Portal.
Cause: Used the Oracle HTTP Server listen port instead of the OracleAS Web Cache listen port when trying to access OracleAS Portal.
Action: Ensure that you use the OracleAS Web Cache listen port to access OracleAS Portal.

7.2 Portlet Development Error Messages

This section describes the error messages, their causes, and suggested actions that you may encounter while developing applications and portlets in OracleAS Portal. For more information on OracleAS Portal application development, refer to the Oracle Application Server Portal User's Guide.

This section contains the following portlet development error messages:

7.2.1 ORA-06510 to ORA-20000

This section contains the following error messages:

ORA-06510. PL/SQL: Unhandled user-defined exception.

ORA-20000. Error raised from call to WPG_SESSION.

ORA-06510. PL/SQL: Unhandled user-defined exception.
Cause: The host name was changed and OracleAS Portal was not correctly configured with the new host name.
Action: Run the OracleAS Portal Configuration Assistant in MIDTIER mode to associate OracleAS Portal with the new host name.
ORA-20000. Error raised from call to WPG_SESSION.
Cause: The authentication mode of the DAD is Basic rather than Single Sign-on. Alternatively, the session row may have been deleted from the session table, if the cleanup job cleaned out an active session that was still being used. By default, active sessions are cleaned out one week after they are created.
Action: Check that the authentication mode of the DAD is Single Sign-on, rather than Basic. Close all browser windows (to remove session cookies) and reconnect to OracleAS Portal.
Cause: The cookie value is used to select the session row from the session table. Therefore, a NO_DATA_FOUND error can result from a bogus cookie (such as the portal=true cookie), or from a cookie corrupted in some manner (such as clicking Stop in mid-request).
Action: Close the browser and try to connect to OracleAS Portal only. The portal=true cookie is generated by the Web calendar application.
Cause: If a problem has occurred in process_signon (such as an Oracle Internet Directory problem or a OracleAS Web Cache invalidation problem), the session row gets updated in process_signon with the new cookie value, but the cookie does not get set in the browser because of an exception raised in process_signon that causes the error page to show.
Action: Determine what is causing the problem in process_signon and fix that. Examining the Oracle HTTP Server error_log file may provide clues to the nature of the process_signon problem.

7.2.2 Invalid Portal Session Message

The following error message is generated by the middle tier when ORA-2000x errors are encountered:

Error: Invalid Portal Session. An error was encountered while processing your Portal request, because your portal session is no longer valid. You have been logged out and you will automatically be redirected to the OracleAS Portal home page in 30 seconds. Click OracleAS Portal home page to go directly to the OracleAS Portal home page, or if your browser does not automatically redirect you. If you continue to have problems while accessing OracleAS Portal, close all your browser instances and try again.
Cause: This error can be encountered when your portal session is no longer valid.
Action: Click the OracleAS Portal home page to go directly to the OracleAS Portal home page, or if your browser does not automatically redirect you. If you continue to have problems while accessing OracleAS Portal, close all your browser instances and try again.

For more information on ORA-2000x errors, refer to Appendix K, "Troubleshooting OracleAS Portal" in the Oracle Application Server Portal Configuration Guide.

7.2.3 Other Application Development Error Messages

The following error messages are unnumbered, and occur while running OracleAS Portal.

Error: 499 SSO Error on Provider Test Pages

Error: An Unhandled Exception has occurred. ORA-20100: ORA-06512: at "PORTAL.WWV_UTIL", line 1038. ORA-01555: snapshot too old: rollback segment number with name "" too small. ORA-22924: snapshot too old

Error: Insufficient Privilege. Please contact the administrator for privilege in Default Provider Builder Instance.

Error: Missing string (login link text) language(e) domain(wwc) sub_domain(sec). Missing string(pages) language(e) domain(wwc) sub_domain(pob).

Error: 'Call to utl_http failed' when clicking on a URL item link rendered 'in-place'.

Error: "Timeout for content" in one or more portlets.

Error: "400 bad request" or the Web browser just hangs when trying to access OracleAS Portal.

Error: The portlet has not been defined. The publisher must define the portlet by clicking on Edit Defaults for the portlet on the edit mode of this page. Please contact the publisher of this page.

Error: "The portlet could not be contacted"

Error: 499 SSO Error on Provider Test Pages
Cause: You may encounter this error if you click an Edit link on a Provider test page for the Web Clipping Provider, OmniPortlet Provider, or Sample Provider, and Oracle Application Server Single Sign-On protection of these pages is enabled, or if Oracle Application Server Single Sign-On is not configured correctly.
Action: Disable Oracle Application Server Single Sign-On protection on these pages. To do this, change the parameter value for oracle.webdb.providerui.securedAccessParam to false in the following file:
ORACLE_HOME/j2ee/OC4J_Portal/applications/portalTools/providerBuilder/WEB-INF/web.xml

You can set the value back to true, when you are finished editing the test pages.

Error: An Unhandled Exception has occurred. ORA-20100: ORA-06512: at "PORTAL.WWV_UTIL", line 1038. ORA-01555: snapshot too old: rollback segment number with name "" too small. ORA-22924: snapshot too old
Cause: This error can sometimes occur when editing text items. This issue only occurs if you are using an Oracle Database version earlier than 9.2.
Action: Modify the table wwv_text and disable LOB caching as follows:
alter table wwv_text modify lob (text) (nocache);

Error: Insufficient Privilege. Please contact the administrator for privilege in Default Provider Builder Instance.
Cause: Unable to connect to the OracleAS Portal database.
Action: Contact your administrator.
Error: Missing string (login link text) language(e) domain(wwc) sub_domain(sec). Missing string(pages) language(e) domain(wwc) sub_domain(pob).
Cause: This error may display when you try to access the OracleAS Portal home page and Globalization Support files are missing.
Action: There are several solutions for this error:
  • Check to make sure your browser language preference is set to the language you have installed with OracleAS Portal. OracleAS Portal is supported on 24 different languages, with English as the default language.

  • Make sure that your browser is set to accept Java and Javascript.

  • Check the installation log file to see if wwvcbus.ctl and wwcus.ctl were loaded into OracleAS Portal's Globalization Support table, wwnls_strings$.

Error: 'Call to utl_http failed' when clicking on a URL item link rendered 'in-place'.
Cause: An incorrect proxy value may have been specified if running within a firewall.
Action: Click the Administer tab on the OracleAS Portal home page. Click the Global Settings link under the Services banner. Make sure that the values specified under the Proxy Server section are correct. Provide appropriate values for HTTP Server, HTTP Server Port, and No Proxy Servers for Domains beginning with fields.
Error: "Timeout for content" in one or more portlets.
Cause: The Parallel Page Engine is timing out before the portlet has a chance to respond.
Action: Do one of the following:
  • Scan the file ORACLE_HOME/j2ee/OC4J_Portal/applications/portal/portal/WEB-INF/web.xml for the parameter requesttime (default is 15 seconds). If you expect that your portlet should be taking less time than this to respond, then there is something wrong on the provider side. Look at the response characteristics of your provider, and make sure that it is performing within the period defined for requesttime.

  • Tune the performance of your provider so that it can respond within the requesttime interval defined in the PPE configuration.

  • Increase the default requesttime for the Parallel Page Engine. Note that the increased value should still be within limits of what end users expect to be acceptable Web performance.

  • Edit the file ORACLE_HOME/j2ee/OC4J_Portal/applications/portal/portal/WEB-INF/web.xml.

    Locate the section <servlet-class>oracle.webdb.page.ParallelServlet.

    Add or edit the parameter requesttime to a value high enough to allow the portlet time to respond. For example:

    <init-param>
    <param-name>requesttime</param-name>
    <param-value>40</param-value>
    </init-param>  
    
    

The value 40 can be substituted with a higher or lower number, depending on your requirements. For individual database portlets, you can also set the timeout in the portlet record. For web portlets, you can increase the timeout in provider.xml.


Note:

In all the preceding options, the upper limit of how much time any portlet can take is defined by the PPE configuration parameter stall. Make sure that this parameter is configured a little higher than the maximum request time for any portlet in your system.

Error: "400 bad request" or the Web browser just hangs when trying to access OracleAS Portal.
Cause: If SSL has been configured, the most likely reason for this error is because the Parallel Page Engine is trying to communicate with HTTP over an HTTPS port.
Action: Add the following configuration lines in the web.xml file, which is located in ORACLE_HOME/j2ee/OC4J_Portal/applications/portal/portal/WEB-INF:
<init-param>
    <param-name>httpsports</param-name>
    <param-value><your HTTPS port></param-value>
</init-param>
 
Error: The portlet has not been defined. The publisher must define the portlet by clicking on Edit Defaults for the portlet on the edit mode of this page. Please contact the publisher of this page.
Cause: When you place a Web portlet on a page, you can display a link to the portlet, rather than the portlet itself. The link can be set to either:
  • Display Item In Full Browser Window

  • Display Item In New Browser Window

In either case, in some modes for the portlet (for example, Customize, Edit Defaults and so on), this error message may display.

Action: Display the portlet in place, rather than a link.
Error: "The portlet could not be contacted"
Cause: The error message displays when the Parallel Page Engine cannot contact a portlet. This can happen for a number of reasons. For example:
  • The server that the portlet's provider resides on, is down.

  • Domain Name Server (DNS) is down.

  • Network Address Translation (NAT) is not set up correctly in a configuration front-ended by a Load Balancing Router (LBR).

Action: To resolve this problem, perform the following actions:
  • Review the errors in ORACLE_HOME/j2ee/OC4J_Portal/application-deployments/portal/OC4J_Portal_default_island_1/application.log to see the host name and port number of the portlet that cannot be contacted.

  • Check if the host is up by running the following command:

    ping <host_name>
    
    
  • Restart the server that the portlet's provider resides on if needed.

  • If dynamic DNS is used, you must perform additional configuration in OC4J_Portal to prevent remote Web providers from timing out. You must change the sun.net.inetaddr.ttl system property for OC4J_Portal. On JDK 1.3 and later, the sun.net.inetaddr.ttl system property can be used to specify the "time to live" (TTL) in seconds for cached IP addresses.


    Note:

    It is important that this system property is passed as a command line option to Oracle Application Server Containers for J2EE (OC4J). Setting the property in oc4j.properties will not help because the system property is read first before OC4J reads this file. Therefore, it is best to modify the <java-option> line in the OC4J_portal section of ORACLE_HOME/opmn/conf/opmn.xml.

  • If your configuration is front-ended by an LBR, you need to configure NAT properly. NAT is not set up the same way on all LBRs. Consult your LBR's configuration guide on how to set this up. For a detailed description on why the LBR needs additional configuration to make loopback communication successful, refer to the section on configuring multiple middle tiers with an LBR in the Oracle Application Server Portal Configuration Guide.

7.2.4 Standard HTTP Error Codes

The following are standard HTTP error messages that may occur when using OracleAS Portal:

HTTP-400. Bad Request/Malformed Host Header.

HTTP- 403. Creating a Provider Group from the Portal user interface is not possible in OracleAS Portal 9.0.4.

HTTP- 403 with ORA1017. HTTP 403 Forbidden.

HTTP-500 - java.lang.NoClassDefFoundError: oracle/webdb/cache/jni/Cache at oracle.webdb.cache.CacheFactory.init(Unknown Source) at oracle.webdb.page.ContentManager.init(Unknown Source)

HTTP-500 - In ORACLE_HOME/Apache/Apache/logs/error_log file: [error] [client address] MOD_OC4J_0013: Failed to call destination: OC4J_Portal's service() to service the request.

HTTP-503 with ORA-6550. Service Temporarily Unavailable.

HTTP-503 with ORA-12560. Service Temporarily Unavailable.

Other HTTP Error Codes (400 - 600)

HTTP-400. Bad Request/Malformed Host Header.
Cause: This situation can happen when the host name on the machine where Oracle HTTP Server is running contains the underscore '_' character. Underscores are not valid in URLs.
Action: Rename the host to something without an underscore or access the machine by IP Address.
HTTP- 403. Creating a Provider Group from the Portal user interface is not possible in OracleAS Portal 9.0.4.
Cause: You cannot create a provider group from the Portal user interface in OracleAS Portal 9.0.4.
Action: See the articles Understanding Provider Groups and Provider Group Server Setup on OracleAS Portal Center for more information about how to configure provider groups manually.
HTTP- 403 with ORA1017. HTTP 403 Forbidden.
Cause: The password has changed or the tnsalias entry was changed.
Action: Make sure the password is correct in the DAD for the schema you're trying to connect to. Also, make sure the tnsnames.ora file and verify that the tnsalias is pointing to the correct database. The tnsnames.ora file is located here:

ORACLE_HOME/network/admin

HTTP-500 - java.lang.NoClassDefFoundError: oracle/webdb/cache/jni/Cache at oracle.webdb.cache.CacheFactory.init(Unknown Source) at oracle.webdb.page.ContentManager.init(Unknown Source)
Cause: wwjni.jar library reference is not present in the ORACLE_HOME/j2ee/OC4J_Portal/application-deployments/portal/orion-application.xml file. This file's library entry may have been deleted during the redeployment of portal.ear, or may have been accidentally deleted.
Action: Make sure the following entry is in the ORACLE_HOME/j2EE/OC4J_Portal/application-deployments/portal/orion-application.xml file:

<orion-application><library path=ORACLE_HOME/portal/jlib/wwjni.jar"/></orion-application>

HTTP-500 - In ORACLE_HOME/Apache/Apache/logs/error_log file: [error] [client address] MOD_OC4J_0013: Failed to call destination: OC4J_Portal's service() to service the request.
Cause: The OC4J_Portal instance is down. This may have been caused by any of the following:
  1. The instance crashed (that is, JVM crashed).

  2. The instance overloaded and was restarted by OPMN.

  3. The instance did not start up correctly.

  4. The instance was intentionally shut down.

Action: Start OC4J_Portal in the Oracle Application Server instance using Enterprise Manager, or by using the dmctl command. If Cause #2 occurred, no action is required since it may take a few moments for the instance to restart.
HTTP-503 with ORA-6550. Service Temporarily Unavailable.
Cause: A DAD was configured using SSO authentication, but the PL/SQL application does not use SSO authentication. This may occur when the DAD was added using Enterprise Manager and the user chose type Portal or General.
Action: Modify the authentication mode by opening the file ORACLE_HOME/Apache/modplsql/conf/dads.conf. Remove the line from the DAD that includes the following:

PlsqlAuthenticationMode SingleSignOn

HTTP-503 with ORA-12560. Service Temporarily Unavailable.
Cause: Unable to connect to the OracleAS Portal database.
Action: Make sure the database connect information in the DAD is configured correctly. This is typically configured to use the host:port:sid syntax of connecting to the backend database. If you have changed this to use a TNS entry, then make sure that the TNS_ADMIN environment variable is pointing to the correct tnsnames.ora file and that this entry can be resolved. You should also make sure that the TNS Listener and the database are up and running.
Cause: Maximum number of database sessions has been reached.
Action: Check the processes parameter in your database configuration file (init$SID.ora => processes=NNN). This number should be greater than or equal to the maximum number of Apache processes configured in httpd.conf (StartServers+MaxSpareServers). One quick way to verify that you are hitting this issue is to connect as SYS through SQL*Plus, and issue this query:
select username from v$session

If the count of the number of rows is almost the same as the value of the processes parameter, then you are exceeding the maximum number of processes.

Other HTTP Error Codes (400 - 600)
Cause: Failure in mod_plsql while executing an OracleAS Portal stored procedure or in the OC4J Portal instance while executing OracleAS Portal code.
Action: Follow these steps:
  1. Check the following error log files for more details:

    • OHS error log ORACLE_HOME/Apache/Apache/logs/error_log

    • Portal OC4J error log ORACLE_HOME/j2ee/OC4J_Portal/application-deployments/portal/OC4J_Portal_default_island_1.

  2. Verify that the Oracle Application Server HTTP Listener is up and running and that you can access static files. Access the URL http://host:port.

  3. If there are mod_plsql related errors in the Apache error log file, do one of the following:

    • Confirm that you are trying to access a valid URL and that the URL name has been entered correctly.

    • For database connectivity issues: — Be sure that the database is up and running, and that you can connect to it using SQL*Plus with your ORACLE_HOME set to the Oracle Application Server home. — Check the DAD configuration file for valid user name, password, and connect string. — If there are multiple Oracle homes on the system, be sure that the proper tnsnames.ora file has been updated. If in doubt, you can use the host:port:SID syntax in the connect string field.

    • If you do not have connectivity issues, verify that you can access simple PL/SQL procedures through the Portal DAD; for example, http://host:port/portal/pls/portal/htp.p?cbuf=test.

    • For WPG_SESSION or WPG_SESSION_PRIVATE related errors, be sure that your install completed without problems. Verify that all the packages are valid by connecting as SYS and issuing the command "select object_name, status from all_objects where status like '%INVALID%;".

    • Verify that you can access the OC4J Portal instance by accessing http://host.domain:port/jpdk/providers/sample.

    • If you still have issues, refer to the "Troubleshooting" chapter in the mod_plsql documentation.

7.3 Export and Import Error Messages

This section describes the error messages, their causes, and suggested actions that you may encounter while exporting and importing applications with OracleAS Portal. For more information about exporting and importing, refer to the Oracle Application Server Portal Configuration Guide.


Note:

During the export and import process, you can click the View Log of Actions link to display a log of the export and import process, which includes the error messages contained in this chapter. To view a more detailed log of your export and import process, as well as more detailed debugging messages, select the Advanced Logging option.

This section contains the following export and import error messages:

7.3.1 ORA-00001 to ORA-04088

This section contains the following error messages:

ORA-00001: Unique constraint (PORTAL.WWSBR_PORTLET_OBJECT_UK) violated

ORA-02291: Integrity constraint (PORTAL.WWSBR_SILA_SITE_IS_SITE_FK) violated - parent key not found.

ORA-02291: Integrity constraint (PORTAL.WWSBR_THINGSUBTYPE_ID_FK) violated - parent key not found.

ORA-02291: integrity constraint (PORTAL.WWPOB_PORTLET_INST_SITE_FK) violated - parent key not found.

ORA-04088: Error during execution of trigger "PORTAL.WWSBR_THAT_BRIUD_TRG".

ORA-00001: Unique constraint (PORTAL.WWSBR_PORTLET_OBJECT_UK) violated
Cause: wwsbr_portlet$ raises the unique constraints violation when the corresponding entry is updated with new values. This error can occur when the page portlet or a navigation page imported in overwrite mode was not resolved.
Action: Perform the following actions:
  1. Back up the page portlet.

  2. Try deleting the page (exposed as portlet) in the target.

  3. Run the import for this page portlet again in overwrite mode.

ORA-02291: Integrity constraint (PORTAL.WWSBR_SILA_SITE_IS_SITE_FK) violated - parent key not found.
Cause: The site language record for the page group does not match any of the page groups in the target.
Action: Check whether the corresponding page group included in the transport set is resolved and propagating its values to wwutl_sbr_tx_site_language$.
ORA-02291: Integrity constraint (PORTAL.WWSBR_THINGSUBTYPE_ID_FK) violated - parent key not found.
Cause: The subtype attribute (wwv_subtypeattribute) for thingsubtype,thingsubtype_siteid (itemtype information) is unresolved.
Action: Make sure the item type is resolved and propagating its new values to wwutl_sbr_tx_subtypeattribute$.
ORA-02291: integrity constraint (PORTAL.WWPOB_PORTLET_INST_SITE_FK) violated - parent key not found.
Cause: The portlet_instance table from the transport set is pointing to the wrong siteid. This problem can occur when you import some of the external page portlets (other than porlets that are local to that page group), but not the page group.
Action: Make sure that all the page portlets for a given page are included with the page group or exist in the target.
ORA-04088: Error during execution of trigger "PORTAL.WWSBR_THAT_BRIUD_TRG".
Cause: The subtypeattributeid of the Item Attributes transport table cannot find its corresponding subtypeattributeid from wwv_subtypeattributes table. The no_data_found exception is raised when the item attributes are inserted or updated.
Action: Make sure the subtypeattributeid exists in the target before the insertion of item attributes by doing the following:
  1. For any page that is brought in the transport set which has an item based on a custom item type, the custom item type should already exist with all its attributes in the target.

  2. If the custom item type is already a part of the transport set, make sure the records are inserted into the target before hand.


    Note:

    The import of the item types occurs before the insertion of the items.

7.3.2 Other Export and Import Error Messages

This section contains the following unnumbered error messages:

Error: WWUTL_API_IMPORT_PAGEGROUP.post_resolve_items: ORA-01403: no data found.

Error: Error in insert item - ORA-06510: PL/SQL unhandled user-defined exception ORA-06512: at "PORTAL.WWERR_API_EXCEPTION", line 71 ORA-06512: at "PORTAL.WWSBR_THIN_BRI_TRG", line 340 ORA-01403: no data found ORA-04088: error during execution of trigger.

Error: Page <pagename> does not exist. Category <category> does not exist. Perspective <pers_name> does not exist.

Error: Encountered unknown error while registering portlet.

Error: Error in insert item - ORA-06510: PL/SQL: unhandled user-defined exception ORA-06512. ORA-01403: no data found ORA-04088: error during execution of trigger.

Error: ORA-02291: integrity constraint (Portal user ID.WWSBR_SILA_SITE_IS_SITE_FK) violated - parent key not found.

[WARNING] id = NULL context = wwutl_api_import_security.propagate_names user = Portal user ID PAGE name not updated: page ID

Error: WWUTL_API_IMPORT_PAGEGROUP.post_resolve_items: ORA-01403: no data found.
Cause: Some of the item-related entries are not properly resolved, so the bulk post-resolve of some of the items raised no data found exception. The reason may be that the corresponding page is not resolved properly, or one of the item entries in wwv_things$ is not resolved properly. This is an abnormal situation.
Action: Since this error may occur when importing some of the navigation pages, try importing the navigation pages before importing any of the pages that reference this navigation page.
Error: Error in insert item - ORA-06510: PL/SQL unhandled user-defined exception ORA-06512: at "PORTAL.WWERR_API_EXCEPTION", line 71 ORA-06512: at "PORTAL.WWSBR_THIN_BRI_TRG", line 340 ORA-01403: no data found ORA-04088: error during execution of trigger.
Cause: Resolved text_id in wwv_things does not match the entries in wwv_text.
Action: Do one or both of the following:
  • Make sure that there is no data loss during export or import of dump in wwutl_sbr_tx_text$. (Set the exp client home compatible to Oracle Database to avoid data truncation/loss.)

  • Make sure that the itemtype and pagetype attributes are working properly after import. (If not, correct that first and try the import again.)

Cause: Path for the image and file item stored does not match the entries against wwdoc_document$.
Action: Do one or both of the following:
  • Make sure that there is no data loss during export or import of dump in wwutl_doc_tx_document$. (Set the exp client home compatible to Oracle Database to avoid data truncation or loss.)

  • Make sure that the itemtype and pagetype attributes are working properly after import. (If not correct that first and try the import again.)

Cause: Resolved url_id in wwv_things does not match the entries in wwsbr_url$.
Action: Make sure that the itemtype and pagetype attributes are working properly after import. (If not, correct that first and try the import again.)
Error: Page <pagename> does not exist. Category <category> does not exist. Perspective <pers_name> does not exist.
Cause: The transport set contains hierarchical objects, but does not find the parent objects for the hierarchical objects.
Action: Verify whether the parent object exists in the target or in the transport set (resolved).
Error: Encountered unknown error while registering portlet.
Cause: The target or transport set does not contain the underlying portlet for this page that contains a shared instance portlet. For example, page X contains a shared instance portlet, the shared instance portlet is based on a calendar portlet, the target or transport set only contains Page X.
Action: Include the underlying portlet in the transport set.

Note:

The portlet's container object will not be shown in the Manifest. Make sure the container object is also part of the transport set or exists in the target.

Error: Error in insert item - ORA-06510: PL/SQL: unhandled user-defined exception ORA-06512. ORA-01403: no data found ORA-04088: error during execution of trigger.
Cause: When a transport set contains a page and template with the same name, the import will fail in overwrite mode.
Action: Make sure the page and page template have different names within the same page group.
Error: ORA-02291: integrity constraint (Portal user ID.WWSBR_SILA_SITE_IS_SITE_FK) violated - parent key not found.
Cause: Import of the transport set failed because a page group being imported with a database provider references a shared attribute that is not included in the transport set.
Action: Ensure that all the external objects for an explicit object already exist in the target. Otherwise, include them in the transport set (by promoting them).
[WARNING] id = NULL context = wwutl_api_import_security.propagate_names user = Portal user ID PAGE name not updated: page ID
Cause: A suitable mapping was not found to propagate changes for non-existent entries in the privilege table.
Action: Ignore this warning.

7.4 Upgrade Error Messages

This section provides information about the error and warning messages that you may encounter when upgrading to OracleAS Portal 10g Release 2 (10.1.4). The messages are grouped into the following sections:


See Also:

Appendix titled "OracleAS Portal Upgrade Error Messages" in the Oracle Application Server Portal Installation and Upgrade Guide.

7.4.1 Numbered Error Messages (WWU-00001 to WWU-24999 and WWU-26004 to WWU-26007)

Refer to the error messages WWU-00001 to WWU-24999 and WWU-26004 to WWU-26007 in Chapter 4, "WWU-00001 to WWU-26007" for a description of the numbered error messages, their causes, and suggested actions that you may encounter while upgrading to OracleAS Portal 10g Release 2 (10.1.4).

7.4.2 Numbered Warning Messages (WWU-25000 to WWU-26001)

Refer to the warning messages WWU-25000 to WWU-26001 in Chapter 4, "WWU-00001 to WWU-26007" for a description of the numbered warning messages, their causes, and suggested actions that you may encounter while upgrading to OracleAS Portal 10g Release 2 (10.1.4).

7.4.3 Unnumbered Error Messages

This section describes the unnumbered error messages, their causes, and suggested actions that you may encounter while upgrading to OracleAS Portal 10g Release 2 (10.1.4).

Environment variable ORACLE_HOME is not set.
Cause: The ORACLE_HOME environment variable is not set.
Action: Review your environment and set the ORACLE_HOME environment variable.
GUID and/or DN are not available for %string% subscriber.
Cause: Could not get the globally unique identifier and/or the distinguished name for the named identity management realm from the Portal repository.
Action: Make sure that the identity management realm has been configured properly.
OracleAS Portal 10.1.4 upgrade precheck failed. See <precheck-log-file> for details.
Cause: Errors were encountered during the precheck run of the 10.1.4 upgrade.
Action: Search through the errors in the log file and apply any fixes mentioned. Then run the upgrade again
OracleAS Portal 10.1.4 upgrade completed with errors. See <upgrade-log-file> for details.
Cause: Errors were encountered in the 10.1.4 upgrade.
Action: Search through the errors in the log file and make a note of any fixes mentioned. Then restore the database from backup, apply the fixes, and run the upgrade again.
SQL Error: %string% LDAP Error: %string%. Unexpected Error occured while connecting to the Oracle Internet Directory as Application entry
Cause: An attempt was made to connect to the Oracle Internet Directory using the application credentials stored in the OracleAS Portal repository. However, this attempt failed. Some possible reasons for this failure are as follows:
  • OracleAS Portal has not been configured correctly for the Oracle Internet Directory.

  • Oracle Internet Directory server is not running.

  • An unexpected error was encountered.

Action: Make sure that the Oracle Internet Directory is up and running. Reconfigure OracleAS Portal for the Oracle Internet Directory. Also review the message logged before this error message and take appropriate action.
Unable to bind as the application. LDAP Error: %string%
Cause: An error was encountered while connecting to the Oracle Internet Directory Server.
Action: The line following the error may provide more information about the cause. Make sure that the Oracle Internet Directory Server is up and running and the Portal has been wired correctly against it.
Unable to get the application GUID. LDAP Error: %string%
Cause: Could not get the globally unique identifier for the application entry stored in the Oracle Internet Directory.
Action: The line following the error may provide more information about the cause. Make sure that the Oracle Internet Directory Server is up and running and the Portal has been wired correctly against it.
Unable to unbind. LDAP Error: %string%
Cause: An error was encountered while closing the connection with the Oracle Internet Directory.
Action: The line following the error may provide more information about the cause. Take corrective action as appropriate.
Updating provisioning profile: %string%
Cause: An error was encountered while updating the provisioning profile.
Action: The string may provide more information about the cause of error. Take appropriate action to resolve the error.

7.5 WebDAV Issues

The following sections provide information on the common problems encountered while using WebDAV clients to connect to OracleAS Portal.

7.5.1 Error While Accessing a WebDAV Location

If you are using a Web browser as the WebDAV client and you experience a Forbidden Error when accessing a WebDAV location, an error is written to the Web server error log that looks like this:

[Tue Jun  4 11:33:14 2002] [error] [client 144.25.248.140] Directory index forbidden by rule: / 

To avoid this problem, you can add Options Indexes in the oradav.conf file, as shown in the following example:

<Location /dav_portal/portal>
   DAV Oracle
   DAVDepthInfinity On 
   DAVParam ORACONNECT dbhost:dbport:dbsid
   DAVParam ORAUSER portal_schema
   DAVParam ORAPASSWORD portal_schema_password
   DAVParam ORACONTAINERNAME OraclePortal 
   DAVParam ORAPACKAGENAME portal_schema.wwdav_api_driver
   Options Indexes 
</Location>

7.5.2 Error While Accessing the Portal Schema Using the DAV Client SiteCopy

After you have performed an upgrade from release 9.0.2 to release 10.1.2.0.2 or 10.1.4, if you try to access the portal schema using the DAV client, SiteCopy, then you may encounter a Forbidden Error. The reason for this is that the oradav.conf parameter, DAVDepthInfinity is set to OFF by default.

To avoid this problem, you must edit the oradav.conf file at ORACLE_HOME/Apache/oradav/conf/, and set the parameter DAVDepthInfinity to On, as shown in the following example:

<Location /dav_portal/portal>
   DAV Oracle
   DAVDepthInfinity On 
   .
   .
   . 
</Location>

It is, however, recommended that you check all the oraDAV parameter settings. Refer to the Oracle HTTP Server Administrator's Guide for more information on the DAVDepthInfinity parameter.

7.5.3 Multiple Authentication Requests

Due to the way some WebDAV clients behave, users might experience authentication requests multiple times. To avoid this, you can increase the value for ORACookieMaxAge in the oradav.conf file (the default value is 0). Its value is specified as the time in seconds before the cookie expires, as shown in the following example:

<Location /dav_portal/portal>
   DAV Oracle
   DAVDepthInfinity On 
   DAVParam ORACONNECT dbhost:dbport:dbsid
   DAVParam ORAUSER portal_schema
   DAVParam ORAPASSWORD portal_schema_password
   DAVParam ORACONTAINERNAME OraclePortal 
   DAVParam ORAPACKAGENAME portal_schema.wwdav_api_driver
   DAVParam ORACookieMaxAge 28800 
</Location>

7.5.4 WebDAV Tables Need Repopulating

If the WebDAV tables in OracleAS Portal need repopulating (due to inconsistent data), you can use the DAV Loader utility to repopulate them to the latest data available from OracleAS Portal. When data inconsistency occurs, the following error appears in the Web server's error log file:

[Fri Sep 13 11:33:19 2002] [error] [client 130.35.64.171] OraDAV (b8790): Apache OCI
Error  -9999/6510 : ORA-06510: PL/SQL: unhandled user-defined exception
 ORA-06512: at "PORTAL.WWPTH_API_PRIVATE", line 953
 ORA-06510: PL/SQL: unhandled user-defined exception
 ORA-06512: at "PORTAL.WWPTH_API_PRIVATE", line 1515
 ORA-06510: PL/SQL: unhandled user-defined exception
 ORA-06512: at "PORTAL.WWSBR_SITE_DB", line 801
 ORA-01403: no data found
 ORA-06512: at "PORTAL.WWPTH_API_PRIVATE", line 982
 ORA-06512: at "PORTAL.WWDAV_INTERNAL", line 2154

You can run the DAV Loader utility by executing the following procedure from SQL*Plus:

set serveroutput on size 1000000
begin
    wwdav_loader.create_dav_content;
end;

This re-creates the entire set of DAV data. To get more debugging information, you can also use:

set serveroutput on size 1000000
begin
    wwdav_loader.create_dav_content(
        p_debug_mode => true);
end;

Running the DAV Loader removes any temporary documents from the DAV tables.

7.5.5 Misleading Error Messages in WebDAV Clients

When attempting to perform delete or copy operations at the page group level in a WebDAV client, you may experience the following error message:

500 Internal Server Error

This is not a server error, but a forbidden operation, because you cannot perform write operations at the page group level.

When performing operations in Web Folders you may sometimes come across the following error message:

The current operation cannot be completed because some unexpected error has occurred

This can happen if the information in Web Folders is out of sync with that in the portal. To solve this, navigate to the top level of the page group in Web Folders and refresh. Look at the error log, a file named MY_ERROR_LOG.TXT in your personal page, if you continue to experience problems.

7.5.6 Problem: OraDAV assumes a default Character Set used by the clients

Cause: Some WebDAV clients send requests without specifying the character set in the content-type and XML headers. As a result, OraDAV assumes a default character set used by the clients.

Action: To work around this, the NLS_LANG environment variable must be set to match with that of the WebDAV client.

In the following example, the WebDAV client locale is Shift-JIS, and mod_oradav needs the NLS_LANG variable to be AMERICAN_AMERICA.ja16shjis. To set this:

  1. Stop the HTTP Server listener.

  2. Change the NLS_LANG environment variable by doing the following:

    1. Open ORACLE_HOME/opmn/conf/opmn.xml.

    2. Look for the <ias-component id="HTTP_server"> section.

    3. In this section, look for the <process-set> subsection, then add the following:

      <environment>
      <variable id="NLS_LANG" value="AMERICAN_AMERICA.ja16shjis" />
      </environment>
      
      
  3. Save the file.

  4. Start the HTTP Server listener.

7.5.7 Error When WebDAV Packages Become Invalid

If the WebDAV packages become invalid, WebDAV becomes inaccessible and you find errors in the Web server's error log file, similar to:

[Wed Dec 10 04:11:23 2004] [error]
OraDAV: Apache/OCI Error -9999/4061: ORA-04061: existing state of package body "PORTAL.WWDAV_INTERNAL" has been invalidated

Recompile the WebDAV packages to solve this problem.