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

Last updated on MARCH 08, 2017

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.
***Checked for relevance on 10-DEC-2012***

Symptoms


When attempting to run a WebCenter 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://server:port/MyOldPortletURL/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://server:port/MyOldPortletURL/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 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.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms