When you run “service install TomEE7”, what is the output?  Specifically, what 
does ‘service.bat’ say it’s using as JAVA_HOME?

The error seems classpath-ish.  Perhaps you can try editing “service.bat” to 
explicitly set JAVA_HOME, as shown in Line 18.

Cheers,

Greg Trasuk

> On Dec 7, 2017, at 11:25 AM, bibhas <[email protected]> wrote:
> 
> I have TomEE Web profile 7.0.4.
> OpenJDK 1.8 32bit
> The machine is 32bit
> 
> I can run TomEE from console using stratup/shutdown just fine. I then
> created a service:
> 
> service install TomEE7
> 
> When I start the service it shuts down immediately. Log file shows:
> 
> 2017-12-07 11:15:59 Commons Daemon procrun stdout initialized
> Error occurred during initialization of VM
> Could not find agent library instrument on the library path, with error:
> Can't find dependent libraries
> 
> 
> 
> 
> --
> Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html

Reply via email to