Thank you for your support. I downloaded the nightly build and ran 
update_install.bat. The wsn-producer/consumer example worked at once.

/Mattias


-----Original Message-----
From: Daniel Jemiolo [mailto:[EMAIL PROTECTED]
Sent: Mon 2/5/2007 3:18 PM
To: [email protected]
Subject: RE: wsn-producer/consumer example
 
Good catch on the port number - make sure the port you're using for Tomcat 
uses the one that's specified in the WsnTestClient.java client. The port 
is part of the wsa:Address in the producer and consumer EPRs, so if it's 
wrong, you need to change it (you can do this on the command line or by 
modifying the test client code).

I'd also advise against building the source and trying to add the latest 
bits incrementally - if you want to do a full build, follow the 
instructions on:

        http://ws.apache.org/muse/source-code.html

If you want the latest nightly build, you can get it here:

        http://ws.apache.org/muse/nightly/latest

Of course, except for the "step 2" that was added, neither of those 
samples has changed in quite a while. You should be able to get them 
working by taking the official release and performing step 2 - let me know 
if the port number issue was indeed the problem.

Dan



<[EMAIL PROTECTED]> wrote on 02/05/2007 08:48:58 AM:

> I'm not sure why you would want to make the whole thing that
> complicated.
> I seem to have no problem getting the producer/consumer example to work
> with these simple steps.
> 
> 1) Download the nightly build (with the latest bug fixes) from
> http://ws.apache.org/muse/nightly/latest/bin/
> 
> 2) Run update-install
> 
> 3) Double-check the WsResourcePort in the WsResource.wsdl (wsn-producer)
> and the WsnTestClient portType properties (producer_port &
> consumer_port) are pointing to the right serviceport (according to your
> Tomcat specs).
> 
> 4) Use the ant build file to build both project-wars
> 
> 5) Deploy and enjoy
> 
> But that said did you have a look in the wsn-consumer WsnTestClient.java
> and the wsn-producer WsREsource.wsdl to see if the portTypes match your
> Tomcat setup? To me it sounds like it's looking for a consumer that's
> not listening on the given port. I could be wrong.
> 
> I know the portTypes have been a cause of some of my problems in the
> past.
> 
> /Lenni
> 
> -----Original Message-----
> From: Rosberg Mattias [mailto:[EMAIL PROTECTED] 
> Sent: 05 February 2007 12:59
> To: [email protected]
> Subject: RE: wsn-producer/consumer example
> 
> If you follow the instructions for "Eclipse Development" described here 
> 
> http://ws.apache.org/muse/source-code.html
> 
> you get a separate project in Eclipse for every muse jar-file. You can
> then export each project as a jar-file and replace the ones found in
> your MUSE_HOME/modules subdirectories. This way you get the latest
> bugfixes and updates.
> 
> -----Original Message-----
> From: Callner, David A. [mailto:[EMAIL PROTECTED]
> Sent: Mon 2/5/2007 1:45 PM
> To: [email protected]
> Subject: RE: wsn-producer/consumer example
> 
> You seemed to get farther than I did with the example.  I been able to
> find on the internet that you need to add (#2) below, but your #3.
> Created new snapshot from SVN.  Could you explain? 
> 
> -----Original Message-----
> From: Rosberg Mattias [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 05, 2007 2:40 AM
> To: [email protected]
> Subject: wsn-producer/consumer example
> 
> I have tried to get the wsn-producer/consumer sample to work without
> success. I have done the following:
> 
> 1. Downloaded 2.1.0 distribution and ran update_install.
> 
> 2. Added row <resource-type use-router-persistence="true"> in
> wsn-consumer muse.xml
> 
> 3. Created new muse.xxx-snapshot-2.2.0.jars from SVN. Replaced old
> (2.1.0) jars in modules folders with snapshot 2.2.0 jars.
> 
> 4. Rebuild wars for wsn-consumer and wsn-producer.
> 
> 5. Deploy wars on Tomcat without any error messages. Run WsnTestClient 
> 
> I still get the following error:
> 
> INFO: [ID = 'LastPublishFailed'] The last notification published via
> wsnt:Notify
>  failed to reach its destination. The consumer may be unavailable. The
> original
> error was: null
> 2007-feb-05 08:17:37 org.apache.ws.muse.test.wsrf.MyCapabilityImpl$1
> run
> INFO: Waiting 10 seconds before sending message...
> 
> Any ideas?
> 
> /Mattias
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to