Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-31722

WSRP portlet from Customer Portal generates exception: Unable to find <liferay-wsrp-portlet>

    Details

      Description

      ISSUE
      Adding a WSRP consumer from WSRP producer on the same instance throws the following exception: java.rmi.RemoteException: Unable to find <liferay-wsrp-portlet>. The issue was reported in LPS-10127 for earlier versions of Liferay/WSRP portlet plugin.

      STEPS TO REPRODUCE
      1. Change portal context to $TOMCAT_HOME/webapps/portal rather than $TOMCAT_HOME/webapps/ROOT (move all files from ROOT to portal, edit $TOMCAT_HOME/conf/localhost/ROOT.xml, and add the portal.ctx=/portal property to portal-ext.properties.)
      2. Start up Tomcat
      3. Open up a browser and navigate to http://localhost:8080/portal/
      4. Deploy WSRP EE for 6.1.20 from the Liferay Marketplace
      5. Go into the Control Panel > Portal - WSRP > Click on the Producers tab > Add Producer > Create a Producer with the Hello World portlet.
      6. Copy the URL for the Producer that has been created
      7. Click on the Consumers tab > Add Consumer > Add a name and paste the URL that was copied in step 6.
      8. For the newly created Consumer, click Actions > Manage Portlet > Add Portlet > Give the portlet a name and Select Hello World as the Remote Portlet
      9. Add WSRP portlet to a page
      10. The following exception will be thrown:

      java.rmi.RemoteException: Unable to find <liferay-wsrp-portlet>
      	at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
      	at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
      	at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
      	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
      	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)
      	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2938)
      	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
      	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
      	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
      	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
      	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
      	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
      	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
      	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
      	at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
      	at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
      	at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
      	at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
      	at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
      	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 43 weeks, 3 days ago

                  Packages

                  Version Package
                  6.1.2 CE GA3
                  6.1.30 EE GA3
                  6.2.0 CE M4