『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Hi Everyone,Has anyone heard about CFFiddle, which be announced in CFSummit 2016?I can't see any update around. Any clue?
I've been reading a lot about object oriented programming (OOP) and domain driven design (DDD) over the past few months. I've also been trying to wrap my head around how I can implement OOP coding styles into my daily CFML application development. Most of the time you'll see OOP/DDD applied towards solving rather complex problems, which makes sense in terms of using it for production purposes. However, when trying to learn a concept sometimes it makes sense to take something simple and make it a little more complicated in order to learn. In other words, I need to learn how to walk before I can run.What I've done is set up a simple model for a user registration system that will be used on a web site. I'm sure we've all built tons of these things - a user visits a web site where they are asked to enter their name, email address, password, etc... My goal was to take what I've learned about OOP so far and apply it to a scenario like this.In my reading ab
Has this been asked before - but how does the CF2018 port 9101 application find local servers to begin profiling? I am on Windows Server 2016 running both CF2016 and beta CF2018. Thanks - Phil
I have deployed the cfusion.ear file that got created during the ColdFusion 2016 install. I'm trying to get to ColdFusion admin and I'm receiving the exception below. Has anyone ran into this. I have tried running the hotfix, but still get same error.Operating System: Windows 64bit[2/5/18 9:37:11:675 CST] 000000a0 webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[CfmServlet]: javax.servlet.ServletException: ROOT CAUSE: coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Monitoring service is not available.at coldfusion.server.ServiceFactory.getMonitoringService(ServiceFactory.java:223)at coldfusion.CfmServlet.service(CfmServlet.java:199)at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233)at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapp
I am new to coldfusion and need some "schooling" on this matter. I installed Coldfusion2016 as a .war file (cfusion.war, a JEE install option) in the webapps folder in apache tomcat 9.x directory. It created a cfusion folder and under the cfusion folder I have: cf_scripts, CFIDE, META-INF, WEB-INF folder and a crossdomain.xml file. I can access the administrator file, or go the administrator website of coldfusion, using "localhost/cfusion/CFIDE/administrator" My question is when I want to create a coldfusion project or put a coldfusion file to run in the server, where do i put the files. Do I put it in the apache tomcat webapps folder, cfusion directory or CFIDE directory folder? Which is my root folder where I should be placing my coldfusion stuff? Where is the webapps folder for the coldfusion2016 install in apache tomcat server?
Hi,Is it possible to have an internal website built on ColdFusion 11 be accessible on mobile devices for use outside of the firm's network? Security is leading us to a road where we have to replicate the existing website on a different folder to be accessed externally. Is there another option where only 1 set of code is maintained for both internal (desktop) and external (mobile) access? I'd also like to use Active Directory for authentication.Thanks.Wendy
Based on my reading, the Repository pattern is frequently used to create an abstraction layer between an application's business logic/entities and the data/persistence layers (i.e. the database). However, most of the examples I've seen online on how to implement these patterns are in C#, Java, or other languages. Additionally, they always seem to be using some type of ORM like Entity Framework.[caption width="543" align="alignnone"] How a repository works. Credit: Microsoft[/caption] I'd like to learn more about the Repository pattern and evaluate how I can utilize them in my OOP CFML app development. I'd also like to see examples of how a repository might be used in CFML without an ORM. I wonder if I would need to create my own "data mapping object" which would help translate my entities into the individual data points before sending them off to my DAO's for persistence. Does anyone have any experience with this subject and/or hav
We have a scheduled task that runs periodically to "harvest" emails out of an Exchange inbox. It has run well for quite a while. Recently we're getting this error:microsoft.exchange.webservices.data.Appointment cannot be cast to microsoft.exchange.webservices.data.EmailMessageThe error appears to be getting generated within the CFExchangemail tag, itself. Our guess is that something in the inbox is cast as an Appointment rather than mail but in looking directly at the Inbox on exchange we see nothing amiss. We've cleared out the whole inbox and calendar of this account but the error continues.This appears to only affect the Inbox. I can query other folders using CFExchange with no problems.Any ideas?Here's the tag call where the error occurs (nothing special):<cfexchangemail action = "get" name = "FindAccountMail" connection = "cxn"> <cfexchangefilter name="Folder" value="Inbo
When I send a request similar to this. https://localhost/notexsistent.jsp. The response headers sent is:-HTTP/1.1 404 /notexsistent.jspDate: Thu, 03 May 2018 08:52:13 GMTServer: ApacheCache-Control: publicExpires: Thu, 03 May 2018 08:52:13 GMTContent-Type: text/plain; charset=UTF-8The unresolved path appended after status code 404 is creating HTTP Splitting attack vector.A request like this https://localhost/ss/%0Asomevalue:somevalue/notexsistent.jspresponse is:-HTTP/1.1 404 /ss/somevalue:somevalue/aaa.jspDate: Thu, 03 May 2018 08:57:25 GMTServer: ApacheCache-Control: publicExpires: Thu, 03 May 2018 08:57:25 GMTContent-Type: text/plain; charset=UTF-8 Thus injecting into response header. I am stuck as i am unaware of internal workings of Coldfusion.
In the CF administrator, I go to "Java and JVM" and then hit "Browse Server" -- on 2 of my CF servers it lists the directories of that server, but on 2 other servers it comes up blank. Anyone know the reason for this? (I am aware I can edit the java config file for this path, but would like to resolve the browse function). Thanks in advance. Image below is the blank screen, which normally has all the drives listed on the server).
Hi All,We're CF9 Enterprise Running on Unix - inside tomcat containers.I'm trying to see how the jvm.config file is set - but can only find outdated or not relevant articles on the subject.* while the CF Administrator settings page doesn't say so ... I'm assuming I'm working with a multiserver instance, as the option to edit the JVM is not in the administrator. so can't find the location of the jvm config from there* searching the VM that holds the tomcat containers for 'jvm.config' results in nothing. No file on the system with that name.reading many other posts on this, it seems that "it depends" is the consistent answer in forums as to where the jvm.config file is.As I didn't set this environment up, and its not the standard install of CF with the installer ... I'm not sure where to look.1. Can CF9 operate without a jvm.config file?2. where is the file? how can I find the file?3. Ihere is no C:/coldfusion9/cfusion/ directory - > how can I determine the "runtime" directory w
Hello,Another issue has popped up on our migration to 2016 - when viewing the application.cfm log in CF administrator, any entries from the log with an application name do not show up. They are in the log file itself, but don't show up. I've tested this by setting application name="" and creating an error.The other thing worth mentioning is this may very well have been the case for CF10 as well - however in CF 10 the log never wrote the application name in the log file. Looking at old files it is always "" even though the application.cfm file has been that way for years.Thanks,ChrisChris Cosart | Senior Developer/AnalystCenter for Community College Student EngagementProgram in Higher Education LeadershipDepartment of Educational Leadership and PolicyCollege of EducationThe University of Texas at Austin
We are upgrading a server from CF11 to CF2016. The server runs fine all day up until we do some night database processing. When this occurs we start getting errors like this:Table foreign_address_formats defined for cfc hrPortal.foreign_address_formats does not existI have confirmed these tables do not get dropped. Once the DB nightly processing is completed the cf server recovers and the errors go away.In our old CF11 instance we never encountered any issue like this at all. This is an orm enabled datasource. And the configuration between cf11 and cf2016 is exactly the same.Any ideas on this would be appreciated. - Alex
Hello, all,Quick question: I have noticed that CreateUUID() creates a UUID that is ALL-CAPS. Wouldn't there be more UUIDs if they were in miXeD-cAse?V/r,^ _ ^
Good Day,Currently we are using Cold Fusion 11 in our environment. What is the End-Of-Life date for this version?Thanks,
Some readers may know that CFDOCUMENT has long had a default behavior that if you had an img src (or similar html tag) that pointed to a local file, CF would under the covers turn that into an HTTP call to get the image, which could cause performance or even functionality problems. And CF8 added a new optional attribute to change that behavior: LocalURL. (See my blog post from 2011 for more on that: http://www.carehart.org/blog/client/index.cfm/2011/11/19/perf_fix_via_cfdocument_localurl_attribute.)Sadly, it seems that the new CFHTMLtoPDF (added in CF11) works the same way (I've confirmed by viewing web server logs showing it creating URLs to get images via the web server), and yet it does NOT offer that LocalURL attribute to change that behavior.Has anyone else encountered or solved this? I have done a lot of searching about it, to no avail.I did find that the underlying WKHTML kit does itself offer a --enable-local-file-access option, but it's only for use with
Hello everyone, I'm a first semester CF guy and this is new to me so please bear with me. I need to build a mini app that will perform simple to moderate calculations for a larger app I am building. I want my user to be able to go to a form and pick a conversion type, enter a number and and get a result based on what he/she enters. For example, say it's 72 degrees Fahrenheit. User pops in 72 and gets a result in Celsius. I know how to create a form and the variable for it. I even have the conversion formulas. I can get the result to the action page, but that's where I get stuck. How do I take the data that my user has inputted and multiply it by my formula and spit out the result at the same time? I want to try to make it as lean as possible and I know it can be done a lot easier than some of the full-blow apps that I have seen out there that do the same type thing on a much grander scale. Just need something quick
I'm using CF11 Standard and need to use websockets. Do i need to upgrade to the Enterprise version to do this?
Hello, all,I am using Oracle 11g, do not have admin access or authority to make any changes to configuration, and would like to have case-insensitive searches of varchar2 and CLOB columns.I have tried putting the following before my SELECT query:ALTER SESSION SET NLS_SORT = BINARY_CI;ALTER SESSION SET NLS_COMP = LINGUISTIC;This results in an error message: ORA-00922; missing or invalid option.Also, the method I'm using for searching the CLOB is case-sensitive:SELECT * /* I don't use * in production, I'm using it here for brevity */FROM table1WHERE dbms_lob.instr(columnA,'searchWord') >= 1Any advice appreciated.V/r,^ _ ^
Recently I got a VPS server and I'm running Coldfusion, the website was running fine until it got more and more traffic and I started to encounter 'OutOfMemory' exceptions.I thought simply to rise the memory of the VPS server, but this didn't help.After doing some Google searches I found a setting in de CF Admin settings to set the JVM Heap memory. It was on the standard: Max Heap size 512MB and Min Heap size was empty. After playing around a bit I have now set it to Min 50MB and Max 200MB, good things is that I'm not getting the 'OutOfMemory' exceptions anymore. So far so good!But with about 50 active visitors on the website, the website starts to get slow. The CPU usage is only about 8% (Windows Taskmanager), also the taskmanager show only about 30% of the 3GB RAM in use.So I'm thinking that my values could be tweaked to use more of the RAM. Honestly I don't understand these JVM Memory heap settings, so I have no clue what is a good setting for me.I found a CF script that displays th
Installed the beta, and had it set up to use the Apache server that is included in OS X on my laptop. And, I'm using the 8500 port. I have all the files in /Library/WebServer/Documents folder. In Httpd.conf I have "DocumentRoot "/Library/WebServer/Documents"". When I try to run 127.0.0.1/twitterstuff/testing.cfm I get:Error Occurred While Processing RequestFile not found: /twitterstuff/testing.cfmHowever, when I move this directory into /Applications/ColdFusion2018/cfusion/wwwroot/CFIDE, this file runs. This isn't an ideal answer to the problem, though. Is this a bug, or some configuration I need to make somewhere else?
One of the features promised for this release was a container version, but no sign of it yet.Is this still coming?
I am in the process of purchasing Cf2016 standard edition and I wanted to know whether my purchase of CF2016 would make me eligible for upgrade to 2018 when its released to market?
HelloI'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'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
Hello, all,What is the best way to preserve line breaks from a <textarea> when inserting into an Oracle varchar2(4000) column?I'm creating a comments section for a blog, and want to keep the input as the user entered it.This is being processed in ColdFusion 10/11.V/r,^ _ ^CORRECTION: Apparently, the line breaks are being kept, just fine, when I "view source" the page. So, this is a formatting-after-get issue, not an Oracle issue. Nevermind.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.