-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ali Sakebi escribió:
> 1.
> There is no "ProducerPersistentFactoryImpl" as referenced in
> "wsrp4j-config.properties":
>
> wsrp4j.producer.persistent.factory=\
> org.apache.wsrp4j.persistence.xml.driver.ProducerPersistentFactoryImpl
>
> but it's accessed by "PersistentAccess":
>
> private static String PRODUCER_PERSISTENT_FACTORY =
> "wsrp4j.producer.persistent.factory";
> ...
> public static ProducerPersistentFactory getProducerPersistentFactory()
> throws WSRPException {
>
> if (producerPersistentFactory == null) {
> producerPersistentFactory =
> (ProducerPersistentFactory)
> getFactory(PRODUCER_PERSISTENT_FACTORY);
> }
>
> and in ConsumerRegistryImpl
>
> private ConsumerRegistryImpl(Provider provider)
> ...
> ProducerPersistentFactory persistentFactory =
> PersistentAccess.getProducerPersistentFactory();
> persistentHandler = persistentFactory.getPersistentHandler();
> persistentDataObject = persistentFactory.getRegistrationList();
>
> restore();
> A workaround is to commented restore() !!!
>
> 2.
> In "WSFactoryFinder"
>
> private final static String FACTORY_CLASS_NAME_PARAMETER =
> "wsrp4j.ws.factory";
> ...
> String factoryClassName =
> ConfigurationParametersManager.getParameter(
> FACTORY_CLASS_NAME_PARAMETER);
> So I add
> wsrp4j.ws.factory=org.apache.wsrp4j.commons.ws.impl.WSAxisFactory
> to wsrp4j-config.properties
>
> 3.
> There is missing file "WSRPServices.properties" file referenced few
> times and seems that is the old name of "wsrp4j-config.properties".
> I have made a copy of wsrp4j-config.properties with the name
> "WSRPServices.properties" and it solves the problem.
>
>
> 4.
> I'm not sure about this one but I think if producer set
> "requiresInitCookie" to "none" consumer doesn't need to provide
> cookies but
> WSRPEngine > getMarkup > this.checkCookie();
> requires the consumer to provide cookie without considering
> "requiresInitCookie" value.
Thanks for the info, I'm starting to fix it right now. I hope it will be
functional again in a few days.
Regards.
Diego.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFfTQsgyzZYflJelERAmFvAJ9LBiXSLkMv6MgUwHbZpBdnRv8YIgCgkHoG
G1yLfJbwb1p3M4xNmWmdHVI=
=Tiwz
-----END PGP SIGNATURE-----