|
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
|
|
|
| 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 <wp-root>\doc\xml-access. </p><p>***************************
****************************************
***********<br />DESCRIPTION: 1)uid in <web-ap/> tag should match uid attribute of portlet-app in portlet.xml<br />2)uid in <portlet-app/> tag should match uid attribute of concrete-portlet-app in portle
t.xml<br />3)name in <portlet/> tag must match content of portlet-name subtag of concrete-portlet in portlet.xml ****************************************
**************************************<br /> <br /> <portal action="locate&
quot;><br /> <web-app action="update" active="true" uid="com.rins.ordering.OrderingPortlet.c07e224550"><br /> <br /> <url>file:///$server_root$/installableApps/OrderingSystem.war</url></p><p> <
portlet-app action="update" active="true" uid="com.rins.ordering.OrderingPortlet.c07e224550.1"><br /> <portlet action="update" active="true" name="Ordering" uniquename="PX_Ordering&
quot;><br /> </portlet><br /> </portlet-app> <br /> <br /> </portlet-app> <br /> <br /> </web-app><br /> </portal></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>
|
|
|
|
|