The official community for ColdFusion.
Recently active
I'm troubleshooting a problem a client is having with their migration from CF9 to CF10. A webservice call that previously worked, no longer is working. When I call it from my CF10 server, I get this error: C:...\cfusion\stubs\WS-853189522_2...\service.java:10: class, interface, or enum expected package ...;The ellipses are to replace proprietary files paths and names.When I add the cfinvoke attributes wsversion and refreshwsdl, I get a "Unable to read WSDL from URL: .../service.asmx?WSDL" error instead of the above error. I also changed the default ws version from 2 to 1 in the CF Administrator, with no change. Are there any other known issues with CF10 that would interfere with a webservice call that worked in an earlier version?
We have had a lot of issues with CF10 running on our server.We've gotten to the point that we've killed off our old VM Server and have replaced it with a new one.Everything was going okay but last night in the middle of the night the server crashed. My guess is that it has something to do with a nightly task but in reality I don't know that. I've got the error that caused it if anyone can point me in the right directionSep 9, 2013 6:06:43 PM org.apache.catalina.core.StandardWrapperValve invokeSEVERE: Servlet.service() for servlet [CfmServlet] in context with path [/] threw exceptioncoldfusion.monitor.event.MonitoringServletFilter$StopThreadException: The request has been canceled by the administrator or by the server. at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:65) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
What exactly does this setting do in the CF admin configuration under the "Logging Settings" section? "Use operating system logging facilities "
I've been trying to figure out exactly why this tag has been consistently failing on one of my two production boxes for 3 weeks, with very limited success.On system one, it works fine, and generates the following for a standard PDF:<?xml version="1.0" encoding="UTF-8"?><xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"> <fields> <field name="HIGH SCHOOL DIPLOMA"/> ...fields deleted for brevity... <field name="Print"/> </fields> <ids original="6F185C876244254CBA5693F8CDC7D0AA" modified="25576F3D95DBC54B87BDFC8CCAAE408D"/></xfdf>On system two, however, the XML generated looks a little different:<?xml version="1.0" encoding="UTF-8"?><xfdf xml:xml:space="preserve"> &l
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusionBuilder/2.0/Using/WS0ef8c004658c1089-2cf13501121af8ece2c-7fe8.html
I have a check box on the form and want to pass it check or not to my cfstoredproc.I tried to use followign code I got invalid data error message, I tried to use cf_sql_bit, cf_sql_int, but I always get error message,My stored procedure expect bit data type, but I can change what ever the check box value is for database server stored procedure.Your help and information is great appreciated,Regards,Iccsi,<cfstoredproc procedure="MySP"><cfprocparam value="form.MyCheckBox" cfsqltype="cf_sql_tinyint"><cfprocresult name="SP1" resultset="1"></cfstoredproc><cfinput type="checkbox" name="MyCheckBox" value="MyCheckBox" id="MyCheckBox">
Hello,I'm in the middle of a project that is using AJAX and remote CFC's to allow data from the client side to interact with the server. This is an add-on for an existing application and am having a bit of difficulty figuring out the best way to secure a remote CFC. My jQuery makes the call to the CFC and returns the data as expected, but anyone can call the CFC directly with the right parameters and have the data returned.I had tried a scenario where the CFC queries my the authentication log in my database and checks for a current login based on a user ID, however I've figured out the hard way that you can't nest a second query inside of a single function. Here's my code:<cffunction name="getSubCategoryAID" access="remote" returntype="query" returnformat="JSON" > <cfargument name="userID" type="numeric" required="true"> <cfque
I need to let user enter the new value does not exist in the list and add a new record for the user using CFSELECT.Does CFSELECT have the option to let user to enter a data not in the list?Your help and information is great appreciated,regards,Iccsi,
I have a CFSELECT like following and I need sometime sort by MyCode and sometime sort by MyNamelike following code<cfif (isDefined("form.MyID") AND form.MyID EQ MySP.MyID)>selected="selected"</cfif>>#MySP.MyCode# - #MySP.MyName#</option>or<cfif (isDefined("form.MyID") AND form.MyID EQ MySP.MyID)>selected="selected"</cfif>>#MySP.MyName# - #MySP.MyName#</option>I need switch MyName and MyCode and change sort order at run time.Are there any place I can use CFIF to compare the condition to change?Your help and information is great appreciated,regards,Iccsi, <cfselect name="MyList" id="myList" > <option value=""> </option> <cfoutput query="MySP"> <option value="#MySP.MyID#" <cfif (isDefined("form.MyID") AND form.MyID EQ MySP.MyID)>selected="selected"</cfif>>#MySP.MyCode# - #MySP.MyName#</optio
I have deployed two test sites, using Adobe's own example code for application based user security, copied in its entirety from the Adobe website. One test site is in ColdFusion 8, one is ColdFusion 10. The code and databases are identical on both sites. I added cfdump output to monitor session variables and login status as they are set.Test Site ColdFusion 8: http://cf8loginadobe.cimhost.com/securitytest.cfmTest Site ColdFusion 10: http://cf10loginadobe.cimhost.com/securitytest.cfmLogging in using a user of "Bob" and password of "secret" demonstrates the failure in CF10. Initially it appears login was successful, but note that the cfdump of the session does not show a cfauthorization_orders value in CF10, where in CF8 the value is present.In CF8 subsequent visits to the same URL after login correctly retain the logged in user status and do not present the login form. In CF10, no session was actually created for the user, and therefore subsequent visits to the same URL prompt for login
This code excutes on Coldfusion 10... However, Why does it not excute on Coldfusion 8.The line in red is where it fails.<cfscript>if (IsDefined("FORM.fName") AND IsDefined("FORM.lName") AND IsDefined("FORM.email") AND IsDefined("FORM.lms") AND IsDefined("FORM.updated_lms")) {if (FORM.fName NEQ "" AND FORM.lName NEQ "" AND FORM.email NEQ "" AND FORM.lms NEQ "" AND FORM.updated_lms NEQ "") {if (IsNumeric(FORM.lms) AND IsNumeric(FORM.updated_lms)) { //If LMS Numbers are EQUAL THEN UPDATE OTHERWISE check to see if new LMS Number exists IF NOT THEN UPDATE if (FORM.lms EQ FORM.updated_lms) { try { runquery = updateTraineeUser(); } catch(any excpt) { WriteOutput("<p class=""error"">The application was unable to perform a required o
I want to user to upload attachement to my upload directory like followingC:\inetpub\wwwroot\MySite\Test\uploadFile<cfset strPath = ExpandPath( "./" ) /> <cfset strPath = GetDirectoryFromPath(GetCurrentTemplatePath()) /><cfoutput> #strPath#</cfoutput>I use above code which gives me the following path.C:\inetpub\wwwroot\MySite\Test\Are there any way to add \uploadFile to the return path?Your help and information is great appreciated,regards,Iccsi,
Hi there,I need to pass the companyId into the cfc but i keep gettting an error, does any know?- thanksYou cannot specify more arguments to a CFC function than it declares. Error parsing bind cfc:cfc.query.getCustName({cfautosuggestvalue},{request.compERP.compID}) .cfm<cfinput type="text" name="cust_name" id="cust_name" size="50" autosuggest="cfc:cfc.query.getCustName({cfautosuggestvalue},compID=request.defaultcompId.compID})" > .cfc<cffunction name="getCustName" access="remote" returntype="array"> <cfargument name="search" type="any" required="yes" default="" /> <cfargument name="CompID" type="numeric" required="yes" /> <!--- Define variables ---> <cfset var qCust=""> <cfset var result=ArrayNew(1)> <cfquery name="qCust" datasource="devlivery" > select cust_name from customer WHERE lower(cust_name) LIKE lower('#ARGUMENTS.search#%')
I need to get a java.util.Calendar object for a webservice.Using CreateObject("java", "coldfusion.util.DateUtils").getCalendar(Now()) works fantastic, except I have to allow access to internal ColdFusion Java components, which I'd prefer not to do.Is there an easy alternative?
Hi,I installed CF10 on mac using this link:http://iknowkungfoo.com/blog/index.cfm/2013/2/27/Installing-ColdFusion-10-on-OSX-108-Mountain-LionThe CF server is working.I was fine until the step 8 on OSX Sites. I can see fine the file from the step 7 "http://localhost/~username/index.htm", means that apache also is working fine.Why I cannot see the current time from "http://localhost/~username/index.cfm"? I only see the content of the file <cfoutput>#now()#</cfoutput>Any ideas how to fix or test this?I will install flash builder 4.7 after to work with CF10.Thanks
I have a script that is pulling in data from an excel document using cfspreedsheet, performing data checks, and inserting the data into the appropriate tables. Each XLS document only has about 1000 records. The scripts are wrapped in a CFTransaction tag to ensure rollback if the script errors.When I run these scripts they will succeed if I'm only importing around 400 records or less. If I try to import any more than that I receive a 500 server error from IIS. I'm guessing that this is some sort of timeout issue. In order to try and force the success of the script, I upped the requesttimeout setting to 900000. This did not solve the problem.Can anyone tell me how to troubleshoot and/or fix this problem?<cfsetting requesttimeout="900000" showdebugoutput="true"&
Ok so I knwo how hold Coldfusion MX 7 is and that there is no official support from adobe anymore, but unfortunately a client I am working with has a Coldfusion MX 7.0 server and they do not want to upgrade. I would like to at least get all the available hotfixes and updates installed for them but I cant seem to find the downloads for them anywhere. Does anyone knwo where I can get these?
I want to create a sub folder at run time and want to use cfdirectory to create new diretory.I do not see override option on the cfdirectory tag, it seems that I need to use FileExists to check before create,Please let me know if I am wrong,Your information and help is great appreciated,regards,Iccsi,
Folks,How do I to know file size in an image file before upload?I have a form and these can only accept image files with until 2mb, and jpg extension.Anyone have a tip for this?tksFabiano Magno Pechibella
Ok, I give up. So soon? So I am using cflayout, cflayoutarea stuff. And in my code I have a bug. But I can't find it. Why? Because CF10 is not showing it to me. It is hidden. Normally when outside a cflayout (or sometimes in one) instead of getting the huge usual error listing all over your screen, instead I get a sort of pop up window ... Error retriving markup for element "element name": and the element name is the tab ... I am using nested cflayouts. enable debugging by adding cfdebug to the URL. When I do that all I get is a red line telling me nothing else. How does one determine what the problem is under such a scenario?
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7a23.html
Long story short, we are installing Groupwise WebAccess on our ColdFusion 10 web server to offer webmail, and it is hard-coded to use the jakarta directory for it's own ISAPI_redirect.dll. ColdFusion was installed and integrated into IIS 7.5 rather than set to run standalone.I'm not sure if the underlying Tomcat services that ColdFusion installs are being utilized, but I know that it requires the jakarta folder to run CF. So is it possible to configure somewhere in CF's files a different name of this virtual directory? I could create a cf-jakarta and map it to CF's ISAPI_redirect.dll file and this should not conflict with WebAccess' need for it's own ISAPI_redirect.dll.
I have upgraded My coldfusion 9 to use 64 bit JDK rather than 32 bit. But it still says 32 .When I try to get informtion through server variable.sun.arch.data.model 32 sun.boot.class.path /data/www/jdk/jdk1.5.0_14_64bit/jre/lib/rt.jar:/data/www/jdk/jdk1.5.0_14_64bit/jre/lib/i18n.jar:/data/www/jdk/jdk1.5.0_14_64bit/jre/lib/sunrsasign.jar:/data/www/jdk/jdk1.5.0_14_64bit/jre/lib/jsse.jar:/data/www/jdk/jdk1.5.0_14_64bit/jre/lib/jce.jar:/data/www/jdk/jdk1.5.0_14_64bit/jre/lib/charsets.jar:/data/www/jdk/jdk1.5.0_14_64bit/jre/classes Jrun Version 4.0Coldfusion 9.0SunOS 5.10 Generic_142900-02 sun4v sparc SUNW,T5140Thanks
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSAC308487-F029-4f89-BAFB-B410E145E86E.html
I use following code to have upload file contorols on the form.I has a button which has caption "choose file" on the left and have a label to show file name when user select the file.I want to have Browse caption on the button and to have the button on the right side and to have a text box to store file name text.I would like to know if it possible to use any property or attibute to configure, if not, then the only solution I need to use JavaScript to configure my controls.Your information and help is great appreciated,Regards,Iccsi,<cfif isdefined("form.submit_upload")><cffile action="UPLOAD" filefield="file_path" destination="Mypath" nameconflict="MAKEUNIQUE">File Uploaded!</cfif> <cfform action="fileupload1.cfm" method="POST" name="frmupload" enctype="multipart/form-data"><cfinput type="file" name="file_path" id="Browser" value="Browser"><br /><cfinput type="submit" name="submit_upload" value="upload"></cfform>
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.