Questions
Als letztes aktiv
I try to consume a webservice which lives on an iis-machine.I get this error message:-----------------------------------------------------------------------------------------------------------------------------------------------------errorCannot perform web service invocation suche.The fault returned when invoking the web service operation is:org.apache.axis2.AxisFault: Fehler beim Überprüfen der Sicherheit für die Nachricht. at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) at org.tempuri
I have installed the Coldfusion 11 Standard Edition in Windows Server 2012 R2 with 2GB RAM and IIS 8.5. “Adobe ColdFusion Launcher Application” exe consumes more CPU memory in the process say around 86% and slows down or stops running the Application. The Application services goes down and URL throws Service unavailable error. Please help.
Hi. I just have a simple number range and I want to output the results. What I have outputs the results, but for some reason, it only displays the first result. Why does it not display the correct result? Here's what I have:<cfset X = 27><cfset Y = 37><cfif (#X# GT 35 LT 51 And #Y# GT 1 LT 35)><cfset Result = 200><cfelseif (#X# GT 1 LT 35 And #Y# GT 35 LT 51)><cfset Result = 300><cfelseif (#X# GT 35 LT 51 And #Y# GT 35 LT 51)><cfset Result = 100></cfif><cfoutput>#Result#</cfoutput>Since X is 27 and Y is 37 it should output 300 as the result, but it outputs 200. Why is this? What do I do to fix this? Thanks.Andy
Here's something I'd like to gain a better understanding of, because I'm looking for anything that will speed up my processes. I will try to describe and pseudo-code this as well as I can. Apologies in advance if anything is unclear.I have a CFC that is instantiated and utilized in two different ways. In the first way, the object is created, and a method within it is immediately invoked inline, which initializes some properties within that object, and finally returns This. The transient local object reference is then used to invoke other methods within it, and then it's abandoned as the request runs it normal course.myLocalObject = CreateObject("component", "myCFC").setStuff(theseArgs);if (myLocalObject.checkStuff(thoseArgs)) myLocalStruct = myLocalObject.makeStruct();In the second way, the object is created blindly, and the object reference is stored in a property of the calling CFC. Later, that stored object reference is used to invoke the same setStuff() method, bu
I believe I found a bug in CF11 with DateTime comparisons when dealing with UTC converted values going through serializeJSON then deserializeJSON. I did modify the code to not include the local2utc conversion and that seemed to produce correct results. Can someone please confirm: <cfscript> variables.dttm = createDateTime(2016,04,03,17,53,0); variables.dttmutc = dateConvert('local2utc',variables.dttm); variables.base = {}; variables.base.dttmutc_min = dateConvert('local2utc',dateAdd('h',-1,variables.dttm)); variables.base.dttmutc_max = dateConvert('local2utc',dateAdd('n',1,variables.dttm)); variables.viajson = deserializeJSON(serializeJSON(variables.base)); variables.viajson.dttmutc_min = parseDateTime(variables.viajson.dttmutc_min); // to me this parsing should not be required variables.viajson.dttmutc_max = parseDateTime(variables.viajson.dttmutc_max); // same </cfscript> <cfoutput> <h1>base<
Hi,Can anyone tell me please why this:<cfquery name = "check" datasource="ds">SELECT Date FROM tbl</cfquery><cfset check.Date = DateFormat(check.Date, "short")>results in the check.Date changing on versions before CF 2016 but not in CF 2016?thanks.
So, while I do use ColdFusion at work, I also use it on my personal website, where I host a blog and photo gallery.Whenever I click on a post or a gallery pic, I notice that the URL is appended with some sort of token. For instance, this:http://mysite/post/2224 becomes this:http://mysite/post/2224#.VmKaAipG_0It makes for some pretty ugly URL strings when I want to paste something to someone.My host uses CF9 (I think) and Linux. Is there an obvious reason it does this? I'm using session management and client cookies in Application.cfc, so maybe that has something to do with it.
if someone types a url into a form field and it goes into a mysql database. how do i get it to display as an active link on the display page.
The checkbox component right out of the box is showing up as a push button. Can I fix this?
Hi All.I have written a full application that works great using chrome http://localhost:8600/<appname>/When i build to phone gap i got the errorAndroid net::err_file_not_found (file:///android_asset/www/xxxxxx.cfmSo i thought oh dam, what stuff did i mess up. This is my 1st App.So i thought lets go back to basic.So i created a new project.I only created 2 pages index.cfm and test1.cfmindex.cfm <html> <head> </head> <a href="./test1.cfm">test</a> </html> test1.cfm <html> <head> </head> <a href="./index.cfm">index</a> </html> Then i built the app.downloaded APKinstalled on samsung note 3 aswell as samsung note 10.1When i run the app. i see the hyperlink i click(touch) on test 1.I then get the following error then app closesCfbuilder Android net::err_file_not_f
I am following these instructions for creating/exporting a j2ee archive (WAR or EAR) for coldfusion 9. http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSc3ff6d0ea77859461172e0811cbf364104-7fd1.htmlHowever, after selecting my settings, there is a "Submit" and a "Cancel" button. There is no "Create" button. I do not see a .WAR file anywhere on my server, although it has created a directory structure with some xml files, etc. I was expecting just a WAR file. Any help/idea? Thanks. Doing a migration from 9 to 11.
I create a cfc which has one method and want to access from cfm file using jQuery.it seems that jQuery does not recognize the component,\I remember that I can check if this component and method is accessible from my browser, but I do not remember how.Your help and information is great appreciated,Regards,Sourises,
I'll make a migration but I find myself coldfusion indesiso between 11 and 12
Hi,Need advise on the correct licensing for my server below:Server 1: 4 Virtual CoreServer 2: 2 Virtual CoreThanks,
I am using the cfimage tag with action="captcha" and text="someText". SomeText is replaced with a random string between 4 & 7 characters. Sometimes when the captcha is displayed it doesn't show all the characters that was passed in the text argument. For testing I display the text that is passed into the cfimage tage above the captcha box so I know what should be displayed. I also tried putting in static text like the word test and there were times it didn't display all 4 letters.I am using Coldfusion 11Any ideas?
I really do not understand this problem. I am relatively new to both tomcat and coldfusion, but I have followed basic instructions.Deploying on Tomcat 7.0.68 and Java 1.8.0.77. This is on CentOS 6.7Coldfusion install log says no errors, 8890 successes. Tomcat at localhost:8080 looks good. Using the JEE WAR file deployment, 30 day trial, production server. I modified Tomcat's web.xml to allow for a 500MB deployment, since the Coldfusion WAR file is almost 300 MB. I will past my Catalina.out file here, since it seems the most relevant. And I really appreciate any help someone can offer. Mar 29, 2016 10:03:29 AM org.apache.catalina.startup.VersionLoggerListener log INFO: Server version: Apache Tomcat/7.0.68 Mar 29, 2016 10:03:29 AM org.apache.catalina.startup.VersionLoggerListener log INFO: Server built: Feb 8 2016 20:25:54 UTC Mar 29, 2016 10:03:29 AM org.apache.catalina.startup.VersionLoggerL
Hello,I need to create a rather long list of checkboxes for a user to fill out. I have created a database table with each checkbox item stored as a row, and using a cfquery I can select them from the database and add them to a form as such:<form action="postact.cfm" method="post"> <cfoutput query="getquestions"> <input type="checkbox" name=#getquestions.shortname#>#getquestions.longname#<br> </cfoutput> <input type="submit" value="Submit"></form>The problem is when I try to reference these items on the following page.Instead of naming each one individually, I was hoping to use another query to pull the name of the checkbox, and be able to reference it.Problem seems to be that I can't reference them a
Hi everyone. My company has been hit with 3 viruses in the last few months and we think it's because of some attachments employees are clicking on and opening. We have a quote page on our web site form that allows users to attach files that get sent to our quote email address. The form does not prevent certain attachments from being uploaded and attached and sent to the email though. Does anyone know how to prevent certain file extension attachments to not be allowed to be sent from a form in Cold Fusion? I would probably want to prevent .exe, .zip, etc. files for sure. Thanks.Andy
Hi, I have this old web application that I'm working on. In the application, I am able to attach files. Does anyone know how to save the files attached to IIS virtual directory?
I have a ColdFusion 9 application I inherited that signs into an Outlook email box then processes email, downloads attachments, and saves emails sent to it into a database for long term storage. This solution is working fine until it gets an email where there are attachments embedded into the message body.The basic process for an email with attachments is as follows:1. Check for and save new email to database2. Check for and save listed attachments to storage filer3. If it has attachments, check to make sure attachments were downloaded.4. If has attachments and attachments were downloaded, mark email for delete.5. Email deleted from inbox.The problem I am encountering is in emails where the attachments are embedded into the body of the message.For example, when I outputSUBJECT: My Email with Embedded Images and DocumentsATTACHMENTS: image001.gif image002.gif image003.gif image004.gif image005.gif image006.gif image007.gif 1200084.DOC.DOCATTACHMENTFILES:As you can see it says there are
I have started using an on-prem certificate authority on my domain and assigning certificates for various purposes. Now when I try to connect to one of my coldfusion sites it asks me if I want to use a certificate to authenticate myself. None of them work for CF.Is anyone using this type of authentication and if so how do I enable it so I can use my certs? I am running CF10 Enterprise on Server 2012 using IIS.
So this problem has been driving me completely bonkers.CF10 update 18, RedHat 6.7 64 bit. Java 1.7.093We noticed a similar problem with coldfusion 10 update 14 last year, and rolled back to update 13. Recently we pushed out update 18, which fixed some issues, but did not fix CF restarting into a hung or dead state.I have gone as far as uninstalling CF10 completely, reinstalling a fresh CF10, doing the mandatory update, and then doing update 18. Creating two fresh new instances, a new cluster, and configuring apache connector to use said cluster. Its about as out of the box as I can make it.With this physical box quiesced in my hardware load balancer (not taking requests) I can happily restart the two CF instances all day long without much problem (maybe the occasional hang, but rare). The trouble starts when I put the box back into production and allow it to start taking requests, and then restart a CF instance. At least one CF instance w
Server: CF10Platform: Windows and Linux (Win in DEV windows in PROD)So I'm generating this awesome excel file for a client but having trouble getting date fields to behave properly. Everything else seems to work just fine but when I send the data to excel to be generated, excel treats it as just text and when this filed gets sorted it handles it as such.More info: The column I'm trying to configure is called Arrival Date it is arriving formatted as mm/dd/yyyy (I have tried to format is as m/d/yy but when it arrives in the sheet that doesn't work as well)I'm also including an image of the sorted row. It does think its a valid but just doesn't sort it in chronological order. Code:<cfset filename = expandPath("./TDYData_(#DateFormat(now(),'mmddyy')#).xls")><!--- Make a spreadsheet object ---><cfset s = spreadsheetNew("TDYData")><!--- Add header row ---><cfset spreadsheetAddRow(s, "TDY Phase,Full Name,Employment Category,Gender,Originating Agency,Agency Comments,
After installing CF Builder 2016, the "Available Software Sites" for builder is added as:https://cfdownload.adobe.com/pub/adobe/coldfusion/cfb31pluginsrepo/It is deselected by default. But if selected, eclipse errors with:"No repository found at https://cfdownload.adobe.com/pub/adobe/coldfusion/cfb31pluginsrepo/."I recall a similar bug in CFB3. Is there a different repository that we should use?We are running both 32b and 64b CFB2016 as a plugin on Eclipse Neon (32b and 64b)
I've been using ORM for a while, but just started getting into using EntityLoadByExample(). I thought this would be great, but I've run into an issue. Say I have an object "Art" and it has a many-to-one relationship to "Artist" (many arts may have the same artist).So my sample Art object would be like:component displayname = 'Art' { property name='artID' fieldtype='id' generator='identity'; property name='title' type='string'; property name='Artist' fieldtype='many-to-one' CFC='Artist' fkcolumn='ArtistID'}My sample Artist Object would be like:component displayname = 'Artist' { property name='ArtistID' fieldtype='id' generator='identity'; property name='Name' type='string';}So, lets say I have an artist in my DB:ArtistIDName1Monet2RembrandtAnd let's say I have some "Art" in my DB:ArtIDtitleArtID1The Water Lily Pond12Woman with a Parasol13Poppies14The Night Watch25The J
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.