I have a play! app running in production and I'm trying to add new relic monitoring to it.
According to this blog post (http://blog.newrelic.com/2013/06/05/play-2/), it's as simple as adding a few parameters when starting the play app. Right now I'm running my play app by running the play clean compile stage
command and then starting the start script in the /bin folder. When I try to add the new relic parameters, I get a "bad application path newrelic.jar" but the file is present.
Here's the command I'm running to start my play app:
sudo ./myapp -Dconfig.resource=application_deploy.conf -javaagent:newrelic.jar -Dnewrelic.bootstrap_classpath=true
Any ideas? Thanks