Subject: Re: Errror when deploy Consumer : "A producer with this ID does not exist. Check configuration file."
Date: Tuesday 28th November 2006 11:15:57 UTC (over 10 years ago)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've been making some changes to the repository that (still) are not documented. Your problem probably lies on the configuration of the property wsrp4j.proxyportlet.persistence.xml.dir on wsrp4j-config.properties. Check that the dir points to the directory where the producers/ dir is located (the WEB-INF dir on the portlet deploy location inside your container). This property was added because I'll soon be adding db persistence support for the persistent objects, so the producers location dir can be selected even using xml files mapping. Anyway all of this will be documented on the web when I'm finished. Regards. Diego. Nguyen, Trieu Viet escribió: > Hi everyone, > I deploy and test WSRP4J with the current version. When I try to deploy Consumer portlet I got this message : > "Exception Thrown > org.apache.wsrp4j.commons.exception.WSRPException > Message = A producer with this ID does not exist. Check configuration file. > " and in log file it is : > "2006-11-28 11:02:16,259 [http-8080-Processor25] ERROR org.apache.wsrp4j.consumer.proxyportlet.impl.ProxyPortlet: Error occured while retrieving markup > org.apache.wsrp4j.commons.exception.WSRPException: A producer with this ID does not exist. Check configuration file. > at org.apache.wsrp4j.commons.exception.WSRPXHelper.throwX(WSRPXHelper.java:143) > at org.apache.wsrp4j.consumer.proxyportlet.impl.ProxyPortlet.getProducer(ProxyPortlet.java:784)". > > The WSRP4JProducerRegistryConfigPortlet said 'No Producers Found ' even thought I defined it in > wsrp4j-producer\WEB-INF\data\portletentityregistry.xml. > > Thanks, > Trieu Viet > > > This email may contain material that is confidential, privileged and/or attorney work product for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -----BEGIN PGP SIGNATURE----- Version: GnuPG v220.127.116.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFbBptgyzZYflJelERAmfGAJ4rSBY4HDZTzveCmv2ppF5NJJUVnwCgjD25 cFAWxpqyetqEqlg39sgQdXY= =gfVI -----END PGP SIGNATURE-----