Skip Headers
Oracle® Application Server Release Notes
10g Release 3 (10.1.3) for Microsoft Windows (64-Bit) on Intel Itanium
B28115-01
  Go To Documentation Library
Home
Go To Table Of Contents
Contents

Previous
Previous
 
Next
Next
 

6 Oracle Application Server Portal

This chapter describes issues associated with OracleAS Portal. It includes the following topic:

6.1 General Issues and Workarounds

This section describes general issues and workarounds. It includes the following topic:

6.1.1 Ensure Correct JDK Version in Compiler Settings

Java classes compiled using JDK 1.5 will not run in JDK 1.4. The default JDK version used to compile code depends on the JDK version used by the Oracle JDeveloper IDE.

If you create a portlet using Oracle JDeveloper 10g Release 3 (10.1.3) running on JDK 1.5, and plan to deploy it to an OC4J instance that uses JDK 1.4, then you must ensure that the compiler settings are set to 1.4. To set the project compiler settings, perform the following steps:

  1. In Oracle JDeveloper, right-click your project in the Applications Navigator tab, and select Project Properties from the context menu.

  2. From the Project Properties dialog box, click Compiler in the left pane.

  3. From the Source list, select 1.4.

  4. Click OK.

6.2 Portlet and Provider Issues and Workarounds

This section describes issues and workarounds related to OmniPortlet, Web Clipping, Simple Parameter Form, Page portlet, and WSRP providers. This section includes the following topic:

6.2.1 Error Configuring OC4J Standalone for JPS Portlets Deployment

As part of the procedure to configure an OC4J standalone instance for deploying Java Portal Services (JPS) portlets, you are required to create a database preference store to store the JPS portlets registration and preference information. This includes creating the preference store using the ptlwsrp_data.sql script, and editing the data-sources.xml file to add a new entry that maps the connection details for the preference store schema to a JDBC data source.

If you installed OC4J release 10.1.3, and added a data-source entry in the data-sources.xml file, then you will get errors. This is because data sources are defined differently in OC4J release 10.1.3 and the format of the data-sources.xml file has changed. You must add a new entry in the data-sources.xml file as shown in the following example:

<managed-data-source connection-pool-name='Connection Pool'
jndi-name='jdbc/portletPrefs' name='PortletPrefs' />
<connection-pool name='Connection Pool' >
  <connection-factory factory-class='oracle.jdbc.pool.OracleDataSource'
     user='portlet_prefs' password='portlet_prefs'
     url="jdbc:oracle:thin:@(description=(address=
      (host=myhost.domain.com)(protocol=tcp)(port=1521))
      (connect_data=(service_name=myservice.mydomain.com)))">
  </connection-factory>
</connection-pool>

6.3 Documentation Errors

This section describes known errors in OracleAS Portal documentation. It includes the following topic:

6.3.1 Configuring OC4J Standalone

In Oracle Application Server Portal Developer's Guide, step 7 under Section 6.3.2, "Configuring OC4J Standalone" is incorrect. This step should read as follows:

Edit the file data-sources.xml located in OC4J_HOME\j2ee\home\config, where OC4J_HOME is the location in which you unzipped OC4J. Add a new entry that maps the connection details for the preference store schema to a JDBC data source with an ejb-location of jdbc\portletPrefs. For example:

<managed-data-source connection-pool-name='Connection Pool'
jndi-name='jdbc/portletPrefs' name='PortletPrefs' />
<connection-pool name='Connection Pool' >
  <connection-factory factory-class='oracle.jdbc.pool.OracleDataSource'
     user='portlet_prefs' password='portlet_prefs'
     url="jdbc:oracle:thin:@(description=(address=
      (host=myhost.domain.com)(protocol=tcp)(port=1521))
      (connect_data=(service_name=myservice.mydomain.com)))">
  </connection-factory>
</connection-pool>