Start & Stop

Starting Petals ESB

Petals ESB offers various startup modes :

  • Non-interactive command line
  • Interactive command line
  • Daemon command line (available only under Unix based systems)
Note
In order to be able to start Petals ESB, under Linux or Windows, you must have defined a valid JAVA_HOME environment variable.

Linux / MacOS X

Non-interactive command line startup

  1. Go to $PETALS_HOME/bin
  2. Execute the following command :
    ./startup.sh
    
  3. Done


Interactive command line startup

  1. Go to $PETALS_HOME/bin
  2. Execute the following command :
    ./startup.sh -C
    
  3. Done


Daemon startup

  1. Go to $PETALS_HOME/bin
  2. Execute the following command :
    ./startup.sh -D
    
  3. Done

Windows

Non-interactive command line startup

  1. Go to %PETALS_HOME%\bin
  2. Execute the following command :
    startup.bat
    
  3. Done


Interactive command line startup

  1. Go to %PETALS_HOME%\bin
  2. Execute the following command :
    startup.bat -C
    
  3. Done

Stopping Petals ESB

There are two ways of stopping Petals ESB. :

  • the "stop procedure" stops Petals ESB without uninstalling anything
  • the "shutdown procedure" uninstall everything and cleans up Petals ESB

In most case, you should prefer using the "stop procedure".

Using the "Stop Procedure"

The "Stop Procedure" stops Petals ESB without uninstalling any component, shared library or service assembly.

Linux / MacOS X

Stop a Petals ESB instance launched in non-interactive, command line or daemon mode

  1. Go to $PETALS_HOME/bin
  2. Execute the following command :
    ./stop.sh
    
  3. Done


Stop a Petals ESB instance launched in non-interactive or interactive mode

  1. In the Petals ESB console, type ctrl + c.
  2. Done


Stop a Petals ESB instance launched in interactive mode

  1. In the Petals ESB console, type 'q'
    petals@localhost:/> q
    
  2. Done

Windows

Stop a Petals ESB instance launched in non-interactive, command line or daemon mode

  1. Go to $PETALS_HOME/bin
  2. Execute the following command :
    stop.bat
    
  3. Done


Stop a Petals ESB instance launched in non-interactive or interactive mode

  1. In the Petals ESB console, type ctrl + c.
  2. Done


Stop a Petals ESB instance launched in interactive mode

  1. In the Petals ESB console, type 'q'
    petals@localhost:/> q
    
  2. Done


Note
As we've seen, some Petals ESB modes supports various "Stop Procedures".

Using the "Shutdown Procedure"

The "Shutdown Procedure" shut Petals ESB down and uninstall every component, shared library or service assembly that has been installed.

Linux / MacOS X

Stop a Petals ESB instance launched in non-interactive, command line or daemon mode

  1. Go to $PETALS_HOME/bin
  2. Execute the following command :
    ./shudown.sh
    
  3. Done


Stop a Petals ESB instance launched in interactive mode

  1. In the Petals ESB console, type 'x'
    petals@localhost:/> x
    
  2. Done

Windows

Stop a Petals ESB instance launched in non-interactive, command line or daemon mode

  1. Go to $PETALS_HOME/bin
  2. Execute the following command :
    shutdown.bat
    
  3. Done


Stop a Petals ESB instance launched in interactive mode

  1. In the Petals ESB console, type 'x'
    petals@localhost:/> x
    
  2. Done


Note
As we've seen, some Petals ESB modes supports various "Shutdown Procedures".
Contributors
No contributors found for: authors on selected page(s)
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.