Adobe ColdFusion 9 won't launch with NewRelic agent

I am running Adobe Coldfusion 9 server with IIS on a Windows Server 2003 window, but when I installed the new Relic agent as instructed, the ColdFusion service refuses to start. Coldfusion-out.log contains the following:

Feb 18, 2013 23:34:41 -0500 NewRelic 1 INFO: Agent is using Logback
Feb 18, 2013 23:34:42 -0500 NewRelic 1 INFO: Loading configuration file "C:\newrelic\.\newrelic.yml"
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at jrunx.kernel.JRun.invoke(JRun.java:180)
at jrunx.kernel.JRun.main(JRun.java:168)
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.jrunx.kernel)
at     java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at java.security.AccessController.checkPermission(AccessController.java:546)
at jrunx.kernel.JRun.<init>(JRun.java:446)
at jrunx.kernel.JRun$1.run(JRun.java:346)
at java.security.AccessController.doPrivileged(Native Method)
at jrunx.kernel.JRun.start(JRun.java:343)
at jrunx.kernel.JRun.startByNTService(JRun.java:427)
... 6 more

      

I don't think these are the permissions on the files in the folder as I gave permissions to the IIS user. But I don't understand how to fix this problem.

Any other ColdFusion people have encountered this issue with New Relic?

thank

PS: This works on a VPS, not a full dedicated server.

+3


source to share


3 answers


Toby is sponsored by New Relic here: Currently the New Relic agent cannot handle Adobe Coldfusion 9 server using IIS. If you are using Coldfusion with Java Application Server, we can use this system, but it looks like this:

1) Coldfusion with IIS won't capture exact data with the new Relic agent



2) New Relic agent prevents Coldfusion from starting correctly

At this point, I would recommend removing the new Relic agent from it. I'll handle this in a feature request so we can see support for this framework in a future release.

+4


source


I just tested running new relic from ColdFusion 7 on JRun 4 using Java 6 with IIS on Windows Server 2003 and it works great. I think the confusion is that although IIS is hosting the webpage, JRun is the Java Application Server that ColdFusion runs on.

In your java.policy

( java.home

specified in the jrun\bin\jvm.config

file) add the following permission (and any other required permissions that appear after adding this)



grant {
  permission java.lang.RuntimePermission "accessClassInPackage.jrunx.kernel";
}

      

+2


source


I have the same problem with cf9 and filed a ticket with newRelic (in fact, the sales guy I spoke to did it for me). Their answer is below:

Hi Christoph -

I hate to be the ghost of badnews, but there is no Coldfusion support running in IIS> with any agent at the time. However, I made a feature request. I have also attached this ticket to the request so that if and when we sell it, we will contact you directly.

I'm going to go and mark this ticket as "closed", but if you have any other questions, just answer the ticket and it will open and warn me.

Cheers, Frank.

Note that the newRelic agent works fine on CF10 via IIS.

0


source







All Articles