"admin list" scripts shows container status "Starting" rather than "Started"

Solution In Progress - Updated -

Issue

My environment is consists of one root container and 20 standalone child containers created by "admin create" scripts. However, when I tried to get container status with "admin list" scripts, I am getting "Staring" status on all containers rather than "Started" status. Although all the containers are definitely running.

JBoss Fuse Containers are configured to use virtual IPs but not localhost, i.e. 0.0.0.0 like default.
This problem occurred once we switched over to virtual IPs for container.

As far as I know, we try to create a socket connection to a container in order to determine whether ssh service of the container instance is fully up or not like:

Socket s = new Socket("localhost", port);

It could be the root cause for "Staring" status of containers because the socket connection won't succeed using "localhost".

However, because I am using virtual ip in a HA cluster environment, it is not possible to map localhost to virtual ip address. Therefore, we need support for using virtual ip here for "admin list" scripts to work properly.

Environment

  • JBoss Fuse 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.