Oracle® Application Server Release Notes 10g Release 3 (10.1.3) for Microsoft Windows (64-Bit) on Intel Itanium B28115-01 |
|
![]() Previous |
![]() Next |
This chapter describes issues associated with OracleAS Portal. It includes the following topic:
This section describes general issues and workarounds. It includes the following topic:
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:
In Oracle JDeveloper, right-click your project in the Applications Navigator tab, and select Project Properties from the context menu.
From the Project Properties dialog box, click Compiler in the left pane.
From the Source list, select 1.4.
Click OK.
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:
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>
This section describes known errors in OracleAS Portal documentation. It includes the following topic:
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>