<?xml version="1.0" encoding="UTF-8"?>
<!--
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - JASMINe
  - Copyright (C) 2012 Bull S.A.S.
  - Contact: jasmine@ow2.org
  -
  - This library is free software; you can redistribute it and/or
  - modify it under the terms of the GNU Lesser General Public
  - License as published by the Free Software Foundation; either
  - version 2.1 of the License, or any later version.
  -
  - This library is distributed in the hope that it will be useful,
  - but WITHOUT ANY WARRANTY; without even the implied warranty of
  - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  - Lesser General Public License for more details.
  -
  - You should have received a copy of the GNU Lesser General Public
  - License along with this library; if not, write to the Free Software
  - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  - USA
  -
  -
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - $Id$
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<sect1 version="5.0" xml:lang="en" xml:id="jasmineprobe.run" xmlns="http://docbook.org/ns/docbook"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xi="http://www.w3.org/2001/XInclude"
  xmlns:svg="http://www.w3.org/2000/svg"
  xmlns:mml="http://www.w3.org/1998/Math/MathML"
  xmlns:html="http://www.w3.org/1999/xhtml"
  xmlns:db="http://docbook.org/ns/docbook">

  <title>Running JASMINe Probe</title>

    <para>Now you may start the JASMINe Probe Agent with command:</para>

    <para>
    <screen>
       $ jasmine-probe.sh start
    </screen>
    or
    <screen>
       $ jasmine-probe.sh start -tui
    </screen>
    </para>

    <para>
      The traces show that a JOnAS server, named 'jasmine-probe' is started and JASMINe Probe modules deployed.
      Moreover, some probes are created corresponding to a default configuration provided in the <emphasis>probe-config.xml</emphasis> file located in the <emphasis>conf</emphasis> directory.
    </para>

    <para>
      The JASMINe Probe application is available due to the deployment plan located in the <emphasis>deploy</emphasis> directory.
    </para>

    <para>
      Now JASMINe Probe is ready for user to:
     <itemizedlist>
       <listitem>
         <para>create new probes,</para>
       </listitem>
       <listitem>
         <para>start/stop probes execution,</para>
       </listitem>
       <listitem>
         <para>manage created probes (list, change or remove),</para>
       </listitem>
       <listitem>
         <para>save probes definitions to a XML file,</para>
       </listitem>
       <listitem>
         <para>load probes definitions from a XML file.</para>
       </listitem>
     </itemizedlist>
     These operations can be done using:
     <itemizedlist>
       <listitem>
         <para>shell commands from an extended OSGi shell if the agent was started with <emphasis>-tui</emphasis> option</para>
       </listitem>
       <listitem>
         <para>executing the <emphasis>jprobe-client.jar</emphasis> application</para>
       </listitem>
       <listitem>
         <para>using the RESTful Web Service if you installed the <emphasis>jasmine-probe-rest.zip</emphasis> package</para>
       </listitem>
     </itemizedlist>
     See <xref linkend="jasmineprobe.tools"/> for details.
   </para>

    <para></para>

    <para>You may stop the agent using command:</para>

    <para>
    <screen>
       $ jasmine-probe.sh stop
    </screen>
    </para>

</sect1>
