Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CF Update18 - Tomcat In ColdFusion (2021 release) Update 15 (release date: August 20, 2024),

New Here ,
Mar 24, 2025 Mar 24, 2025

Hello Team,

 

We are trying to wrap up Dev testing. 1 main issue that we can't fix and could cause us to rollback end of this week has to do with newer version of Tomcat.

 

In ColdFusion (2021 release) Update 15 (release date: August 20, 2024), we’ve upgraded Tomcat from version 9.0.85 to version 9.0.93

 

We continue to get this: (below) Our code generating multiple PDF's.

 

We have tried 

org.apache.catalina.connector.RECYCLE_FACADES=true in catalina.propterties file NO Difference and

also tried: server.xml file NO Difference. PLEASE HELP, if anyone has any other ideas.

 

<Service name="Catalina">
        <Connector

            discardFacades="false"

</Service>

 

ERROR:

                at coldfusion.tagext.lang.ThreadTag.terminateThread(ThreadTag.java:341)

                at coldfusion.tagext.lang.ThreadTag.doStartTag(ThreadTag.java:204)

                at cfprintmcdetail2ecfm2122999860$func_CFFUNCCFTHREAD_

                at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:623)

                at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:516)

                at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)

                at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:463)

                at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:438)

                at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:310)

                at coldfusion.runtime.UDFMethod.invokeCFThread(UDFMethod.java:245)

                at coldfusion.thread.Task.invokeFunction(Task.java:287)

                at coldfusion.thread.Task.run(Task.java:140)

                at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:260)

                at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)

 

Another error sent to our email when trying to run report:

 

java.lang.IllegalStateException: The response object has been recycled and is no longer associated with this facade at org.apache.catalina.connector.ResponseFacade.checkFacade(ResponseFacade.java:508) at org.apache.catalina.connector.ResponseFacade.getLocale(ResponseFacade.java:293) at javax.servlet.ServletResponseWrapper.getLocale(ServletResponseWrapper.java:208) at coldfusion.jsp.ServletResponseWrapper.getLocale(ServletResponseWrapper.java:38)

120
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 24, 2025 Mar 24, 2025

We have also tried 

org.apache.catalina.connector.RECYCLE_FACADES=false in catalina.propterties file NO Difference 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 24, 2025 Mar 24, 2025

Team, fyi

 

I resolved issue with adding to 

 

<!-- Define an AJP 1.3 Connector on port 8009-->

  <!-- begin connector-->

    <Connector      "added it here with other settings.. "  discardFacades="false"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 24, 2025 Mar 24, 2025
LATEST

Glad to hear you've solved things.

 

That said, I'd never heard of this error, let alone that attribute you added to the server.xml AJP connector line.

 

In order to help others determine if/when they may need this, did you deploy cf with the traditional installer? Or might you have been deploying cf using its WAR file deployment option?

 

And you only applied that Cf update (now 3 updates behind)? Had you tried any later update? I'm not saying you should (though there's an argument for that). I'm just curious if you HAD, to connect the dots again for others seeing this. 


/Charlie (troubleshooter, carehart. org)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources