ColdFusion Builder 3 - Open a large file causing CF Builder 3 to Hang
Need to track an outgoing call to another server on prod
I am limited as to what i can do with the server, however i really need to verify that the code on a particular page is calling the right url into an iframe.
CF Server: Cold Fusion 11 (11,0,15,311399)
Web Server: IIS on Windows 2012 R2
I cannot do the following:
- turn on debugging
- modify the JVM
- install packet sniffers
- modify the code to write the log file directly
I've reviewed the most recent IIS and CF logs on my dev environment and i couldn't locate outgoing calls.
Can any of you recommend some other options? Is there a log level i might be able to turn on in CF that will capture this information? What about IIS?
Thanks
CF2016 JDBC SQL Server 2016 SSL Connections work around
Hello Community.
Recently my team tackled a POC using CF2016 on RHEL 7 connecting to SQL Server 2016 running on Server 2016 and ran into a curious problem.
The problem was this nasty error when setting up the Macromedia JDBC DSNs pointed at SQL Server 2016 with EncryptionMethod=SSL in the connection string :
Connection verification failed for data source: MyTestDatabaseDSN
java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]SSL handshake failed: Unsupported curveId: 29
The root cause was that: java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]SSL handshake failed: Unsupported curveId: 29
Our server Specs:
RHEL 7
CF2016 2016.0.05.303689
Java 1.8.0_144
Tomcat 8.5.11.0
Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy 8 files
The DSNs worked fine without SSL enabled.
Has anyone else experienced this? It sure seems like a bug in the shipped JDBC driver.
Our work around currently is to use the Microsoft JDBC 6.2 driver : https://www.microsoft.com/en-us/download/details.aspx?id=55539
The process for implementing it is really straight forward, I hope this comes in handy for someone else running into this:
Step 1. wget https://download.microsoft.com/download/3/F/7/3F74A9B9-C5F0-43EA-A721-07DA590FD186/sqljdbc _6.2.1.0_enu.tar.gz
Step 2. tar -xvf sqljdbc_6.2.1.0_enu.tar.gz
Step 3. sudo cp sqljdbc_6.2/enu/mssql-jdbc-6.2.1.jre8.jar /opt/coldfusion2016/cfusion/lib/
Step 4. confirm proper ownership and permissions after copying jar to lib and restart the instance
Step 5. login to CFAdmin and create a new DSN, choose Other for the Driver and use the following example for entry values :
JDBC URL
jdbc:sqlserver://<serverIP>:1433;databaseName=YourDatabase;selectMethod=direct;sendStringP arametersAsUnicode=true
Driver Class
com.microsoft.sqlserver.jdbc.SQLServerDriver
Driver Name
Microsoft JDBC Driver 6.2 for SQL Server
Connection String
EncryptionMethod=SSL;ValidateServerCertificate=false;
Coldfusion 8 and Windows 10
Hi there,
Wondering if Coldfusion * can be installed on WIndows 10 Ent 64 bit.
Joe
Error in Apache Connector after installing ColdFusion2018 Update2
Hi There,
As soon as ColdFusion 2018 update 2 was installed and the Apache connector was rebuilt, we are seeing this following error in mod_jk.log, repeatedly.
[Thu Feb 14 12:42:06 2019] [16186:139977799252096] [error] uri_worker_map_update::jk_uri_worker_map.c (1299): Unable to stat the /opt/coldfusion2018/config/wsconfig/1/uriworkermap.properties (errno=13)
The server is running RHEL 7, with SELinux and locked down. However the apache is running without any issues and the web application doesn't experience any issues. But the mod_jk.log is flooded with this entry.
It would be great, if someone could assist on this please. We didn't face this issue before.
ColdFusion 2018 - Not able to select IIS Web Server.
During installation of CF2018 on windows 2019, I'm not getting option to select IIS as web user. In-Built web server is being used. Anyone had this same issue?
How can I move to the next link in the chain of Chained Scheduled Tasks if one of the tasks fails?
So I have about 20 tasks that are chained. Let's say that task number 5 fails, I'd like to move on to task number 6. So I researched and found the event listener functions such as onTaskStart, onTaskEnd, onMisfire, onError. But I am wondering if there is some variable that ColdFusion has built in so that I'd know what the next task in the chain is for me to call the execute functionality to kick it off. Or is there a better way to handle this sort of scenario?
Thanks,
Justin
CFB2018 RDS security -
I can't seem to connect to RDS running on the local machine using CFB2018. It's CFserver 2018 and neither a password nor no authentication works.
Any guidance would be appreciated. See this screenshot for more info: 03.13.2019-13.44.52
Windows could not start the coldfusion 2016 application server on local computer
I have been running a Developer version of CF 2016 on a Windows 10 system for about 4 months with no issues at all. Today I allowed Windows to perform a major update to Windows 10. Upon completion, I could no longer start the Cold Fusion Application Server. This is the message I received: Windows could not start the Cold Fusion 2016 application server on local computer. I rebooted the computer to no avail, reinstalled Cold Fusion to no avail. The install failed at the point that it need to start the server.
Any help is greatly appreciated.
Thanks
Downloading Adobe ColdFusion 16 (broken link error)
Error Executing Database Query
I have a web application written in CF8 with Oracle 11g as the back end. This application has been used very often for more than 6 years. Currently I am moving to CF10 and did only a little modification to the CF codes. When I ran the new application in my test server, everything seems to be working just fine except when it calls an Oracle Package. This action produces an error: Error Executing Database Query The strange thing is everything work before and after calling the procedure, I tested using cfabort This Oracle Package is still working in production server (CF8) but not when it is called by CF10. My question is: Is there any changes for CF10 when calling a procedures? or is there any hotfix that I'm not aware of? The code is as follow: SELECT case trim(to_char(SYSDATE, 'DAY')) WHEN 'MONDAY' then '1' else '2' end AS TodaysDate from dual
SELECT Count(other_id) AS NoRecFound FROM gl_dup_ids_ssns WHERE Trim(create_date) =
SELECT Count(other_id) AS NoRecFound FROM gl_dup_ids_ssns WHERE Trim(create_date) = CF codes to Stop the process and email admin
Error Executing Database Query shows up when it hit to run cfstoredproc. The codes are exactly the same as in CF8, this template was not modified. Exceptions 14:03:53.053 - Database Exception - in /home/space/users/www/GL/glproc.cfm : line 93 Error Executing Database Query.
Error: This page must be viewed over a secure channel
Hi,
I recently installed a wildcard SSL certificate on our domain artgalore.ca.
Soon after, I started to get support emails from customers to say they could no longer access the site because of a 403 error, as seen below. When I turned off my anti-virus software, I was able to access the site. I searched a couple of forums for specifics, nothing seems to be working.
Any help is appreciated.
Arny
Server Error - Macromedia application server(s) are unreachable
quote:
Either the Macromedia application server(s) are unreachable or none of them has a mapping to process this request.
My first thought was an application mapping error or something happened to the .cfm mappings. Everything checked out fine though. So I looked in the wsconfig log files and saw this.
quote:
2008-06-04 16:54:58 jrISAPI[ 760:1048] could not initialize proxy for 127.0.0.1:51800
2008-06-04 16:54:58 jrISAPI[ 760:1048] Couldn't initialize from remote server, JRun server(s) probably down.
Something was definitely running on port 51800 though since I could telnet to it. No clue why it couldn't initialize. Any ideas?
Thanks.
Steve
Coldfusion cfspreadsheet write error
I am using Coldfusion 2016 on rhl7 and cant write a spreadsheet file.
<cfscript>
///We need an absolute path, so get the current directory path.
theFile=GetDirectoryFromPath(GetCurrentTemplatePath()) & "newSpreadsheet.xls";
//Create a new Excel spreadsheet object.
theSheet = SpreadsheetNew("Expenses");
SpreadSheetAddRow(theSheet,"Order,First Name,Last Name,Address,Amount,City");
SpreadSheetAddRow(theSheet,"Order,First Name,Last Name,Address,Amount,City");
SpreadSheetAddRow(theSheet,"Order,First Name,Last Name,Address,Amount,City");
</cfscript>
<!--- Write the spreadsheet to a file, replacing any existing file. --->
<cfspreadsheet action="write" filename="#theFile#" name="theSheet" overwrite=true sheetname = "Expenses">
Returns the following error:
An exception occurred while using action=write. | |
java.lang.ArrayIndexOutOfBoundsException: 0 |
Can anyone help?
cfexchangecalendar is now adding 6 hours to my event
Something has changed with how the cfexchangecalendar tag interacts with the Exchange server but I don't know what!
Up until last week if I passed in a structure like this to the Exchange server everything looked good:
This week however when I pass in a structure like this 6 hours is added to the start and end time of the event. That and the message is displayed as text and is no longer rendered in HTML. Any ideas as to where to look for what changed?
My code to invoke the exchange connection looks like this:
<CFEXCHANGECONNECTION ACTION="open" USERNAME="#MyName#" PASSWORD="#MyPwd#" SERVER="#MySrvr#" MAILBOXNAME="#MyMailbox#" PROTOCOL="HTTPS" PORT="443" SERVERVERSION="2010" CONNECTION="MyConn"><CFEXCHANGECALENDAR Action="create" Connection="MyConn" event="#MyStruct#" result="theUID"><CFEXCHANGECONNECTION action="close" connection="MyConn" />
The structure being passed in is shown above... but I'll bet you noticed that.
As a band-aid, when I create my structure I could just subtract 6 hours from the start and end times but once the problem is resolved then my code breaks again. I'd much rather try to figure out what has changed but don't know where to look.
Any thoughts???
Query of query does not handle UTF8 characters
Hi,
I query data from an Oracle database, loop the result and add some data using querySetCell. Finally using cfquery dbtype="query" I select everything using an ORDER BY clause. Sadly my data is not sorted the way I expect. Special characters like German umlauts are sorted at the end of the result and not according to their position in the alphabet. When I dump the result of the query I see characters are "broken". Instead of Ö at the beginning of a word I see some placeholders. Looks like the data was encoded twice or misinterpreted according to the character set.
Does ColdFusion have issues working with data from an Oracle query? Is there a way I can tell CF the data in the query is UTF8 encoded?
Best,
Bernhard
Cannot Download Coldfusion 2018
I'm trying to download Coldfusion 2018 developer edition, but it doesn't matter what options I choose the adobe dlm picks solaris version for download (I'm trying to download the windows 64 bits version)
calling a dynamically named cookie
Hi,
I'm trying to create a dynamic variable and then call it dynamically and I don't know if this is possible. The easiest way to explain what I'm trying to do is to show what I want to do but obviously doesn't work.
<cfcookie name = "variable#rsSet.variable_id#" value="cookievalue">
and then later I want to call it by doing something like
<cfoutput>#cookie.#rsSet.variable_id##</cfoutput>
but obviously that doesn't work. Is there a way to call the cookie without typing the exact name of the cookie?
Thanks,
Mike
CF11 + MacOS 10.14 Mojave issue with mod_jk
hi,
anyone successful in running cf11 with apache in Mojave? i get an error with mod_jk.so, something along the lines of mod_jk.so is invalid, needs to be signed...
thanks in advance..
Strange behaviour cfinclude with CF11 and Yosemite
Hello,
I have a strange problem with my includes, if i save my file with changes, CF can't find them anymore.
Example:
<cfincludetemplate="views/file.cfm">
Is working fine, when i change something and save file.cfm, I receive the following error 'Could not find the included template views/file.cfm.' which is strange, because the filename and location did not change.
Changing the the cfinclude and the filename into 'file1.cfm' does work. Which made me think it had something to do with caching, but clearing the cache and restarting CF did not work.
Do anyone have an idea?
Thanks,
G.
Running
OSX 10.10
CF 11 Upd 2. Dev