D Troubleshooting

Troubleshoot errors and issues that you encounter while developing WebCenter Portal assets.

Topics:

Troubleshooting WebCenter Portal Shared Library Deployment

  • Changes are not available after deployment even though deployment successful.

    WebCenter Portal always uses the latest shared library version. Check that the implementation version in MANIFEST.MF matches the implementation version displayed in the WebLogic Server Administration Console.

    For example, check the value in PortalSharedLibrary/Application Sources/META-INF/MANIFEST.MF is the same as that displayed in the Administration Console under Deployments> extend.spaces.webapp>Overview

  • "DeployerException: Task 9 failed" displays:

    weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 9 failed:
    [Deployer:149117]deploy library com.mycompanyname.shared.lib [LibSpecVersion=11.1.1.2,LibImplVersion=11.1.1.2.5] on AdminServer,WC_Portal.

    This error occurs if the implementation version of the new deployment and the existing deployment are the same. Use the Administration Console to verify the current implementation version and if necessary change the version and redeploy the shared library.

  • "java.lang.IllegalArgumentException" displays:

    Restart the managed server on which WebCenter Portal is deployed.

Troubleshooting Portlet Creation

Cannot Access the Create Portlet Wizard

Problem

In the New Gallery, I cannot find the Standards-based Java Portlet (JSR 286) option.

Cause

The application in which you are trying to create the portlet was created using WebCenter Portal's Portal Framework template and therefore is not scoped for portlet creation.

Solution

Perform the following steps:

  1. Try creating the portlet in a Portlet Producer Application or any application scoped for portlet creation.

  2. In the New Gallery, click the All Technologies tab to list all available options regardless of the technology scope of the application.

Cannot Add the Portlet Functionality that I Want to the Portlet

Problem

I cannot find the option to add certain features, for example portlet events or public render parameters, to the portlet in the Create JSR 286 Java Portlet wizard.

Cause

The wizard does not provide the option to add certain features to portlets.

Solution

After you create a portlet using the Create JSR 286 Java Portlet wizard, edit the portlet.xml file using the Overview Editor to add advanced functionality. For more information, see Developing JSR 286 Java Portlets.