Quantcast
Channel: Adobe Community : Discussion List - ColdFusion
Viewing all 6243 articles
Browse latest View live

No mention of a docker version still, any update on this?

$
0
0

One of the features promised for this release was a container version, but no sign of it yet.

Is this still coming?


CF2018 support for JDK10

$
0
0

Hello,

Since Java 10 is current release will release to manufacture CF2018 support JDK10 rather than JDK9 as is installed with Beta?

Of note I see beta CF2018 does funtion with JDK10 with some minor work. Details:

CFadmin > System Information > Server Details

Server Product ColdFusionVersion 2018,0,0,308164

 

JVM Details

Java Version 10  

Java Vendor Oracle Corporation  

Java Home C:\Program Files\Java\jdk-10  

 

Regards, Carl.

Why Does CFHTMLTOPDF Suck?

$
0
0

We've used ColdFusion for decades and for the longest time used CFDocument for PDFs.  We still use it for some legacy jobs.  When we saw CF11 included the new CFHTMLTOPDF tag we were excited but that feeling died instantly the first time we used it.  In some instances the results were so bad we soldiered on with CFDocument.  It's been a few years and we've long since switched to using WXHTMLTOPDF.  Our PDFs come our nearly flawless now.  However, we recently were debugging a "WX" issue on a new layout we're installing and decided to re-visit CFHTMLTOPDF.  Hideous!  While we're getting about 90-95% accuracy with WX, CFHTMLTOPDF again disappoints.

 

ColdFusion is made by Adobe for crying out loud! 

 

The quality of PDFs ColdFusion produces, by the makers of Acrobat, is embarrassing.

 

Why has there been no CF integration with Acrobat after all these years!

 

Ok, rant over.

Error occurred while generating PDF. Reason: ERROR_PDF_CONVERSION

$
0
0

I get an error generating my PDF whenever someone's name has a special character's in their name such as accents and diacritics.

 

Is this a bug or how do I properly set the charset for the <cfhtmltopdf> tag. I didn't have this issue with Coldfusion 9 and cfdocument. Any help in this regard would be much appreciated.

 

version: Coldfusion 11 Update 3 on Windows Server 2008 R2 on IIS 7.5

 

SEE STACK TRACE BELOW

coldfusion.document.webkit.PDFgErrorHandler$ServiceManagerConversionException: Error occurred while generating PDF. at coldfusion.document.webkit.PDFgErrorHandler.handleConversionError(PDFgErrorHandler.java:1 88) at coldfusion.document.webkit.HttpPDFRequestHandler.requestPDFGeneration(HttpPDFRequestHandl er.java:113) at coldfusion.tagext.lang.HtmlToPdfTag.processPDFgRequest(HtmlToPdfTag.java:1331) at coldfusion.tagext.lang.HtmlToPdfTag.handlePDFgConversionRequest(HtmlToPdfTag.java:1466) at coldfusion.tagext.lang.HtmlToPdfTag.convertToPDF(HtmlToPdfTag.java:1413) at coldfusion.tagext.lang.HtmlToPdfTag.doEndTag(HtmlToPdfTag.java:1551) at cfcfhtmltopdf_createPDF2ecfm2090701148.runPage(c:\inetpub\wwwroot\myapp.com\includes\docs \cfhtmltopdf_createPDF.cfm:25) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:246) at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:736) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:572) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2986) at cfmethods2ecfm1148258034$funcSAVEPROXY.runFunction(c:\inetpub\wwwroot\myapp.com\cfc\docs\ methods.cfm:472) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:420) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:533) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:648) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:457) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2424) at cfmethods2ecfm1658643382$funcPROCESSSTEP.runFunction(c:\inetpub\wwwroot\myapp.com\cfc\mem berResults\methods.cfm:377) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:533) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:648) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:457) at coldfusion.filter.ComponentFilter.invoke(ComponentFilter.java:251) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:480) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:42) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:142) at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:156) at coldfusion.xml.rpc.CFCServlet.doPost(CFCServlet.java:348) at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 ) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:199) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.jav a:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source)

CF2018 support for SQL 2017

getApplicationMetaData() broken in CF 2018 public beta

$
0
0

Today I have installed the ColdFusion 2018 public beta and replaced the previous beta release with it. After installation the ColdBox 5 framework was broken, CF threw an error when trying to set a variable:

 

