Running
JIPXt As Service
JIPXt
can be run as windows service, Unix/Linux daemon or Cron job. It can also be
run
with
minimal memory usage on other platforms like OS/2, eComStation, Mac OS, or any
other
OS that can run Java. This can be achieved by running as a command line
version.
Mac
OS can run as a daemon using the Unix/Linux style (see the downloaded files).
Actually
there is no big difference from running as a command line version and daemon
on
Linux/Unix systems.
Running
as a service or daemon JIPXt uses the “wrapper” engine from;
http://wrapper.tanukisoftware.org
. For more information or installation guide check the
site.
Getting
Started
• Make sure you’ve run JIPXt
in normal mode (either GUI or console) and
registered
your data as usual.
• Download the JIPXt-Serve
file (in zip format) of your perspective OS.
• Unzip it into a preferred
temporary folder.
• Copy all the files under the
folder “bin” (from the unzipped files) and place them
into
the folder “bin” of JIPXt directory.
• Copy the folders “logs”,
“conf” and “lib” (from the unzipped files) into the JIPXt
directory.
• Follow the procedures below
(which are a little bit plat form dependent).
Windows
• You can test the service by double
clicking on the bat file “TEST_SERVICE”
1.
If you run the test you should see “JIP IS RUNNING!”
2.
You can stop it with Ctrl-C. Or just close the console window.
• If the test was successful,
then you can now install the service by double
clicking
on “INSTALL_JIP_SERVICE”. To check if the service has installed
successfully
use one of the two ways below;
1.
This is easiest way; Is simply use the start, stop and restart batch
files.
Or open command prompt window and switch to JIPXt
directory
example “C:\Program files\JIPXt Client\bin” then write
“Manage
start” (this will start the service) or “Manage stop” (this
will
sop the service ) or “Manage restart” (this will restart the
service)
Manage
start; if the service is started you will get the message
service
is running else the message “staring service”
Manage
stop; you will get the message “stopping service” then
“service
stopped”
Manage
restart; you will get the message “Stopping service”, then
“starting
service”
2.
Test 2; Open control panel and double click on the “administrative
tools,
then double click on “services”. You should see the service
name
“JIPXt_SRV” among the service lists with the description
“JIPXt
SERVICE” You can now start the service or stop it.
• NB: If everything is successful,
remove the JIPXt shortcut file from Windows
startup
group. To avoid starting JIP in normal mode on boot.
Linux/Unix/Mac
OS
• Make sure you give the files
executable rights.
• Switch to the directory of
JIPXt example “/usr/JIPXt/bin/” or
“/home/JIPXt/bin”
or where you’ve installed JIPXt. Then give the command
“daemon.sh
start” or run_daemon start. You can also test the daemon with the
command
“testwrapper”. (It is also possible to run the daemon files by the
command
“/JIPXt directory/bin/run_daemon start”. That is from the console
write
all the command without switching first to JIPXt directory).
• “daemon.sh start”; starts
the daemon, “daemon.sh stop” will stop the service if
its
running and “daemon.sh restart” will restart the service if it’s running.
• If no errors then you should
see “JIP IS RUNNING!”
• You can close the console
window and JIPXt will be running in the
background
• If you want JIPXt to start
on boot, then you have to create a symbolic link and
place
it into the “ect/init.d/” or “etc/rc.d/init.d/” depending on the system or
put
a link in KDE auto start. Mac put a link at startup.
• You can also find additional
information at http://wrapper.tanukisoftware.org
Other
Platforms (running as command line) with minimal memory
usage
• To run JIPXt with minimal
memory usage, follow the guide under JIPXt
folder
(in the installation directory).
• Or if you want to run as
daemon then ->
• See http://wrapper.tanukisoftware.org/doc/english/introduction.html for
additional files to download then off and running.