Thanks for your quick response.

1.I have already changed property wsrp4j.proxyportlet.persistence.xml.dir on 
wsrp4j-config.properties to dir contains the producer : 
C:\pluto-1.0.1-rc3\webapps\wsrp4j-proxyportlet\WEB-INF\persistence but it 
always raise error that "Cann't find 
C:\pluto-1.0.1-rc3\webapps\wsrp4j-proxyportlet\WEB-INF\ProducerMapping.xml" 
even though in the ProducerRegistryImpl.java line 47 the output path is the 
same as config file:
        String path = 
ConfigurationParametersManager.getParameterXML_PERSISTENCE_DIR_PARAMETER);
      System.out.println("Path is : " + path);
I think castor 0.9.6 have proble. Is it right? But when I try the newest castor 
1.0.2 the same issue occurs.

2. It means that I just need to replace axis 1.4 with the older(ex. 1.3).
-----Original Message-----
From: Diego Louzán [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 28, 2006 6:37 PM
To: [email protected]
Subject: Re: Errror when deploy Consumer : "A producer with this ID does
not exist. Check configuration file."


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Diego Louzán escribió:
> 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.
> 

Forget all I said xD I thought you were using proxyportlet/ but I see
you are using producer/. The producer currently **doesn't work** due to
incompatibilities with the new Axis version used. You'll have to wait
until it's fixed (or fix it yourself and contribute the code).

Regards.
Diego.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFbB9fgyzZYflJelERAh/QAJ42scQiRF2WwW81fMFM3yjM9scCzwCghHhb
JaZVMoH9I0Pe7T3GEAerN8Q=
=5UhH
-----END PGP SIGNATURE-----


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.

Reply via email to