The only thing under the router-entries is resource-instance-1.xml file. The content of the resource-instance-1.xml is :
<?xml version="1.0" encoding="UTF-8"?> <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing"/> So, I don't see any initial subscription manager and the notification producer endpoints defined there. Gul -----Original Message----- From: Balan Subramanian [mailto:[EMAIL PROTECTED] Sent: Friday, July 06, 2007 3:31 PM To: [email protected] Cc: [email protected] Subject: Re: DestinationUnreachable Please check the router-entries folder to see if any initial instances of the subscription manager and the notification producer endpoint have been defined. Balan Subramanian Autonomic Computing, IBM, RTP, NC 919.543.0197 | [EMAIL PROTECTED] "Gul Onural" <[EMAIL PROTECTED]> 07/06/2007 03:05 PM Please respond to [email protected] To <[email protected]> cc Subject DestinationUnreachable Hi, I am going through the producer/consumer example at http://www.ibm.com/developerworks/autonomic/library/ac-musewsn2.html <http://www.ibm.com/developerworks/autonomic/library/ac-musewsn2.html> . I modified wsn-consumer and wsn-producer as instructed in the article and I have created topics declaratively in the WsResources.rmd. And also modified the WsnTestClient to publish messages with the new topics. But when I run the WsnTest client I am receiving error : ID = 'DestinationUnreachable'] There is no resource available at the given EPR: I am fairly new to Muse. Can you help me understand what is wrong ? What is the best way to debug this kind of problems ? Where should I start ? Gul [CLIENT TRACE] SOAP envelope contents (outgoing): <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope <http://www.w3.org/2003/05/soap-envelope> "> <soap:Header> <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://47.128.22.193:80 80/wsn-producer/services/WsRe <http://www.w3.org/2005/08/addressing">http://47.128.22.193:8080/wsn-pro ducer/services/WsRe> source</wsa:To> <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open. org/wsn/bw-2/Notification <http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsn/bw -2/Notification> Producer/SubscribeRequest</wsa:Action> <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:5b4e5e64-c90f-9d6d -2a4e-34441d9dfd54</ws <http://www.w3.org/2005/08/addressing">uuid:5b4e5e64-c90f-9d6d-2a4e-3444 1d9dfd54</ws> a:MessageID> <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing <http://www.w3.org/2005/08/addressing> "> <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Ad dress> </wsa:From> </soap:Header> <soap:Body> <wsnt:Subscribe xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2 <http://docs.oasis-open.org/wsn/b-2> "> <wsnt:ConsumerReference> <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://47.128.22.193:80 80/wsn-consumer/ <http://www.w3.org/2005/08/addressing">http://47.128.22.193:8080/wsn-con sumer/> services/consumer</wsa:Address> </wsnt:ConsumerReference> <wsnt:Filter> <wsnt:TopicExpression Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Concrete <http://docs.oasis-open.org/wsn/t-1/TopicExpression/Concrete> " xmlns:myns="http://my/topic <http://my/topic> /namespace">myns:GulMyFirstTopic</wsnt:TopicExpression> </wsnt:Filter> </wsnt:Subscribe> </soap:Body> </soap:Envelope> [CLIENT TRACE] SOAP envelope contents (incoming): <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope <http://www.w3.org/2003/05/soap-envelope> "> <soap:Header> <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/ 08/addressing/role/anonymous <http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/address ing/role/anonymous> < /wsa:To> <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/ 08/addressing/fault</wsa <http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/address ing/fault</wsa> : Action> <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:95dcca31-d9c6-1b73 -1ebd-4dcf92093f60</ws <http://www.w3.org/2005/08/addressing">uuid:95dcca31-d9c6-1b73-1ebd-4dcf 92093f60</ws> a:MessageID> <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:5b4e5e64-c9 <http://www.w3.org/2005/08/addressing">uuid:5b4e5e64-c9> 0f-9d6d-2a4e-34441d9dfd54</wsa:RelatesTo> <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing <http://www.w3.org/2005/08/addressing> "> <wsa:Address>http://47.128.22.193:8080/wsn-producer/services/WsResource< /wsa:Address> </wsa:From> </soap:Header> <soap:Body> <soap:Fault> <soap:Code> <soap:Value>soap:Sender</soap:Value> <soap:Subcode xmlns:wsa="http://www.w3.org/2005/08/addressing <http://www.w3.org/2005/08/addressing> "> <soap:Value>wsa:DestinationUnreachable</soap:Value> </soap:Subcode> </soap:Code> <soap:Reason> <soap:Text>[ID = 'DestinationUnreachable'] There is no resource available at the given EPR: <wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing"> <http://www.w3.org/2005/08/addressing">> ; <wsa:Address>http://47.128.22.193:8080/wsn-producer/services/WsRes ource</wsa:Address> </wsa:EndpointReference> The existing EPRs hosted by this endpoint are: </soap:Text> </soap:Reason> </soap:Fault> </soap:Body> </soap:Envelope> org.apache.muse.ws.addressing.soap.SoapFault: [ID = 'DestinationUnreachable'] There is no resource available at the g iven EPR: <wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing <http://www.w3.org/2005/08/addressing> "> <wsa:Address>http://47.128.22.193:8080/wsn-producer/services/WsResource< /wsa:Address> </wsa:EndpointReference> The existing EPRs hosted by this endpoint are: at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClien t.java:298) at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClien t.java:254) at org.apache.muse.ws.notification.remote.NotificationProducerClient.subscr ibe(NotificationProducerClient.jav a:97) at org.apache.muse.test.wsn.WsnTestClient.main(Unknown Source) D:\apache-tomcat-5.5.15\webapps\wsn-consumer\WEB-INF\classes> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
