Questions
Recently active
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,^_^
Good afternoon,I would like to think this question has been asked and answered before but I'm not having the best time naving the updated forum. Anyway, I have a compiled Java application that I cannot read with CF. This is my error message: Object Instantiation Exception. Class not found. My jar exists in here: <cfset THIS.javaSettings = {LoadPaths = ["/ReaderRFID/lib"], loadColdFusionClassPath = true, reloadOnChange=false}/>. My output page:<cfset jar = CreateObject("java", "AlienClass1ReaderTest")><cfset readTags = jar.AlienClass1ReaderTest><cfoutput>#readTags#</cfoutput>The class should be called from the jar but nothing happens. Any help is always appreciated. Thanks!
In the distant past, I've written a "next-previous" page selector, but I remember (again in the distant past) there was a section that listed pre-created apps that were available for free or pay. If one still exists, I can't find it.I want to create this type of thing and I don't want to spend a lot of time doing it:Does anyone know where code (free or priced) that would support this application exists?Karen
Hi,The current environment is Cold Fusion 9 and SQL Server 2008 R2 Enterprise.The some of the data on the SQL Server is going to be encrypted because it contains sensitive data. The data is going to be encrypted by SQL server.The data is not going to be encrypted by Cold Fusion.The question I have is there a way for Cold Fusion to access the encrypted SQL Server data?Also, is there a way for Cold Fusion to encrypt the data (Using the SQL Server encrytion)?Thanks,Mike
Hi all - I am looking for the fastest, most effective way to create private blog (diary) areas for my site's readers.In the distant past, I handcrafted an extensive diary and note system, but today, there are two problems. The first is that compared to what is offered today, it looks like an antique, and two, I want to minimize stress for the people who run CF and SQL servers and make sure I create the most secure system possible.I want people to create an account that includes a private "note/blog" area. Their entries can be seen sequentially by, at least, date. It would be nice to search the entries by key words, however, I'm OK with keeping things simple.I wouldn't mind using something like a very stripped down CMS like, for example, WordPress. The issue is that I anticipate making thousands of diaries. So I'm more concerned with the CMS than WordPress itself and all of its themes.I am aware of FCKeditor and fooled around a bit with it 10 years ago. Possibly that is all I need to co
I am importing a CSV file into a temporary table and then running a select query that joins my actual database table with the temporary table, looking for any changes in the data. If changes exist, the select query is looped from 1 to #recordCount# and an update is applied to each record via cfquery. It runs very quickly (much more quickly than looping the query itself), but my memory spikes and overloads after about 1500 updates are completed. I need to be able to do upwards of 20000 at a time, without killing my system. I have tried manually setting the runtime garbage collection to trigger after X number of loops, but that doesn't seem to help. I am running CF8. See below for loop example:<cfloop from="1" to="#updatedRecordsQuery.recordCount#" index="a"><cftry> <cfquery datasource="#db#" name="doUpdate"> &n
Hi People,When I am using iframes or frames (older sites), as a extra security precaution I use the JavaScript function:<SCRIPT LANGUAGE="JavaScript1.1">if (top == self) self.location.href = "../index.cfm";</SCRIPT><cfif (HTTP_REFERER DOES NOT CONTAIN "referer_page.cfm") <cfabort></cfif>It works great to keep visitors (hackers?) from opening and/or trying to post to the page.The problem is that the JavaScript displays in source code and the less they know...I know the JS is client side but is there anyway to create the function in the server side CF or otherwise hide from prying eyes?I a running cf9 on my and most of my client sites.Thank in advance
Hi,I'm running CF11 deployed in JEE configuration (as a war file on "Vanilla" Tomcat 7.0.57). Oracle Java 1.7.0_71 It seems to be functioning correctly but it fails to shutdown cleanly. In particular there is two errors in the error log each time. The first one:INFO: A valid shutdown command was received via the shutdown port. Stopping the Server instance.Nov 20, 2014 10:45:27 AM org.apache.coyote.AbstractProtocol pauseINFO: Pausing ProtocolHandler ["http-bio-8680"]Nov 20, 2014 10:45:27 AM org.apache.coyote.AbstractProtocol pauseINFO: Pausing ProtocolHandler ["ajp-bio-8609"]Nov 20, 2014 10:45:27 AM org.apache.catalina.core.StandardService stopInternalINFO: Stopping service CatalinaNov 20, 2014 10:45:32 AM Information [localhost-startStop-2] - Stopping Monitoring Server.Exception in thread "qtp1802875397-63" Exception in thread "qtp1802875397-64" java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/Str
I'm in the early stages of redoing one of my websites and would like to build a "continuous feed" into my Blog -Littleviews Blog BitsThe effect would feed information pinterest or facebook-like.I connect to SQL server, so would have no trouble posting the data, and I suppose I could display it "page by page," but I'd really like to have a continuously fed scrolling display.Do any of you know how to do this?Karen
anyone know how to fix this?
Hi All,I am very new in ColdBox framework but have a good experience in ColdFusion.In browser I am firing a url like below.http://abc.xyz.dev.local/index.cfm?event=event.userLists&user_id=1463613.Here the event handler named "event" is pointing to the path - \handlers\pdt\real\ldr\ldr_nm\ldr_portal\ldr_agt\event.cfc. My question here is how ColdBox framework identifies this cfc file(\handlers\pdt\real\ldr\ldr_nm\ldr_portal\ldr_agt\event.cfc). I know there is some config file where we can provide this handlerspath . But in my application (where I am working) I can see this file but it has been configured as just "handlers" instead of what I am expecting like "\handlers\pdt\real\ldr\ldr_nm\ldr_portal\ldr_agt\event.cfc". Please correct me if I am wrong as I dont have much knowledge about this frameworkIs there any other configuration file or any more set up can be done to map this handler to.Your timely help is well appreciated.Thanks in advance
Hi All,As we all know ColdFusion included mobile application development in CF11. While debugging native functionality like Geo Location, Camera API, Phone Book we should be able to debug it by connecting a device in your computer so that we can debug it properly. I couldn't find a good tutorial/documentation where I can follow the steps to set up the development environment.Please suggest any blog/tutorial regarding this.
One of my associates is complaining that since I applied the Coldfusion 10 Update 14 we are experiencing memory issues. Has anyone else had issues with Update 14?Just a System Admin fighting the good fight!
Hi All,I have CF 9 v 9,0,0,251028The latest hotfix for CF 9 is Cumulative hot fix 1 | ColdFusion 9.0.2Can I apply only this fix or do I need to install others?When i try:"2. In ColdFusion Administrator, select System Information page by clicking the icon "i" in the upper-right corner."My java applet doesn't work, I already update java but still not working. It is a way to do this manually?Is there a CF9XXX.exe installer file with the latest patch for CF9?Thanks in advanced!
Has anyone successfully installed coldfusion on a system that is running cpanel?Current setup:Redhat Enterprise 3Cpanel
Hi All,I found this link for CF10.Malcontent BoffinI try the same in CF9 but it is not working. I am using poi v 3.11 beta 3.Anyone update to the new poi on CF9?Thanks in advanced
Our clients are reporting that after they update to Java 7.51 they are now getting the following error:"Missing required permissions manifest attribute in main jar: CFIDE/classes/cfapplets.jar"Is this something Adobe is supposed to fix? Having my users add an exception to their browsers is NOT an option for us.thanks!
Hi all! I'm at the end of integrating an in-house calendar with Google calendars and all is working, however, I am stumped as to how implement callback functions. Here's what I'm trying to do as outlined on http://code.google.com/p/google-api-java-client/source/browse/Batch.wiki?repo=wikiWhat I need to do is this section right here:JsonBatchCallback<Calendar> callback = new JsonBatchCallback<Calendar>() { public void onSuccess(Calendar calendar, HttpHeaders responseHeaders) { printCalendar(calendar); addedCalendarsUsingBatch.add(calendar); } public void onFailure(GoogleJsonError e, HttpHeaders responseHeaders) { System.out.println("Error Message: " + e.getMessage()); }};And then later pass it to:client.calendars().insert(entry1).queue(batch, callback);I believe I can pass one function by passing just the name of the function, but BatchCallback has two functions. Is this im
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.