Cold Fusion ODBC Server (CF7)
Just curious as to why there is a CF ODBC Server that is run
be default?
I thought it was necessary to run this to use data
connections with CF, but it turns out all of our sites run 100-fold
faster and better with the darn thing turned off and there is no
issue connecting to data sources!?
So why is it there at all? Just curious more than anything.
interesting
is it possible that when it is on, it actually handles all
data connections, not just Access? But when off the SQL connections
run through the native ODBC handlers?
I only ask because our server was bogging down yesterday and
as soon as I turned off the CF ODBC Server it was faster than it
had ever been in the past year or so!
Leaving the service off, the server is still way better than
it ever has been today.
Similar Messages
-
Cold Fusion Application Server
Hello all,
I'm having the weirdest issue with our CF server. They do not
run. However when I start Cold Fusion Application Server, I cannot
login to any of my backend admins. I suspect that it is because it
tries to set an application variable. Then I check for to see if
there the app var is set, if not it redirects to the login page.
I am guessing that the app var is not being set. If I stop
Cold Fusion Application Server, everything works fine.
I don't want to have reinstall CF 5 (on Windows 2000 srv).
Any ideas???
thanksDettCom,
I had a similar problem to this, but I don't know if you have
the same configuration (it was on CF 6.1). I don't know a whole lot
on CF 5.
I was storing client variables in the cdata/cglobal tables,
and one variable's string ended up longer than I had planned for
(although it was, in fact, correct). I had to increase the size of
the "data" field in CDATA.
Also, anything in the logs? (I know you probably would have
mentioned if there were).
- Mike -
Updater 2 and Dreamweaver's Cold Fusion development server
Hello,
I am in the process of developing a Cold Fusion Web
application for my university dean's office using...
<cfobject type="COM" action="create" name="Chart"
Class="Corda.Embedder">
...and I am receiving this error message...
An exception occurred when instantiating a Com object.
...the Corda documentation states the following, and I agree
with them that this is what I am experiencing and need to do...
COM Corda Embedder (Windows)
If you are using ColdFusion MX on Windows, be sure you have
updated your server to the latest version using the ColdFusion MX
Updater Release 1. This is available at
http://www.macromedia.com/support/coldfusion/releasenotes/mx/releasenotes_mx_updater.html.
You will need to apply this update to fix a bug in ColdFusion MX
that prevents it from accessing Window’s Component Object
Model (COM).
Other than that, you don’t need to do anything. The COM
version of the Corda Embedder is installed automatically for you.
...I am running Windows XP Professional 2002 SP2, and the
Cold Fusion Developer Server THAT COMES WITH Dreamweaver 8.0. The
Cold Fusion server is an established server running several CF
applications. The Corda product is also known to be running fine,
as I am able to view my current projects in a browser.
Server Details
Server Product ColdFusion MX
Version 7,0,0,91690
Edition Developer
Serial Number Developer
Operating System Windows XP
OS Version 5.1
1) Am I missing something with instantiating the COM object?
2) How can I tell if I need the Cold Fusion updater?
3) Which updater version do I download (1 or 2) and for which
server (MX, MX7, Special Dreamweaver version)?
4) Where do I install the updater - since I am running the
Cold Fusion Developer Server that comes with Dreamweaver, it is not
located in the default C:\CFusionMX7 directory?
Thank You Very Much For Your Time,
Nathan
Technology Support Analyst, Sr.2) How can I tell if I need the Cold Fusion updater?
Version 7,0,0,91690
You are on Version 7MX, no updater. After the update you will
have a
version something like this.
Version 7,0,1,xxxx OR Version 7,0,2,xxxx
3) Which updater version do I download (1 or 2) and for which
server
(MX, MX7, Special Dreamweaver version)?
You need to download and install at least updater 1 for MX 7
per the COM
instructions, updater 2 (which by default includes updater 1
IIRC) could
be even better, but has a small chance of doing something you
don't want
it to. One would have to read all the tech notes and make a
decision.
There is no "Special Dreamweaver" version, it is just the
standard Free
Development version anybody can download and install. "Serial
Number
Developer" And to turn this into a professional version all
one has to
do is purchase a license number an enter it into the
administration
panel. This converts a developer CF server to a Production CF
server
with no other downloading or installing necessary.
4) Where do I install the updater - since I am running the
Cold Fusion
Developer Server that comes with Dreamweaver, it is not
located in the
default C:\CFusionMX7 directory?
Most likely the installer will figure that out. If it does
not, just
provide the directory/file path to where your CF is installed
when asked.
HTH -
Does Cold Fusion come with a web server, or do I have to have
something like PWS installed?Yes, as Ian said, it does come with a web server, but it's
intended for development on a local box only, and by default is set
to run on port 8500. It purports to process only for a single IP
address, although to my knowledge that plays out more in a way that
you cannot have two simultaneous requests from different IP
addresses. (i.e., you could still hit the webserver from one
machine, then hit it from another machine two seconds later).
At any rate, give it a download and try it out. The
installation is easy. Don't expect to use CF's built-in web server
for production purposes, though. -
Hello
Got some applications which are running under Cold Fusion 5
Server. Can someone tell me if Adobe still supports this versions
(patches,hotfixes etc.) or is it out of lifetime cycle? I didn't
find something on adobe.com about this...
thanks for your answersHello,
It is only supported for Gold Support customers. For any
regular calls, Bronze and Silver Support plans we only provide
support for CFMX versions (6.0, 6.1, 7, and 7.0.1). So 5.0 is out
of lifetime cycle. -
What can be done when Cold Fusion 9 ODBC Services will not install?
What can be done when 64-bit Cold Fusion 9 ODBC Service will not install on a Windows Server 2008-R2 64-bit machine? Yes, most of the things in other discussions have been tried.
Hi GDMVU,
Save the below code as CF9_RemoveOdbc.cfm
<cfscript>
//login using admin
//createObject("component","cfide.adminapi.administrator").login("administrator_password" );
createObject("component","cfide.adminapi.administrator").login("admin");
//instantiate datasource object
myObj = createObject("component","cfide.adminapi.datasource");
</cfscript>
<cfscript>
writeOutput("Removing ODBC Services...<br>");
returnValue = myObj.removeODBCservice();
writeOutput("ODBC Services removed");
</cfscript>
Save the below code as CF9_InstallOdbc.cfm
<cfscript>
//login using admin
//createObject("component","cfide.adminapi.administrator").login("administrator_password" );
createObject("component","cfide.adminapi.administrator").login("admin");
//instantiate datasource object
myObj = createObject("component","cfide.adminapi.datasource");
</cfscript>
<cfscript>
writeOutput("Installing ODBC Services...<br>");
returnValue = myObj.installODBCservice();
writeOutput("ODBC Services installed");
</cfscript>
Now try the following steps:-
Change admin password in above .cfm pages for your CF 9 server.
Use RemoveObdc cfm page first to remove any existing faulty/corrupted Odbc services.
Use InstallOdbc Odbc services to install Odbc services there.
Hope this helps.
Regards,
Anit Kumar -
How do you determine what version of PHP is on the cold fusion server
I am trying to find out what version of PHP is on my cold
fusion server, how do I do this? Does coldfusion come with
PHP?In the C:\Windows folder, locate the file called php.ini and
open it in Notepad.
<?php phpinfo() ?>
I answered it myself. Maybe it can help someone else. -
How to change web server from inbuilt Tomcat to IIS in already configured Cold Fusion 10
how to change web server from inbuilt Tomcat to IIS in already configured Cold Fusion 10
You just need to run the Web Server Configuration Tool to connect ColdFusion to IIS. It can be found in the ColdFusion program group off of the Start menu. Be sure to run it "As Administrator".
-Carl V. -
Cannot browse server following installation of hotfix 4 to Cold Fusion 9.0.1
Hi
I've been tasked with updating a ColdFusion 9.0.1 installation to the latest patches. I've started with Hotfix 4. The installation appeared to go OK, and the services started after I applied the update. However, when I went to moved onto the next update (APSB13-10) starting by browsing to the update file I ran into a problem. When I click on the "browse server" button to locate the .jar file for the next update I encounter an error: "Unable to authenticate on RDS server using current security information". I've also found that if I try to put the full path into the Update File line and hit "Submit Changes" it errors.
This seems to be the same problem as http://forums.adobe.com/message/5256752#5256752, but there's no solution to the problem in that discussion.
I've checked the RDS settings, and RDS is unchecked. I notice that this screen is different from the pre-upgrade screen, but this seems to be as a result of, I think, APSB13-03, which is included in HotFix 4. If I try to make any changes on this screen it errors and logs me out of the Cold Fusion administrator. I've tried commenting out the RDS section in the web.xml file, but this gives me a different error.
I'm doing this on an isolated test server which has no access to the network. If I revert to the snapshot I took before the upgrade attempt ColdFusion runs as expected.
Any ideas what might be the problem? Thanks in advance.In case it helps anyone I've realised what I was doing wrong here.
The main “problem” was that one of the updates included in Cumulative Hotfix 4 is APSB13-03 (http://helpx.adobe.com/coldfusion/kb/coldfusion-security-hotfix-apsb13-03.html). I knew this changed the behaviour of RDS but my knowledge prior to this work of ColdFusion and in particular RDS was very limited, and so I didn't understand the implications of this hotfix. What this update does is disable RDS by default; I wasn't really aware what the RDS status of my server was prior to the update, partly because before this update there is no "disable RDS" tick box to show whether it is enabled or disabled. With RDS disabled, you can't browse as the update instructions require you to do. Obviously RDS was enabled on my setup without me realising it.
My understanding of this wasn't helped by the fact that when I tried to paste a path into the box and hit the "update" button I got a different error, which I described in my original post. Similarly if I tried to change RDS settings, or do pretty much anything in the administrator, it failed and logged me out in the same way. It seemed to me that the whole thing was broken by the updates and I didn't know how to fix it.
So, following the excellent advice of Charlie Arehart in two articles: http://www.carehart.org/blog/client/index.cfm/2010/12/12/cfmyths_cumulative_hotfixes and http://www.carehart.org/blog/client/index.cfm/2011/10/21/why_chfs_may_break, I went back to the start and installed the cumulative hotfixes one by one. Although I don't think I actually needed to do this, as Hotfix 4 seems to contain all the previous hotfixes, it did help me realise that the browsing/RDS issue and the error and logout when I tried to do anything in the administrator were two different problems. After further bit of googling I found people suggesting that you should use https to access the administrator, but the shortcut I had was taking me to http (as far as I know I was using the default shortcut). I found that by going to https the problem of being logged out when trying to do anything disappeared and I could put a UNC path in to update the .jar file for the next update. I also was now able to enable RDS for single password and could browse like the hotfix instructions advise. I've since disabled RDS and accepted the inability to browse as a "feature", happy that it's more secure as a result.
So my “problems” were largely self-inflicted due to my own ignorance of the product, but it wasn’t helped by Adobe’s apparent inability to grasp that there may be similarly ignorant people attempting these updates. It would have been nice to see some guidance from them. Furthermore, the cumulative hotfix 4 page (http://helpx.adobe.com/coldfusion/kb/cumulative-hotfix-4-coldfusion-901.html) doesn’t even mention RDS, let alone that the default behaviour changes. It’s only when you check the individual hotfix information that you can see the information that helped me to realise where I was going wrong.
As for using https not http; great, but if I’m right that my shortcut is the default out-of-the-box shortcut, where’s the information to advise to change to using https as a result of one of the hotfixes included in hotfix 4 (originally, I think, hotfix 2)? It’s certainly not mentioned on the page for cumulative hotfix 4. -
I am having a 64 bit machine on which windows server 2008 R2 is installed. IIS 7.0 is configured and running on it. on which I have my organisations main website. I have to install Cold fusion on this machine as some of my site pages are designed with CF.
I used all the default settings for installing cold fusion 9. It got completed succefully. But after I restarted my system and tried accesing my ASP.net website it was not loading the page. Text getting displayed was only as follows '<script> src="'. Later I unsistalled CF and my site was working fine.
Please can any one guide me to successfully install Cold fusion without disturbing my main site deployed on IIS ?Sarfarajms, I don't recognize what about the CF install would conflict with ASP.NET, but I'll note this:
If you downloaded CF 9 recently, you are still running 9.0--which does NOT formally support IIS 7. If you followed the steps about enabling IIS 6 compatibility and such (in the install guide or some blog entry), perhaps that caused the conflict.
Instead, you will want to install 9.0.1 (CF 9 Updater 1, which is NOT provided in the current 9.0 install). THAT is the first release to formally support IIS 7. And if you read the updater installation guide (http://www.adobe.com/support/documentation/en/coldfusion/901/cf901install.pdf), it discusses how to deal with the upgrade depending on what you had done with respect to IIS, starting at the bottom of its page 8.
Hope that helps.
/charlie -
Cold fusion 9 500 - Internal server error.
all of a sudden none of our cfm web pages work on a windows 8 server running iis 7 .... the server shows no errors in the event viewer .... occasionally functionality comes back w/o doing anything ...... cold fusion did have all the hotfixes updated a few months ago but i cant get to the admin page to give what the version is
thxsWell if you got over your misplaced indignation for a moment, let's see:
ColdFusion is what people will google for, so in the spirit of helping others who might have the same question as you later on, spelling it right will help the community.
Jason's observation that you give us absolutely nothing to go on so it's basically impossible to help you is a fairly poignant observation, right? You do want help? Right, so here's some suggestions:
Articulate your issue clearly, with sufficient detail that we can help you. Read this:
http://www.catb.org/esr/faqs/smartquestions.html
Secondly... being rude to someone like Jason who really is one of the most helpful people on
these forums is a pretty stupid idea. And just serves to make you look a bit of a [profanity edited out]. Esp. with the caps lock on.
But anyway, let's call that a false start. Give us the details of your issue, and we'll try to help.
Cheers.
Adam
Message was edited by: m.m.murphy -
SQL server with Cold Fusion?
Hi everyone,
I am supposed to write a website, that its database is SQL
server and about 80,000 - 100,000 records in there.
is it OK to go with cold fusion? OR better to go with .NET
for faster and more reliable speed?
I would appreciate your help.The app server generally doesn't care so long as it supports
the DB driver. If the database is designed properly, the DBMS will
be doing most of the "grunt" work.
Any enterprise level app server can process a large database,
so go with your strengths, and SQL server will do you just fine.
I also wouldn't say .NET is faster ... I've seen my share of
sites using .NET that are slow as molasses. Your server
configuration will determine that more often than the app server,
so long as it is an enterprise level app server ... both of which
.NET and CF are.
We run a SQL server for many clients and all are on CF ...
one table alone has over 250,000 records in it. What and how you
output will determine the speed between the 2, not how many records
it can handle. -
SQL Server 2008/2008 R2 compatiblity with Cold Fusion 5.0
Our Cold Fusion Server is on Version 5.0 and database server is running SQL 2000. DBA's like to upgrade SQL Server to 2008/ R2. Is there any known issues in running or upgrading from Cold Fusion 5.0 with SQL Server 2008/R2 ?
Please let me know.
Thanks
Suresh KumarIf you're looking at spending thousands on a SQL licence, has no-one considered buying a CF9 license? You'd save yourself a whole world of pain, and could then have a full 64-bit environment for your application which is tried and tested.
-
Windows Server 2003 and Cold Fusion
Hello all,
Our webmaster recently retired, leaving me in charge of our
intranet, which uses Cold Fusion. Now, I don't know much about CF,
and our System Administrator just asked me if I had any problem
with them running Cold Fusion 7 on a Windows Server 2003 box. It
looks like they should be compatible, based on what I've read, but
I wanted to know if anyone has experienced any pitfalls with this
setup? I wanted an answer from someone "in the know" before I gave
my folks bad info!
Thanks much!S_Allen wrote:
> Hello all,
>
> Our webmaster recently retired, leaving me in charge of
our intranet, which
> uses Cold Fusion. Now, I don't know much about CF, and
our System
> Administrator just asked me if I had any problem with
them running Cold Fusion
> 7 on a Windows Server 2003 box. It looks like they
should be compatible, based
> on what I've read, but I wanted to know if anyone has
experienced any pitfalls
> with this setup? I wanted an answer from someone "in the
know" before I gave
> my folks bad info!
>
> Thanks much!
>
They work fine on our machines. The only real issue is that
overzealous
Windows 2003 security precautions can be a hassle during
installation.
But this is well documented and easily worked around. -
How not to use Cold Fusion and Java
Overview
This write up is intended to give java developers that are
developing ColdFusion applications some beneficial information:
things that are not documented.
Scenario
The company builds enterprise class web application software
for fortune 500 companies. It had purchased a CF 7 based product,
had and existing proprietary J2EE based product, and needed to
integrate the two while meeting a host of new requirements. These
requirements were based on delivering a better user experience,
faster / cheaper integration, increased flexibility /
configuration, useablily, decreasing maintenance costs, the ability
to deploy in either install or ASP models. An initiative was
started to create a new framework that integrated the best of each
technologies. Tactically, this meant that we were to build a hybrid
CF and java application: one that used building blocks (decoupled /
cohesive components) that would allow applications to be rapidly
assembled, configured and deployed. This made sense on several
levels, the team was composed of Java and CF developers, the CF
rapid application development was very productive, there is great
functionality delivered in the CF platform and initial performance
tests showed no cause for alarm
The agreed upon design, based on requirements, and analysis
by both the CF and Java staff has us using CF in the presentation
layer, using a CF based MVC, use of CF based web services. The MVC
was deployed using CFC inheritance for model objects and views made
use of CF custom tags. The internals of the application, used a
rules engine, some proprietary java, ORM, and other J2EE
technology. The initial performance of the system was reasonable.
We pushed on with product implementation.
Then it was time to load test the application, and tune it.
Under load the response times were orders of magnitude slower,
sometimes the pages even timed out.
Armed with our profiler, oracle execution plans and we
charged ahead addressing issue after issue. Note that we took
meticulous care in tweaking the active thread pool and ensuring
that our CF setup was tuned for our application. None of the
observations here are a condemnation of the language; rather they
are aspects that, when considered together, not conducive for
building integrated java and CF frameworks that use a structured /
OO programming practices. Further detail can be provided on
request.
CFC inheritance should be avoided - resolution of variable
scope is expensive even if properly declared.
Since CF creates a class per method under the covers call
stacks become very large, especially if used in a loop. This is
nominally exacerbated by CF calls necessary to set up for the
method call (String.toUpper()).
Nesting of loops and if statements should be kept to a
minimum - the conditional for each lookup of logical operator like
LT, GT are synchronized. Under load this results in thread waits.
Jrun has as single thread pool - both http and web service
requests use the same pool. Under load this leads to thread
deadlock. There are work arounds, but they are painful.
Recursion should be avoided - we had a few recursive routines
and these had to be rewritten.
Custom Tags - should be used sparingly - each custom tag
makes a synchronized call to the license server - (This may be
fixed in CF 8)
Summary
In the end we got the performance to reasonable numbers, but
we ended up moving some code to java (Custom Tags) and getting rid
of 'good programming' practices (Inheritance, loops, etc), mandated
proper variable scoping for those things left over. We prototyped a
sans cold fusion implementation and had an order of magnitude
improvement in performance and number of requests served per
second.
The lesson? Use Coldfusion in its sweet spot: make a query,
iterate over the results and format for display. Extensive use of
structure programming techniques or OO CFCs should be avoided: they
will work but under load - but are better as a prototype. Building
frameworks in CF? Think twice, no three times, and, if you must, be
minimalist.
Textinteresting aslbert123,
Not that I doubt you, but could you answer some questions
about your implementation that was so slow:
1.) Did you put your CFCs in the application or server scope?
2.) Were you initializing your CFCs, via CreateObject or
<cfinvoke>, on every request?
3.) Are you sure that you were properly Var'ing every
variable in your methods? (people typically forget about query
names and loop iterator variables)
4.) Could you give examples of how your inheritence was set
up?
5.) For CustomTags, did you call them the old <cf_tag>
way or the newer, better-performing <cfimport> way?
6.) How did you connect CF to Java exactly?
Thanks,
Aaron
Maybe you are looking for
-
New laptop, existing iPad and snyc issues
Ok. New laptop installed. iTunes installed. All apps transferred. iTunes music and other sourced music available in iTunes. All my PDF files in iTunes And yes the new iTunes is authorised on my Apple ID. But... I need to sync my PDFs and I get
-
Just wanted to say "Wow" - the new "Coffee Corner" is a great idea.
Apart from solving certain difficult "policy" problems so well, the new "Coffee Corner" is living proof of the idea that SAP is a great company as well as a successful and rich company. To be a great company, a corporation must tolerate intense scru
-
Using Automator to Find Date in file name--Help!
Hey guys, I have this automator question. Daily I record a radio show. Due to cpu limitations I cannot record it right to AAC. (I use the radio shark) So I record it to aiff format. Radio shark adds in the current date to the file name so I know what
-
SQL Instance on a VM - Slowness of querying
I have done some tests on running a simple query from a single table. It returns just over 360,000 rows. If I use SSMS on my local machine and connect to the SQL instance the query returns in 14 seconds, if I log onto the VM and use SSMS from there i
-
Registration and module problems
I have bought Lr5 on disc and installed it. I have two problems; I keep being asked to register When I launch Lr5 it pops a a window that says problem encountered when attempting to change module What can i do? i am run a Mac OS X10.7.5