Predeployment in Clustered Environment Fails with INVALIDREGISTRATIONEXCEPTION When More Than One Nodes Is Up

(Doc ID 725911.1)

Last updated on NOVEMBER 22, 2016

Applies to:

Oracle WebCenter - Version: 10.1.3.2.0 to 10.1.3.3.0 - Release: AS10gR3 to AS10gR3
Information in this document applies to any platform.

Symptoms

-- Problem Statement:
Predeploying a portlet consumer in a Oracle Application Server 10.1.3.3 cluster fails with the error below:

ERROR : Unexpected PortletException :
ERROR
oracle.portlet.client.adapter.adf.deploy.LifecycleException: Unexpected PortletException :
at oracle.portlet.client.adapter.adf.deploy.LifecycleTool.predeploy(LifecycleTool.java:904)
at
oracle.portlet.client.adapter.adf.deploy.LifecycleTool.doPredeploy(LifecycleTool.java:139)
at
oracle.portlet.client.adapter.adf.deploy.LifecycleToolCLI.predeploy(LifecycleToolCLI.java:273)
at
oracle.portlet.client.adapter.adf.deploy.LifecycleToolCLI.<init>(LifecycleToolCLI.java:125)
at oracle.portlet.client.adapter.adf.deploy.LifecycleToolCLI.main(LifecycleToolCLI.java:681)
Caused by: oracle.portlet.client.container.PortletException: Error during import. input mds
repository file path = /tmp/predeploy/mds. output mds repository file path = /oracle/mds. output
connections file path and name = /tmp/predeploy/connections.xml.new. export id = /export.
at oracle.portlet.client.adapter.simple.SimpleImportExport.run(SimpleImportExport.java:128)
at
oracle.portlet.client.adapter.simple.SimpleImportExport.mdsImport(SimpleImportExport.java:57)
at
oracle.portlet.client.adapter.adf.deploy.ProcessEAR.importMDSToProduction(ProcessEAR.java:1567)
at
oracle.portlet.client.adapter.adf.deploy.ProcessEAR.importMDSToProduction(ProcessEAR.java:1429)
at oracle.portlet.client.adapter.adf.deploy.LifecycleTool.predeploy(LifecycleTool.java:790)
... 4 more
Caused by: java.lang.RuntimeException: oracle.portlet.client.container.PortletRemoteException:
WSRP producer responded with an error (InvalidRegistrationException)
at
oracle.portlet.client.persistenceimpl.mds.BaseListener.initOperation(MDSTransferFactory.java:224)
at oracle.mds.transfer.MDSTransfer.preOperation(Unknown Source)
at oracle.mds.transfer.MDSTransfer.execute(Unknown Source)
at oracle.mds.transfer.MDSTransfer.transfer(Unknown Source)
at oracle.portlet.client.adapter.simple.SimpleImportExport.run(SimpleImportExport.java:118)
... 8 more
Caused by: 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.getProducerPortletList(WSRPClientImpl.java:1747)
at oracle.portlet.client.techimpl.wsrp.WSRPClientImpl.register(WSRPClientImpl.java:151)
at
oracle.portlet.client.techimpl.wsrp.WSRPImportExportHelper.register(WSRPImportExportHelper.java:152)
at
oracle.portlet.client.techimpl.base.ConsumerCloningImportExportHelper.importData(ConsumerCloningImpo
rtExportHelper.java:126)
at oracle.portlet.client.techimpl.wsrp.WSRPClientImpl.importData(WSRPClientImpl.java:2357)
at oracle.portlet.client.techimpl.wsrp.WSRPClientImpl.importData(WSRPClientImpl.java:2452)
at
oracle.portlet.client.containerimpl.wsrp.WSRPPortletTechnologyImpl._importData(WSRPPortletTechnology
Impl.java:231)
at
oracle.portlet.client.containerimpl.wsrp.WSRPPortletTechnologyImpl.importData(WSRPPortletTechnologyI
mpl.java:205)
at
oracle.portlet.client.containerimpl.PortletContainerImpl.importData(PortletContainerImpl.java:367)
at
oracle.portlet.client.containerimpl.ActivityPortletContainerWrapper.importData(ActivityPortletContai
nerWrapper.java:154)
at
oracle.portlet.client.persistenceimpl.mds.ImportListener.processExportSet(MDSTransferFactory.java:45
5)
at
oracle.portlet.client.persistenceimpl.mds.BaseListener.initOperation(MDSTransferFactory.java:215)
... 12 more
Caused by: oracle.portlet.server.container.InvalidRegistrationException:
oracle.portlet.wsrp.v2.InvalidRegistrationException: oracle.portlet.wsrp.v2.soap.InvalidRegistration
at oracle.portlet.wsrp.v2.ServerToWSRPv2.getServiceDescription(ServerToWSRPv2.java:12582)
at
oracle.portlet.client.connection.wsrp.ActivityServerWrapper.getServiceDescription(ActivityServerWrap
per.java:2517)
at
oracle.portlet.client.techimpl.wsrp.WSRPClientImpl.getProducerPortletList(WSRPClientImpl.java:1461)
... 23 more
Caused by: oracle.portlet.wsrp.v2.InvalidRegistrationException:
oracle.portlet.wsrp.v2.soap.InvalidRegistration
at
oracle.portlet.wsrp.v2.WSRP_v2_ServiceDescription_PortTypeJaxbToSoap.getServiceDescription(WSRP_v2_S
erviceDescription_PortTypeJaxbToSoap.java:85)
at oracle.portlet.wsrp.v2.ServerToWSRPv2.getServiceDescription(ServerToWSRPv2.java:11416)
... 25 more
Caused by: oracle.portlet.wsrp.v2.soap.InvalidRegistration
at
oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_ServiceDescription_PortType_getServiceDescription_Fault_
SOAPSerializer.deserializeDetail(WSRP_v2_ServiceDescription_PortType_getServiceDescription_Fault_SOA
PSerializer.java:78)
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_ServiceDescription_Binding_SOAP_Stub._readBodyFaultEleme
nt(WSRP_v2_ServiceDescription_Binding_SOAP_Stub.java:159)
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_ServiceDescription_Binding_SOAP_Stub.getServiceDescripti
on(WSRP_v2_ServiceDescription_Binding_SOAP_Stub.java:76)
at
oracle.portlet.wsrp.v2.WSRP_v2_ServiceDescription_PortTypeJaxbToSoap.getServiceDescription(WSRP_v2_S
erviceDescription_PortTypeJaxbToSoap.java:67)
... 26 more


-- Steps To Reproduce:
Configure a clustered WebCenter 10.1.3.3 environment consisting of two Oracle AS nodes with a WebCache load-balancer in front of them.

Deploy a portlet consumer application with the two Application Server nodes up and running.
When one of the Oracle Application Server nodes is down, the portlet consumer application deploys fine.


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