I'm testing two versions of Ignite one is the open source version and the other is an enterprise version (gridgain)
When i start the open source version the REST service starts on Jetty and I see the following debug information [GridJettyRestProtocol] Command protocol successfully started [name=Jetty REST, host=/0.0.0.0, port=8090]
When i start gridgain i can see that REST is enabled [IgniteKernal] Remote Management [restart: on, REST: on, JMX (remote: on, port: 49127, auth: off, ssl: off)]
however there is no debug info indicating that Jetty has started and when I try get version info from port 8080 the request fails.
Can anyone suggest any ideas? i already tried setting -DIGNITE_JETTY_PORT="8080" in my ignite.sh startup file but this does not start the Jetty server
It seems you do not have dependency to ignite-rest-http in the project that uses GridGain. Can you provide reproducible example if I am wrong?
If ignite-rest-http module is on class path you should see the following (in verbose mode):
..... [14:57:48,212][INFO ][main][GridTcpRestProtocol] Command protocol successfully started [name=TCP binary, host=/127.0.0.1, port=11211] [14:57:48,295][INFO ][main][GridJettyRestProtocol] Command protocol successfully started [name=Jetty REST, host=/127.0.0.1, port=8080] <<<<<<<<<<< JETTY server started
+---------------------------------+ Ignite ver. 1.0.0#19700101-sha1:DEV +---------------------------------+ OS name: Mac OS X 10.9.5 x86_64 CPU(s): 8 Heap: 3.6GB VM name: firstname.lastname@example.org Grid name: null Local node [ID=73C8BA58-73DB-4E01-A760-2F071DEB123C, order=1] Local node addresses: [/127.0.0.1] Local ports: TCP:8080 TCP:11211 TCP:47100 UDP:47400 TCP:47500 <<<<<<<<<< 8080 port is reported as used Ignite documentation: http://ignite.incubator.apache.org