Hazelcast Special Hosts

What is the easiest way to run Hazelcast hosts on dedicated servers?

We have a web application that uses a Hazelcast distributed map. Hazelcast nodes are currently configured to work in servlet container nodes.

As we expand, we would like to add specialized equipment like Hazelcast nodes.

Then we will no longer need the complete Hazelcast nodes in Servlet containers, these may be clients. (There are licensing costs associated with servlet containers, so downloading from them is good, don't ask ...)

So the question is, what is the minimum installation of a Hazelcast node? Something like installing memcached. All he needs to do is read the configuration and run, no local clients.

I see that it supports Jetty, but is this generally necessary or is there some simple class in those banks that I could execute on JVM raw?

+7
source share
4 answers

Just create a simple class that calls HazelCast.init

There are several test classes in the com.hazelcast.examples package that can be run from the bin directory in a walnut distribution.

+9
source

Szocske, we just tried this: http://blog.ilikeplaces.com/2012/05/hazelcast-starting-standalone-hazelcast.html

Thus,

 java -cp hazelcast-2.0.3.jar com.hazelcast.examples.StartServer 
+6
source

You can start it by clicking {hazelcast-directory}/bin/server.sh or on Windows {hazelcast-directory}/bin/server.bat .

The configuration file can still be found in {hazelcast-directory}/bin/hazelcast.xml

This is an update for thSoft's answer as this method is no longer valid.

+3
source

You can also just run hazelcast/bin/start.sh ( hazelcast/bin/hazelcast.xml configuration file).

+1
source

All Articles