WebSphere Portal Server - PortletService problem in WPS v 5

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > May 2004 > PortletService problem in WPS v 5





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 PortletService problem in WPS v 5

2004-05-24, 7:30 am

I have writen a portlet service but I can't figure out how to deploy it. I have addedd the folowing lines to the shared\app\config\services\PortletServic
eRegistryService.properties file:

# Setup for Autonomy UA Server connection object.
com.myco.autonomy.dataaccesss.UAConnection = com.myco.autonomy.dataaccesss.implementation.UAConnectionImpl
com.myco.autonomy.dataaccesss.implementation.UAConnectionImpl.factory = org.apache.jetspeed.portletcontainer.service.PortletServiceCacheFactory

#Setting the settings and for the server.
com.myco.autonomy.dataaccesss.implementation.UAConnectionImpl.UAHostName = 192.168.1.171
com.myco.autonomy.dataaccesss.implementation.UAConnectionImpl.UAPortNumber = 10000
com.myco.autonomy.dataaccesss.implementation.UAConnectionImpl.UATimeout = 5000

I have also tried the other two default factories that comes with wps. I have placed the jar file in the shared\app\ directory. All according to the info center documentation but I still get the PortletServiceNotFoundException. I have tried to do this bot
h in a server and in the test envioment that comes with wasd.

Any help is greatly appriciated.
Mattias Abrahamsson

2004-05-24, 4:31 pm

Hello,

You have to add the class-files (probably one or more jar(s)) to a shared
library as well. The best thing is probably to create a new shared library
and not edit the default WPSlib entry. Add the shared library to the
application server running the portal application (WebSphere_Portal). The
same applies in one way or the other to your development environment.

HTH,
Matt

<tomas.malmsten@bdo.co.uk> wrote in message
news:344703363.1085398938873.JavaMail.wasadmin@swg3ws006...
> I have writen a portlet service but I can't figure out how to deploy it. I

have addedd the folowing lines to the
shared\app\config\services\PortletServic
eRegistryService.properties file:
>
> # Setup for Autonomy UA Server connection object.
> com.myco.autonomy.dataaccesss.UAConnection =

com.myco.autonomy.dataaccesss.implementation.UAConnectionImpl
> com.myco.autonomy.dataaccesss.implementation.UAConnectionImpl.factory =

org.apache.jetspeed.portletcontainer.service. PortletServiceCacheFactory
>
> #Setting the settings and for the server.
> com.myco.autonomy.dataaccesss.implementation.UAConnectionImpl.UAHostName =

192.168.1.171
> com.myco.autonomy.dataaccesss.implementation.UAConnectionImpl.UAPortNumber

= 10000
> com.myco.autonomy.dataaccesss.implementation.UAConnectionImpl.UATimeout =

5000
>
> I have also tried the other two default factories that comes with wps. I

have placed the jar file in the shared\app\ directory. All according to the
info center documentation but I still get the
PortletServiceNotFoundException. I have tried to do this both in a server
and in the test envioment that comes with wasd.
>
> Any help is greatly appriciated.



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com