| Here is the install instructions
trying the milestone 1 preview drop of the OpenPortal WSRP Project. The
milestone 1 preview delivers a installable WSRP components
allows users to try the planned
features of milestone 1. As the project stabilizes we plan to tag
codebase as milestone 1 build by end of December.
If you would like to keep track of future announcements and
to the Enterprise WSRP OSP Project, please subscribe to the email@example.com
If you have questions on how to use the WSRP Project and
we urge you to join the firstname.lastname@example.org
Please report any issues that you encounter while trying
1 preview to email@example.com.
The screencast for download, build, install
and test steps are available at -
Step 1: Install & verify Portlet Container and driver
Download Portlet Container milestone 1
preview binary from here
to install the Portal Container and the driver. Verify the installation
deploying a portlet and by viewing the content of the deployed
You can download the sources here
and build it yourself. Alternatively, you can check-out the portlet
container milestone 1 preview
tag using the following command
Note: WSRP milestone 1 preview works
only with Portlet Container milestone 1 preview only.
portlet-container --username guest
Step 2: Obtain the WSRP source code / binary
You can download the binary of the WSRP milestone 1
After downloading the binary, unzip the file and a wsrp directory will
be created, follow rest of the steps to continue with installation.
Alternatively you can download the WSRP sources here
and build it yourself or check-out the WSRP milestone 1 preview tag
the following command
wsrp --username guest
Follow rest of the instructions here
compile the source code. This would have created
Step 3: Deploy WSRP Producer and Consumer
- cd <wsrp-code-base>/dist/wsrp or if you have
downloaded the binary, cd wsrp
- edit the config/deployenv.conf and provide the necessary
- ant -f setup.xml deploy-on-glassfish.
- restart glassfish.
- Check the portlet container driver by accessing
You will see a WSRP tab (with no portlets in it).
Step 4: Deploy WSRP Admin Portlets
There are 2 admin portlets provided by WSRP
- WSRP Producer Admin portlet (wsrp-producer-portlet.war)
- WSRP Consumer Admin portlet (wsrp-consumer-portlet.war)
These war's are located under
- Use the portlet container driver admin tab to deploy these
Note : These portlet's would give "Content Error" when the
sample Mbean server is not running.
This completes the install instruction for installing WSRP.
the following steps for using the WSRP components.
Step 1: Starting the WSRP MBean server
The WSRP provides a sample MBean that
WSRP MBeans. The WSRP admin portlets contact this MBean server and
the necessary administrative functionality. Here are the steps to start
sample MBean server
- cd <wsrp-code-base>/dist/wsrp/admin
- Start the rmiregistry by using rmiregistry 1099 &
- ant -f run.xml - This starts the MBean server .
Step 2: Creating WSRP Producer
The WSRP Producer Admin portlet provides
necessary UI for creating and managing WSRP Producers. There exists a
producer called "SampleProducer" which is disabled.
- To enable this producer. Edit the producer by clicking on
- Publish some portlets i.e move the portlets from
Portlets" list to "Published Portlets" list.
- Enable the producer.
- Click save to save the changes.
Step 3 : Creating WSRP Consumer
You can create a WSRP Consumer by using the
Consumer Admin Portlet. To create a consumer you'd need to have a
URL. You can choose to use the "SampleProducer" which we created in the
step. To create a consumer
- Click "New" on the WSRP Consumer Portlet
- Provide the WSRP Producer URL and click "Get info"
- If the producer requires registration, Provide the details
- Click finish to complete the Consumer creation
Step 4: Creating Remote/WSRP Portlets.
The WSRP Consumer admin portlets provides a
link in each of the available Consumers
- Click the "Create" to create a channel
- Choose a name for the portlet
- Choose the remote portlet handle which you want to consumer
- Click finish.
Step 5: Viewing Remote/WSRP Portlets
Click the WSRP tab on the portlet container
to view the remote portlet that we just created.