Troubleshooting portlets
This section contains information that can assist you in preventing, identifying, and correcting problems related to WebSphere Portal. For information related to specific components, see the appropriate troubleshooting topic.
- Web Clipping Portlet
- Web clipping portlet: Needed certificate is missing error
- SOCKS proxies are not supported for the Web Clipping Editor
- Dynamic refreshing of existing Web Clipping portlet settings is not supported
- Empty content in the Web Clipping portlet
- When using the Web Clipping Editor through Mozilla, users cannot select HTML images
- When using the Web Clipping Editor through Opera, the clear button does not function properly
- Receive portlet unavailable error when browsing a portlet created with the Web Clipping Editor
- Web Clipping does not work with Machine Translation
- Application Portlet Builder
- JDBC
- Missing or incorrect configuration for JDBC Builder causes error.
- JDBC Portlet Builder creates and runs portlets with invalid user ID and password on Cloudscape.
- Runtime Errors
- Configuration Hints
- Create, Update, and Delete are not working.
- Cloudscape Hints
- Domino
- Unable to connect to the Domino server.
- Error building portlet when using Oracle as the backend database for Portal server version 4.2.0.
- IBM NetMeeting portlet is not available if the Microsoft NetMeeting application is not already installed.
- Configure proxy for Pinnacor portlets
- Configure proxy for Financial Times portlet
- "YourCo" portlet samples do not work from right-to-left
- (5.0.2.3 only) "The portlet is unavailable" message appears when the url parameter points to a non-existent resource
Web Clipping Portlet
The following section lists known problems and solutions related to Web clipping.
Web clipping portlet: Needed certificate is missing error
If you attempt to connect to a secure site using the Web clipping portlet and get an error message indicating that the needed certificate is missing, you will need to add a certificate file to correct the problem. Note: These instructions assume that a browser such as Internet Explorer can successfully connect to the site and that it has the root certificate that is needed.
To add the necessary certificate, complete the following steps:
- Open a browser, and enter the Web address of the secure site that you are trying to connect to with the Web clipping portlet. After connecting to the site, see the SSL Secured icon displayed in status bar of the browser.
- Click File Properties.
- Click the Certificates button to display the Certificate dialog box.
- Select the Certification Path tab.
- Select the topmost root certificate entry in the tree. This is the name of the certificate that you will need to export from the browser.
- Click OK to close the dialog box.
- Click Tools Internet Options from the main menu of the browser.
- Select the Content tab.
- Click the Certificates button to display the Certificate dialog box.
- Select the Trusted Root Certification Authorities tab.
- Select the root that was previously identified.
- Click the Export button to open the Certificate Export Wizard dialog.
- Click Next in the wizard dialog box.
- Select Base-64 encoded X.509 (.CER) as the format to use for the certificate file.
- Click Next.
- Type the file name that you want to use for the certificate file.
- Click Browse, and select the directory to contain the .CER file.
- Click Next.
- Click Finish.
- Copy the .CER file that you created, and place it into the java\jre\lib\security directory, where WebSphere Application Server was installed. For example, if WebSphere Application Server was installed in C:\WebSphere\appserver, the .CER file must be saved in the C:\WebSphere\appserver\java\jre\lib\security directory. To verify that you have located the correct directory, find the cacerts file in the same directory.
- Restart WebSphere Application Server, and attempt to connect to the secure site with the Web Clipping portlet again.
Problem: SOCKS proxies are not supported for the Web Clipping Editor
Under the Web Clipper Editor Advanced options, there is no option in the Modify firewall options page to differentiate an HTTP proxy from a SOCKS proxy. This is because only HTTP proxies are supported for the Web Clipping Editor.
Solution: When modifying the firewall options for a Web Clipping portlet, use only HTTP proxies for your Proxy hostname and Proxy port.
Problem: Dynamic refreshing of existing Web Clipping portlet settings is not supported
When editing or modifying the settings of an existing Web Clipping portlet, the changes are not immediately reflected if it is already running on a page.
Solution: To ensure that your modified Web Clipping portlet settings take effect, restart your portal.
Problem: Empty content in the Web Clipping portlet
When clicking on a link in a Web Clipping portlet, you might find that no content appears.
Solution: Ensure that:
- The destination of the link is secured.
- The URL in the link is valid.
- The destination of the link is located in the internet and the proxy setting is correct.
- The URL in the link is not redirected.
If you work through those steps and content still does not appear, the problem could be:
- The destination of the link contains some functions of Javascript which are not supported by the Web Clipper Editor in this release.
- The destination of the link returns applets or embedded objects like Flash which are not supported by the Web Clipper Editor in this release.
Problem: When using the Web Clipping Editor through Mozilla, users cannot select HTML images
Mozilla is not supported for creating Web Clipping portlets.
Solution: Use either Microsoft Internet Explorer or Netscape Navigator as your browser when creating Web Clipping portlets.
Problem: When using the Web Clipping Editor through Opera, the clear button does not function properly
Opera is not supported for creating Web Clipping portlets.
Solution: Use Microsoft Internet Explorer as your browser when creating Web Clipping portlets.
Problem: Receive portlet unavailable error when browsing a portlet created with the Web Clipping Editor
If you have a Web clipped portlet that contains a link which requires a third party authentication certificate, you might receive the following error when following that link: "This portlet is unavailable. If the problem persists, please contact the portal administrator"
Solution: Apply the WebSphere Application Server fix that updates the JSSE code. This fix can be found on the WebSphere Application Server Fix Pack and Fixes disc for your operating system. The fix is as follows:
/manualfixes/WAS_Security_07-07-2003_JSSE_cumulative_Fix.jarComments: If users will be clipping content from secure sites using https:// or sites that have links to secure sites using https:// this fix should be applied.
Problem: Web Clipping does not work with Machine Translation
If you use a clipping that is in a locale other than the local locale of WebSphere Portal, you get a wrong drop-down translation menu with EnableViewerInitiatedTranslation according to the locale of WebSphere Portal, but not according to the locale of the clipping portlet.
Solution: If you wish to use machine translation to translate the clipping, set the portlet parameter ContentLanguage with the locale of the clipping portlet.
Application Portlet Builder
The following section lists known problems and solutions related to the Application Portlet Builder.
Problem: Missing or incorrect configuration for JDBC Builder causes error.
You will see the error: No configuration has been entered for this portlet. Click on the configure icon. There are two possible causes:
- There is no configuration for a portlet at runtime.
- There is a bad configuration that results in a communication failure of the portlet to its back end application.
Solution:
- In edit mode, enter a user ID and a password.
- In config mode, confirm that the configuration is specified.
Problem: JDBC Portlet Builder creates and runs portlets with invalid user ID and password on Cloudscape.
If you have a Cloudscape data source, you might find that an invalid user ID and password for the JDBC Portlet Builder and Portlet runtime (login) will not prevent you from successfully creating and running Cloudscape portlets.
Solution: The user ID and password are used for a JDBC connection. Authentication to Cloudscape in this manner is always successful regardless of user ID and password.
Runtime Errors
- Error in log:Cannot use WAS 4 data source with a 2.3 servlet.
Solution: All data sources in WAS must be configured as version 5 data sources.
Configuration Hints
- JDBC Builder Configuration:The JNDI name entered must match a data source JDNI name where the Test Connection for that data source is successful. It might be necessary to stop and restart the WAS application server and the Portal application server if you have reconfigured a WAS data source before successfully testing the connection.
- JDBC Datasource:It might be necessary to stop and restart the WAS application server and the Portal application server for the Test Connection feature of a data source to be successful.
Problem: Create, Update, and Delete are not working.
Solution: Create, update, and delete operations are permitted only on tables with primary keys.
Cloudscape Hints
- For Cloudscape, only one open conncetion is permitted on a database at a time. If you successfully test the connection using the test connection button on the Cloudscape data source, you might need to restart the server.
- If you are using Cloudscape viewer and you upgrade you might no longer be permited to view this database. This is because the viewer tool says the tool needs an upgrade to view the upgraded database.
DB2 Hints
- DB2 on Unix You must have the DB2 environment sourced in before starting the WebSphere application server. The full error is java.lang.UnsatisfiedLinkerError: SQLConnect
- DB2 on Windows 2000 You must reboot the machine after installing DB2 or the DB2 client. The full error is java.lang.UnsatisfiedLinkerError: SQLConnect
- DB2 on a remote machine You must use the DB2 Configuration Assistant to set up an alias for the remote database you want to connect to.
Problem: Unable to connect to the Domino server.
You will see the error: Invalid user ID and password.
Possible causes:
- The HTTP service on your Domino server is not started.
- The DIIOP service on your Domino server is not started.
- If single sign on is enabled between your Domino server and your Portal server, the user name and password on the two systems must be identical.
- The Domino server name and port number entered are incorrect.
- If single sign on is not enabled, the user name and password entered are incorrect.
- Domino server internet configuration does not allow HTTP clients to browse databases.
- Domino server security configuration does not allow Java/COM access by the user.
Solution:
- Start the HTTP service on your Domino server.
- Start the DIIOP service on you Domino server.
- If enabled, confirm that single sign on is configured correctly.
- Use the correct Domino server name, port number, user ID and password.
- In your Domino server go to Server Document then Internet Protocols then HTTP. Select Yes to Allow HTTP clients to browse databases.
- In your Domino server go to Server Document then Security then Run restricted Java/javascript/COM and Run unrestricted Java/javascript/COM. Your user name will appear in both of the lists.
Problem: Error building portlet when using Oracle as the backend database for Portal server version 4.2.0.
Solution: Apply fix pack 1 to Portal server 4.2.0.
Problem: IBM NetMeeting portlet is not available if the Microsoft NetMeeting application is not already installed
If you are using Internet Explorer 5.5 on Windows, and Microsoft NetMeeting is not already installed, the NetMeeting portlet will not be available.
Solution: Upgrade to Internet Explorer 6 or install the Microsoft NetMeeting application (as provided by Microsoft Corporation) on your machine.
Problem: Configure proxy for Pinnacor portlets
The Pinnacor portlets My News, My Weather, and My Stocks assume that you have direct access to the Internet to retrieve content for rendering in the portlets. If access is only possible through a proxy, then the proxy must be configured in the portlet by modifying its web.xml file.
Solution: There are four context level parameters in web.xml, and by default they are all empty:
<context-param> <param-name>proxyHost</param-name> <param-value></param-value> </context-param> <context-param> <param-name>proxyPort</param-name> <param-value></param-value> </context-param> <context-param> <param-name>proxyUserName</param-name> <param-value></param-value> </context-param> <context-param> <param-name>proxyPassword</param-name> <param-value></param-value> </context-param>The values for these parameters should be:
- proxyHost: The host name of proxy server (dns name or static IP address).
- proxyPort: The proxy server port, such as 8080.
- proxyUserName/proxyPassword: If the proxy server requires authentication, specify the user ID and password for the proxyUserName and proxyPassword parameters, respectively.
Problem: Configure proxy for Financial Times portlets
These instructions suggest using Winzip but any zip utility can be used.
- Open FinancialTimesPortlet.war and extract the file divine.jar to a local temp directory using Winzip.
- Open divine.jar and extract the file financialTimes.properties.
- Using a text editor, edit financialTimes.properties as shown in the following example. Use yes to enable proxy and no to disable proxy:
proxy.useProxy=yes
proxy.host=proxy.ft.com
proxy.port=8080
proxy.user=proxuser
proxy.pw=proxpassword- Place the new version of financialTimes.properties back into divine.jar by dragging it to Winzip. Make sure not to insert it using any directory information. This divine.jar should always show only one copy of the file.
- Place the new version of divine.jar back in to FinancialTimesPortlet.war. Make certain it goes to the WEB-INF/lib directory. You many need to create those directories locally in order to place it back into the .war properly.
- Update or install FinancialTimesPortlet.war on your portal.
- If you are aware of additional Financial Times portlets installed on you system it will be necessary to edit the financialTimes.properties files within those respective WAR files.
- Restart the Websphere Portal service.
Problem: "YourCo" portlet samples do not work from right-to-left
The sample portlets for "YourCo Financial Theme" and the "YourCo Financial There for logged in Users" were not intended to be used in a bi-directional environment.
Solution: Use the Portal Administration portlet to remove the two "YourCo" portlets. The sample portlets then displays with the default portal theme.
Problem: (For 5.0.2.3 only) "The portlet is unavailable" message appears when the url parameter points to a non-existent resource.
Solution: Ensure that the resource addressed by the URL is available, particularly if referencing a resource on a mapped network drive.
See also