Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all 5794 articles
Browse latest View live

Coldfusion Future

$
0
0

My client is considering buying a system that is based on Coldfusion.

 

How should I evaluate whether this application has had the care and feeding necessary for it to be a healthy application with a future?

 

What is the future of Coldfusion in general?  Has Adobe published an official roadmap (I am not interested in seeing some blog)?

 

What are the license fees for an application deployed on a client site?

 

What are some of the dependencies installed on the host computer?  (installed on a windows computer)?

 

Are there RPA (robotic process automation) tools that work well with Coldfusion based web pages?

 

I am asking the vendor these same questions but I want to do my own independent research.

 

What other questions should I ask the vendor?


cfupdate/cfinsert invalid date string error with mysql varchar field

$
0
0

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 also able to create a new table with a single VARCHAR field and use the same exact CF code to insert the same encrypted date values without error, which makes me think it's mySQL table related.

 

Having a work around I'm not in a bind, however I am curious if anyone else has seen it and knows why it's happening.  I am absolutely stumped as to why the system is seeming to read this VARCHAR field as a DATE field when trying to insert or update.

 

Any thoughts would be greatly appreciated!

ColdFusion 2018 Service Restart Failure

$
0
0

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, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512, HMACDRBG, HASHDRBG, CTRDRBG, FIPS186PRNG, SHA1PRNG, MD5PRNG; RFC 3394, RFC 5649 AES Key Wrap; X.509 CertificateFactory; PKCS12, PKCS15 KeyStore; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathValidators; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathBuilders; LDAP, Collection CertStores)"

"Information","main","06/01/19","03:04:13","","Starting security..."

"Information","main","06/01/19","03:04:14","","Starting scheduler..."

"Information","main","06/01/19","03:04:14","","Starting WatchService..."

"Information","main","06/01/19","03:04:14","","Starting debugging..."

"Information","main","06/01/19","03:04:14","","Starting sql..."

"Information","main","06/01/19","03:04:18","","Starting runtime..."

"Information","main","06/01/19","03:04:27","","CORBA Configuration not enabled"

"Information","main","06/01/19","03:04:27","","Starting mail..."

"Information","main","06/01/19","03:04:27","","Starting cron..."

"Information","main","06/01/19","03:04:29","","Starting registry..."

"Information","main","06/01/19","03:04:29","","Starting client..."

"Information","main","06/01/19","03:04:29","","Starting xmlrpc..."

"Information","main","06/01/19","03:04:31","","Starting jaxrs..."

"Information","main","06/01/19","03:04:31","","Starting graphing..."

"Information","main","06/01/19","03:04:32","","Starting solr..."

"Information","main","06/01/19","03:04:32","","Starting archive..."

"Information","main","06/01/19","03:04:32","","Starting document..."

"Information","main","06/01/19","03:04:33","","Starting eventgateway..."

"Information","main","06/01/19","03:04:33","","Starting FlexAssembler..."

"Information","main","06/01/19","03:04:33","","Starting .NET..."

"Information","main","06/01/19","03:04:33","","Starting Monitoring..."

"Information","main","06/01/19","03:04:35","","Starting PDFG..."

"Information","main","06/01/19","03:04:35","","Starting WebSocket..."

"Information","main","06/01/19","03:04:35","","WebSocket server listens on port: 8581"

"Information","main","06/01/19","03:04:35","","ColdFusion started"

"Information","main","06/01/19","03:04:35","","ColdFusion: application services are now available"

 

Thank you.

How do you change the ColdFusion Administrator password? Does this require a restart of a service or any interuption of service?

$
0
0

How do you change the ColdFusion Administrator password? Does this require a restart of a service or any interruption of service?

Coldfusion 2018 installer doesn't detect previous version (11)

$
0
0

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 D: drive. The installer doesn't give me the option to configure my web server for 2018

creating a schedule by week

$
0
0

Looking to create a schedule by week.  The current DB just has the short date format in it.

CFSSL_CLIENT_AUTH, a client certificate is required to be imported into the security database

$
0
0

Environment: Coldfusion2016 Standard

 

I've imported the domain root certificate to both jre/bin/cacerts and to jre/lib/security/cacerts successfully but when using secure="CFSSL_CLIENT_AUTH" and useTLS="True", I get the message "CFSSL_CLIENT_AUTH, a client certificate is required to be imported into the security database".  Both the clientcert path and clientcertpassword are correct. 

removeOnExceptions is true for ourdsn error

$
0
0

Hi,

 

We see a lot of these errors in coldfusion-out.log:

 

"removeOnExceptions is true for ourdsn. Closed the physical connection."

 

The errors are expected in this case, but we get a lot of them. Is there any way to disable this specific error? There was an article online about editing one of CF's XML files, but it was for CFMX and we are on CF2018 Enterprise. Advice appreciated, as always.

 

Thanks,

Mark


New collaboration tool added to cflive

$
0
0

Just to let folks know, I have done a small update on cflive.net and added togetherJS to allow collaboration.

 

