Since all commands require connecting to Resin server remotely list of
required parameters includes authentication and remote connection options
such as IP and Port.

common options

ARGUMENT

MEANING

DEFAULT

-conf

configuration file

conf/resin.xml

-address

ip or host name of the server

taken from conf/resin.xml

-port

server http port

taken from conf/resin.xml

-user

user name used for authentication to the server

none, required

-password

password used for authentication to the server

none, required

console: starting in console mode

Start Resin in console mode with log-level.
Console mode is useful for development or debugging. For production,
use start or start-all instead. Resin will start under
control of the control. Log output will go
to the console.

since raw heap dump can be on the order of gigabytes the resulting file
is always left on the machine where Resin server is running.

jmx-list: listing JMX MBeans, attributes and operations

Commandjmx-list prints out JMX MBeans, attributes and operations
registered in a JVM that is running Resin. As its last argument the command
accepts <pattern>. The <pattern> follows convention defined for
javax.management.ObjectName, defaulting to resin:*, which matches any
MBean in resin domain.

% time - percentage of total profile time. The number can be larger than 100%
because of multithreading. Methods that are 100%, or multiples, are generally
blocking methods and can be ignored. If an active method is 100%, it might be a
CPU spinning thread.

time self(s) - time in seconds for the method.

% sum - percentage of all methods time. All the method times are added, and
this method's own time is computed as a percentage.

profile options

ARGUMENT/OPTION

MEANING

DEFAULT

-active-time

specifies profiling time span in ms (defaults to 5000 - 5 sec.)

5s

-sampling-rate

specifies sampling rate (defaults to 10ms)

10ms

restart: restart a daemon server

Restart a Resin daemon server with restart.

resinctl restart [options]

The restart command will select the matching
server and restart it.
If the --server attribute is specified, the matching server will restart.
Otherwise, restart will look for all configured servers
with a matching local IP address. If none match, it will use the
default server.

start: starting as a daemon

Start Resin as a daemon with start. You can also
use start-all which will start all local servers.

resinctl start [options]

The start command will select a single server.
If the --server
attribute is specified, the matching server will start. Otherwise,
start will look for a configured server with a matching
local IP address. To start multiple servers on the same machine,
use start-all If none match, it will use the default server.

To debug any start problems, see the log directory which contains a
watchdog-manager.log and jvm-default.log.

start options

ARGUMENT/OPTION

MEANING

DEFAULT

--cluster

cluster to join when using --elastic-server

--elastic-dns

lazy local DNS address binding: retry until succeed

--elastic-server

start as a dynamic server joining a cluster

--server

the server name to start

"default" or local IP

--verbose

start with extra debugging

start-all: starting multiple servers as a daemon

Start Resin servers as a daemon with start-all.
All servers listening to the local IP address will be started.

resinctl start-all [options]

The start-all command will select all matching servers.
If the --server attribute is specified, the matching server will start.
Otherwise, start-all will look for all configured servers
with a matching local IP address. If none match, it will use the
default server. If none match, and dynamic servers are enabled,
start-all will start a dynamic server.

stop: stop a daemon server

Stop a Resin daemon server with stop.

resinctl stop [options]

The stop command will select the matching.
If the --server attribute is specified, the matching server will stop
Otherwise, stop will look for all configured servers
with a matching local IP address. If none match, it will use the
default server.

Cloud-optimized Resin Server is a Java EE certified Java Application Server, and Web Server, and Distributed Cache Server (Memcached).Leading companies worldwide with demand for reliability and high performance web applications including SalesForce.com, CNET, DZone and many more are powered by Resin.