portals-wsrp4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elliot Metsger <emets...@jhu.edu>
Subject Re: how to configure wsrp4j persistence to a directory outside WAR
Date Thu, 09 Jun 2005 12:58:22 GMT
Right now you'll need to edit source code... I'm at a conference right 
now but IIRC the paths are embedded.

Diego Louzán wrote:
> Hash: SHA1
> We are looking forward at redesigning the persistence code for allowing
> pluggable persistence methods. I personally haven't studied the Castor
> persistence provided by WSRP4J, maybe one of the original contributors can
> solve your doubts. If I have some spare time these days I'll take a look, but I
> can't promise anything.
> Regards.
> Diego.
> Pete wrote:
>>I'd like to configure WSRP4J (and Pluto) to use their
>>persistence directories outside of the WAR/EAR -
>>specifically a directory relative the working
>>directory of the appserver (Websphere).
>>For Pluto I have made these configuration changes:
>>Add these lines:
>>aggregation.base.dir = aggregation/
>>mapping.portletxml.configfile =
>>mapping.webxml.configfile =
>>For WSRP specifically there did not appear to be
>>support for changing the location of the persistence
>>directory out of the WAR so I tried to change the code
>>as follows:
>>ServerPersistentFactory interface should have a
>>"setProperties" method.
>>Then PersistentAccess.getServerPersistentFactory()
>>should pass WSRPServices.properties (pFactories) on to
>>the instantiated ServerPersistentFactory.
>>Then ServerPersistentFactoryImpl.setProperties() can
>>setPath() on the ServerPersistentFactoryImpl as
>>specified in the WSRPServices.properties file (for
>>example wsrp.persistence.path = file:/c:/wsrp)
>>I really don't know if I'm doing the right thing.  Can
>>anyone help?  Do I even need to change the code for
>>WSRP4J to do this?  My attempt at a code change
>>appears to have failed, and I'm trying to debug, but
>>not getting very far.
>>Discover Yahoo! 
>>Have fun online with music videos, cool games, IM and more. Check it out! 
> Version: GnuPG v1.2.6 (GNU/Linux)
> iD8DBQFCqBtQgyzZYflJelERAmP3AJ4wCnBrVkLuGw6+erdu37GmLenA7ACfQ7CZ
> E1FvLfB+zlQVQHVvexdilic=
> =Bftb

View raw message