XMLAccess and JSR 168 portlets
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > XMLAccess and JSR 168 portlets




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    XMLAccess and JSR 168 portlets  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-08-06 10: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. Co
uld someone please sennd me a sample xml for deploying jsr168 portlets.

thanks,
sandhya






[ Post a follow-up to this message ]



    Re: XMLAccess and JSR 168 portlets  
krishnam1


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-09-06 01:50 AM

<p>Running xmlaccess often gives cryptic errors. However, we are using xmlac
cess to deploy and assign access to the portlets successfully. There are som
e 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 con
crete-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.w
ar&lt;/url&gt;</p><p>  &lt;
portlet-app action="update" active="true" uid="com.
rins.ordering.OrderingPortlet.c07e224550.1"&gt;<br />   &lt;portlet act
ion="update" active="true" name="Ordering"  un
iquename="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;/po
rtal&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 a
pp also. </p>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:43 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register