1 Reply Latest reply: Aug 30, 2006 2:24 PM by 207512 RSS

    Problem in HttpDispatcher , Please help ...

    529995
      HttpDispatcher

      Hi all,
      I installed edge server 10.1.3 and tested EdgeSimulator sample from tutorial.
      I used HttpDispatcher and Edge Simulator Driver. After I builded jsp application
      from tutorial(Connecting the Oracle Sensor Edge Server to a Simple Application via HTTP)
      and configurated by identify url parameter in HttpDispatcher and restart edge server .
      I found the following error :

      ------------
      Thu Aug 24 13:49:40 ICT 2006(2):HTTPDispatcher: ModuleException on start post:>>
      oracle.edge.dispatcher.EventDispatchException: Connect failed:java.net.MalformedURLException: no protocol: ?type=1&subtype=0&siteName=MySite&deviceName=Http+Dispatcher&sourceName=&correlationId=&id=&data=&time=Thu+Aug+24+13%3A49%3A40+ICT+2006&
           at oracle.edge.impl.dispatcher.HTTPEventDispatcher.postEvent(Unknown Source)
           at oracle.edge.impl.dispatcher.HTTPEventDispatcher.start(Unknown Source)
           at oracle.edge.dispatcher.AbstractDispatcher$DispatcherLoop.run(AbstractDispatcher.java:162)
           at java.lang.Thread.run(Thread.java:595)
      Thu Aug 24 13:49:40 ICT 2006<<
      Thu Aug 24 13:49:40 ICT 2006(2):Dispatcher still not starting>>
      oracle.edge.common.EdgeExtensionException: Fail to start http dispatcher.
           at oracle.edge.impl.dispatcher.HTTPEventDispatcher.start(Unknown Source)
           at oracle.edge.dispatcher.AbstractDispatcher$DispatcherLoop.run(AbstractDispatcher.java:162)
           at java.lang.Thread.run(Thread.java:595)
      Thu Aug 24 13:49:40 ICT 2006<<
      Thu Aug 24 13:49:50 ICT 2006(2):HTTPDispatcher: Cannot post event event=Type: 1, Subtype: 0, Id: , Data: , Devicename: Http Dispatcher, Sitename: MySite, Time: Thu Aug 24 13:49:50 ICT 2006
      >>
      java.net.MalformedURLException: no protocol: ?type=1&subtype=0&siteName=MySite&deviceName=Http+Dispatcher&sourceName=&correlationId=&id=&data=&time=Thu+Aug+24+13%3A49%3A50+ICT+2006&
           at java.net.URL.<init>(URL.java:567)
           at java.net.URL.<init>(URL.java:464)
           at java.net.URL.<init>(URL.java:413)
           at oracle.edge.impl.dispatcher.HTTPEventDispatcher.postEvent(Unknown Source)
           at oracle.edge.impl.dispatcher.HTTPEventDispatcher.start(Unknown Source)
           at oracle.edge.dispatcher.AbstractDispatcher$DispatcherLoop.run(AbstractDispatcher.java:162)
           at java.lang.Thread.run(Thread.java:595)
      Thu Aug 24 13:49:50 ICT 2006<<
      ----------------

      Please help....

      aon
        • 1. Re: Problem in HttpDispatcher , Please help ...
          207512
          Looks like the URL you provide is invalid or empty.
          See the line about Malformed http (missing protocol).
          Did you start it with a http://, a valid URL has to start with the protocol.
          (Some browsers just happens to add that for you sometimes, but the URL still need a protocol).

          Could you tell us the URL?

          Thx -- Sam