FIX: Fixed quoting in printf statement which could have caused errors
to be shown in case handlers with multiple processes (PIDs) were used
on Linux system.
I just added a couple of extension points. Now ctl allows to define functions which are executed before and after execution.
Another release has been done. This one adds the possibility to start processes with different priorities using 'nice'.
This year has been a great one for the 'appctl' project. I have been able to introduce some new features to make the framework even more generic than it was already.
On the other side no critical bugs have been revealed. Even though the I am using the framework each day on various high availability servers.
Have a look at the files section. Today I've released a demo package which includes Apache 2.0.58. The package was created for Sun Solaris (SunPackage format) and Apache was compiled on Solaris 10. It includes the mod_jk as well as a sample configuration which makes use of the environment variables defined by the framework.
This package was created for demonstration purposes only. For production use the configuration file might need to be altered.
Finally I created an application addon to run Apache HTTP server.
The challange here was that Apache needs to be run by root to bind to port 80. Appctl can now be run by root directly to start apache. The included config file will make sure that the child credentials are stll set to the apache user (which I suggest to be created). When Apache is run from the apache user environment it needs to listen on a port >= 1024. There are documents available on which guide you to set up iptables (or other firewalls) to forward port 80 to your Apache port. This way I consider the installation to be quite secure.
This is to inform you all about my future plans regardint the application control and environment framework.
In the near future I plan to release example and demo packages (for example a JBoss package using an already integrated ctl environment). This packages will be provided in order to allow a quick trial.
First of all I wish you all a merry Christmas and already a happy new year!
As I promised I did some enhancement on the ctl script in order to allow it to work even without the surrounding framework (especially envsetup).
And here it is: Release 1.2
You can simply put it into the application 'bin' folder and either include it in your path or start it using an absoulute or relative path. At startup it will detect all values automatically and export them for later reference within the *env files. ... read more
For the near future I plan to extend ctl in a way that it can work without the surrounding framework. However I do not plan to remove the framework since the variables exported by envsetup are very useful if you work on the shell.
Today the first version of the appctl framework was released! Currently there are pre-configured files available for Tomcat and JBoss. I plan to release more plug in's in the near future.
I just finished some tests on linux using tomcat. A few minutes ago I did the first check in. Therefore I expect something releasable this weekend.