Previously i wrote a blog post about how to detect if a JBoss instance is started.
Here comes the Twiddle solution.
1. Enable the JMXConsole user by editing the <JBoss>/server/[instance]/conf/props/jmx-console-users.properties.
Continue reading JBoss – Check application status using Twiddle →
In the Ant build.xml, i need to make sure the JBoss server is started before running the test cases. There are 2 possible approaches.
- Using twiddle.sh to check the status
- Monitoring server.log until “Started in” is written on it
I took the 2nd approach. Here is an example output log when the JBoss server is started successfully.
Continue reading Linux – Wait until a specific pattern is written on log using tail and sed →