Well, I got the solution to my problem Kevin.. 

I was using the desktop style look and feel and it doesn't seem to work
properly..

maybe I should report this as bug

thanks
Alessandro





Kevin Irmscher wrote:
> 
> Hi Alessandro,
> 
> I achieved to deploy the wsrp4j proxy portlet to Jetspeed 2.1. There
> were several things I had to take care of:
> 
> * copy        serializer.jar, xalan.jar, xercesImpl.jar, xml-apis.jar
>   to [JETSPEEDHOME]\common\endorsed
> 
> * change WSRP4J build.properties
>    # consumer-proxyportlet tomcat dir
>    maven.tomcat.proxyportlet.home=[JETSPEEDHOME]
> 
> * copy portlet.tld to
> [JETSPEEDHOME]\webapps\wsrp4j-proxyportlet\WEB-INF\tld
> 
> * add entry to
> [JETSPEEDHOME]\webapps\jetspeed\WEB-INF\pages\default-page.psml
>       
>   <fragment id="jsmin-20" type="layout"
> name="jetspeed-layouts::VelocityTwoColumns">
>       <fragment id="jsmin-21" type="portlet"
> name="wsrp4j-proxyportlet::ProducerConfig">
>                       <property layout="TwoColumns" name="row" value="0" />
>                       <property layout="TwoColumns" name="column" value="0" />
>       </fragment>
>       <fragment id="jsmin-22" type="portlet"
> name="wsrp4j-proxyportlet::PortletConfig">
>                       <property layout="TwoColumns" name="row" value="0" />
>                       <property layout="TwoColumns" name="column" value="1" />
>       </fragment>
>   </fragment>
> 
> * change entry in
> [JETSPEEDHOME]\webapps\wsrp4j-proxyportlet\WEB-INF\classes\wsrp4j-config.properties
> 
> # Persistence dir for Castor-based persistence. The files will be under
> # directory ${wsrp4j.proxyportlet.persistence.xml.dir}/persistence
> wsrp4j.proxyportlet.persistence.xml.dir=[JETSPEEDHOME]/webapps/wsrp4j-proxyportlet/WEB-INF/
> 
> * uncomment entry in
> [JETSPEEDHOME]\webapps\wsrp4j-proxyportlet\WEB-INF\classes\wsrp4j-config.properties
> # Jetspeed composer service
> org.apache.wsrp4j.consumer.proxyportlet.templatecomposer=\
> org.apache.wsrp4j.consumer.proxyportlet.template.jetspeed.JetspeedPortalTemplateComposerService
> 
> * change entry in
> [JETSPEEDHOME]\webapps\wsrp4j-proxyportlet\WEB-INF\classes\log4j.properties
> log4j.appender.A1.File=[JETSPEEDHOME]/logs/wsrp4j-consumer.log
> 
> * copy
> [JETSPEEDHOME]\webapps\wsrp4j-proxyportlet\WEB-INF\persistence\ProducerMapping.xml
> to
> [JETSPEEDHOME]\webapps\wsrp4j-proxyportlet\ProducerMapping.xml
> 
> * if you previously tried to add a producer on the Jetspeed page, you
> may have to delete these entries from
> [JETSPEEDHOME]\webapps\wsrp4j-proxyportlet\WEB-INF\persistence\producers
> (the entries with the numbers)
> 
> * login to Jetspeed, add producer and select portlet
> 
> * add selected portlet to
> [JETSPEEDHOME]\webapps\jetspeed\WEB-INF\pages\default-page.psml
> e.g.
> <fragment id="jsmin-40" type="layout"
> name="jetspeed-layouts::VelocityOneColumn">
>       <fragment id="jsmin-42" type="portlet"
> name="wsrp4j-proxyportlet::HelloWorld">
>                       <property layout="TwoColumns" name="row" value="0" />
>                       <property layout="TwoColumns" name="column" value="0" />
>       </fragment>                                     
> </fragment>
> 
> *** DO NOT take jsmin-?? that was previously used.
> *** HelloWorld must be replaced by the ID (value in ID column of
> Deployed Portlets table)
> 
> I hope that helps.
> 
> Regards,
> Kevin
> 
> On 4/13/07, Alessandro Spinuso <[EMAIL PROTECTED]> wrote:
>>
>> Hello
>>
>> I am trying to use wsrp4j-proxyportlet on jetspeed 2.1. It worked like a
>> sharp on jetspeed 2.
>> Now I had to do some work around, like adding the portlet.tld into the
>> proxyportlet web-inf/tld folder.
>>
>> But, I still can`t see the ProducerConfig and PortletConfig portlets
>> working
>> fine..
>>
>> No way to modify producers settings and adding new remote portlets. The
>> interface just go to the first
>> page withour results.. and exception..
>>
>> Some idea?
>> Tahnks a lot.. I have to choose between Jetspeed 2 and 2.1 in few days
>> --
>> View this message in context:
>> http://www.nabble.com/WSRP4j-Proxy-portlet-on-jetspeed-2.1-tf3571945.html#a9980057
>> Sent from the Wsrp4J - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/WSRP4j-Proxy-portlet-on-jetspeed-2.1-tf3571945.html#a10001325
Sent from the Wsrp4J - User mailing list archive at Nabble.com.

Reply via email to