Wednesday Apr 22, 2009

Monitoring Liferay/Sun Web Space server

The Liferay core engineering team and the Sun engineering team are collaborating to implement more monitoring features and capabilities into Liferay Portal . We would like to invite the community to provide feedback on the new features and let us know your thoughts.

The following wiki articles describe the features:
You can see the announcement with respect to this here on the Liferay community.

Monday Feb 16, 2009

OpenPortal WSRP as a Liferay Plugin

There has been quite a few queries on Liferay OpenPortal WSRP integration, Here are some notes in addition to the below blog entries.

  1. OpenPortal WSRP is now moved to liferay plugins under wsrp-portlet directory - Yes this is the case even in Liferay 5.2 and in all future versions.
  2. The WSRP Administrative interface ( Producer and Consumer admin  portlets ) will appear in the "Control Panel" if the WSRP Portlet plugin is deployed successfully.
  3. The OpenPortal WSRP has dependency on the Metro stack, Hence deploying it on application servers other than glassfish or tomcat may conflict with the applications servers webservices stack. The above plugin is tested and recommended to be deployed over glassfish or tomcat liferay distribution.
  4. Make sure that you set portlet.container.impl=sun in as mentioned in the above blog.

Monday Dec 29, 2008

Setting up a WSRP 2.0 Producer in Liferay or Websynergy

Here is a note on how to setup a WSRP Producer on Liferay or Websynergy instance. The OpenPortal WSRP Producer version 2.0 is integrated into the liferay trunk, the next major release of Liferay i.e version 5.2 will have both the OpenPortal WSRP Producer and Consumer integrated into it.

If you are looking for some notes on how to use the OpenPortal WSRP Consumer in liferay. Please refer to this earlier blog "Liferay consumes OpenPortal WSRP".

A. Setting the portal properties :

If you are using a liferay build/binary, before we start make sure that your has portlet container set to Sun Container.

Here is the snippet.


Note : The above configuration is not required on the websynergy binary/setup, Websynergy bundle by default sets the container to Sun.

Make sure you restart the server after this configuration.

B. Deploy a Portlet:

Now deploy any portlet, say a simple sample portlet like the the "Bookmark Portlet" binary readily available for download from the Portlet repository project.

Make sure this portlet works fine by adding to the user page before we proceed.

Note : You can deploy the above portlet either using the "Plugin Installer" or by copying to the hot deploy directory.

C. WSRP Producer administrative portlet:

The administrative functionality for the WSRP Producer are provided by a portlet called the "WSRP Producer", The same portlet is available or integrated into the "Control Panel" of the Liferay Portal.

Login as administrator and choose to use this portlet or choose the control panel --> WSRP Producer option to get the administrative GUI.

D. Creating a WSRP Producer :

Follow instructions below to create a WSRP Producer using the above GUI.

  1. Click on "Add Producer" button.
  2. Enter a name for the Producer.
  3. Choose your options
    1. Say 2.0 (To create a 2.0 WSRP Producer).
    2. Registration Required and Inband supported.
    3. More details on these options here.
  4. The newly created producer is disabled by default.
  5. To enable this producer, edit the producer by clicking on newly created producer.
  6. The "Bookmark Portlet" which we deployed should be available in "Unpublished" portlets list.
  7. Move this portlet from "Unpublished" to "Published" list.
  8. Save the configuration, by clicking on "save" button.
  9. The producer would still be disabled.
  10. Edit the producer again and change the status to "Enabled"
  11. Save the configuration.

The WSDL URL for this producer is automatically generated, You can get the URL in the edit screen of the producer, share this WSDL URL with the consumers who wish to use this portlet on their portal.

You can create any number of producer instances on the the same portal and export different list of portlets for each producer. As you can see setting up a WSRP 2.0 producer in Liferay is just a matter of few clicks without any need for programming effort.

Stay tuned on the OpenPortal WSRP Project mailing list for more information w.r.t to this integration.

Friday Aug 08, 2008

Liferay consumes OpenPortal WSRP

The OpenPortal WSRP Project consumer is now integrated into Liferay Portal. The next stable release of Liferay is expected to have both the OpenPortal WSRP producer and consumer integrated in it.

This is the first milestone integration called phase 1, where an usable OpenPortal WSRP consumer integrated into Liferay Portal. Here is the list of features that are supported in this phase 1 integration.

  1. Ability to create multiple WSRP consumers.
  2. Ability to create WSRP portlets and view them.
  3. Integrated with Liferay channel URL rewriter
  4. Integrated WSRP resource proxy
  5. WSRP eventing
  6. WSRP shared render parameters
  7. WSRP leasing
  8. WSRP resource serving
  9. WSRP caching.

Here are some screen shots of this integration

A. Finding WSRP Consumer Admin Portlet:

    The WSRP consumer admin portlet is integrated into the Liferay as an admin portlet that enables management of multiple WSRP Consumers.

After successful login click -->Add Application --> choose Admin category ---> WSRP Consumer Admin Portlet

B. Rendered WSRP Consumer Admin Portlet:

The following screen shot shows the WSRP consumer admin portlet rendered on the Liferay portal desktop.

C. Finding WSRP channels:

The WSRP channels created using the WSRP Consumer Admin Portlet appear under the WSRP category in the "Add Application" drop down.

D. Rendered WSRP Channel:

The following screen shot shows a remote portlet rendered on the Liferay Portal desktop.

Stay tuned on the OpenPortal WSRP Project mailing list for more information w.r.t to this integration.  




« July 2016