Troubleshooting
Other troubleshooting resources
Refer to the readme file for Rational® tools. It is available from the Start menu (in Windows) or from the installation launchpad for the Rational Software Delivery Platform.
Problem resolution
| Problems | Solutions |
|---|---|
| JSP or Java™ compilation errors occur for imported, exported, or deployed portal | JSP files or Java classes
that rely on external JAR files for some classes may fail to compile
if any of these conditions occur:
This can occur because the import, export and deploy operations do not affect the referenced JAR files. To resolve this problem,
if your Portal project uses external JAR files, the JAR files need
to be made available to the server.
|
| Portlets that contain utility *.jar files used by EJB snippet support fail at run time on a remote WebSphere portal server. | This happens during when deploying these portlets
as part of a new portal project to a Portal server. For more information, refer to Testing and deploying portlets that reference J2EE modules. |
| Performing Run on Server on a portlet that is being used in a portal project yields an unexpected EAR file in the Server Selection dialog. | Instead of selecting the portlet project, select
the portlet's EAR project and right-click to perform the Run on
Server function. To find the portlet project's EAR file
|
| Could not restore workbench error when starting the Rational Software Delivery Platform. | Restart Rational tools
and specify a new directory as the workspace. If you selected Use
this workspace as the default and do not show this dialog box again before
and the dialog to allow you to specify the workspace directory does
not appear, start the workbench with the -data parameter.
From the command line:![]()
![]()
where workbench_installdir is the directory where you have installed Rational Software Delivery Platform and workspace_directory is the new workspace directory you want to use |
| Running (testing) or debugging a portlet in the test environment failed. After launching the Run on Server or Debug on Server task, the test environment was in starting state, but it terminated. The portlet has no validation errors in JSP files or Java code, and the deployment descriptor is correct. | Ensure Build automatically is selected in Workbench Preferences. To check the value, select . |
Portlet deployment or testing on a remote system
failed. The failure can occur with any of these tasks:
|
Ensure that the server is configured correctly. See Network considerations. |
| When importing a portlet WAR file, no WebSphere Portal servers appear in the Target server list. | Check the DOCTYPE entry of
the Web deployment descriptor (web.xml) in the WEB-INF directory
of the WAR file. The correct syntax is:
where
the string web-app_2_2.dtd defines the Web level
of the WAR file. The string web-app_2_2.dtd is for
Web level 2.2 ( J2EE specification level 1.2). The string web-app_2_3.dtd is
for Web level 2.3 ( J2EE specification level 1.3).A common mistake is to have a "." instead of a "_" character in the version number. For instance, web-app_2.2.dtd instead of web-app_2_2.dtd. If
you have not imported the WAR file, follow these steps to correct
the problem:
If you have already imported the WAR file, follow these
steps to correct the problem:
|
| Portlets that contain J2EE dependencies (i.e. database connections, EJB and dependent utility JAR projects) do not deploy to a remote Portal server with either portlet or portal projects. | For more information, refer to Testing and deploying portlets that reference J2EE modules and Referring to other projects |
Duplicate object ID Deploy or export of a portal project fails. Part of the error message indicates a DuplicateKeyException for the primary key constraint defined on PAGE_INST(OID) . |
When an object is deleted from a WebSphere Portal server, the object is marked as deleted but is not immediately removed. If the object is then exported or deployed to the remote portal server attach server, a duplicate object ID error can occur. This problem
can occur in the following scenarios:
To resolve this problem, you can either configure WebSphere Portal to remove objects immediately, or run an individual cleanup task using the XML configuration interface. For instructions, see the section in the WebSphere Portal Product Documentation |
| Server connection failure when debugging on either a test environment or remote server. | If you cannot attach to a test environment or remote portal server for debugging, and you are sure that the server is properly configured, then the problem may be caused by a timeout when connecting to the JVM process on the remote machine. This can happen if the remote machine is busy or if your network is slow. You can increase the default timeout value of three (3) for debugging by selecting , and increasing the value of the Debugger timeout field to ten (10) seconds. |
| Cooperative portlets are not performed by the built-in browser (Konqueror) of SuSE Linux Enterprise Server version 9. | For more information, including a list of Web browsers that support the cooperative portlet menus, refer to the topic in the WebSphere Portal product documentation. For instructions on defining an alternative Web browser, see Defining web browsers and device emulators. |
| When deploying a portal configuration that has a WSRP producer defined, it only resolves for WebSphere Portal. Deploying a portal configuration fails when portal configuration has WSRP producers with registration handle. | To fix this problem you will need to remove the registration
handle manually, following these steps:
The registration handle parameter in the portal configuration file will look like this:
|
| When importing a portal configuration into the targeted portal server, the Site Designing Portlet feature of IBM Rational Application Developer for WebSphere Software version 8.0.1, to customize an IBM WebSphere Portal configuration, results in error. "com.ibm.wps.command.xml.Engine processSax EJPFB0002E: Exception occurred." | The exception is thrown because the Site Designing
Portlet feature is not installed on the targeted portal server. To
resolve the error, uninstall the Site Designing Portlet before exporting
the configuration:
|
| Publishing of dynamic web project fails on Mac.
Publishing a dynamic web project fails with javax.net.ssl.SSLHandShakeException exception,
when you create a dynamic web project with WebSphere Application Server,
version 8.0 runtime stub, and add a new JavaServer page to the project,
create a remote server (installed on Windows machine) instance without
enabling to start the server remotely. Note: The project is published
without any error from Rational Application Developer installed on
a Windows machine.
|
The exception thrown is a limitation with Mac operating system, restarting Rational Application Developer and publishing again, resolves the problem. |

