Questions
Actividad reciente
I have an app where users can upload files that get attached to an email message. Whenever the file size exceeds 7Mb in my testing, the mail fails, goes into the Undelivr directory and the mail.log shows:"IOException while sending message." The exception.log shows: "javax.mail.MessagingException: IOException while sending message; nested exception is: java.net.SocketException: Software caused connection abort: socket write error" The file was successfully uploaded and exists as specified on the cfmailparam tag. Any ideas?
I installed successful ColdFusion 2021 developer in Ubuntu 20, I can access admin panel with http://127.0.0.1:8500/CFIDE/administrator/index.cfm but when I try create a file in wwwroot is index.cfm and then I hit http://127.0.0.1:8500/index.cfm, it saysFile not found: /index.cfmHow do I fix it? And may I create routing or do something like this.
Hi, Approximately one week ago we had an issue with one of our ColdFusion 2018 servers (something along the lines of "could not process Application.cfc"), which required a restart of both instances running on the server. I am not sure if this part is relevant but when restarted the first instance came back fine, while the second would not start for approximately 10 minutes (it took I think three separate service "start" attempts before it eventually came back online). Prior to the restart we had consistent memory ussage on both instances of ~10-12% (average daily), while it has now been in the 25-40% daily average range for the last week according to FusionReactor. While there were minor changes to three cfm/cfc files on the same day, I don't believe they were anything that would explain this increase. Other metrics like CPU usage appear to be consistent with what they were previously. Both instances have a minimum JVM heap size of 256MB, and a maximum of 5120MB. The ser
There is a custom code that create objects of a cfc (with almost 56 level of inheritance) using create object function, apparently its taking almost 10 to 13 mins to complete and causing the request to time out. We are using the JRE inside the Coldfusion 2021 with Java 11. The same code works fine with 2016 and Java 1.8 with almost 7 mins Are there any limitation for level of inheritance when creating object with 2021 or anything to do with Java 11 with CF 2021 Any help will be much appreciated
Facing issue somtimes showing this error at browser when trying to open an PDF attachment file:An error occurred while trying to encrypt or decrypt your input string: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.. At application.cfc:<cfset application.sKey = generateSecretKey('AES')> At view CFM:<td><a target="_blank" href="#buildurl('newonlinesc.view_pdf&id=#encrypt("2||#rc.data.pass_no#", '#application.Key#', "AES", "HEX")#')#">View Emirates</td> Opening a PDF file (view_pdf.cfm):<cftry><cfif structkeyexists(rc, 'type') AND len(rc.type)> <cfheader name="content-disposition" value="inline; filename=#rc.pass_no#_#rc.type#"><cfif listlast(rc.type,'.') EQ 'pdf'> <cfset ctype = 'application/pdf'><cfelse> <cfset ctype = 'image/jpeg'></cfif> <cfcontent type="#ctype#" variable="#rc.docdata#">&
My rhel8.7 server has both IPv6 and IPv4 enabled. It seems ColdFusion and Tomcat are both picking IPv6 instead of IPv4. I added Java options to the jvm.config "-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true" but they don't seem to have any effect. Is there another way to have ColdFusion builtin web server use IPv4? Thanks,Dan Mather
All Set
BREAKING!! We are pleased to announce that ColdFusion Fortuna Open Beta is live and ready for testing! As usual, we are reaching out to you for initial feedback on how we can shape the future of ColdFusion. What's in it for me? The Beta builds are power-packed with several new and enhanced features, like: GCP Services (Storage, Firestore, PubSub) GraphQL (*NEW* perhaps the most anticipated feature) Central Config Server JSON Web Tokens (JWT) (*NEW* security, enough said!) SAML and LDAP support PDF 2.0 (A whole lot better PDFs) Performance Monitoring Toolset (Monitor the GCP services and flag potential bottlenecks) Docker and PMT enhancements What builds are available? The following are available for download: ColdFusion Zip Installers (Win/Linux/Mac/WAR) ColdFusion GUI Installers (Win/Mac/Linux) .NET Integration Services Installers AddOns Installers (Win/Mac/Linux) VS Code Builder Extension VSIX compatible with Fortuna I don't see CFFiddle CFFiddle will be avai
We are pleased to announce that we have released the updates for the following ColdFusion versions: ColdFusion (2021 release) Update 3 ColdFusion (2018 release) Update 13 ColdFusion 2021 Performance Monitoring Toolset Update 3 ColdFusion 2018 Performance Monitoring Toolset Update 4 ColdFusion API Manager updates These updates address vulnerabilities that are mentioned in CVE-2021-44228 and CVE-2021-45046. After applying the update, all Log4j 2.x-related jars will be upgraded to version 2.16.0. Update Jan 11 2022: To address the vulnerabilities later found in log4j 2.17, those who have applied the most recent update can now implement the log4j 2.17.1 updates, as provided along with instructions here: https://helpx.adobe.com/coldfusion/kb/log4j-2-17-0-vulnerability-coldfusion.html Update Dec 21: To address the vulnerabilities later found in log4j 2.16, those who have applied the most recent update can n
I just installed ColdFusion 11. I am pretty sure I selected the option to install the addons like Solr, but when I am in the coldfusion administrator under Data & Services, I click ColdFusion Collections and I get nothing. It won't go to the page at all. If I click on Solr Services a page will come up. If I click on ColdFusion collections and then restart the coldfusion addons I get a page that comes up saying"Unable to retrieve collections from the Search Services.Ensure that you have installed ColdFusion Search Service and it is running."I am assuming it means it isn't installed.So I went to Adobe - ColdFusion Support Center : More Downloads and downloaded/installed the Windows Add-on Services Standalone Installer. I didn't change any of the settings or folders and installed it. I restarted the server. I logged back into the coldfusion administrator and I see the same thing. Nothing changed. When I go to view the file folders I have c:coldfuion11 and a c:coldfusionAdd-onServices.
Having issue while inserting value through CF2021.I have a table named Pass having a column COMPANY_NAME VARCHAR2(50 BYTE). While inserting arabic value shows error [Macromedia][Oracle JDBC Driver][Oracle]ORA-12899: value too large for column "UATALL"."GATE_PASS"."COMPANY_NAME" (actual: 80, maximum: 50)though, the value I am insering here actually is 43 charectors only but showing actual value 80 while inserting: INSERT INTO PASS(COMPANY_NAME) VALUES (('شركة يخت انترناشيونال للملاحة البحرية ذ م م ') )
The date value passing through .cfm file dd/mm/yyyy ("01/03/2023") while reciving value in CFC file<cfset actualdt=lsdateformat('01/03/2023','dd-mmm-yyyy')><cfdump var="#actualdt#">outcome comes 03/Jan/2023 but it should come 01/Mar/2023.Please guide me how to come out from this issue.
I am trying to access the collections api for the CF Admin and have a question. I am executing a call to the reloadCollection method but it does not appear to return any value. Here is a sample snippet of the code I am trying to execute/collectionObj = createObject("component","cfide.adminapi.collections"); collectionObj.reloadCollection("testCollection");The above executes without issue but if I try setting the method call to a variable and then try and dump the variable the code generates an error that the variable was undefined.tempTest = collectionObj.reloadCollection("testCollection"); writeDump(var="#tempTest#",format="html");Is there a way to determine if the call has executed successfully?
Hi All,I'm trying to install CF2021 on RedHat 8.7The installer keeps exiting with the error:"JRE libraries are missing or not compatible" Initially I thought perhaps my /tmp was not large enough so I enlarged it.Then thought to set IATEMP to another location with tons of space --still the same error.I even installed a JRE for the system --still the same errorIs this a problem with running RHEL 8.7 vs 8.5?Is there something else I should be trying?
Trying to install Coldfusion2021 Developer on Windows 10 Enterprise using InstallAnywhere with all* the sub-components. After ~10-15 seconds it shot up to 100% completion, and has now been stuck there for an hour. If I press the "Cancel" button, it says Installation Not Complete and if proceeding with Cancel will not be installed. What should I do? I see Adobe Coldfusion 2021 and Adobe Coldfusion 2021 Add-on Services in Windows Programs and Features, so if I do have to bail out and it's not working, seems like I will at least have the chance to uninstall / retry. *If had it to do over, would DE-SELECT all of the sub-components.
In the Administrator page I can see the update 5 available to download and install, but when i click the option it just stays stuck on "starting download". Does this option not work? Or what do I need to check? I don't want to install manually since I am not experienced with CF. Any suggestions would greatly be appreciated.
I installed CF2021 Update 5 and im getting errors in my administrator in the "Server Setting Summary" and the "Updates" page. Can i back out a hotfix manually and try to reapply it?
Hello. I've got a website that uses cfntauthenticate to authenticate users.It's been working great, but after moving the website to a new server it's suddenly stopped working.When trying to authenticate, this is the error message I get:javax.servlet.jsp.JspException: coldfusion.security.BadUserNameException: The user name or group name <username> is invalid in domain <domain>.The error message sort of makes it seem like there something wonky going on in the connection between the server and the domain controller, but I'm not sure. Old and new server is in the same domain.Can't find anything related to this in the logs.It's even working when I develop locally on my laptop. I've tried to do some googling, but haven't really been able to find anything.Anyone here got any ideas on what the issue could be? (Originally we were using cfldap, but after migrating to using cfldap with starttls, we were seeing intermittent login errors (e.g. your first login would
Hello, I'm trying to create a simple multi-upload page with javascipt progress bar.All wordks fine if I upload a few (22 or less) files, but if I upload more than 22 files, en error occures "net::ERR_CONNECTION_RESET". (the idea is to be able to upload at leats 1000 files in one go) Im running CF2023 on a windows server with IIS. U|sing the page throug IIS or directly with IPadres on port 8501 makes no difference.I have tried to use smaller files, but whatervere I do, I'm not getting the files to upload if uploading 23 or more files.The upload works with XHR2 acync. Can anyone tell me what I'm doing wrong, or where to find the correct setting to change this behaviour Thanks in advance
Hi, I am trying to manually execute Update 5 for Cold Fusion 5. I have stopped the ColdFusion2021 Application Server service. I am trying to execute the following:D:\ColdFusion2021\jre\bin>java.exe -jar D:\Hotfix\hotfix-005-330109.jar I am receiving the following message after trying to the above commandThe process cannot access the file because it is being used by another process. Does someone have an answer? Thanks, Mike
Hi all,We are seeing a really weird, totally random crash on 2018. This is with code that is currently running fine in production on 2016, and ran fine on 11. Here are definitions for three simple objects that produce the crash:BaseEntity.cfccomponent mappedSuperClass="true" accessors="true" { property name="id" fieldtype="id" generator="identity";} BaseType.cfccomponent mappedSuperClass="true" accessors="true" extends="BaseEntity" { property name="title" fieldtype="column" ormtype="string";} PersonType.cfc component accessors="true" extends="BaseType" persistent="true" { property name="People" fieldtype="one-to-many" cfc="Person" inverse="true" inverseJoinColumn="PersonTypeID" singularname="Person";} PersonType.cfc here is just an example. The third component in the chain could be totally empty (so only containing the inherited ID and Title).What we are seeing is that Coldfusion 2018 will crash at a random time, with an exception t
Hello:I need to replicate the following cURL call, which uses a multipart/form-data header and form fields: curl -L -R POST "https://api.XXXXXXXX.com/api/v1/academic_success/sync/enrollment" \-H "Authorization: Bearer <access_token>" \ # Generated OAuth2 token request-H "Content-Type: multipart/form-data" \-F "input_type=CSV" \-F "input_data=@enrollment_upload.csv" \ # Path to CSV file. Include '@' before path.-F "dry_run=false" \ # Set to true when testing-F 'drop_not_passed_enrollments=true' \ # only enabled when dry_run = false CFHTTP does not allow specifying form fields for multi-part data. I assume I'd have to code a header that included the form fields as part of the body along with the data, but am unclear on how to do this. We are currently production with CF 2018.Thanks.Gerry, Pace University
Good morning, I recently upgraded from Coldfusion 2016, to 2021, with no real problems but did notice one thing that I cant seem to get a handle on. I do exporting of data though CF to build formatted spreadsheets, and since the upgrade, one thing no longer works and it is related to the setRepeatingRows. I use the "cellRangeAddress = CreateObject("java", "org.apache.poi.ss.util.CellRangeAddress");" followed by "poiSheet.setRepeatingRows(cellRangeAddress.valueOf("$1:$1"));" and get an error that says The setRepeatingRows method was not found.Either there are no methods with the specified method name and argument types or the setRepeatingRows method is overloaded with argument types that ColdFusion cannot decipher reliably.Has anyone run into this and would happen to have an idea around it?
We've got an intranet hosting web apps written in ColdFusion with some RESTful services set up to query from our databases and return JSON for the web pages. Recently, we upgraded our development server from ColdFusion 2018 to ColdFusion 2021; afterwards, our calls to the REST service began returning objects that break our Javascript. On closer examination in the network tab, the JSON is all present and properly formatted; the only difference we can see is that the 'content-type' header of the returned object is 'application/json' on our production server (still running 2018), but 'text/plain' on our development server. We've confirmed that the RESTful services are all properly registered on the development server and that the REST API scripts, site scripts, and Javascript are all identical between the development and production servers. See below an example function from one of our REST API scripts: <cffunction name="getProject" access="remote" returntype="Stri
Since upgrading from CF11 to CF2021, the <cfpdfform> tag no longer works - that said, not sure if the upgrade is the issue or not. In the past (on CF11), we’ve successfully generated a pdf file with the code:<cfpdfform source="Avery45008CopierMailingLabels_HBD.pdf"destination="E:\HBD_DEV\files\DestiAvery.pdf"action="populate"overwrite="true"overwriteData="yes"/> No file is generated, nor is there an error message displayed in the browser (see exception log below). I've also used the following code, as suggested by CFSupport via StackOverflow, which results in the same error:<cfpdfform source="Avery45008CopierMailingLabels_HBD.pdf"destination="E:\HBD_DEV\files\DestiAvery.pdf"action="populate"fdf="true" />Coldfusion 2021: Update 5Our JAVA version is: jdk-11.0.17 We've also deleted all files in the cfusion/bin/felix-cache and cfusion/wwwroot/WEB-INF/cfclasses folders. No love.Looking in the exception log, we find:(the culkprit appears to be "java.lang
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.