Tomcat/Windows as service - Can't find dependent libraries

Questions about YourKit Java Profiler
Post Reply
ooper
Posts: 2
Joined: Fri Sep 15, 2017 12:42 am

Tomcat/Windows as service - Can't find dependent libraries

Post by ooper »

Tomcat will not start. I've tried 64 and 32 bit paths.


2017-09-14 18:32:34 Commons Daemon procrun stdout initialized
Error occurred during initialization of VM
Could not find agent library "C:\Program Files\YourKit Java Profiler 2017.02-b66\bin\win64\yjpagent.dll" on the library path, with error: Can't find dependent libraries

2017-09-14 18:36:06 Commons Daemon procrun stdout initialized
Error occurred during initialization of VM
Could not find agent library "C:\Program Files\YourKit Java Profiler 2017.02-b66\bin\win32\yjpagent.dll" in absolute path, with error: Can't find dependent libraries

2017-09-14 18:37:21 Commons Daemon procrun stdout initialized
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Tomcat/Windows as service - Can't find dependent librari

Post by Anton Katilin »

Could you please whether the files "C:\Program Files\YourKit Java Profiler 2017.02-b66\bin\win*\yjpagent.dll" actually exist.

Did you use the EE server or IDE integration wizard? If you upgraded the profiler version please re-run the wizard to update the agent path.

What is your Windows version?

Please run "C:\Program Files\YourKit Java Profiler 2017.02-b66\samples\sample1\run.bat" in a console window. What is the output?
ooper
Posts: 2
Joined: Fri Sep 15, 2017 12:42 am

Re: Tomcat/Windows as service - Can't find dependent librari

Post by ooper »

Hi Anton,
I wanted to test it out on a production system. I missed the EE Server integration option. I went through that, added the suggested java options, and it is now working.
Thank you!
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Tomcat/Windows as service - Can't find dependent librari

Post by Anton Katilin »

Thank you for the confirmation.
Post Reply