Re: Not able to register sample portlet in Pluto2

"Philippe d'Anfray" <[email protected]> Thu, 21 Oct 2010 14:44:37 +0200
Newsgroups gmane.comp.jakarta.pluto.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------040505040800060701090205
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

  Bonjour,

I think you should use

<servlet-class>org.apache.pluto.container.driver.PortletServlet</servlet-class>

for Pluto2

cordialement

Ph d'Anfray


Le 21/10/2010 13:25, ChintzNabble a écrit :
> I have already defined load-on-startup, still i am not able to see portlets.
> here it is entry of web.xml
>
> <servlet>
>    <servlet-name>books</servlet-name>
>    <servlet-class>org.apache.pluto.core.PortletServlet</servlet-class>
> -<init-param>
>    <param-name>portlet-name</param-name>
>    <param-value>books</param-value>
>    </init-param>
>    <load-on-startup>1</load-on-startup>
>    </servlet>
>
>
> Philippe d'Anfray wrote:
>>    Bonjour
>>
>> I had this problem recently with Pluto2 for a Portlet-XXX and just added
>>
>> <load-on-startup>1</load-on-startup>
>>
>> at the end of the
>>
>> <servlet>
>> ...
>> </servlet>
>>
>> block in the file $CATALINA_BASE/webapps/Portlet-XXX/WEB_INF/web.xml
>>
>> Cordialement
>>
>> Ph d'Anfray
>>
>>
>> Le 21/10/2010 12:29, ChintzNabble a écrit :
>>> I have successfully deployed sample portlet application (developed using
>>> Spring portlet) on Pluto container. Tomcat manager shows deployed to OK,
>>> but
>>> when i go to pluto admin page to add portlet, i could not find it.
>>>
>>> what is the reason behind it?
>>>
>>> can somebody help me to resolve this issue?
>>>
>>
>> begin:vcard
>> fn:Philippe d'Anfray
>> n:d'Anfray;Philippe
>> org:CEA-DSI
>> adr:Centre de Saclay;;CEA ;Gif-sur-Yvette;;91191;France
>> email;internet:[email protected]
>> tel;work:+33 (0) 1 69 08 96 09
>> tel;fax:+33 (0) 1 69 08 76 95
>> tel;cell:+33 (0) 6 86 38 49 86
>> url:http://www.cea.fr
>> version:2.1
>> end:vcard
>>
>>
>>


--------------040505040800060701090205
Content-Type: text/x-vcard; charset=utf-8;
 name="Philippe_d-Anfray.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="Philippe_d-Anfray.vcf"

YmVnaW46dmNhcmQNCmZuOlBoaWxpcHBlIGQnQW5mcmF5DQpuOmQnQW5mcmF5O1BoaWxpcHBl
DQpvcmc6Q0VBLURTSQ0KYWRyOkNlbnRyZSBkZSBTYWNsYXk7O0NFQSA7R2lmLXN1ci1ZdmV0
dGU7OzkxMTkxO0ZyYW5jZQ0KZW1haWw7aW50ZXJuZXQ6UGhpbGlwcGUuZC1BbmZyYXlAY2Vh
LmZyDQp0ZWw7d29yazorMzMgKDApIDEgNjkgMDggOTYgMDkNCnRlbDtmYXg6KzMzICgwKSAx
IDY5IDA4IDc2IDk1DQp0ZWw7Y2VsbDorMzMgKDApIDYgODYgMzggNDkgODYNCnVybDpodHRw
Oi8vd3d3LmNlYS5mcg0KdmVyc2lvbjoyLjENCmVuZDp2Y2FyZA0KDQo=
--------------040505040800060701090205--