best way for you would be to have your script start server in admin mode and once done, trigger full boot of server
I am actually using ModelControllerClient to create the queues based on if there is new entries in a database table. This will allow queues to be created automatically without the need to create cli script.
So if I start up the server in admin mode, how does my java class know if the admin server is fully started up?
Also, how to start up server in admin mode?