WebSphere Portal Server - XMLAccess and JSR 168 portlets

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > March 2006 > XMLAccess and JSR 168 portlets





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author XMLAccess and JSR 168 portlets

2006-03-08, 5:58 pm

Hi ,

I am new to websphere portal. I am trying to deploy a jsr 168 portlet using xml access. My portal server version is 5.1.

I found that the command to execute is as follows:

xmlaccess -in DeploySampleJSR.xml -user -pwd -url http://:/wps/config

My problem is I dont know what the content DeploySampleJSR.xml should be. Could someone please sennd me a sample xml for deploying jsr168 portlets.

thanks,
sandhya

krishnam1

2006-03-08, 8:50 pm

<p>Running xmlaccess often gives cryptic errors. However, we are using xmlaccess to deploy and assign access to the portlets successfully. There are some sample xmlaccess input files under &lt;wp-root&gt;\doc\xml-access. </p><p>***************************
****************************************
***********<br />DESCRIPTION: 1)uid in &lt;web-ap/&gt; tag should match uid attribute of portlet-app in portlet.xml<br />2)uid in &lt;portlet-app/&gt; tag should match uid attribute of concrete-portlet-app in portle
t.xml<br />3)name in &lt;portlet/&gt; tag must match content of portlet-name subtag of concrete-portlet in portlet.xml ****************************************
**************************************<br /> <br /> &lt;portal action="locate&
quot;&gt;<br /> &lt;web-app action="update" active="true" uid="com.rins.ordering.OrderingPortlet.c07e224550"&gt;<br /> <br /> &lt;url&gt;file:///$server_root$/installableApps/OrderingSystem.war&lt;/url&gt;</p><p> &lt;
portlet-app action="update" active="true" uid="com.rins.ordering.OrderingPortlet.c07e224550.1"&gt;<br /> &lt;portlet action="update" active="true" name="Ordering" uniquename="PX_Ordering&
quot;&gt;<br /> &lt;/portlet&gt;<br /> &lt;/portlet-app&gt; <br /> <br /> &lt;/portlet-app&gt; <br /> <br /> &lt;/web-app&gt;<br /> &lt;/portal&gt;</p><p>Make sure your WAR file is copied into installableApps.<br />Note: We are using this to
deploy IBM portlets and I would think it should be same for JSR168 portlet app also. </p>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com