WSRP Producer Raises INVALIDREGISTRATIONEXCEPTION After Moving the Application to a New JDeveloper Instance (Doc ID 471195.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 10.1.3.2.0 and later
Information in this document applies to any platform.
Checked for relevance on 24-Dec-2013

Symptoms

After moving a WebCenter Application containing a WSRP Producer to a new JDeveloper instance on a different machine, the WSRP Producer will raise the follow error when attempting to refresh:

oracle.portlet.client.container.PortletRemoteException: WSRP producer responded with an error
(InvalidRegistrationException)
at oracle.portlet.client.techimpl.wsrp.WSRPClientImpl.handleException(WSRPClientImpl.java:2462)
at oracle.portlet.client.techimpl.wsrp.WSRPClientImpl.deleteRemotePortlet(WSRPClientImpl.java:1094)
at oracle.portlet.client.techimpl.wsrp.WSRPClientImpl.delete(WSRPClientImpl.java:999)
at oracle.portlet.client.techimpl.wsrp.WSRPClientImpl.refresh(WSRPClientImpl.java:1142)
at oracle.portlet.client.containerimpl.wsrp.WSRPProducerImpl._refresh(WSRPProducerImpl.java:385)
at oracle.portlet.client.containerimpl.wsrp.WSRPProducerImpl.refresh(WSRPProducerImpl.java:363)
at oracle.adfinternal.model.portlet.manager.PortletProviderManager.refreshPortletProvider(PortletProvid
erManager.java:864)
at oracle.adfinternal.model.portlet.manager.ProviderDT.refresh(ProviderDT.java:310)
at oracle.adfdtinternal.model.portlet.appnav.ProducersController$2.doWork(ProducersController.java:552)
at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.portlet.server.container.InvalidRegistrationException:
oracle.portlet.wsrp.v2.InvalidRegistrationException:
oracle.portlet.wsrp.v2.soap.InvalidRegistration
at oracle.portlet.wsrp.v2.ServerToWSRPv2.destroyPortlets(ServerToWSRPv2.java:2623)
at oracle.portlet.client.connection.wsrp.ActivityServerWrapper.destroyPortlets(ActivityServerWrapper.ja
va:305)
at oracle.portlet.client.techimpl.wsrp.WSRPClientImpl.deleteRemotePortlet(WSRPClientImpl.java:1088)
... 10 more
Caused by: oracle.portlet.wsrp.v2.InvalidRegistrationException:
oracle.portlet.wsrp.v2.soap.InvalidRegistration
at oracle.portlet.wsrp.v2.WSRP_v2_PortletManagement_PortTypeJaxbToSoap.destroyPortlets(WSRP_v2_PortletM
anagement_PortTypeJaxbToSoap.java:273)
at oracle.portlet.wsrp.v2.ServerToWSRPv2.destroyPortlets(ServerToWSRPv2.java:2563)
... 12 more
Caused by: oracle.portlet.wsrp.v2.soap.InvalidRegistration
at oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_PortletManagement_PortType_destroyPortlets_Fault_SOAPSer
ializer.deserializeDetail(WSRP_v2_PortletManagement_PortType_destroyPortlets_Fault_SOAPSerializer.ja
va:115)
at oracle.j2ee.ws.common.encoding.SOAPFaultInfoSerializer.doDeserializeSOAP11(SOAPFaultInfoSerializer.j
ava:132)
at oracle.j2ee.ws.common.encoding.SOAPFaultInfoSerializer.doDeserialize(SOAPFaultInfoSerializer.java:94
)
at oracle.j2ee.ws.common.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:180)
at oracle.j2ee.ws.common.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.j
ava:147)
at oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_PortletManagement_Binding_SOAP_Stub._readBodyFaultElemen
t(WSRP_v2_PortletManagement_Binding_SOAP_Stub.java:1322)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:321)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
at oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_PortletManagement_Binding_SOAP_Stub.destroyPortlets(WSRP
_v2_PortletManagement_Binding_SOAP_Stub.java:288)
at oracle.portlet.wsrp.v2.WSRP_v2_PortletManagement_PortTypeJaxbToSoap.destroyPortlets(WSRP_v2_PortletM
anagement_PortTypeJaxbToSoap.java:250)
... 13 more

Steps To reproduce:

  1. Create a WebCenter Application using JDeveloper.
  2. Register a WSRP Producer in the application.
  3. Zip the JDeveloper Workspace and extract the zip on a new machine.
  4. Open the Workspace in JDeveloper, and edit the WSRP Producer to use the new URL.  For this step, it is required to deploy the WSRP Producer to the new instance as well.
  5. After changing the URL in step 4, JDeveloper will state that the producer will need to be refreshed.   Accept the action to refresh the WSRP Producer which will raise 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