![]() |
Executing command after JBoss server is started ...
Hi,
I am new to this forum. I have an issue with my nsis installer. During the install process i need to start JBoss application server and execute a command from command line. I was able to run JBoss using the command nsExec::ExecToLog but unable to execute the successive command as the the installer doesnt execute any further after starting JBoss server. Is there any way in running both the commands in two consecutive command line consoles as my first JBoss start console doesnt return to command prompt upon starting. I have tried with various options like ExecWait nsExec::Exec nsExec::ExecToStack and system::call Is there any way in which my issue could be resolved... ? Thank you in advance. |
Just use Exec. All the others that you have tried execute the executable and wait until it is finished.
Exec will run it and just carry on. -Stu |
Thank you
|
I had similar issue with JBoss - my script should do something after JBoss stop. I decided to just look for server.log file. Maybe it will be useful for you:
code: |
Hi Yurik,
Thanks for your suggestion. Anyways, i got my issue resolved using "start run" instead of "run" to start the JBoss server. This command opens the server in a separate command window than the existing. The issue is resolved. Regards, Nagaraju. |
| All times are GMT. The time now is 05:55. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.