The official community for ColdFusion.
Recently active
Environment Details:ColdFusion 2021 ReleaseMicrosoft SQLServer 2019Microsoft SQLServer Management Studio Version 18.8Error Message:"Connection verification failed for data source: TESTDBDSNjava.sql.SQLInvalidAuthorizationSpecException: [Macromedia][SQLServer JDBC Driver][SQLServer]Login failed for user 'admin'."Hello,when i add new datasource in coldfusion administration page by selecting Microsoft SQL Server Driver,Im getting above error message.I have entered only Server Name as "DAGEOP", the CF administrator by defalt adding user name as "admin" and some hidden password. Kindly let me know what mistake i have done and how to solve this error.Below are few details about my installation.
I created a fillable form with Adobe. I am using cfpdfform to populate it. I have made no programming changes or changes to the form. Suddenly, it has started filling the form (or the form has started displaying) in landscape mode. You can just see the beginning of the field contents before it disappears upwards. What happened? How do I fix it?
Does anyone have tips on getting clustering wroking across multiple servers in fully patched CF 2016? Update patch 14 added extra security to the AJP connector in the form of a secret value and it limits what addresses an AJP connector listen on, apparently. I have two servers in a cluster and I can see from the logs that server WEB01 is trying to connect to server WEB02 but the connections are refused. specifically the error is this:ajp_connect_to_endpoint::jk_ajp_common.c (1124): (WEB02LocalClusterInstance_x.x.x.x) Failed opening socket to (x.x.x.x:8012)The port number is correct for the WEB02 instance. In the WEB02 instance's server.xml, the connector tag has the matching secret attribute, allowedRequestAttributesPattern=".*" and I've tried various values in the address attribute, with no success. Does anyone have any suggestions for how to troubleshoot or fix this connection issue? ThanksAndy
My company has been running one of its websites on Coldfusion9 for the past 10 years and our developer is no longer supporting us and we need help. Our website is down as of yesterday and we have determined it is the site not the hardware. How can we go about finding someone to assist.
For a DataSource on the Admin page that is a Microsoft SQL connection, I need to set the ApplicationIntent to ReadOnly. We are running on an old CF10 version (upgrade scheduled for later this year), so is the only way to do this is by entering the Connection String value in the DataSource advanced options?(and of course only selecting the Read tick boxes below it, turning off the update, insert, etc) (and if it is, any typical examples would be really useful).
I have checked the documentation, but nothing is jumping out at me. Is there a function that returns the locale country and language codes? GetLocale() returns the "locale name as it is represented in ColdFusion": ie: English (US) Spanish (Standard) ... What I am looking for is the ISO codes en US es ES ... I can get the information using getPageContext(), but just wondered if I was overlooking a built-in CF function.
At one of our customers we’re migrating an old CFMX7 application to CF2021. In certain reports the Week() function is used. <cfset oldlocale = SetLocale (“Dutch (Standard)”)> We’re performing the initial tests in our CF2018 developer environment. In using Week() in CFMX7 the week starts at Mondays and weeknumbers are correct. Using the same source code in CF2018 the week suddenly starts at Sundays and weeknumbers are incorrect (for instance today – 21/01/2021 – returns week 4 instead of week 3). What could be the cause for this? Or is there some kind of setting we’re missing (I checked cfadmin, but couldn’t find a lead)?
AXIS2 ERROR org.apache.axis2.rpc.receivers.RPCMessageReceiver - org.apache.axis2.AxisFault: Mapping qname not fond for the package: coldfusion.runtimejava.lang.RuntimeException: org.apache.axis2.AxisFault: Mapping qname not fond for the package: coldfusion.runtimeThis is the error I'm getting from the AXIS2 log. I applied the latest updates hoping that might fix the problem but it hasn't. qname appears to be a function in axis 1 so I'm wondering if this is known bug CF 2018 and Java 10? Any help is appreciated.
I'm finally updating a site from CF9 to CF2018 and am having problems with my cffeed. Can anyone see any obvious errors in my code? This has worked for years in CF9, but in CF2018 I'm getting the error:"There is a problem in the column mappings specified in the columnMap structure.The cffeed query does not contain any column by the name of title." <!--- Map the orders column names to the feed query column names. ---> <cfset columnMapStruct = StructNew()> <!--- 2020.06.15 <cfset columnMapStruct.publisheddate = "PUBLISHDATE"> ---> <cfset columnMapStruct.pubdate = "PUBLISHDATE"> <cfset columnMapStruct.content = "SUMMARY"> <cfset columnMapStruct.title = "TITLE"> <cfset columnMapStruct.rsslink = "URL"> <cfset columnMapStruct.id = "GUID"> <!--- Set the feed metadata. ---> <cfset meta.title = "My Domain News"> <cfset meta.link = "http://mydomain.com/"> <cfset meta.description = "News fr
Any better ways to convert ColdFusion to work in all browsers ? Is ther any easy way to convert CFML forms to HTML instaed of complete rewrite. [moderator: edited title for clarity and accuracy]
Hi, This is a continuation of the thread: https://community.adobe.com/t5/coldfusion/ever-increasing-number-of-database-connections-with-jdbc-and-odbc-drivers-mssql/m-p/11748504?page=1 For some reason I cannot post to that thread any longer, so am creating this one to carry on.
Here's the deal, we have a CF web service which generates PDF files. You pass it HTML and the path to a file server and it writes a PDF there. Pretty simple. We have a Java app which generates appraisals on the fly and uses the CF web service to make a PDF. The problem: Once or twice a day a request would just hang. CPU usage would stay low, but the thread would just sit there. This was on CF 7.0.2 Standard which means cfdocument was single threaded and all other cfdocuments on the server would get in line and wait. We now have CF 7.0.2 Enterprise which multi-threads cfdocument, but it hasn't solved the initial problem. These hung threads will run for hours EVEN THOUH the timeout is 100 seconds. Furthermore, I CANNOT kill the thread with SeeFusion. I have to restart CF. So. I started digging. I would observe stack traces for the hung threads. Every time the thread hung it would be fetching images in the HTML. I knew this because the top of the thread stack always looks like this: "j
As I encountered a problem with the coldfusion-out.log rotation process I tried to change the value of the parameters maxOutFileBackup and maxOutLogSize in the neo-logging.xml file and restart the ColdFusion service. The new parameters are not systematically taken into account and I could have coldfusion-out.log bigger than the max size defined in the xml file. Content of the deployed neo-logging.xml: <wddxPacket version='1.0'><header/><data><array length='2'><array length='0'></array><struct type='coldfusion.server.ConfigMap'><var name='consoleVisible'><boolean value='false'/></var><var name='maxFileSize'><number>5000000.0</number></var><var name='enableOSLogging'><boolean value='false'/></var><var name='maxOutFileBackup'><number>20.0</number></var><var name='pattern'><string>"%p","%t",%d{"MM/dd/yy","HH:mm:ss"},%a,"%m%x"%n</string&
Hello, I still need the Coldfusion 8 server. I wanted to be asked how to convert an HTML table (dynamically heard) as xlsx, or how to use it? greeting
Will the cffileupload tag get an update with a non-Flash component? Or is this tag depricated along with Flash? https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-f/cffileupload.html A little past half way down the page find "USAGE". SWF is a FLASH based component.
Hi,I was wondering can the actual folder name where coldfusion 2021 installed "ColdFusion" folder be changed to something else for example "coldfusion2021"?Thanks
Within a cfm, I have a script section and the pre-compiler is throwing this error - it is not recognixing that $("#selectname") is valid invalid token at the second ". Any ideas on how to go around the problem?
My company website is using cfClient with device detect to pass metrics on whether customers are using computers, tablets, or smartphones to reserve car rentals. Here is the block we have in our checkout form template:<cfclientsettings detectDevice=true /> <cfclient> <cffunction access="public" name="cfDeviceGroup" returntype="struct" returnformat="json"> <cfreturn {'name'=cfclient.properties.deviceGroupName,'desc'=cfclient.properties.deviceGroupDescription}> </cffunction> </cfclient>This has been working fine in CF2016, but we are starting to migrate to CF2021 and now, loading the page with that code block generates a fatal error:class coldfusion.runtime.NeoBodyContent cannot be cast to class coldfusion.runtime.NeoJspWriter (coldfusion.runtime.NeoBodyContent and coldfusion.runtime.NeoJspWriter are in unnamed module of loader coldfusion.bootstrap.BootstrapClassLoader @21bd128b)Guidance on how we can or should troubleshoot c
Hello folks, We recently installed ColdFusion 2018 on Red Hat Enterprise Linux in our environment and are migrating applications to the new servers. One of our applications uses Solr collections. Unfortunately it looks like Solr isn't running on the new system. It appears to be installed (/opt/coldfusion2018/cfusion/jetty/solr is populated) but it doesn't appear to have spawned any jobs. When I try to create new collections I get the error message, "Unable to retrieve collections from the Search Services. Ensure that you have installed ColdFusion Search Service and it is running." Solr host name: localhostSolr Home: /opt/coldfusion2018/cfusion/jetty/multicore I try to reach {server}:8983/solr and {server}:8991/solr via both browser from my work machine and curl from the server, to no avail. Any thoughts? Do I need to install a separate Solr instance? Thanks.
Hello, good morning everyone.I wonder if the code below will consume coldfusion 9 resources,since we have more than 40 simultaneous users in the routine.<cfoutput query = "qryItens"><cfset obj = createObject ("component", "cfcs.PrestadorPrecoIten"><cfset obj.setid_prestador (id_prestadorItem)><cfset obj.setid_item (id_item)><cfset variables.preco = obj.getPreco ()># variable.preco #</cfoutput>That is, instantiate an object within a loop and the routine is being accessed by 40 users on average.can cold fusion stop?
my knowledge to the crypt functions and the hmac is limited and i am still learning. I am trying to do this of Node JS code to Coldfusion but my results are not the same const getMessageSignature = (path, request, secret, nonce) => { const message = qs.stringify(request); const secret_buffer = new Buffer(secret, 'base64'); const hash = new crypto.createHash('sha256'); const hmac = new crypto.createHmac('sha512', secret_buffer); const hash_digest = hash.update(nonce + message).digest('binary'); const hmac_digest = hmac.update(path + hash_digest, 'binary').digest('base64'); return hmac_digest; };and i did some try in Coldfusion but i am not able to get right results <cfset nonce = createobject("java","java.lang.System").currentTimeMillis()> <cfset string_to_sign = "/0/private/TradeBalance" & hash(nonce, "SHA-512", "UTF-8")> <cfset api_sign = tobase64(hmac(string_to_sign, "#secret_key#", "HMACSHA256"))>
Hello, I just installed the January Microsoft updates for Windows Server 2012R2 and now ColdFusion 2016 ( with level 16 patch ) will not start. Please help, this is a production system for state Government! Here is the info from the logs. I have tried restarting the server 4 times. Funny thing is that the server log says ColdFusion application server was started. Thanks for any help you can give! When I try to start the Application Server from Windows Services it times out and gives the following response. "Windows could not start the ColdFusion 2016 Application Server services on Local Computer. Error 1053: The service did not respond to the start or control request in a timely fashion. Here is the coldfusion-error log:Jan 24, 2021 7:22:07 AM org.apache.catalina.core.AprLifecycleListener lifecycleEventINFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [D:\ColdFusion2016\cfusion\
I am wondering if anyone found success running CF Performance Monitoring Toolset (2021 specifically) in kubernetes. I am asking about two things specifically:- Were you able to get autodiscover to work? I think I am having an issue with multicast and RKE with multiple nodes. I believe this to be a networking issue and NOT a PMT issue, since autodiscover works great for me in Dev (single kubernetes node).- Is there any option for updating the password for PMT at container runtime? I looked at the official docker image but didn't see a way to set a user/password via env var. I did see a bin/passwordreset.sh but it seams to be a TUI script and from a quick glance it doesn't take a user/pass as arguments.Beyond updating the password, I wasn't able to find any options for updating PMT configurations in an automated fashion, besides the handful of env vars from the official container image (which I am using and did help me), but maybe I missed a file/document so
I am following the instructions here:https://developer.paypal.com/docs/checkout/integrate/#5-capture-the-transactionAnd when I get to step 6.2 to verify the transaction on the server side I am not sure what to do. Do I need to install something on the server if I am using the javascript code shown?Cheers!
I'm using ColdFusion 2018, Oracle 12c, and IIS 10. I setup a page to upload Microsoft Word files with a DOCX file extension into a BLOB field into the database. When I use the website to open the file all I see is the text. The problem is I do not see any images that were pasted into the file before it was uploaded. In IIS there is a MIME Type of DOCX. The upload query is similar to:<cfquery datasource="my_dsn">INSERT INTO my_db_table (File_Name,File_Content)VALUES (<CfQueryParam CfSqlType="cf_sql_varchar" value="#File_Name_Value#">,<CfQueryParam CfSqlType="cf_sql_blob" value="#File_Content_Value#">,)</cfquery> The query to get the file from the database is similar to:<cfquery datasource="my_dsn" name="my_query">SELECT File_Name, File_ContentFROM my_db_tableWHERE File_Id = "#File_Id_Value#"</cfquery>
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.