Skip to main content

Posts

Showing posts from June, 2016

Setting javaagent on Tomcat 6 Running As Windows Service

This will be a quick post, for reference. If you ever need to set the javaagent on Tomcat 6 running as a Windows service, you need to set it using tomcat6w.exe in the Java tab. For example, to add the New Relic Agent, add the following line -javaagent:"c:\Program Files\Apache Software Foundation\Tomcat 6.0\newrelic\newrelic.jar" Note that the path to the javaagent needs to be a fully qualified path, and path separator is the typical Windows backslash.