Note that there are some explanatory texts on larger screens.

plurals
  1. POmigration of websphere portlet factory to liferay portal
    text
    copied!<p>Hey Hi,<br/></p> <p>I am new to liferay. I am trying to migrate portlets developed in websphere 6.1(JSR 286) to liferay 6.1. For time being I have developed a portal(PA_test.war) displaying some text, which I deployed on liferay.<br/></p> <p>.war file was chosen to-"Upload a WAR file to install a layout template, portlet, or theme."<br/></p> <p>After processing following messages were shown- "Your request completed successfully." "The plugin was uploaded successfully and is now being installed."<br/></p> <p>When I tried looking for portal in plugins installed, I could not find the portal. I saw the logs where it says :<br/></p> <p><strong>INFO: Undeploying context [/PA_test] Jul 30, 2012 7:54:05 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory E:\life\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\PA_test</strong><br/></p> <p>I want to know :<br/></p> <p>1) How the portlet is adhering to JSR specifications?<br/></p> <p>2) What are the major dependency (technology wise) without which the porlet cannot be migrated? <br/></p> <p>or whether liferay offers an alternative or a bridge to do so<br/></p> <p>or what's the equialent for websphere 6.1(JSR 286) in liferay? <br/></p> <p>Please help!! </p> <hr> <p><strong>portlet.xml</strong></p> <pre><code>&lt;?xml version="1.0"?&gt; &lt;!--AUTOMATICALLY GENERATED DEPLOYMENT DESCRIPTOR - DO NOT EDIT--&gt; &lt;portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" id="com.bowstreet.portlet.WebAppRunner2_test"&gt; &lt;portlet&gt; &lt;description xml:lang="en"&gt;Portlet to test migration from wpf to xmlpf&lt;/description&gt; &lt;portlet-name&gt;Test Portlet&lt;/portlet-name&gt; &lt;display-name xml:lang="en"&gt;Test Portlet&lt;/display-name&gt; &lt;portlet-class&gt;com.bowstreet.portlet.adapter.WebAppRunnerPortlet286&lt;/portlet-class&gt; &lt;init-param&gt; &lt;name&gt;model&lt;/name&gt; &lt;value&gt;test&lt;/value&gt; &lt;/init-param&gt; &lt;expiration-cache&gt;0&lt;/expiration-cache&gt; &lt;supports&gt; &lt;mime-type&gt;text/html&lt;/mime-type&gt; &lt;portlet-mode&gt;view&lt;/portlet-mode&gt; &lt;/supports&gt; &lt;supported-locale&gt;en&lt;/supported-locale&gt; &lt;resource-bundle&gt;nls.test&lt;/resource-bundle&gt; &lt;portlet-info&gt; &lt;title&gt;Test Portlet&lt;/title&gt; &lt;short-title&gt;Test Portlet&lt;/short-title&gt; &lt;keywords&gt;Test Portlet&lt;/keywords&gt; &lt;/portlet-info&gt; &lt;portlet-preferences&gt;&lt;/portlet-preferences&gt; &lt;/portlet&gt; &lt;custom-portlet-mode&gt; &lt;portlet-mode&gt;config&lt;/portlet-mode&gt; &lt;/custom-portlet-mode&gt; &lt;custom-portlet-mode&gt; &lt;portlet-mode&gt;edit_defaults&lt;/portlet-mode&gt; &lt;/custom-portlet-mode&gt; &lt;user-attribute&gt; &lt;description xml:lang="en"&gt;User Given Name&lt;/description&gt; &lt;name&gt;user.name.given&lt;/name&gt; &lt;/user-attribute&gt; &lt;user-attribute&gt; &lt;description xml:lang="en"&gt;User Last Name&lt;/description&gt; &lt;name&gt;user.name.family&lt;/name&gt; &lt;/user-attribute&gt; &lt;/portlet-app&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload