I have an instance of TomEE on which I've deployed an application. I'd like to
install TomEE as a Windows Service so it will automatically start after reboot.
Since TomEE is in fact (I think?) Tomcat with openejb.war installed and
configuration changes made, I thought I could install a TomEE s
Hi,
a script is here for openejb standalone:
https://svn.apache.org/repos/asf/openejb/trunk/openejb/assembly/openejb-standalone/src/main/resources/service.install.as.admin.bat
i didn't try for tomee but it shouldn't be so different. It is based on
openejb-daemon module.
- Romain
2011/12/24 Fra
Another way you can try is :
1. Copy service.bat , tomcat7.exe and tomcat7w.exe(you may not need
this one) from an existing tomcat7 installation, and paste them into
bin directory of Tomee
2. Run the following command from the bin directory (in the console)
service.bat install tomee
If you ope
Thank you, Karan. I had tried using tomcat6.exe directly, but didn't try using
service.bat. Your email inspired me to try again. It turns out service.bat is
setting a bunch of environment variables like PR_* that are needed by
tomcat6.exe, and in executing tomcat6.exe directly I was omitting