var appSettings = getApplicationMetadata();

 

For whatever reason dumping getApplicationMetadata() worked fine. However it only worked once - trying to dump it twice on the same page or assigning it to a variable resulted in an error.

 

Similar errors have been reported on the bug base (Tracker , Tracker) but are marked as fixed .

 

After verifying the bug I uninstalled the current public beta and replaced the installation with the previous version (from the closed beta) and it worked fine again. The current and previous beta release was reinstalled twice to verify that this bug only occurs with the latest beta (same code/same server configuration).

 

How to reproduce: Install a ColdBox 5 application on the current beta release server and it should break right away.

 

Regards,

 

Philipp

Does ColdFusion 2018 have Responsive Charts Now

$
0
0

We use the cfchart tag which uses the Zing Chart engine. Zing Chart itself is responsive. However, ColdFusion 2016 had not implemented that version of Zing Charts. I was wondering if CF 2018 will implement the latest Zing Chart engine with responsive charts?

Thanks in advance,

Justin

CFBuilder 2018 "welcome page" STILL has VERY dated content in "ColdFusion News"

$
0
0

When folks launch CFBuilder for the first time, a "welcome page" appears. Sadly, on the right is a "ColdFusion News" feed that has info from 2014, about ColdFusion Splendor (the codename for CF11) and Thunder (the codename for CF Builder 3).

Can we PLEASE get someone on the builder team to correct that? And what's odd is that the 3rd item (as I see it) is indeed a link to THIS beta. Even if this was a reflection of those being the only 3 most recent items in some feed, why does it not show the MOST recent at the top? Then some may be more forgiving of the older items that would now be "below it".

But really, there ought to be new content "fed" to that feed. If someone on the CF team knows (or if anyone else knows) where it's getting its feed, perhaps some of us could contribute content to get more recent content. :-)

BTW, some notice that you can click a button at the bottom of that screen to "don't show again" (or you can turn it off in Window>Preferences>ColdFusion>Startup), which is why perhaps few notice or complain of the dated info, but 4 years later it's worth addressing before the final release.

