Questions
Recently active
Estou rodando uma procedure meio lenta que gera um relatório, ou seja ela retorna vários valores, e está estourando um erro de timeout: The request has exceeded the allowable time limit Tag: CFSTOREDPROCJá tentei utilizar <cfsetting RequestTimeOut='100000' > na página mas infelizmente não funcionou.Como estou utilizando a versão 7 do Coldfusion a tag timeout ainda não funciona para a cfstoredproc. Acredito que isso só funciona na versão 10.Minha pergunta é, o que fazer??? Além de tentar otimizar a procedure, tenho mais alguma opção/alternativa/solução ?
Hi. Is there a way to set timeout for the tag <CFSTOREDPROC>? I mean, for cfquery, it has a parameter timeout in seconds. How about for CFSTOREDPROC? I tried using <cfset startproc = GetTickCount()> <cfsetting requesttimeout = "20" /> <CFSTOREDPROC PROCEDURE="fsdfsd" DATASOURCE="sfsds"> cfprorparams here......... </CFSTOREDPROC> <cfset proc_execute = GetTickCount() - startproc > proc_execute returns about 30,000 ms which is 30 s. But the timeout needs to end it in 20 s. It seems requesttimeout doesn't include the time it took for the stored procedure executing. That is why I'm looking for a timeout in cfstoredproc. Any suggestions? I don't wanna go to the Oracle server and set the timeout settings. I want it done in Coldfusion. Thanks.
I am experiencing an error trying to run the following ColdFusion code:<cfif IsDefined('FORM.add_button.y')><cfquery datasource="#sDSN#"> INSERT INTO lcf_event(event_id, event_date_time, title, description, type, use
Hi,Im thinking of enabling the alerts on our production servers and would like to clarify something.Will enabling the Alerts for (Server Slow, Unresponsive Server, JVM Monitoring) affect performance in a negative regard? Would like to hear from guys experiences on thisAppreciate any responses
Hi. I just have a simple drop down menu. I would just like to have one of the options be a link. How do I do that? I thought I found something yesterday that would work, but it doesn't. Here's what I found:<select name="Socket_Adapter_Choice" onchange="location = this.options[this.selectedIndex].value;"> <option selected value=""></option> <option value="Add_Socket_App.cfm">Add Socket Application</option> <option value="Add_Adapter_App.cfm">Add Adapter Application</option> </select>Thanks.Andy
I have installed CF9 with many files deployed on my server, now I need to migrate to version 11 as I do not have Enterprise Edition I can't do the migration through CAR files. I wonder if there is another method to migrate files and settings from the server. or if the syntax changes that between these versions.
By selecting this option, you can choose the IP address through which you can access the Add-on Services (PDFG/Solr)...I tried 127.0.0.1 and I got an error for using a local IP address! Why?
<script> function myFunction() { document.getElementById("demo").innerHTML += "<select><option value='1'>option1</option><option value='1'>Option2</option><option value='1'>Option3</option><option value='1'>Option4</option><option value='1'>Option5</option></select>"; var select = document.createElement("select"); //replace this second dropdown with the coldfusion query in below place var option = document.createElement("option"); option.value = "SubOption1"; option.text = "SubOption"; select.appendChild(option); document.getElementById("demob").appendChild(select); return false; } </script> The above javascript shows dropdown with 5 options, when any of that is selected, the second dropdown shows and list "SubOption1" as the second dropdown options. My question or where i need further help is, i have a coldfusion queryHide &n
Hi everyone. My company would like to set up a 2 page site with an online order form to purchase a product we are selling. We would like to accept credit cards on here. I know there are sites out there that we can download the script for a shopping cart, but I don't think our server is up to date for the requirements of what these plugins need to work and we don't want to have to pay for a hosting plan. So we were just going to set up 2 simple pages for the customer to choose what they want and a price would go into a shopping cart form where they could enter their credit card information. This page would be an HTTPS page. I'm just wondering if I create a page that is secured this way, is it secure or not? Or do I need to go through one of those web sites that has a shopping cart built already so it's more secure? We were not going to insert this info. into a database. We were going to email it to our info email using Cold Fusion. Will that email being sent to us, be secure? Does
Hi,First, the code :LOCAL.fileName = lsDateFormat(now(), 'yyyymmdd') & '.csv';LOCAL.filePath = "example_file";LOCAL.ftpService = new FTP();LOCAL.ftpService.setServer('sftpr.emv2.com');LOCAL.ftpService.setPort('22');LOCAL.ftpService.setUserName('example_user');LOCAL.ftpService.setSecure('true');LOCAL.ftpService.setKey(example_key.ppk");LOCAL.ftpService.setStopOnError(true);LOCAL.ftpService.setRemoteFile('example_remote_file');LOCAL.ret = LOCAL.ftpService.open();writeDump(LOCAL.ret);LOCAL.doInsert = 0;if(LOCAL.ret.getPrefix().succeeded){ LOCAL.testExists = LOCAL.ftpService.existsFile(); writeDump(LOCAL.testExists); if(LOCAL.testExists.getPrefix().returnValue){ LOCAL.doInsert = 1; LOCAL.ftpService.setLocalFile(LOCAL.filePath); LOCAL.ftpService.setFailIfEx
Hello, all,We have a server in production that is not co-operating when sandbox security is switched on. If sandbox is off, everything works great. But we are not supposed to run this without sandbox.I have to redact the log information, a bit, but I have the following that happens whenever sandbox is turned on.SEVERE: The web application with context path [/xxxx/projectshare] was not deployed because it contained a deployment descriptor [META-INF/context.xml] which may include configuration necessary for the secure deployment of the application but processing of deployment descriptors is prevented by the deployXML setting of this host. An appropriate descriptor should be created at to deploy this application.Aug 6, 2015 9:42:24 AM org.apache.catalina.startup.HostConfig deployWARINFO: Deploying web application archive X:\webapps\xxxx#projectshare.warAug 6, 2015 9:42:24 AM org.apache.catalina.core.ContainerBase addChildInternalSEVERE: ContainerBase.addChild: start:org.apach
I have some Ajax stuff that will just error from time to time due to database timeouts, etc. I need to turn off the dialog that comes up that says there was an error and to turn on debugging. It just freaks end users out... It would be nice if such errors were just reported in firebug with no "Click OK" popup dialog! Maybe a try/catch is in order??
When using CF10 and the CFSpreadsheet tag, we're receiving the following error:Class org.apache.poi.hssf.usermodel.HSSFWorkbook does not implement the requested interface org.apache.poi.ss.usermodel.WorkbookThe simple code works on other servers, so I think there is something wrong with the server config. Any ideas?
Hello,Perhaps I'm a bit paranoic, but, is possible to modify adminapi/base.cfc in order to not show the version information?When you call http://[server]/CFIDE/adminapi/base.cfc?wsdl it displays a template with a comment like <!--WSDL created by ColdFusion version 10,0,14,291717-->, and I would prefer to not disclose that information.Thanks in advance,
We recently upgraded to CF11 from CF9 and have ran into a challenge. I understand this is probably very fundamental but I am at a loss to figure it out because our cart worked so well for years before. I pass a url variable to the cart containing the sku number and it populates my preorder table with a quantity of one unless I also pass the quantity variable in the same string at which I use if isdefined to detect. My cart works but upon page refresh or if the back button is hit, it will increment one to the quantity field. Can someone tell me the way to eliminate this issue? In the address box of the old cart we hid the variable in the url string when passing the call to the cart but the same code not with CF11 does indeed show the variable(sku) in the url which is passed causing the cart to update. Looking for help here please?Thanks
Recently installed CF11 on a Windows 2012R2 server running IIS 8.5. There are currently 9 sites configured in IIS, all under separate application pools.Several times a day, for reasons I have not yet determined, requests for CF pages under any one of the sites are returned very slowly (>10 seconds). Typically, they are returned in <500 ms. Recycling the application pool (or pools) appears to address this issue, which made me think the issue was with IIS. However, requests for static resources from the same IIS sites load fine, so I suspect it is not strictly an IIS issue.I applied the changes to worker.properties and server.xml recommended by Anit Kumar Panda in ColdFusion 11 IIS Connector Tuning — Adobe ColdFusion Blog:worker.cfusion.max_reuse_connections=250worker.cfusion.connection_pool_size=2250 (9*250)worker.cfusion.connection_pool_timeout=60maxThreads="2250" connectionTimeout="60000" attributes in Server/Service/ConnectorI'm still seeing slow responsiveness several times a
Can ColdFusion developer edition or ColdFusion builder be installed and run on Windows 10?
Hello,I'm generating a normal spreadsheet file and formatting a couple of columns with SpreadsheetFormatColumn, to give them a particular date format. If I open the file through OpenOffice, everything works perfectly. However, if I open it through Excel, any cell in the formatted column past the 32nd row does not display the proper format (Cell is displayed as "general") and I need to do it manually.What could be causing this?
Hi All,I just started run my web application via coldfusion 11 (production). Previously was a cf9.Can anyone advise me what is the best jvm setting for production use. My server run on :1. windows 2012 r2 datacenter2. 128gb ram3. 8 coreI try to run use this setting xms : 100g xmx: 120g, after 1 day, i cant enter cfserver and it keep load. Check log it return memory :org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaksSEVERE: The web application [/] created a ThreadLocal with key of type [coldfusion.util.DateUtils$1] (value [coldfusion.util.DateUtils$1@32c8948a]) and a value of type [java.util.GregorianCalendar] (value [java.util.GregorianCalendar[time=1438651990401,areFieldsSet=true,areAllFieldsSet=true,lenient=false,zone=sun.util.calendar.ZoneInfo[id="America/Los_Angeles",offset=-28800000,dstSavings=3600000,useDaylight=true,transitions=185,lastRule=java.util.SimpleTimeZone[id=America/Los_Angeles,offset=-28800000,dstSavings=3600000,useDaylight=true,startYear=0,star
Hi. I have an If statement to see if N/A or NA is in a text box. If it is, I don't want to send an automated email I have set up. This works great if only N/A or NA is in the text box, but what if someone writes something like "N/A This component does not work for this part." How do I test this if the text box starts with N/A or NA and has text after it still? Here's my If Statement:<cfif isDefined("form.Open_Jobs_Affected#id#") and evaluate("form.Open_Jobs_Affected#id#") neq "N/A" and evaluate("form.Open_Jobs_Affected#id#") neq "NA">Thanks for your help.Andy
Say someone built an intranet in Cold Fusion (version unknown) and I do not have access to that person nor Cold Fusion but I need to be able to make changes in the intranet system via a new Cold Fusion. I am trying to determine which Cold Fusion I need to purchase to make the change. Is is Cold Fusion Builder 3, Cold Fusion 11 Standard, Cold Fusion 11 Enterprise? Please help.
Hi,I am unable to read CMYK jpeg images from coldfusion 10. Below are my server configuration.Coldfusion 10 (update 14),32 bit and windows 2008 r2 64 bit,jre(1.6)i found below code in java and implemented in coldfusion,but the code is working fine in coldfusion 10 64 bit,but not coldfusion 32 bit. Shall i get any help on this?public class CMYKTiffToJpegConvertor { /** * */ public CMYKTiffToJpegConvertor() { // TODO Auto-generated constructor stub } public static void main(String[] args) throws IOException, Exception { new CMYKTiffToJpegConvertor().processConvertionImage(ImageConstants.FILE_PATH,ImageConstants.INPUT_FILE_NAME); System.out.println("Successfully Completed the conversion!!"); } /** * * @9397041 filePath * @9397041 fileName * @throws IOException * @throws Exception */ public void processConvertionImage(String filePath,String
Hi I'm trying to invoke a ColdFusion function via typing in a URL in the web address bar such as:http://domain.com/path/to/your.cfc?method=functionName&argument1=arg1ValI have to do it this way for testing purposes. How can I invoke the following below function "showWinDOTD();" from the script below via URL? I have tried continuously the following with no luck: http://site.com/act/actCart.cfm?method=showWinDOTDhttp://site.com/act/actCart.cfm?method=showWinDOTDAm I missing something simple? <script> var refreshInterval = 0; var winFlag = false; $(function() { if(refreshInterval>0) { setTimeout('location.reload();',refreshInterval); } }); function submitForm() { ColdFusion.Ajax.submitForm('DOTDform','/act/actCart.cfm',callback,errorHandler); } function selectDOTD(input,promoID,optionID) { input.disabled = true; for
Hi guysHave difficulties running Cold Fusion Ent v9 after installingAfter I run server as root from cmd "./jrun -config jvm.config -start instance1" it is trying to connect to public IP as below for no reason/etc/hosts has following config........................127.0.0.1 localhost# special IPv6 addresses::1 localhost ipv6-localhost ipv6-loopbackerror Connection refused to host: 195.78.66.206; nested exception is: java.net.ConnectException: Connection timed out[1]java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) &nb
In an effort to troublshoot some issues I'm having I enabled metrics logging in CFADMIN but this is all I'm seeing in the metrics.log file. What gives?"Information","scheduler-1","11/13/13","15:59:54",,"Max threads: null Current thread count: null Current thread busy: null Max processing time: null Request count: null Error count: 21 Bytes received: null Bytes sent: null Free memory: 1737648152 Total memory: 2117206016 Active Sessions: 0""Information","scheduler-1","11/13/13","16:00:54",,"Max threads: null Current thread count: null Current thread busy: null Max processing time: null Request count: null Error count: 21 Bytes received: null Bytes sent: null Free memory: 1565060456 Total memory: 2117206016 Active Sessions: 0""Information","scheduler-3","11/13/13","16:01:54",,"Max threads: null Current thread count: null Current thread busy: null Max processing time: null Request count: null Error count: 21 Bytes received: null Bytes sent: null Free memory: 1634382744 Total memory:
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.