The official community for ColdFusion.
Recently active
When running the CF 2018 installer, it does not detect that I have CF11 already installed. I have a Windows 2016 server with CF11/IIS installed on the 😧 drive. The installer doesn't give me the option to configure my web server for 2018
Hi,On one of the ColdFusion 2018 Server on Windows 2019, service doesn't start after server reboot and seeing this following error in event log. The ColdFusion 2018 Application Server service could not be started within 240 seconds. Increase the server startup timeout value using E:\ColdFusion2018\cfusion\bin\coldfusionsvc.exe -starttimeout <seconds> "ColdFusion 2018 Application Server".We have to manually start service. I don't see anything in ColdFusion logs:"Information","main","06/01/19","03:04:11","","Starting logging...""Information","main","06/01/19","03:04:11","","Starting license...""Information","main","06/01/19","03:04:12","","Enterprise Edition enabled""Information","main","06/01/19","03:04:12","","Starting crypto...""Information","main","06/01/19","03:04:13","","Installed JSafe JCE provider: Version 6.21 Crypto-J 6.2.1, EMC Corporation. JsafeJCE Security Provider (implements RSA, DSA, ECDSA, Diffie-Hellman, ECDH, AES, DES, Triple DES, DESX, RC2, RC4, RC5, PBE,
We have a test server running CF2016 with code migrated from CF10.Everything works great... until... we pull a change from our repo that includes an edit to one of our CFC's.We have a chain of CFC's that extend one another... on a server restart, it takes approximately 40 seconds for the CFC chain to init. It takes a bit of time, but there are no issues.If we make a single change to one of the CFCs in this chain on CF2016, it appears to be causing CF to "re-init" the entire chain and brings the server to a grinding halt under load.When we do the exact same thing on CF10, it handles it like a pro.I would love any suggestion on what to try here. We've tried playing with various settings, but it seems there's something different in CF2016 that we are not aware of.You help is greatly appreciated!
How do you change the ColdFusion Administrator password? Does this require a restart of a service or any interruption of service?
I recently had up set up a new development laptop on which I use CF and mySQL. I have had this application running for almost 10 years on various versions without a problem, but this is the first install on a Windows 10 machine (don't know how Windows 10 would affect this, but that is the only difference).After getting everything set up and running I came across a weird error and am wondering if anyone else has seen it.I have information I collect in which I need to encrypt a date of birth and store it. I have this field in the database as a VARCHAR, not a date. However, on the new machine, when trying to update or insert with cfupdate/cfinsert, I receive an error that the encrypted value is not a valid date or time string. This happens even if I remove any validation of a valid date format and just leave it strictly as a text value.I am able to manually code an SQL update/insert which is accepted, so that would make me believe it is a CF issue, however, I am al
Bonjour,Je voudrais prendre un pdf d'un livre pour l'insérer dans un fichier mais je voudrais aussi la mise en page basique.Voici mon code :<cfpdf action = "extracttext" source = "chemin" name = "myXML"/> <cfcontent type = "text/html" /> <cfoutput> #myXML# </cfoutput>J'arrive à récupérer le texte mais sans la mise en page !Merci par avance pour votre aide.
Need a bit of assistance. I have a client who manually creates a report t the end of each year that consists of poundage of every product per customer. A customer may buy 50K lbs of different products each year. Is there a way that I can add anywhere from 2 to 1000 different numbers together by outputting the data into a cfset tag or something else?
Just had to restart my Mac server for the first time since Mac OSX upgrade from 10.14.4 to 10.14.5 last week. ColdFusion now no longer starts. Error log shows.INFO: CFMxmlServlet: Macromedia Flex Build: 87315.134646Jun 02, 2019 11:50:11 AM org.apache.coyote.AbstractProtocol startINFO: Starting ProtocolHandler ["ajp-bio-8014"]Jun 02, 2019 11:50:11 AM com.adobe.coldfusion.launcher.Launcher runINFO: Server startup in 4859990 msError: Could not load mediaLib accelerator wrapper classes. Continuing in pure Java mode.Occurs in: com.sun.media.jai.mlib.MediaLibAccessorcom.sun.media.jai.mlib.MediaLibLoadExceptionJun 02, 2019 12:02:58 PM 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: /Applications/ColdFusion11/cfusion/bin/../lib:/Applications/ColdFusion11/cfusion/bin/../lib:Jun 02, 2019 12:03:20 PM org.apache.coyote.Ab
HI Cancel membership has been canceled . How do i return membership ?
I'm looking for a way to add a text equivalent to a rendered cfchart. I've read documentation for CF11 that states "Some complex controls such as cfmap and cfchart do not include text alternatives for some image," and you cannot add an alt tag to <cfchart>. However, the same documentation states "ColdFusion charts do provide any text equivalents for non-text elements." Adobe ColdFusion 11 - Section 508 Voluntary Product Accessibility Template How is this achieved?
I am rendering a screen using AJAX / and a cfc. (No reloads)All goes well until I make a boo boo and get a JSON error. I know what causes it - text that should not be in the cfc. But now I've hit a brick wall. I cannot find the "extra text" that's causing it. Or ... is that the only cause? The odd thing is the application runs fine on the bets server but not on localhost. So I looked for any / all instances of "localhost" or 127.0.0.1 and nothing problematic. Is there a tool out here that scans cfc's for these silly errors? I have looked in the server admin logs but I have no idea which of the log files would house it. Usually only use application.logThanks
I've been using CFwindow for years and find it very old fashioned.Have to use this code to open a window ...<cfwindow width="#srw#" height="700" bodystyle="overflow:auto"name="Alerts" title="Alerts" modal="True" closable="true" draggable="true" resizable="true" initshow="false" />then trigger it withColdFusion.navigate('/members/edit/edit.cfm','MemberProfileEdit');rePositionWindow('MemberProfileEdit');ColdFusion.Window.show('MemberProfileEdit');ColdFusion.Window.hide('pRC')I am also told by another developer that this usage is archaic and inefficient, in that the cfwindow line actually opens the window on initial load.Also having problems getting a cfwindow to "find" javascript that is declared outside of it.What in jquery can one use that is today's standards?
J'd like to manage libreooffice api for replace text in odf.i've done a running java cfx but when i transate to cf sintax i get an errorthis is the working java/cfx codecom.sun.star.util.XReplaceable xReplaceable = null;com.sun.star.util.XReplaceDescriptor xReplaceDescr = null;xReplaceable = UnoRuntime.queryInterface(com.sun.star.util.XReplaceable.class, xTextDocument);xReplaceDescr = xReplaceable.createReplaceDescriptor();and this is the cf code<cfset xReplaceable = CreateObject("java", "com.sun.star.util.XReplaceable")><cfset xReplaceableClass = xReplaceable.getClass()><cfset xReplaceable = UnoRuntime.queryInterface(XTextDocumentClass, xTextDocument)><cfset xReplaceDescr = xReplaceable.createReplaceDescriptor()>the error is in the last lineclass not found: com.sun.star.util.XReplaceable.createReplaceDescriptorany ideas?
Hello, all,I've got an issue that has me perplexed.We have a section on our restricted site for news. There is an admin panel that allows someone (authorized) to create/edit news articles, and one of the optional fields is for uploading an image.Now, so far this hasn't really presented any problems. Until today, every image that was uploaded fit a particular format ratio, so everything appears correct.Today, two images that are much more wide compared to the height have been uploaded. When viewing the actual article, it looks okay. However, on the 'landing' page of the site, there is a carousel that rotates among four selected articles that contain an image, along with four clickable thumbnails on the right side. For both the thumbnails and the full-size image associated with it, those two images extend past the right of the image space, I'm assuming it's using overflow: hidden;.I tried to update the page that processes the form, using imageInfo() to check
I'm looking to convert libreoffice java example to cfm but j don't undestand how reference to "XComponentLoader.class" before create itthis row are ok<cfset OOB = createObject("java","com.sun.star.comp.helper.Bootstrap")/><cfset xContext = OOB.bootstrap()><cfset xMCF = xContext.getServiceManager()><cfset desktop = xMCF.createInstanceWithContext("com.sun.star.frame.Desktop", xContext)><cfset UnoRuntime = createObject("java","com.sun.star.uno.UnoRuntime")/>this is then row to convert XComponentLoader xCompLoader = UnoRuntime.queryInterface(XComponentLoader.class, xDesktop);I try:1) <cfset xComponentLoader = UnoRuntime.queryInterface(XComponentLoader.class, desktop)>2) <cfset myloader = createObject("java","com.sun.star.frame.XComponentLoader")/><cfset xComponentLoader = UnoRuntime.queryInterface(myloader.class, desktop)>3) <cfobject type="Java" class="com.sun.star.frame.XComponentLoader.class" name="myloader" acti
Anyone have any experience setting up the Simba JDBC driver for Google BigQuery using service account authentication?The problem seems to be reading the file which is defined in the OAuthPvtKeyPath which is a part of the JDBC URL. When I submit the form with the JDBC URL, Driver Class, Driver Name etc I receive the following error:java.sql.SQLNonTransientConnectionException: [Simba][JDBC](10100) Connection Refused: [Simba][JDBC](11640) Required Connection Key(s): OAuthPvtKeyPath, OAuthServiceAcctEmail, ProjectIdAll three parameters (OAuthPvtKeyPath, OAuthServiceAcctEmail and Projectid) is part of the JDBC URL like this example from the Simba JDBC driver user manual (except from the OAuthPvtKeyPath which is the path I'm using on my Mac):jdbc:bigquery://https://www.googleapis.com/bigquery/v2:443;ProjectId=MyBigQueryProject;OAuthType=0;OAuthServiceAcctEmail=bqtest1@data-drivertesting.iam.gserviceaccount.com;OAuthPvtKeyPath=/Applications/ColdFusion2018/cfusion/lib/myfilewithkeys.json
Coldfusion 11. I use server monitoring, which is configured on jetty.port. How to disable http TRACE, OPTIONS methods on jetty.port?
I've recently changed from Dreamweaver CSS.5 to Dreamweaver CC. There are a number of little differences that make a BIG difference in usability.I finally found (through an internet search) where "Search local site" is.When I attempt to close a tag with </, the autofill is almost never the tag I opened. When using block comments with <!--- --->If there is a comment IN that block comment, the color change terminates. Auto indent is really just messed up...I had to turn it off.So the basic question is....Is there a way to make Dreamweaver CC work more like Dreamweaver CSS.5?It is not my opinion that these are all "things you are used to" kind of problems. These are changes that were made that a) don't work the way they were supposed to and b) are NOT a step forward.
Setup: CF 2016 on MS Server 2016 w/IIS 10Using Fusion Reactor trial and finding queries hanging. Still not found an answer that directly impacts this condition. I did uncheck "save class files" restart the CF Server, rechecked "save class files" per another thread. Does not seem to cooperate.ajp-nio-8016-exec-11" Id=160 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@72e82b6c java.lang.Thread.State: WAITING at sun.misc.Unsafe.park(Native Method) - waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@72e82b6c at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) at j
Hi all,I'm using the addons docker image as part of setting my app up for local development using Docker as well as preparing to deploy to AWS ECS.I've managed to connect to Solr from the CF Admin and I can access the Solr admin on my local machine as well.However, when I try to create a new collection, I'm getting this error:solrconfig.xml missing luceneMatchVersionIn my docker-compose.yml file I have" addons: container_name: mycfaddons image: eaps-docker-coldfusion.bintray.io/cf/addons environment: - acceptEULA=YES - configureExternalAddons=true - addonsHost=addons - addonsPort=8991 - addonsUsername=admin - addonsPassword=admin ports: - "8991:8991" networks: &n
I'm a bit out of my league on this issue.due to a recent infrastructure change that disabled the mail relay without actually notifying of an error and left us not sending any emails for two weeks, Worse we were completely unable to rebuild the "lost" emails. I've been tasked with a way to create a local backup of all outgoing mail. This is easy enough to do in CF, however the team wants solutions that don't use CF tags. The specific requirements I have are either to capture and locally store the cfmail file itself, or to capture the to, from, reply, cc, bcc, subject and body using (for instance) event gateways, mail log,or any listeners or apis that might be available.The email log contains to, from and subject, but doesn't contain body, so it's not viable for us unless i am missing a setting that makes the log keep the body of the email.I'm currently researching CFMailgun, and the Mailgun API, but i need a few other options as it does have some issues that may not be palat
What is the IP limit maximum of a CF server developer edition. I just noticed that by accident I am running a dev edition on a server that responds to many web sites (multi homed under Windows IIS)These domains are speculative (about 10) and all they do is say "FOR SALE". They also track IP of origin, unique IP's. All told about 500 inquiries a day. But WHY does it even work??? Shouldn't users or robots get an error saying maxed out based on IP addresses? I am planning on installing CF18 in the coming week, when it occurred to me ... don't fix what ain't broken ... and WHY is the IP restriction not being enforced? I thought 2 or 3 was the limit?
I have asked several Adobe support people over the years for this tiny feature but it's not in 2018 even though I was told it would be In debugging section ... where it asks what IP addresses should include debugging data on screen, and we put the IP addresses in, it would be helpful to have a description field next to it so we know whose IP address it is?Same in IIS ... no description!Unless ... ... is there a way to add a delimiter and add a description? Like: 122.122.122.122; Stans workstation
Hi,I use the following code to consume a rest service in my local ColdFusion application (and it works fine) but I am trying to add it into the ColdFusion administrator so I can manage the rest service from the admin rather than having a URL in local code. I then just want to simply call it from my local code.Is this possible? How do I achieve this?-----------------------------------------<cfhttpurl="[URL goes here]?LH_ADDRESS=#parameter#"method="get"result="res"/>-----------------------------------------Many Thanks,George
Hi,a customer is going to update their Oracle and announced they are setting SQLNET.ALLOWED_LOGON_VERSION_SERVER to 12. This means the client driver has to be version 11.2 or later.In previous discussions I always sad simply use a recent Thin driver and everything's fine.I found this query that says which client you are on SELECT DISTINCT s.client_version FROM v$session_connect_info s WHERE s.sid = SYS_CONTEXT('USERENV', 'SID')I run it from a cfquery tag in a ColdFusion script and everything is fine when I use a recent Thin driver, they report back version 12 or 18 or something.I also ran it in ColdFusion 2016 with Updater 10 installed. I connected to Oracle using the built in driver (Developer Edition/Enterprise). I got 11.1.0.7.0 as my client version. This is lower than the driver recommended to connect to Oracle 12 with (11.2).Does anyone have a recent Oracle running and set ALLOWED_LOGON_VERSION_SERVER to a high valu
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.