Hi did you install it as an admin? see http://tomcat.apache.org/tomcat-8.5-doc/windows-service-howto.html doc (search for UAC string)
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-09-01 14:17 GMT+02:00 Dignesh <[email protected]>: > Hi, > > I am trying to create TomEE as window Service. > What I did was modified the service.bat file shipped in %TOMEE_HOME%\bin > directory. > > Service is getting created successfully. But when I start the service it is > not getting started. > > Below is the error I see in log file. I have attached the modified bat file > for reference. > > Can everyone please help me in finding where I am going wrong. > > Thank you very much in advance. > > [2016-09-01 17:48:38] [info] [14108] Commons Daemon procrun (1.0.14.0 > 64-bit) started > [2016-09-01 17:48:38] [info] [14108] Running 'Apache' Service... > [2016-09-01 17:48:39] [info] [10736] Starting service... > [2016-09-01 17:48:39] [error] [10736] Missing service ImageFile > [2016-09-01 17:48:39] [error] [10736] ServiceStart returned 1 > [2016-09-01 17:48:39] [info] [14108] Run service finished. > [2016-09-01 17:48:39] [info] [14108] Commons Daemon procrun finished > > > service.bat > <http://tomee-openejb.979440.n4.nabble.com/file/n4679996/service.bat> > > > > -- > View this message in context: http://tomee-openejb.979440. > n4.nabble.com/Issue-in-starting-TomEE-as-window-Service-tp4679996.html > Sent from the TomEE Dev mailing list archive at Nabble.com. >
