0 Replies Latest reply on Feb 11, 2016 11:16 PM by zerog

    Unable to get websockets and stomp transports working on jboss-fuse-full-6.1.0.redhat-379

    zerog

      Related to the post By Ken P. @ https://github.com/kpeeples/jboss-fuse-websockets-demo

      for the Fuse+HTML5+Websockets demo.

       

      After initial install I can netstat as follows :

      TCP0.0.0.0:61614    0.0.0.0:0        LISTENING
      TCP0.0.0.0:61616    0.0.0.0:0        LISTENING
      TCP[::]:61614       [::]:0           LISTENING
      TCP[::]:61616       [::]:0           LISTENING

       

      But after a while 61614 dies and I get this from log:display | grep 6161

      2016-02-11 11:32:44,896 | INFO  | pool-33-thread-1 | TransportServerThreadSupport| ort.TransportSer

      verThreadSupport   69 | 131 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610379 | Listening for co

      nnections at: tcp://myhostname:61616

      2016-02-11 11:32:52,667 | INFO  | pool-40-thread-1 | TransportServerThreadSupport| ort.TransportSer

      verThreadSupport   69 | 131 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610379 | Listening for co

      nnections at: tcp://myhostname:61616

       

      and a log:display | grep "websocket st" yields :

      2016-02-11 11:32:44,237 | INFO  | pool-12-thread-1 | TransportConnector         | tivemq.broker.Tr

      ansportConnector  294 | 131 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610379 | Connector websoc

      ket stopped

       

      My fuse_home/etc/activemq.xml contains this snippet for the required transports :

      <transportConnectors>

                  <transportConnector name="openwire" uri="tcp://0.0.0.0:61616?maximumConnections=1000"/>

                  <transportConnector name="websocket" uri="ws://0.0.0.0:61614"/>

              </transportConnectors>

       

      I am missing something. Please help me to get this working.