Hope you find it useful.

Flash-based Multi-image upload tool

$
0
0

Recently I learned that the major browsers will stop supporting Flash-driven apps.  So I need an alternative to the existing CF flash-based multi-image upload tool.

 

Not looking to hard code.  Hopefully, there is a similar app to use.

 

<cffileupload

    name = "uploadDemo"

    url="uploadfiles10.cfm?folderid=#getfolder.folderid#"

    progressbar="true"

    addButtonLabel = "Select File(s)"

    clearButtonLabel = "Clear"

    width="500"

    height="400"

    title="Multiple Image Upload Tool"

    maxUploadSize="100"

    maxFileSelect="25"

    extensionfilter="*.jpg"

    uploadButtonLabel="Upload"

    >

build.phonegap.com account - gone in Builder 2018?

$
0
0

Hi all,

Recently upgraded our CF servers to CF2018 (from a version I'm embarrassed to mention), and installed Builder 2018 license on a workstation - previously Builder 3.

I'm now confused to find the "Generate Phonegap Build" project option, "Phonegap Status" tab, and Preferences->Coldfusion->Phonegap dialog is missing.

What am I missing - I found it very convenient. Is it no longer necessary?

 

Thanks,

Application Server Service Fails After Installing CF 2016 Update 11

$
0
0

I just installed CF 2016 Update 11 on 3 servers (updating from CF 2016 U10).  I use the manual process (using the silent installation via the GUI never works for me, even though I have full access to start and stop services).  The update worked fine, and I verified the build number afterward.  I also verified that the websites on those server instances were running as expected.

 

About an hour later, I noticed some sites were down.  2 of the 3 servers had failed.  The CF Application Server service was simply stopped on those 2 servers.

There are no errors or logs about it stopping (nothing in the CF logs or the Windows event log).  I restarted the service and the sites came back up.  The third server was fine.

 

Just in case, I ended up restarting 1 server that had failed and the 1 server that was fine.  (I can't restart the other server that failed because it's production).  I'm now watching this closely to see if/when it fails again.

 

We're on Windows Server 2016 with standalone, standard CF instances on Java 8 192.

 

Has anyone else experienced this?

ColdFusion Server fails to start, when giving add-exports java.args.

$
0
0

Hi All,

 

Need some help/pointers on what could be wrong here.

 

ColdFusion Server fails to start, when giving add-exports java.args. The error in the Windows service log is "file not found" (no further details on what file is missing). Since the server fails to start, there is no CF logs to post.

 

Environment:

ColdFusion 2018

Java 10.0.1

Windows 2016

 

# Arguments to VM

java.args=-server  -Xms1024m -Xmx2048m --add-exports java.instrument/sun.instrument=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-modules=java.xml.ws --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/sun.util.cldr=ALL-UNNAMED --add-opens=java.base/sun.util.locale.provider=ALL-UNNAMED -XX:MaxMetaspaceSize=384m -XX:+UseParallelGC -Xbatch -Djdk.attach.allowAttachSelf=true -Dcoldfusion.home={application.home} -Duser.language=en -Dcoldfusion.rootDir={application.home} -Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random -Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.JavaUtilLog -Djava.util.logging.config.file={application.home}/lib/logging.properties -Djava.locale.providers=COMPAT,SPI -Dsun.font.layoutengine=icu -Dcoldfusion.classPath={application.home}/lib/updates,{application.home}/lib,{application .home}/lib/axis2,{application.home}/gateway/lib/,{application.home}/wwwroot/WEB-INF/flex/j ars,{application.home}/wwwroot/WEB-INF/cfform/jars,{application.home}/lib/updates,{applica tion.home}/lib,{application.home}/lib/axis2,{application.home}/gateway/lib/,{application.h ome}/wwwroot/WEB-INF/cfform/jars,{application.home}/wwwroot/WEB-INF/flex/jars,{application .home}/lib/oosdk/lib,{application.home}/lib/oosdk/classes,d:/WebProjects/Inetpub/edgev2/ed ge6i/customtags/java,d:/WebProjects/Inetpub/opentoolsv2/java,d:/WebProjects/Inetpub/mercha ntproperties,d:/WebProjects/Inetpub/slacustomlib/sla_classes,d:/WebProjects/Inetpub/slacus tomlib/sla_customtags,d:/WebProjects/Inetpub/slacustomlib/sla_customtags/cfx_spell,d:/WebP rojects/Inetpub/slacustomlib/sla_customtags/cfx_spell/ssce.jar,d:/WebProjects/Inetpub/extl ib,d:/WebProjects/Inetpub/slacustomlib/sla_classes/config,d:/WebProjects/Inetpub/slacustom lib/sla_classes/opensamllib,d:/WebProjects/Inetpub/comlibv2/lib

 

Observations:

-If i don't give the --add-exports param,  the Admin server starts up properly.

-Tried the same thing on a Mac running CCF 2018 and java 10.0.2, and everything works even with the --add-exports param

How to turn off auto complete

$
0
0

Been using CFBuilder for a while and cannot figure out HOW to stop it from autocompleting.

 

Specifically ... <cfif>  it adds the </cfif>  I found a couple of setting that appear to control it but it still insists on auto completing!  ARGH!

And then it gets really stupid when it finds a <input> within the <cfif> and tries to add </inout

It also adds ] to [   ) to (   # to # so you get ##

 

I wish CF Studio was compatible with WIndows 7 and 10?

 

I must be missing the obvious!?

CF2016 Administrator Server Update will not show installer or updates

$
0
0

Anyone know why my Server Updates page has quit showing the installer or updates pane? I was able to apply previous updates to 2016 so not sure why it’s just decided to quit working.

 

img.PNG


How to get jquery value in coldfusion variable OR how to get input text value in cold fusion variable

$
0
0

Please help me to get the $("#txt").val(id); into coldfusion variable to do some sql query. Thanks

 

<body>

<script>

$(document).ready(function (){

 

$(".ap").click(function (){

var id = this.id;

$("#txt").val(id);

})

})

</script>

<div id="Test" class="ap">click</div>

<input id="txt" name="txt" value="" type="text">

 

</body>

Coldfusion Builder 2018 - Could not find the included template error

$
0
0

Hallo,

I installed CFB2018 on my mac and trying to run my application.

In application.cfc i have a <cfincludetemplate="/adirectoryunderwwwroot/fileincluded.cfm"> and always i get a could not find the template error.

 

Some informations:

-The code directory is under wwwroot folder

-The path is mapped with a sym link.

-CFB2018 server is Coldfusion+Tomcat version and i changed the context.xml file to allow linking.

-CFB2018 server document root is under wwwroot folder

-When i try to navigate to the path using the browser I can reach that folder (so I think tomcat is correctly setup)

-I passed a chmod 777 on all files under the wwwroot

-I unchecked save class in the server admin console

-I tried with and without mapping in coldfusion and it doesn't change the behaviour.

 

Do you have any advice?

Issues adding multiple PDF Service managers in Cold Fusion 11

$
0
0

Hello,

 

I am attempting on adding an additonal PDF Service manager in order to spread the load between two, but when I click "Add PDF Service Manager" I receive the following message:

  • Error adding PDF Service Manager. Please ensure that you have entered a correct PDF Service hostname and port.
    Check logs for more details

 

The current Service manager has the default port with localhost for the "Host Name"

 

The new one I am attempting to create also has the local host for hostname and I have tried a few ports around the default as well as some in the 5000-7000 range and still getting the same issue.

 

These are found in the coldfusion-out log:

 

"Error adding PDF Service Manager. Please ensure that you have entered a correct PDF Service hostname and port."

"coldfusion.document.DocumentServiceImpl$LocalServiceManagerException: You are not allowed to add Local service manager."

SpreadsheetFormatRow and SpreadsheetFormatColumn interacting strangely in CF2018

$
0
0

Having just recently migrated my intranet to CF2018 Enterprise (from CF10), I'm finding some weird behavior in my Excel spreadsheets.  I use SpreadsheetNew("true") to create spreadsheets and then directions like this to format the rows and columns:

 

<cfset SpreadsheetFormatRow(s,{bold='true'},1)>

<cfset SpreadsheetFormatColumn(s,{dataformat='##.00'},13)>

 

This ends up producing my first row all in bold (correct), my 13th column formatted as _.00 (correct), but then my 13th column also ALL in bold.  Basically, any column I apply formatting to ends up extending the row formatting all the way down.

 

And if I do it in reverse:

 

<cfset SpreadsheetFormatColumn(s,{dataformat='##.00'},13)>

<cfset SpreadsheetFormatRow(s,{bold='true'},1)>

 

That part works, but in specialized cases where I've tried to bold particular cells (to highlight data), that instruction is ignored:

<cfset SpreadsheetFormatCell(s,{bold='true'},s.RowCount,13)>

No cells in column 13 are bold except for row 1, even though I set it explicitly.

 

Has anybody run into similar irregularities with the Spreadsheet functionality?  So far, it's not catastrophic, and may just require a lot of tedious refactoring, but somewhere it's going cause a real loss of functionality, and it doesn't make much sense why it broke.  Would love to see a hotfix for it in the near future.

Creating a File Shortcut with CF

$
0
0

I am finding and uploading documents with this code:

 

<cfif structKeyExists(form, "uploadfile1") and len(form.uploadfile1)>

   <cfset destination = "//server/target folder/">

   <cffile action="upload" filefield="uploadfile1" destination="#destination#" nameConflict="makeUnique">

</cfif>

 

However, I would also like to create Shortcuts to this file in one or more other folders. In Windows Explorer, shortcut entries look like this:

 

MyFile.docx - Shortcut          6/17/2019 1:40 PM          Shortcut          3 KB

 

Is there a way to do this in CF? If so, can you provide some code or a location where I can find some advice on how to do it? I use Dreamweaver CS6 as my development environment.

 

Thanks.

Viewing all 5794 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>