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

Nguyen, Trieu Viet escribió:
> 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."
> 
> 
> 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.

1. I see you are working on Windows, I haven't tested wsrp4j on Windows
for a long time, maybe it's a problem with the file naming, you know,
the different file separators and all of that. Unfortunately, I don't
have a windows to test right now, so maybe you can investigate a little
this issue.
Another strange thing is that your error is "Cann't find
C:\pluto-1.0.1-rc3\webapps\wsrp4j-proxyportlet\WEB-INF\ProducerMapping.xml",
and it should be located under
".../WEB-INF/persistence/ProducerMapping.xml".

2. I'm not sure what component you are using, because on the email it
says Consumer, but then you talk about the
wsrp4j-producer\WEB-INF\data\portletentityregistry.xml file on Producer.
If you're talking about Producer, no, just replacing the Axis jar for an
older version won't work, that's because the new version of Axis creates
a new .wsdd file that needs to be 'tuned' for wsrp4j.

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

iD8DBQFFbWq2gyzZYflJelERAtZMAKCT6ybXMhRXNy5ILeBY7NUmrq6yhACgl0O+
O3zzUdLSP+C15mv7H7uq0UE=
=pGPQ
-----END PGP SIGNATURE-----

Reply via email to