WSN consumer sample not work

View: New views
2 Messages — Rating Filter:   Alert me  

WSN consumer sample not work

by Mathew, Dipty M :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

 I was trying to test the WSN-consumer sample that comes with Apache
Muse 2.2.

I performed the following steps:

1. I ran the ant script against the build.xml present in the
samples/WSN-Consumer folder. This gives me a wsn-consumer.war file.

2. I deploy the war file in <tomcat 5.5>/webapps folder and start Tomcat
5.5.

3. I run ant run -Dmain=org.apache.muse.test.wsn.WsnTestClient in the
wsn-consumer sample folder.

4. It gives me a fatal error,  

    [java]
     [java] [Fatal Error] :1:1040: The element type "HR" must be
terminated by the matchi
ng end-tag "</HR>"..

 It also indicates that the build is successful and the following link
is returned.

 C:\Documents and Settings\Administrator\Application
Data\Microsoft\Internet Explorer\Quick Launch\Launch Internet Explorer
Browser.lnk

 I am confused as to whether the test run was successful or not. Also I
cannot access the url:
http:://localhost:8080/wsn-consumer/services/consumer.

 Thanks in advance,

 

Dipty

 

 


RE: WSN consumer sample not work

by Chris.Twiner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Dipty,

This appeared a few days ago for another user.  Please look at the tomcat logs and turn up the muse.xml logging.  Its really difficult to help otherwise.  Given that you can't access the URL directly there is a problem starting up the environment and/or the servlet.  Tomcats logs will tell you which.

cheers,
Chris

-----Original Message-----
From: Mathew, Dipty M [mailto:Dipty.Mathew@...]
Sent: Wednesday, July 09, 2008 8:46 PM
To: muse-user@...
Subject: WSN consumer sample not work

Hi,

 I was trying to test the WSN-consumer sample that comes with Apache Muse 2.2.

I performed the following steps:

1. I ran the ant script against the build.xml present in the samples/WSN-Consumer folder. This gives me a wsn-consumer.war file.

2. I deploy the war file in <tomcat 5.5>/webapps folder and start Tomcat 5.5.

3. I run ant run -Dmain=org.apache.muse.test.wsn.WsnTestClient in the wsn-consumer sample folder.

4. It gives me a fatal error,

    [java]
     [java] [Fatal Error] :1:1040: The element type "HR" must be terminated by the matchi ng end-tag "</HR>"..

 It also indicates that the build is successful and the following link is returned.

 C:\Documents and Settings\Administrator\Application
Data\Microsoft\Internet Explorer\Quick Launch\Launch Internet Explorer Browser.lnk

 I am confused as to whether the test run was successful or not. Also I cannot access the url:
http:://localhost:8080/wsn-consumer/services/consumer.

 Thanks in advance,



Dipty






---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@...
For additional commands, e-mail: muse-user-help@...