Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

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

Moderators: Vladimir Kondratyev, Anton Katilin

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

Postby ooper » Fri Sep 15, 2017 12:45 am

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
ooper
 
Posts: 2
Joined: Fri Sep 15, 2017 12:42 am

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

Postby Anton Katilin » Fri Sep 15, 2017 7:51 am

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?
Anton Katilin
 
Posts: 5568
Joined: Wed Aug 11, 2004 8:37 am

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

Postby ooper » Fri Sep 15, 2017 4:21 pm

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!
ooper
 
Posts: 2
Joined: Fri Sep 15, 2017 12:42 am

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

Postby Anton Katilin » Tue Sep 19, 2017 6:58 am

Thank you for the confirmation.
Anton Katilin
 
Posts: 5568
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 1 guest

cron