Installing TomEE as a windows service

2011-12-23 Thread Frank Brown
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

Re: Installing TomEE as a windows service

2011-12-24 Thread Romain Manni-Bucau
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

Re: Installing TomEE as a windows service

2011-12-27 Thread Karan Malhi
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

Re: Installing TomEE as a windows service

2012-01-12 Thread Frank Brown
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