|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (12)
View Page History{column}
The We provide a Docker image ready to launch a standalone Petals ESB container. It can be downloaded from [Docker hub|https://hub.docker.com/r/petals/petals-esb-container/].
h1. Installing Petals ESB
h1. Launching the Petals ESB container
h2. Pre-requisites
It is assumed Docker is already installed on your machine.
Type in the following command: *docker pull petals/petals-esb-container:5.1.0*
h2. Downloading the Docker image of Petals ESB container
Type in the following command: *{{docker pull petals/petals-esb-container:5.1.0}}*
Type in the following command: *{{docker pull petals/petals-esb-container:5.1.0}}*
h1. Starting Petals ESB
Type in: *{{docker run -d -p 7700:7700 -p 7800:7800 --name petals petals/petals-esb-container:5.1.0}}*
You can verify the container works with *{{docker ps}}*
{tip}By default, we publish all the Petals ports on the host system.
Be careful: ports used by provider components are not exposed. As an exeample, if you deploy the SOAP BC, whose feault listening port is 80804, this port will not be reachable from the outside. In such a case, you should launch Petals with an additional option: *-p 8080:8080*. If you forgot the option, it is not possible with Docker to expose a port after the container was launched. So, you would have to kill the container and restart it.{tip}
h1. Connecting to Petals ESB
You can connect with usual tools.
To verify everything works correctly, you can use the jconsole.
To verify everything works correctly, you can use the jconsole.
You can connect with usual tools: [Petals CLI|petalscomponents:Petals CLI 3.0.0+] or Petals Cockpit
You can also use basic tools as JConsole or VisualVM using the JMX URL: *{{service:jmx:rmi:///jndi/rmi://<docker-container-ip>:7700/PetalsJMX}}*, with {{petals/petals}} as credentials.
You can also use basic tools as JConsole or VisualVM using the JMX URL: *{{service:jmx:rmi:///jndi/rmi://<docker-container-ip>:7700/PetalsJMX}}*, with {{petals/petals}} as credentials.
Type in... jconsole &
Use *service:jmx:rmi:///jndi/rmi://localhost:7700/PetalsJMX* as the remote address, with petals/petals as the credentials.
Use *service:jmx:rmi:///jndi/rmi://localhost:7700/PetalsJMX* as the remote address, with petals/petals as the credentials.
h1. Getting Petals logs