The official community for ColdFusion.
Recently active
Hi,Recently deployed ColdFusion 2021 on Centos 7.9. Also downloaded and installe the hotfix. I soon discovered wsconfig would not run and I found the articles about downloading a new wsconfig.jar With the new jar installed wsconfig will run but now complains that "Coldfusion could not locate the connector for this configuration. Refer to documentation for suppported web server for you OS."The detected Apache version is 2.4.6 and I do see mod_jk24.so in the jar file. Am I missing something?
We installed the ColdFusion 2021 version on a new server and configured the existing Coldfusion applications to run on it. One of the ColdFusion applications, which does not have any file with .hbmxml extension works fine, but the other application has a few file with .hbmxml extension gives the following error. We verified the IIS web server's request filtering list to be sure .hbmxml extension is not in the block extensions list. Is there any other configuration files should be updated to run the hibernation files without any problem? Thank you for your help!The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code.Null Pointers are another name for undefined values.java.lang.NullPointerExceptionat com.sun.xml.bind.v2.runtime.unmarshaller.StAXConnector$1.getPublicId(StAXConnector.java:101)at org.apache.xerces.util.SAXLocatorWrapper.getPublicId(Unknown Source)at org.apache.xerces.xni.parser.XMLParseExceptio
I tried to automate my installation and configuration for CF2021 on a docker container but i´m stuck with importing the exported configuration of datasources type "other" ( Custom Microsoft JDBC Driver provided through .jar in cfusion/lib folder).My steps where:1. Start Docker Container & import .jar file in lib2. Create the datasource on CFAdmin - connection established - everything green and connection works with cfquery.3. cfsetup export datasource datasource.json cfusion4. Throw away docker container & Start new5. cfsetup import datasource datasource.json cfusionError Message:ERR: Validation failed for following setting(s) in DATASOURCE:DRIVER.ERR: Import of datasource_test in DATASOURCE is unsuccessful.ERR: Import of DATASOURCE is unsuccessful.As the error messages mentiones "DRIVER" i looked at the json to find this line:"DRIVER": "Microsoft JDBC 7.4.1 Driver",I already tried to remove the . and whitespaces - same results. I also tried the exact s
HelloI am having a strange issue. I am trying to implement a websocket with proxy in CF2021, and when I go to the Server Settings->Websocket page in the CF Admin, and select the radio button Use Proxy option, the Submit Changes button disappears?!? What would cause this? I am on:CF2021, Version: 2021.0.03.329779Ubuntu 20.04LTS Anyone have any suggestions?thanks in advance
I can not access SBA Profile DSBS FOR spreadsheets
What is the chr code for a ballot box with and without x? I found where is says it should be:#chr(2612)# #chr(2610)# #chr(2611)# but they do not work.
I'd like to be able to use a hex value for color like: <cfset SpreadsheetFormatCell(xl,{color="#FE0000",fgcolor="#Clr#"},#xl.rowcount#,1)> or <cfset SpreadsheetFormatCell(xl,{color="#355f91",fgcolor="#Clr#"},#xl.rowcount#,1)> Currently you can only use this list of predefined colors:Colors="black,brown,olive_green,dark_green,dark_teal,dark_blue,indigo,grey_80_percent,orange,dark_yellow,green,teal,blue,blue_grey,grey_50_percent,red,light_orange,lime,sea_green,aqua,light_blue,violet,grey_40_percent,pink,gold,yellow,bright_green,turquoise,dark_red,sky_blue,plum,grey_25_percent,rose,light_yellow,light_green,light_turquoise,light_turquoise,pale_blue,lavender,white,cornflower_blue,lemon_chiffon,maroon,orchid,coral,royal_blue,light_cornflower_blue"
I would like to be able to format part of a cell so that the output looks like:Updated for SSEWG: Yes Date: 8/31/2022instead of having to put each section into a different cell like:Updated for SSEWG:YesDate:31-Aug-2022
Saw note to use getColumn width from a static function but don't know how to call it within coldfusion. static int getWidth(Sheet sheet, int col) { int width = sheet.getColumnWidth(col); if (width == sheet.getDefaultColumnWidth()) { width = (int) (width * 256); } return width;}
When creating an RDS connection to the internal CF9 server (127.0.0.1:8500) I get a popup box with a red 'X' saying 'Unable to contact RDS Server "Home." Error Executing RDS command. Status Code: 404, Reason : Not Found'Why am I getting this message? It would be nice if we could connect to a database directly in CFB without having to use RDS. (hint hint)
Hi, I installed ColdFusion Builder Extension for Visual Studio Code. I also have the Prettier extension installed to handle formatting. I got a notification in VSCode saying something like "Prettier is unable to format ColdFusion files (CFML), please pick a different default formatter". The option presented was to use "Adobe ColdFusion Builder", so I selected it. Now when I view and save .cfm files it formats the files automatically. The issue is that I don't like how it formats the files. Can this be adjusted? Besides the fact that I don't like the way it does or does not indent JavaScript on the page, the biggest issue is it forces a hard line break at around a 100 characters that is notably moving some of my single line javascript comments to the next line resuling in uncommented text.Example: //Imagine comment longer than 100 characters...end of comment. When I save it changed it to: //
Comment protéger sa base de données quand on est obligé de l'ouvrir pour oploader des images ?Tout est dans le titre !!Merci pour votre avisCordialement How to protect your database when you have to open it to opload images?Everything is in the title !!thank you for your opinionCordially
I know that folks are using the JDBC connectors (with some gymnastics) to attach ColdFusion X to Azure SQL. I had previously done this in coldFusion 9 but found that under a load, it was less than desirable (allowing timeouts and conection refusals in the connection pool).So in coldFusion 10 I came across being able to use the Microsoft SQL driver by simply adding this line to make it use SSL:EncryptionMethod=SSL;(in the connection string box)I can't find the chatter on this, but it makes more sense to me to use the built in sql driver instead of JDBC with some JAR updating and restarting.. (feels 3rd party to me!)All was well, for over a year. These work very nicely and perfectly. Impressive, even.So I now do the EXACT SAME on ColdFusion 11 and I get: Connection verification failed for data source: cadxAppjava.sql.SQLException: Timed out trying to establish connectionThe root cause was that: java.sql.SQLException: Timed out trying to establish connectionLike nothing
I just applied update 5 and now I am getting XML errors:"Error","ajp-nio-127.0.0.1-8020-exec-10","10/13/22","11:28:42","Medlists3","coldfusion.runtime.CFPage.XmlSearch(Lcoldfusion/xml/XmlNodeList;Ljava/lang/String;)Ljava/lang/Object;https://helpx.adobe.com/coldfusion/kb/coldfusion-2021-update-5.html saysCHANGE IN XMLIf the XML path contains a forward slash or backslash, it will be blocked. The flag, coldfusion.xml.allowPathCharacters, must be set to true to allow the same.But I don't know where to make this change.
Is there a way to programmatically turn off grid lines like you can do from within an excel file by selecting “View” and uncheck gridlines?
Hi Everyone, IIS connector log (isapi_redirect.log) is around 1.5 GB and keeps increasing, it stores the same warning message each time:[9544:15528] [warn] ajp_process_callback::jk_ajp_common.c (2245): (cfusion) AJP13 protocol: Reuse is set to false Most important after 2 - 3 days it throws Error 503 Service Unavailable. Server Info:Coldfusion 2018.0.15.330106Java HotSpot(TM) 64-Bit Server VM - 11.0.12+8-LTS-237Tomcat 9.0.60.0IIS 10.0Windows Server 2019 Connector Settings:worker.cfusion.type=ajp13worker.cfusion.host=localhostworker.cfusion.port=8018worker.cfusion.connection_pool_size=1000worker.cfusion.connection_pool_timeout=60worker.cfusion.max_reuse_connections=1000 Please advice.Thanks in advance
Just learned about CF2021, downloaded the 2021 developer version and having weird issues with cfselect tag.I have 2 forms, registration and request forms. both use cfselect tags to create two or three dependent dropdowns.On my registration form:I have 3 dependent dropdowns. A states dropdown, zip codes and US cities dropdown all use cfselect. When user select a state, related zipcodes populate the second dropdown and then when a zipcode is selected the related city gets selected in the 3rd dropdown. All work great. The selected, value and message attributes all are working just great! (codes below):States dropdown:<cfselect name="StateCode" bind="cfc:cfcomponents.RegLocation.GetStates()" selected="#GetUser.State#" bindonload="true" required="yes" message="Please select your State" class="smallstylebox" value="#Trim(GetUser.State)#"/>ZipCode dropdown:<cfselect name="ZipCode" bind="cfc:cfcomponents.RegLocation.GetZipCode({StateCode})" selected="#GetUser.Zip#" c
I have a query which I try to fetch records using IN operator. But the record retrieves only first data not all data . What I have tried is<cfargument name="names" type="struct" >SELECTID,Name,TitleFROMtblabcdWHEREActive = 1AND Name IN(<cfqueryparam value="#arguments.names.data#" cfsqltype="cf_sql_varchar" list="yes" separator="|">)</cfquery>Here arguments.names.data = abc data | efg nameQuery return only data of "abc data"How to return both data's from this query using IN operator.
hello, on http://localhost:8500/CFIDE/administrator/ I am getting an error with the message "coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Runtime service is not available."I am running CF21 on macOS Monterey. The java version on my system is "19.0.1". Please help with any ideas on how to overcome this. Thank you.
Good afternoon,In an attempt to finally upgrade my environment from CF2016 to CF2021, one of my servers is experiencing an issue with losing connectivity to the data sources. Upon reviewing the coldfusion-error.log I find the following error on each of the data sources: "java.lang.NoClassDefFoundError: Could not initialize class com.microsoft.sqlserver.jdbc.DriverJDBCVersion.".The required files are installed to cfusion>lib: mssql-jdbc_auth-11.2.0.x64.dll and mssql-jdbc-11.2.0.jre11.jar.I was able to correct the issue by shutting down ColdFusion services and clearing out the contents of the cfusion>wwwroot>WEB-INF>cfclasses and restarting ColdFusion but this is not a viable solution for a Production system.Any idea what might be going on? I am on the latest update of CF2021.
I have an index page that calls several includes using variables. Part of my site has an inventory section. I would like to insert the name of the inventory item into the title tag. From the index, I can tailor the title tag in the header to show the section and categories, but since the query for the individual item is in the included file, that variable doesn't exist yet when the index comes up. I tried to use the cfhtmlhead from the inventory page, but it neither adds to nor replaces the title that is called in the index.cfm page. Here is my code, but it doesn't work.<cfhtmlhead text="<title>xxxx</title>"></cfhtmlhead> I guess, I could pass the inventory item name in the URL, but most items have spaces in them and then I have to deal with that too.Thanks, Kirk
Is this a bug? The cfsqltype cf_sql_smallint type doesn't work for any integer under 99, but the cfsqltype cf_sql_smallint does. For example - <cfset cookie.factId = 1> <cfquery name="factMatchSelect" dbtype="query"> SELECT id FROM factSelect WHERE id = <cfqueryparam value="#cookie.factId#" cfsqltype="cf_sql_tinyint"> </cfquery>
Is this a bug? Running the following produces an error no matter what 'type' attribute value is entered, even 'any'. However, it runs fine when the type attribute is omitted. <cfparam name="cookie.factId" type="any" default="1">
never had this issue before but when querying a db from my component I received the following error: [Macromedia][SQLServer JDBC Driver][SQLServer]Invalid object name 'collection_lines'. The query works just fine from console and the table exists all db privilages match. To troubleshoot i pulled the same query from my cfm page rather than the component and it functioned normally.
We recently installed CF2021 and our IT department flagged us as having an old JRE installed in Coldfusion2021\cfusion\jetty\jre. We already configured CF itself to use a different JRE instead of the one in Coldfusion2021\jre, and we also set jetty to use the same JRE by changing the path in the jetty.lax file. Interestingly, it originally referenced the main JRE, not the copy in the jetty folder. As far as I can see, there's no reference to the jre in the jetty folder - is it safe to delete this? Or do we need to maintain this jre as well?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.