The official community for ColdFusion.
Nyligen aktiv
As part of securing some of our machines for DoD use we have to maintain up to date Java versions. To do this we install the latest JDKs and use the Server Settings > Java and JVM > Java Virtual Machine Path to then tell CF to use it. We've been doing this since CF4 with no issues and when we moved to CF6+ we continued the process but also after doing this we then remove the jre folder from the runtime folder from within CF itself. Well I just setup and installed my first CF9 + Win 2008 R2 server and after doing this the Solr service fails to start. This then had me digging into its folder structure and it has its own jre folder within its folder structure as well. However using Sysinternals Process Monitor I can see the Solr service is NOT using the jre folder from within it's own structure but is actually going up and "trying" to use the runtime\jre folder which I've removed so it causes the service to fail. I can actually remove the solr\jre folde
I have a client running ColdFusion 9 on Server 2008 R2 (64-bit). The server hosts several sites using ColdFusion. Starting Friday, one of the sites in particular seems to crash. It will not serve up any ColdFusion pages, but HTML is fine (I have a "test.html" page in the site's root that just serves up basic text) . All the other ColdFusion sites on the server are fine when this one crashes.There are no errors or entries on the Windows logs nor the ColdFusion logs about the cause. Only a restart of the "ColdFusion 9 Application Server" service brings the site back, but it will often crash a very short time later (sometimes within minutes)The sites IIS log does not indicate it is getting hammered from outside (i.e., does not seem to be any form of DOS attack), and several manual virus and malwarebytes scans come up clean.We are at a loss, currently, and hoping someone here might have some ideas of what is going on and/or how to fix it?I look forward to hear
I am trying to pass a JSON string representation for the attribute "plotarea" in this way :<cfchartchartWidth="800"chartHeight="600"showLegend="yes"format="png"title="Commandes"plotarea='#{"margin-top":"dynamic"}#' >But I got following error :Error casting an object of type to an incompatible type. This usually indicates a programming error in Java, although it could also mean you have tried to use a foreign object in a different way than it was designed.Is there any documentation explaining how to use "JSON string representation" in cfchart attributes ?
We have need seeing a lot of this error in our log. 50 or > at the same second. Developers feel that is the reason the application is becoming unresponsive and that Clients are calling in about the same time reporting that they are unable to access application.We are running CF 10 S Update 15 was installed yesterday and problem happened again last night. We are running an ORACLE database and Window Server 2008 R2."Warning","ajp-bio-8012-exec-38","12/15/14","14:41:19","CFADMIN","Unexpected characters found in locale."over and over again.Any suggestions?I have seen one other post on topic and the end result was to not worry about it, but it is troubling all the same.
As I'm sure you know CF Builder 3 isn't quite perfect yet and the Adobe Bugbase has a not-so-great search interface so I thought I would share some issues I reported recently which have impacted my workflow with the product. Perhaps some of my fellow developers have also run into these annoyances. If you have, or if you feel like supporting these issues to get Adobe's developers to fix them, I encourage you to also leave a note on each bug to increase the likelihood that they get fixed in the next release. Feel free to also post links to bugs/feature requests you've submitted and perhaps the community will also support your bug reports as well. Below please find the name and link to each bug/feature request. To vote for the bug please click the "my vote" button at the bottom right corner of the page.Bug 1:Code Coloring Breaks When Comments Used Within Function with Named ArgumentsBug#3831825 - Code Coloring Breaks When Comments Used Within Function with Named Argument
ColdFusion 11 Details:Server Details Server Product ColdFusion Version 11,0,03,292480 Tomcat Version 7.0.54.0 Edition Developer Operating System Windows 8 OS Version 6.2 Update Level C:/ColdFusion11/cfusion/lib/updates/chf11000003.jar Adobe Driver Version 5.1.3 (Build 000094) Sample error:queryError [Macromedia][SQLServer JDBC Driver][SQLServer]Procedure or function 'ListClientDPReceiptFormat' expects parameter '@idCient', which was not supplied. where (param 1) = [type='IN', class='java.lang.Integer', value='4', sqltype='CF_SQL_INTEGER'] Stored Procedure: <CFSTOREDPROC procedure="ListClientDPReceiptFormat"> <CFPROCPARAM TYPE="IN" DBVARNAME="@idClient" VALUE="#Request.Client.Id#" CFSQLTYPE="CF_SQL_INTEGER"> <CFPROCRESULT NAME="qryDPReceiptFormats"> </CFSTOREDPROC>This stored procedure and others like it worked fine until CF 11 upda
Is anyone else having issues with cf 10 update 15 and oracle datasource ssl connection string? Update 15 breaks the connection string.
I am responsible for several CF 9 Servers for a large group of developers and I have been more and more frustrated by the LACK of information in the application.log file.Specifically - the lack of user_agent in the log.I know that I can set a server side error file - but frankly - I just don't have the time to rebuild the proverbial wheel and recreate a whole new application just to trap errors.The existing log system almost has all I need to initiate a development support ticket - but getting flooded with Bots and PCI Compliance testing is resulting in a lot of wasted time searching for real errors.Are there any downloadable or purchasable code out there that already does the trapping efficiently and effectively?
ColdFusion 11 Update 3 is available for early access — Adobe ColdFusion BlogThanks,Adobe ColdFusion Team
This one has me quite confused. I have a baby test routine:testrun.cfm<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Untitled Document</title></head> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script><cfset dataout = timeformat(now(), "mm:ss")><cfquery name="testrun" datasource="#application.ccidatasource#"> update bridge set testtime = <cfqueryparam cfsqltype="cf_sql_varchar" value="#dataout#"></cfquery><script type="text/javascript">$.getJSON("cciBridgeServices.cfc", { method: 'testThis', tes
I'm behind a proxy server and I have added the following arguments to the "Server Settings > Java and JVM" in the Administrator-Dhttp.proxyHost=proxyhostURL-Dhttp.proxyPort=proxyPortNumber-Dhttp.proxyUser=someUserName-Dhttp.proxyPassword=somePasswordI can check for updates, but cannot download them. Where cna I download them from on the Adobe site?
We are considering adding ORM to an existing project. We have not worked with ORM in production before and this has the potential to be one of our biggest projects in terms of usage. For this reason, I have hesitated to suggest it, but i think it could simplify some things for us, specifically with respect to code maintenance and re-use. This is also the second phase of development, so all the query logic so far is in place without ORM, although we do have queries separated into a separate service layer. We are looking to get some arguments for and against using ORM it in production.Are people using ORM in large production projects now? Any problems or considerations using ORM mixed with native CF query methodologies (cfquery, etc)? What are some things to consider with respect to scaling and performance (I have played around with options for lazy loading, batch loading, and secondary caching using ehcache)? What about maintenance and security?
This is just a community service announcement. If you have a twitter account and want updates on CF related bugs and other information you might want to check out @cfnotifications or the corresponding website http://cfn.cfuser.com. The information comes from the Adobe bugbase. The twitter feed and website are not officially supported or sponsored by Adobe.
I have a <select multiple> Tag that lists out cities. Is there anyway to have a button that would select all contents in that field?
I have a page that is tall enough that it scrolls vertically. When it finishes loading, the browser automatically scrolls to the bottom of the page where a cfgrid element lives. It happens in IE, Chrome and Firefox.I've narrowed the cause down to the JavaScript that the ColdFusion 11 server adds to the top of the page. If I disable scripts in the browser, the page doesn't automatically scroll to the bottom.Adding window.scrollTo(0,0) to the body onload doesn't work. Whatever JS is scrolling to the bottom happens after the onload event. I haven't tried jQuery's .ready() yet; hoping there is a fix.Has anyone else seen this and know of a fix or workaround?
Adobe is running a ColdFusion User survey to understand various aspects related to ColdFusion such as product satisfaction, product usage, platform usage, purchase process, access to training resources and issues related to hiring CF developers. Adobe is working with a third party research organization to host and analyze the results from this survey.Survey will approximately take 20 mins of your time, but the detail in the survey may provide valuable insights into making the product, that you care for, so much better and relevant.Here is the link for the survey.
Can anybody help!Payment processor Chargify updated their SSL from SHA-1 to a Comodo SHA-2 SSL. Well this has caused major problems on my end. CFHTTP now returns "Connection Failure" and nothing more.I have:Downloaded the new cert from Chargify.com in .cer format.Used the keytool to import it to CACERTS sucessfully (Java version 1.4.2_19 Which should work)Restarted Coldfusion and that didn't workAlso downloaded COMODOExtendedValidationSecureServerCA.cer and COMODOCertificationAuthority.cer and added both CACERTS file via keytool import.Restarted Coldfusion and that didn't work.I'm thinking if they would have used Thawte or Verisign, I wouldn't have this problem. Anybody have any suggestions??? I've been pulling my hair out for the last 8 hours trying to figure this out.
I have CF 10 sp 14 running on a Windows 2012R2 Virtual Machin and I need to connect from a win 8.1 client running CF Report Builder 10 to the CF server. The cf server erver is hosting 2 web sites with seperate IP addresses and a third web site with the CFadmin site. I have tried all the combinations of the CF RB RDS server setup screens without success.I can browse the local server folders while setting up the data sources - which I think means that RDS is working.I also have setup individual users with RDS access and passwords. I am using the CFadmin IP address for the Host Name: 172.16.1.242 and port 80 or 443 (I do connect to the admin pages with https) Typical errors when using Test Connection. The following error occurred while trying to connect to the RDS Server: Http/1.1.404 Not Found Ideas - is this supposed to work? Jay Bietz
Hi All,I am limited to CF standard 9.0.2 with Java Virtual Machine Path = 1024 and -XX:MaxPermSize=512m.In the pass i was able to fix my memory issue with -XX:-UseGCOverheadLimit, not this time.The error "java.lang.OutOfMemoryError: Java heap space" is when it is reading and excel macro file (.xlsm) with 2,500 KB already compact using this tech:http://datapigtechnologies.com/blog/index.php/how-to-compress-xlsx-files-to-the-smallest-possible-size/My code is:<!--- new file to write --><cfset xlsFile = createObject("java","java.io.FileOutputStream").init(filepath) /><!--- open stream and read in excel file template ---><cfset xlsFileTemplate = createObject("java","java.io.FileInputStream").init(filepathtemplate) /><cfset newWorkbook = createObject("java","org.apache.poi.ss.usermodel.WorkbookFactory").create(xlsFileTemplate) /> <!--- Error line ---><!--- read from template to new FileOutput ---><cfset writeableWorkbook = createObject("java
I've searched everywhere for a solution, but I didn't see anyone doing exactly what I want to do, even though it's pretty simple. Here is my pdfAPI.cfc code:<cfcomponent > <cffunction name="pdfconvert" access="remote" returntype="binary" output="false" produces="application/xml" > <cfargument name="sourceWebPageURL" type="string" > <cfset pdfDoc = "" > <cfdocument format="PDF" name="pdfDoc" src="#sourceWebPageURL#" mimetype="text/html" /> <cfreturn #pdfDoc#> </cffunction></cfcomponent>And here is the code to invoke the service:<cfset
Hi,I've implemented page caching on a site by adding a call to cfcache in the application.cfc onRequest function. It all works fine on individual requests. However under load (e.g. running a broken link spider across the site) I'm getting error notifications (via the onError function) with the message "Cache A95C0BF9E9BFBC6F151F03E939D2D2D6TEMPLATE already exists". It seems like there may be two requests trying to save into the cache under the same ID? I would have thought CFCACHE should have handled locking and concurrency issues for us? We route 404s back to a main handler to "rewrite" friendly/clean URLs, so whilst these requests use different URLs they are all running the same set of components and templates.The relevant parts of the onRequest handler in application.cfm are:188: <!--- setup caching if enabled --->189: <cfif getConfigValue('page_cache') eq "true" and not application.security.isLoggedOn()>190: &nb
Installation hung up here:Failed to copy hotfix files:C:\Users\itsm-sse-svc-cf\331588.tmp\dist\cfusion Status: FATAL ERROR Additional Notes: FATAL ERROR - Failed to copy the hotfix files to the target location:E:\ColdFusion10\cfusion FATAL ERROR - E:\ColdFusion10\cfusion\bin\coldfusion.exe (The process cannot access the file because it is being used by another process)Tried several times, making sure all services were stopped, but no luck
Adobe should sell ColdFusion to a company who's primary focus is the Marketing Sales and support of the product. It seems that for years Adobe has overlooked their ColdFusion product while choosing to focus on Photoshop and other design related products. ColdFusion does not get the attention that it deserves and had built a fence around adoption of the product by pricing the product out of reach for many. Why would anyone want to purchase ColdFusion when you could be using, PHP, Railo .NET, Ruby on Rails or one of the myriad of other development environments that are just as robust but easier to afford.
I have had CF 10 running on my VM for about a week now. The VM is Windows 2008 Enterprise, 64 bit. CF 10 is 64 bit. The error that I keep getting is:Service Temporary Unavailable!The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Jakarta/ISAPI/isapi_redirector/1.2.32 () To recover, I need to stop and restart all the CF services. Anyone else having this problem or has anyone else had to fix it?
Hello, everyone,Are the files that comprise a collection supposed to be set to 'read only'?C:\ColdFusion10\cfusion\collections is indicating 'read only' for it and all sub-folders/files.Optimizing a collection does not update anything (not even the date last modified) unless I use "purge".I have code that, whenever a user submits a question, will insert the question into a database, query the database for ALL questions, then run a CFINDEX action="refresh" based upon that query (which does, indeed, include the new question.) But the collection never sees the new question.Thoughts/ideas?V/r,^_^
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Har redan ett konto? Logga in
Har du inget konto än? Skapa ett konto
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.