tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: Removing Ref to YourKit in TC
Date Sun, 10 Jun 2012 18:04:01 GMT
2012/6/10 Jerry Malcolm <>:
> StdOut:  2012-06-10 09:07:04 Commons Daemon procrun stdout initialized
> Error occurred during initialization of VM
> Could not find agent library in absolute path:
> C:\PROGRA~2\YOURKI~1.6\bin\win64\yjpagent.dll
> Do you mean I need to download the entire zip, unzip everything, and do a
> file by file compare?  Your kidding, right?

No. I am serious.

This one might be useful:

Anyway, thanks for citing the message - the problems seems to be in a
different place.

>  If I'm going to have to do all
> of that, I might as well just uninstall the entire product and reinstall
> from scratch.

That is a way as well. See below.

> Can't somebody just tell me what file in Tomcat contains references to
> third-party DLLs like this?
> It's TC 7.0.26

The above message is from service wrapper (Apache Commons Daemon
procrun) that fails to start the JVM.

A) Start the Service Manager application (Tomcat7.exe) and look for
the parameters used to start the service. I think there will be
something like "-agent" and the path that you mentioned above on two
separate lines.  Remove them.

Alternatively you can do one of these

B) Find the same setting in the Windows Registry and edit it there.
C) Uninstall the service and reinstall it manually, using service.bat
script (available in zip distributions). Though see the docs.
D) Uninstall Tomcat and reinstall (you can upgrade to 7.0.27 at the same time).
E) Install 7.0.27 in parallel, using different service name (in
installer), and migrate your apps there. Then uninstall the old one.
(Be warned though that installed does not validate whether given
service name is already used or not. Do not forget to choose a
non-default one).

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message