![]()
Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows
Troubleshoot administration
This section contains information that can assist you in preventing, identifying, and correcting problems related to IBM® WebSphere® Portal Express.
For information related to specific components, see the appropriate troubleshooting topic.
- Troubleshoot issues related to using or administering the portal
- No pages display in the portal (Linux installations with IBM DB2 Universal Database Enterprise Server Edition)
- Browser switches to another session when multiple users are logged in from the same client
- When modifying user information via WebSphere Portal Express, unexpected results could occur
- Application error for Edit Layout and Content
- Portlet contents are blank
- An error message after an LTPA timeout that follows a session timeout
- Receiving session timeout screen
- Browser refresh forces a portlet transaction
- Search and Browse portlet does not work after reconfiguring from local to remote service or vice versa
- Cannot use the XML configuration interface if it is externalized in security
- Link to launch Edit mode of a portlet disappears
- Administrative Console not loading
- Portlet deployment fails due to transfer or timeout problems
- Extracting a JNDI namespace in portal
- Portal hangs on Windows with JVM Heap Size larger than 1430 MB
- Error occurs when exporting files from various portlets
- Error message EJPPH0004E on renamed wps.ear file
- Troubleshoot issues related to national language support
- Search Crawler OutofMemory error
Troubleshoot issues related to using or administering the portal
This section describes problem that can occur when using or administering the portal.
No pages display in the portal (Linux installations with IBM DB2 Universal Database™ Enterprise Server Edition)
If you selected the option to deploy the base portlets (the administration and customization portlets used by the portal) during the portal installation, but no pages are displayed when you open the portal and the following error messages are in the installation log files for the database, there is a shared memory problem with DB2 and the WebSphere Application Server datasources:com.ibm.wps.util.DataBackendException: Error during database access! Nested Exception is com.ibm.websphere.ce.cm.StaleConnectionException: [IBM][CLI Driver] SQL1224N A database agent could not be started to service a request, or was terminated as a result of a database system shutdown or a force command. SQLSTATE=55032Solution: On Linux installations, you cannot use the WebSphere Portal Express database directly. Instead, define a local alias for the database.
The alias connects to the WebSphere Portal Express database using a TCP/IP connection. For instructions, see the WebSphere Portal Express information center. Search for the instructions for configuring DB2.
Browser switches to another session when multiple users are logged in from the same client
If a user, such as the portal administrator, logs in to the portal, leaves that login active, and then logs in from another instance of the same browser but using a different user ID, the second instance of the browser might switch to the first user's session and other problems might occur.
Solution: If you need to log in as different users on the same client, use one of the following methods to avoid this problem:
- If you do not need to maintain session data for any of the user logins, log off from one user account before you log in to the other user account.
- If you need to maintain active sessions for each user, use a different browser type for each user session. For example, use Netscape Navigator for one login and Microsoft Internet Explorer for the second login.
When modifying user information via WebSphere Portal Express, unexpected results could occur
When modifying user information via WebSphere Portal Express, if you receive the error Backend storage system failed. Please try again later., or the user attributes are not updated in LDAP, it might mean that the default tuning parameters for use with DB2 and IBM Tivoli® Directory Server need to be adjusted.
Solution: The default DB2 parameters are:
APP_CTL_HEAP_SZ 128 APPLHEAP_SZ 128Depending on your environment, the parameters above might be too small for Tivoli Directory Server and WebSphere Portal Express on systems with 2000 user entries.
The HEAP size of UDB is required when updating or inserting data. WebSphere Portal Express spawns heavy transactions to the LDAP server in any phase, especially changing user attributes, which spawns several updates and inserts. To prevent this problem, the following WebSphere Portal Express tuning is required:
su -ldapdb2 db2 -c update db cfg for ldap using APP_CTL_HEAP_SZ 1024 db2 -c update db cfg for ldap using APPLHEAP_SZ 1024
Application error for Edit Layout and Content
An application error might occur when you use the Edit Page task. The sequence of events that result in the problem are:
- A new user signs up or enrolls for the portal.
- The user logs in.
- The user selects the page to work with.
- The user selects the Edit Page.
- The user selects a portlet on the page and then clicks the edit portlet icon. The edit portlet dialog is displayed in a separate window.
- The user edits the portlet and then clicks the OK button. The edit portlet window closes.
- The user clicks the edit portlet icon a second time. This time, the edit portlet dialog displays in a separate window, but with the message There has been an application error.
Solution: If this problem occurs, the user should log off and then log in again. Then the problem will not occur again.
Portlet contents are blank
When a portlet Web application is unavailable, for example because it was stopped in the application server, the corresponding portlets will not show an error message but just display no content. In this case, the log file will show one of the following error messages:
- PEPC0001E: ServletContext belonging to servlet XX could not be found.
- PEPC0003E: ServletContext lookup for XX returned the portal's context.
It has to be a different one.
Solution: Make sure the enterprise application is started by using the application server's administrative console.
An error message after an LTPA timeout that follows a session timeout
After an LTPA timeout following a session timeout, an IllegalArgException error might be displayed and a new login is required.
Solution: Refresh the Web browser by doing one of the following:
- For Netscape users, press and hold the Shift key and click Reload
- For Internet Explorer users, press and hold the Shift key and click Refresh.
Receiving session timeout screen
When a user from another application server instance within the single signon domain of WebSphere Portal Express with a Session cookie that has the name JSESSIONID and a cookie path that matches the portal URL (for example, the default value /) accesses the WebSphere Portal Express protected area (for example, myportal), the user will see the session timeout screen. This is because WebSphere Portal Express cannot distinguish if the cookie sent by the browser was created by itself or by another application server instance.
Solution: To prevent this problem, the cookie path has to be adjusted so that it can be distinguished from the WebSphere Portal Express URL in the other Application Server instances that share the same single signon domain. Use the Session Management settings in IBM WebSphere Application Server Administration to specify a unique cookie path for the JSESSIONID cookie.
If you specify the cookie path using "overwrite" option in the session management administration screen at a level other then the web container level, you will have to again specify distributed session settings at that level even though they might already be defined at the web container level.
Browser refresh forces a portlet transaction
For portlets that use String-based actions, refreshing the browser could cause the portlet to re-execute its action, creating a problem in some transactional portlets. For example, a user clicking refresh could inadvertently trigger an action that updates the quantity of an item in a shopping cart.
Solution: Modify the portlet by adding the following configuration parameter and value:
com.ibm.wps.portlet.action.redirect = trueThis allows the page and portlet to be reloaded without the action parameters in the URL. You can add and set configuration parameters by clicking Administration, Portlets, then Manage Portlets. Select the portlet to be modified and click Modify parameters.
Search and Browse portlet does not work after reconfiguring from local to remote service or vice versa
If you change the configuration of the Search and Browse portlet from local search service to remote search service or vice versa, the portlet does not work.
Cause: You can configure and use the Search and Browse portlet in two ways, either for accessing a locally installed search service or using a remote search service through the EJB or SOAP (Web services) interface. Once you have configured the Search and Browse portlet for local search service or remote search service, you cannot change its configuration to the other type of service. If you try to do this, the portlet does not work any more.
Solution: If you want to switch to the other type of service (for example, from local to remote), you need to do so manually. Create another copy of the portlet and configure it for the required service type. For details refer to the Portal Search documentation.
Cannot use the XML configuration interface if it is externalized in security
If the virtual resource XML_ACCESS that represents access to the XML configuration interface is put under protection of an external security manager, you can no longer use the XML configuration interface.
Solution: If the access rights of WebSphere Portal Express are externalized to an external security manager, such as IBM Tivoli Access Manager for e-business, make sure that the XML configuration interface virtual resource is not externalized.
Link to launch Edit mode of a portlet disappears
When you use the Edit Layout portlet to edit a page, the page is deactivated and the link to launch the Edit mode of a portlet on that page disappears.
Cause: A page is deactivated immediately after you perform an action in the Edit Content and Layout portlet, for example, Add Portlets or Move Portlets/container.
Solution: Once the page is deactivated after you an action, you need to click Done to leave the page. This activates the page again. When you click the Edit Page link, the Edit Portlet link is displayed.
Administrative Console not loading
WebSphere Portal Express installs the WebSphere Application Server Administrative Console application into the WebSphere Portal Express application server so that it can be used to administer the application server without requiring another application server instance (by default, server1) to be configured or operational. The default port used for communication is 10038.
Solution: On Windows 2000, a Start Menu item is created to invoke the Administrative Console. If this menu item fails to load the console because of a HTTP 404 error that means that the Application Server is assigned a different administration port than was configured in the shortcut for this Start Menu item.
You might have to change the property of WebSphere Application Server Administrative Console in Windows 2000 Start Menu
Start | Programs | IBM WebSphere | Application Server | Administrative Console...as appropriate. For example change
C:\Program Files\Internet Explorer\IEXPLORE.EXE http://<hostname>:9060/admin/...to...
C:\Program Files\Internet Explorer\IEXPLORE.EXE http://<hostname>:10038/admin/
Portlet deployment fails due to transfer or timeout problems
Deploying a portlet application by using the Web Modules portlet might fail due to transfer or timeout problems, with the portlet returning to the initial state.
Scenario detail: When you deploy a portlet application Web module by clicking the Install button in the Web Modules portlet, selecting a Web module from the browse dialog and clicking Next, the portlet might return to the initial state as it was before you clicked the Install button. No error message is displayed. In the WebSphere Portal Express log file you might see an exception that says: Nested Exception is org.apache.jetspeed.portlet.PortletException: Processing of multipart/form-data request failed. Read timed out.
Cause: A timeout might have occurred on the HTTP connection when trying to install the portlet application WAR file. This problem can depend on several factors, for example:
- The size of the WAR file that you want to install.
- The bandwidth and load on your network.
- The timeout limits for several processes, for example the post size limit, the connection input and output, the upload process, or the SOAP connection.
Solution: To resolve this problem, try changing one or more of the properties or timeout values that can affect the installation of the WAR file. Here are some examples:
- Increase the property PostSizeLimit in the plugin-cfg.xml property file of the HTTP server.
- Set the property ConnectionIOTimeout. This property does not exist by default in the WebSphere Application Server configuration. To add or set this property, proceed by the following steps:
- Open the WebSphere Application Server Administrative Console.
- In the WebSphere Administrative Console, expand Servers.
- Click Application Servers.
- Click WebSphere_Portal.
- In Container Settings, click Web Container Settings > Web container transport chains.
- Click on the appropriate host.
- In Server Infrastructure, click Administration > Custom Properties.
- If a property with the name ConnectionIOTimeout already exists, proceed with the next step.
If a property with the name ConnectionIOTimeout does not exist, click New. Add a new custom property with the name ConnectionIOTimeout and select Seconds for the representation of the value.
- Set the value. Use discretion when setting this value. The default is 5 seconds.
- Save your changes to the configuration and restart WebSphere Application Server.
Use discretion when changing these values. Depending on the portal configuration and the size of the WAR file to be installed, it might be sufficient to increase one parameter, or you might have to increase more than one parameter. You might have to set one or more parameters to infinite.
Extracting a JNDI namespace in portal
WebSphere Application Server provides a command line utility for creating a JNDI namespace extract of a dedicated application server. This utility is named dumpNameSpace.bat or dumpNameSpace.sh, depending on your operating system. This utility is located in the WebSphere Application Server installation directory app_server_root/bin.
To extract a namespace from a server, the following requirements must be met:
- The application server must be active.
- The target host name must be provided, if it is not extracted locally.
- The target port number must be provided, if it deviates from the default.
For a detailed list of parameters for the dumpNameSpace utility, call the utility with a question mark as an input parameter. For example, depending on your operating system, you might change to the directory app_server_root/bin and enter dumpNameSpace.sh ?. If you run the utility without any additional parameters, the namespace of the default application server of WebSphere server1 is extracted, and the connection port 2809 is used.
Before you extract the JNDI namespace of the WebSphere Portal Express application server, you need to determine the port number. To do this, open the WebSphere Application Server Administrative Console and navigate to...
Servers | Application Servers | yourPortalServerName | End Points | BOOTSTRAP_ADDRESS
To extract the JNDI namespace of WebSphere Portal Express on the local host for the port number determined by the procedure above, change to the directory app_server_root/bin and enter the following command, depending on your operating system:
dumpNameSpace.sh/bat -port port_numberwhere port_number is the port number that you looked up in the Administrative Console.
The result is written to the standard output.
Portal hangs on Windows with JVM Heap Size larger than 1430 MB
You might experience a Portal System Hang on Windows if the JVM Heap Size is set at larger than 1430 MB.
Solution:
Set the heap size to less or equal than 1430 MB. See page 12 of the performance tuning guide for reference.
Error occurs when exporting files from various portlets
When you export files from the Manage Pages, Template Library or Policy administrative portlets, you may receive one of the error messages below if using Internet Explorer:
- Manage Pages portlet: <failure>com.ibm.wps.command.MissingParameterException: EJPEB0612E: AbstractXmlExtractCommand Missing Parameter.</failure>
- Template Library portlet: You will get an error message or message in browser information bar
- Policy portlet: XML document must have a top level element. Error processing resource
Solution: Perform the following steps:
- Open your Internet Explorer browser.
- Click Tools > Internet Options.
- Click the Security tab.
- Click the Custom Level button.
- Under the Downloads section, click the Enable radio button under Automatic prompting for file downloads.
Error message EJPPH0004E on renamed wps.ear file
Portal shows the following message: EJPPH0004E: Administration rights for Application Server are missing.
Cause: The portal EAR file wps.ear has been renamed.
Solution: Change the name of the file back to wps.ear. Do not rename the file. In the administration console the portal must be shown as an enterprise application with the name wps.ear.
Troubleshoot issues related to national language support
This section describes problems that can occur when viewing different languages with WebSphere Portal Express.
Issues with browsers displaying DBCS characters in selection boxes
This information concerns languages that use double-byte character sets (DBCS). Sometimes when DBCS text is displayed in selection boxes (such as the selector for pages), all of the characters are displayed as square boxes. It has not been possible to determine the browser versions and operating systems on which this situation occurs consistently.
Solution: None at this time.
Issues with information center and Portal Help search
If you use Microsoft Internet Explorer 6.x to display the WebSphere Portal Express information center or Portal Help and then use the Search function, some corrupted characters might be displayed in the search results list.
Solution: See the Requirements section in the information center to view a list of other Web browsers that you can use.
Issues with Microsoft Internet Explorer in a Japanese environment
Solution:
- If you access the portal in a Japanese environment with Microsoft Internet Explorer, the backslash might be displayed when pushing the Japanese Yen key in an input field of the portal. This is caused by Microsoft Internet Explorer in UTF-8 encoding. To avoid this problem, use a different browser such as Firefox, or change the character set of the portal from UTF-8 to Shift_JIS. Refer to Changing the character set for a language.
- The Rich Text Component of WebSphere Portal Express Productivity Components allows you to change a normal format to a heading format, and vice versa. This might be not available if you access the portal in a Japanese environment with Microsoft Internet Explorer. To avoid this problem, use a different browser such as Firefox.
Search Crawler OutofMemory error
You might receive an OutofMemory error when using Search Crawler on large portlet JSPs.
Solution: Either pre-compile your large portlet before using Search Crawler or see Setting the JVM max heap size to increase your JVM heap size.
Parent topic:
Search the product documentation for a solution