Skip to main content
Inspiring
Nov 13, 2025 6:05 AM UTC
Answered

ColdFusion 2023 Excel Export Breaks When AppDynamics Java Agent Is Enabled

Hello all, I am having an issue with ColdFusion 2023 where exporting to Excel only fails when the AppDynamics Java Agent is enabled. As soon as I add this JVM argument 

-javaagent:C:\AppDynamics\JavaAgent\ver25.6.0.37159\javaagent.jar

my excel export fails and which results: 500 - Internal server error. If I remove that line and restart ColdFusion services, the export works perfectly again.

I think the issue here is AppDymanics agent is interfering with ColdFusion's functionality. 

Has anyone  esle run into this with CF 2023 and AppDynamics, or is there any known conflict between these two? 

any adivce, tips or shared experience would be really helpful. 

 

Thanks 

 

BKBK
BKBKCorrect answer
Community Expert
Nov 13, 2025 8:29 PM UTC

Thanks for clarifying. Please say what you mean by "ColdFusion 2023’s Excel export functionality". Could you, for example, share the code you're using?


I've never used AppDynamics before. However, looking at the AppDynamics documentation, I have a suggestion.

 

What if you implement "prefer retransformClasses"  and, in addition, "exclude classes" that are used in ColdFusion 2023 for Excel generation? In other words, test with something like

-javaagent:C:\AppDynamics\JavaAgent\ver25.6.0.37159\javaagent.jar
-Dappdynamics.agent.exclude.classes=org.apache.poi.*,org.apache.xmlbeans.*,org.openxmlformats.*,com.adobe.coldfusion.excel.*
-Dappdynamics.agent.prefer.retransformClasses=true

This combination, if it works, should do two things:

  • prevent AppDynamics from instrumenting the problematic Excel libraries in ColdFusion (POI, XMLBeans).
  • allow safer late retransform for other ColdFusion-managed classes.

8 replies

Community Expert
Nov 13, 2025 3:02 PM UTC

What exactly do your logs say?

 

Have you contacted Adobe tech support directly?

 

Translate
Dave Watts, Eidolon LLC
MadhabdhkAuthor
Inspiring
Nov 13, 2025 11:48 PM UTC

@Dave Watts, When the Excel export fails, the stack trace includes the following AppDynamics class: com/singularity/ee/agent/appagent/entrypoint/bciengine/FastMethodInterceptorDelegatorBoot

Translate
BKBK
Community Expert
Community Expert
Nov 13, 2025 9:57 AM UTC

If the Excel export works perfectly without the AppDynamics agent, doesn't that mean you don't need the agent in the first place? Or do you need the agent for something else?

 

 In fact, ColdFusion 2023 is itself capable of exporting an Excel file. So I wonder why you need an external agent. In any case, could you share the code you want to use for exporting Excel?

Translate
MadhabdhkAuthor
Inspiring
Nov 13, 2025 11:27 AM UTC

Thank you for your comment. Just to clarify, we’re not using AppDynamics for the Excel export. The agent is required by our organisation for server and application monitoring, so disabling it isn’t an option. The issue seems to be a conflict between the AppDynamics Java agent and ColdFusion 2023’s Excel export functionality. Any insights from others who have faced this would be appreciated.

Translate
BKBK
Community Expert
Community Expert
Nov 13, 2025 7:47 PM UTC

Thanks for clarifying. Please say what you mean by "ColdFusion 2023’s Excel export functionality". Could you, for example, share the code you're using?

Translate