My Oracle Support Banner

Portlet Unavailable After Deleting and Reinstalling a WSRP Portlet Producer (Doc ID 1294365.1)

Last updated on JANUARY 26, 2023

Applies to:

Oracle WebCenter Portal - Version 11.1.1.3.0 to 11.1.1.3.0 [Release 11g]
Information in this document applies to any platform.

Symptoms


When attempting to run a WebCenter Portal Application with a WSRP Portlet, the following error occurs:

Portlet unavailable



The WebCenter Log shows the old URL:

<Jan 3, 2011 10:59:15 AM EST> <Error> <oracle.portlet.client.connection.wsrp.HTTPClientTransport> <WCS-40151> <A request to the producer URL "http://<HOSTNAME>:<PORT>/<PRODUCER_NAME>/portlets/WSRP_v2_PortletManagement_Service" resulted in a status 500 response with fault string "java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault". The fault code given was "env:Server".>
<Jan 3, 2011 10:59:15 AM EST> <Error> <oracle.adfinternal.view.page.editor.utils.ReflectionUtility> <WCS-16128> <Error while calling instance method - copy>
<Jan 3, 2011 10:59:15 AM EST> <Warning>
...

<Jan 3, 2011 10:59:15 AM EST> <Error> <oracle.adfinternal.view.page.editor.extensions.portlet.drophandler.PortletUsageImpl> <BEA-000000> <Contact Oracle Support Services for assistance.>
<Jan 3, 2011 10:59:15 AM EST> <Error> <oracle.adfinternal.view.page.editor.extensions.portlet.drophandler.PortletUsageImpl> <BEA-000000> <
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at oracle.adfinternal.view.page.editor.utils.ReflectionUtility.callMethod(ReflectionUtility.java:87)
...

Caused By: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.adfinternal.view.page.editor.utils.ReflectionUtility.callMethod(ReflectionUtility.java:80)
...

Caused By: oracle.portlet.client.container.PortletHttpException: HTTP <unknown method> request to URL http://<HOSTNAME>:<PORT>/<PRODUCER_NAME>/portlets/wsrp2?WSDL failed with status code 500 reason <unknown reason>. Check that the producer URL has been correctly specified, that the producer server machine and producer container are running, that the producer application is deployed correctly, and that the client can reach the server if behind a firewall.
at oracle.portlet.client.techimpl.wsrp.WSRPClientImpl.handleException(WSRPClientImpl.java:3218)
at oracle.portlet.client.techimpl.wsrp.WSRPClientImpl.copy(WSRPClientImpl.java:564)



This happens after deleting and reinstalling the WSRP Portlet Producer.


STEPS

The issue can be reproduced with the following steps:

  1. Deploy a WSRP Producer in WebLogic.
  2. Deploy a WebCenter Portal Application that calls a Portlet from the producer.
  3. Run the application and confirm it runs fine.
  4. Delete the WSRP Producer and deploy it again from a different server/machine so the Producer URL will be different.
  5. Run the WebCenter application.
    This should return the error.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.