Finally, the "recent files" on the left of the welcome page are also pretty dated (and by no means, "recent". These refer to riaforge extensions for CFB. It seems this is also a curated list, since the link to riaforge there is to all CFB extensions, but this lists here just 3: Apptacular (which has not been updated since 2010), Extension Builder (not since 2009), and VarScoper (2015, at least). Someone ought to test if those even work with CFB2016, let alone 2016. Indeed, only one other of the 60+ CF extensions pointed to in the riaforge extensions is more recent than 2015, so I really wonder if it's worth keeping that list there at all.


CF Builder 2018 "check for updates" fails with "no repository found"

$
0
0

If one uses the Help>Check for Updates feature in CFBuilder 2018 beta, it returns an error:

No repository found at https://cfdownload.adobe.com/pub/adobe/coldfusion/PR/cfb4standalonerepo.

Of course, I realize that today there are no such updates for the beta, only 3 days old, but over time people will think to check this, and it seems there ought to be a repo with whatever it needs so that it gets no error, but instead causes this to return the message that there are no updates, like we would get in production CFB deployments between available updates.

Where's the APIM 2018 link?

$
0
0

Hi Adobe,

Where is the APIM 2018 download link?

Thanks!,

-Aaron

cfspreadsheet / checking for tabs in a workbook

$
0
0
  • ColdFusion version:9.0.1 standard
  • server OS: Windows 2008 R2
  • webserver: Apache 2.2.19

 

These forums worked great once before, hopefully we can go 2 / 2.

 

I am opening a workbook, adding a header row to all the tabs, and then saving the workbook back to the directory as a different file.  My problem is that the workbook can have any various combination of tabs in it, and I don't know what ones unless I open the workbook itself.  Is there a way to read either the name of every tab in the workbook and then loop through those names (or the amount of sheets would work also).

 

Code is here:

 

<!--- All possible prefixes that could be in the sheet name --->
<cfset prefixList = "10-00, 10-10, 10-20, 10-30, 10-40, 10-50">
<!--- All possible status that could be in the sheet name --->
<cfset statusList = "In progress,Closed">
<cfloop list="#statusList#" index="si">
    <cfloop list="#prefixList#" index="pi">   
        <!--- Read the sheet --->
        <cfspreadsheet action="read" query="qWip" sheetName="#pi#-#si#" src="accounting/Files/wip.xls">   
     <cfset column = 1>   
     <!--- create new sheet with old information --->
  <cfset sObj = spreadsheetNew("#pi#-#si#")>   
  <cfset SpreadsheetAddRow(sObj, "Header")>
        <!--- add column header to all rows --->
        <cfloop from="#column#" to="#listLen(qWip.columnList)#" index="i">
   <cfset spreadsheetSetCellFormula(sObj, "CONCATENATE(""job""&#i#)", 1 , #i#)>
        </cfloop>
     <cfset SpreadsheetAddRows(sObj, qWip)>   
     <!--- dump excel file back into directory with new row header --->
        <cfspreadsheet action="update" name="sObj" filename="accounting/Files/wipHeader.xls">   
    </cfloop>
</cfloop>

 

The error comes up when a sheet does not exist in the cfspreadsheet read action.  Example:  10-10-In progress does not exist.

 

Any help is appreciated.

Small ShoppingCart

$
0
0

hello coldfusion community,
I refer to a previous post from 2016 and would like to continue on this example. It's about a product list with up to 10 items and to add, delete and edit a shopping cart. In my version everything works very well except if I want to change the field in the shopping cart with the amount (Quantity).  I want the user to be able to change the value of quantity in the shopping cart. Somehow I do not get to the point. Does anyone have a suggestion or an idea for me? Thank you. Marcel M.

 

previous post from May 18, 2016: Extremely Simple Shopping Cart

 

products.cfm

 

<!doctype html>

<html>

<head>

<meta charset="UTF-8">

<title>Shop - Productlist</title>

</head>

 

<body>

 

<h1>Welcome to the Shop</h1>

<p> </p>

 

<form action="ShoppingCart.cfm" method="post">

<p>Article-1, property 111, $45.00</p>

 

<input type="hidden" name="productID" value="1" />

<input type="hidden" name="productName" value="Article-1" />

<input type="hidden" name="productPrice" value="45.00" />

<input type="number" name="productAmount" />

<input type="submit" value="add to Cart" />

</form>

 

<form action="ShoppingCart.cfm" method="post">

<p>Article-2, property 222, $55.00</p>

<input type="hidden" name="productID" value="2" />

<input type="hidden" name="productName" value="Article-2" />

<input type="hidden" name="productPrice" value="55.00" />

<input type="number" name="productAmount" />

<input type="submit" value="add to Cart" />

</form>

 

</body>

</html>

 

 

ShoppingCart.cfm


<cfapplication name="App_08"

clientmanagement="no"

clientstorage="Cookie"

sessionmanagement="Yes"

setclientcookies="Yes"

sessiontimeout="#CreateTimeSpan(0,0,20,0)#">

 

 

 

<cfif NOT StructKeyExists(session,'ShoppingCart')>

<cfset Session.ShoppingCart = StructNew()>

<cfset Session.ShoppingCart.FirstName = "">

<cfset Session.ShoppingCart.LastName = "">

<cfset Session.ShoppingCart.Address = "">

<cfset Session.ShoppingCart.Products = ArrayNew(2)>

</cfif>

 

<cfif StructKeyExists(form,'productID')>

<cfset Session.ShoppingCart.Products[arraylen(Session.ShoppingCart.Products)+1][1] = form.productID>

<cfset Session.ShoppingCart.Products[arraylen(Session.ShoppingCart.Products)][2] = form.productName>

<cfset Session.ShoppingCart.Products[arraylen(Session.ShoppingCart.Products)][3] = form.productPrice>

<cfset Session.ShoppingCart.Products[arraylen(Session.ShoppingCart.Products)][4] = form.productAmount>

</cfif>

 

<cfif StructKeyExists(url,'deleteID')>

<cfset variables.products = ArrayNew(2)>

  <cfloop index="i" from="1" to="#arrayLen(Session.ShoppingCart.Products)#">

     <cfif url.deleteID NEQ i>

        <cfset variables.products[arraylen(variables.products)+1][1] = Session.ShoppingCart.Products[i][1]>

        <cfset variables.products[arraylen(variables.products)][2] = Session.ShoppingCart.Products[i][2]>

        <cfset variables.products[arraylen(variables.products)][3] = Session.ShoppingCart.Products[i][3]>

        <cfset variables.products[arraylen(variables.products)][4] = Session.ShoppingCart.Products[i][4]>

      </cfif>

  </cfloop>

<cfset Session.ShoppingCart.Products = variables.products>

</cfif>

 

<!--- my problems begins here --->

<cfif StructKeyExists(url,'changeID')> <!--- or with posts <cfif StructKeyExists(form,'changeID')> --->

<cfset variables.products = ArrayNew(2)>

  <cfloop index="i" from="1" to="#arrayLen(Session.ShoppingCart.Products)#">

  <cfset currentFieldName2 = "productQuantity" & i > <!--- Dynamic-fieldname from form down --->

      <cfif url.changeID EQ i> <!--- or with posts <cfif form.changeID EQ changeID --->

         <cfset variables.products[arraylen(variables.products)+1][1] = Session.ShoppingCart.Products[i][1]>

         <cfset variables.products[arraylen(variables.products)][2] = Session.ShoppingCart.Products[i][2]>

         <cfset variables.products[arraylen(variables.products)][3] = Session.ShoppingCart.Products[i][3]>

         <cfset variables.products[arraylen(variables.products)][4] = ??? FIELDNAME ??? >

      </cfif>       

  </cfloop>

<cfset Session.ShoppingCart.Products = variables.products>

</cfif>

<!--- to here ... --->           

 

 

<cfoutput>

<form name="ShoppingCart" action="ShoppingCart.cfm" method="post">

<h1>Your ShoppingCart</h1>

<p>You have #arrayLen(Session.ShoppingCart.Products)# article in your cart.<br /> (Session_Nr: #Session.SessionID#)<br /></p>

   <cfloop index="i" from="1" to="#arrayLen(Session.ShoppingCart.Products)#">

   <cfset currentFieldName = "productQuantity" & i > <!--- Dynamic-fieldname to change the productQuantity --->

        <table>

        <tr>

        <td>#Session.ShoppingCart.Products[i][2]#</td>

        <td>#Session.ShoppingCart.Products[i][3]#</td>

        <cfif structKeyExists(url, 'changeID')> <!--- or with posts </cfif><cfif isDefined("Form.submit")> --->

          <td>New Quantity:<input type="text" name="#currentFieldName#"value="#variables.products[arraylen(variables.products)][4]#"></ td>  

        <cfelse>

          <td><input type="text" name="#currentFieldName#" value="#Session.ShoppingCart.Products[i][4]#">

          <input type="hidden" name="changeID#i#" value="#Session.ShoppingCart.Products[i][1]#" />

          </td>

         </cfif>

         <td><a href="ShoppingCart.cfm?deleteID=#i#">delete</a></td>

         <td><a href="ShoppingCart.cfm?changeID=#i#">change</a></td>

         <!--- or better with post?  <td><input type="submit" name="submit" value="change"></td> ???--->

         </tr>

        </table>

    </cfloop>

</form>

</cfoutput>

 

 

<p><a href="products.cfm">go back to the Shop / Product-list ...</a></p>

<p></p>

 

<hr>

 

<p></p>

<h1>Demo-Adress</h1>

<form action="adress.cfm" method="POST">

<div class="form-row">

<label>

<span>FirstName: </span>

<input type="text" size="20" name="FirstName">

</label>

</div>

 

<div class="form-row">

<label>

<span>LastName: </span>

<input type="text" size="20" name="LastName">

</label>

</div>

 

<div class="form-row">

<label>

<span>Address</span>

<input type="text" size="20" name="Address">

</label>

</div>

<input type="submit" class="submit" value="Yes shopping me">

</form>

Coldfusion 11 update 14 breaks Shibboleth

$
0
0

I am running the Shibboleth login service on my ColdFusion 11 server.  After I installed update 14 my Shibboleth login stopped working.  All I get now is a "Bad Request" error following Shibboleth authentication. I uninstalled the update which got Shibboleth working again, but now I am looking for possible solutions to this problem before reapplying the update.  I think it may have to do with the Tomcat update to 7.0.85.  Does anyone have any thoughts on this?

XML Parsing error

$
0
0

Hello, all,

 

I've got a cost estimate form that has been working just fine for over a year.  This morning, I received an email from the client indicating that customers have not been able to submit cost estimate requests for "the last few days".

 

I opened a browser, navigated to the form, and filled out a test.  Upon submit, nothing happened.  Opening DevTools, and going to Network, I see that I'm getting a 404 error with the results "XML Parsing Error: no root element found Location: https://www.ustranscom.mil/components/ERC.cfc?method=requestCostEstimate Line Number 1, Column 1:".

 

What does "no root element found" mean?  I've never seen this one, before.

 

V/r,

 

^ _ ^

ColdFusion Enterprise cluster vs F5

$
0
0

Are there any recommendations on hardware vs. software clustering for high availability and performance?  I.e., running 2+ servers in an Enterprise cluster vs putting those servers behind an F5 appliance for load balancing and failover.


securing the cfglobal cookie

$
0
0

Our company was doing security scans on our https website and reported to me that the cfglobal cookie is not being served securely.  I did some reading and tried the following solutions to fix this.  After checking the headers I still have an unsecured cfglobal cookie.  Here's what I tried:

 

  1. CF Administrator -> Memory Varialbles -> Check Secure Cookie and HTTPOnly
  2. in Application.cfc added the following cfscript code:
    • this.sessioncookie.httponly = true;
    • this.sessioncookie.secure = "true"

 

Header:

Capture.PNG

I don't know what else to do.  I thought checking secure cookie in CF Administrator forces all the cookies to be served securly???

Coldfusion 2016 excessive CPU usage after Nessus Scan

$
0
0

When we initiate a Nessus scan on our server, the ColdFusion Application Server consumes 80-90% of the CPU and continues to do so even after the scan is terminated.  Only restarting the service brings the usage back to normal, but starting the scan repeats the high CPU usage.  No errors are thrown, just high CPU.

IIS 7, Windows Server 2008 R2 SP1, ColdFusion 2016.0.04.302561

Any ideas where to start troubleshooting?

Web service access error: javax.servlet.ServletException: https is forbidden

$
0
0

We have Coldfusion 10 configured on an IIS web site using a GoDaddy provided SSL certificate.  When we try to access a web service we receive a 500 error from the server.  When we look at the application log we see the following record:

 

"Error","ajp-bio-8012-exec-2","06/17/13","14:20:19","SmartPriceAdmin","The web service operation caused an invocation exception.The root cause was that: javax.servlet.ServletException: https is forbidden The specific sequence of files included or processed is: C:\WebSites\Something\SMARTPriceServices.cfc'' "

 

 

C:\WebSites\Something\SMARTPriceServices.cfc is the location on the server where the actual web service file resides.

 

 

I'm not the sites developer but I'm trying to aid him in finding the issue.  We've added the sites SSL certificate through the SSL Certificate Management feature of the Administrator and restarted the Coldfusion 10 Appllication Service but it had no effect.  Any help would be very appreciated.

CF2016 JDBC SQL Server 2016 SSL Connections work around

$
0
0

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;

CF12(2016) - issue with IIS connectors not displaying, can't remove.

$
0
0

Hello

 

I've been installing ColdFusion 2016 on a Windows 2012 R2 server with IIS 8.5 and as part of the installation i selected for CF to configure all IIS websites. I probably shouldn't of done this as i had no sites added in IIS apart from the normal 'default website'

 

I setup my website and then launch wsconfig.exe to configure IIS for my new website but according to wsconfig, IIS isn't configured as it is blank in the list of configured sites but then if you hit 'Add', am i presented with the error 'All the IIS sites are already configured by some other version of ColdFusion'

1.PNG

 

I've been googling for some time and I've tried cf11 guides to manually remove the connector as it's not displaying one for me but the items to be manually removed don't exist. For instance there is no numbered folder in C:\ColdFusion2016\config\wsconfig. There is only a dll and log file. I've been through all of the sites within IIS to manually remove the various CF isapi filters, isapi and cgi restrictions, mime types and handler mappings but again they don't exist.

 

I cannot add a new connector because the Ok button is greyed out within the tool

2.PNG

 

Another suggestion was to make sure the latest version of Vistual studio C++ redistribution was installed, i've done that and still the same issue.

 

Any suggestions/ideas would be greatly appreciated!

 

Thanks,

Allan

Viewing all 6243 articles
Browse latest View live