I'm running the ColdFusion Builder 3 (Express edition) to connect to a locally running ColdFusion 9 server (windows machine).
When I set up the RDS configuration on the CF Builder and click on Test Connection everything is ok.
But when I click on Test Debugger I get the following error:
Could not initialize class coldfusion.log.CFLogs
Is this a problem with CF Builder 3 trying to access the CF 9 server?
According to this Adobe forum post they resolved the same issue by changing the port setting in ColdFusion Builder to the standard HTTP port (normally 80).
I also found this article which details the steps to setup ColdFusion debugging with Eclipse and it also has the port assigned to 80.
UPDATE:
Read this how-to article from Charlie Arehart. While it references older versions I think the same steps still apply and he mentions specific things that must be enabled on your ColdFusion server for it to work. Hope that helps.
Setting up ColdFusion Builder Step Debugging
And here is a video tutorial from Adobe's blog that steps you through the process as well.
Learn how to debug ColdFusion applications using ColdFusion Builder
Related
We recently did an update to 2016 for ColdFusion. After the update my application was not working. It shows Access Forbidden error. I checked the WS.config file to see if ColdFusion and IIS are connected. At that time I could see it was empty. When I tried to add it then it shows the error All the IIS sites are already configured by some other version of ColdFusion.
Can anyone please help me with this problem?
We got the error message All the IIS sites are already configured by some other version of ColdFusion. when switched to another Coldfusion version. We tried many of the solutions which didn't work out for us.
Finally, we uninstalled IIS windows feature entirely(we were able to do that since it was a dev machine) restarted as prompted, and installed IIS feature again which resolved the problem.
My workstation (Windows 7) has CF Builder 3 installed. Remote is CF 2016 Server. What I'd like to accomplish is download the CF source files to local hard drive and use full CF Builder tools like Breakpoints to work with the remote CF Server. I can't install a local CF Server because I am unable to create datasources locally.
Is it even possible to accomplish the setup in my scenario? Here is a site which lists some options: http://csis.pace.edu/~ctappert/cs615-02/support/Help/Using_ColdFusion_Studio/mapping3.htm but none of them fits my needs. I think the best I could accomplish, then, would be to create a subfolder in the remote CF Server site, copy source code to that, and make CF Builder work with the code sitting on the server.
Any ideas?
Thanks!
Never mind,
I ended up working off CFM files on the remote CF Server using Network share; it's slow and I am unable to hit Breakpoints in Debugging in CF Studio but at least I am able to make the CFM code to run on the remote server.
Thanks.
I'm attempting to run ColdFusion Builder 2016's built-in Security Analyzer. It's not working.
Here's my setup
I installed ColdFusion Builder 2016 along with ColdFusion Server 2016, by using the CF Builder installer on Windows 10. I have a valid registration serial for Builder, so this is not a demo version.
I set up ColdFusion 2016 as a Windows service so that it starts up with Windows on my dev machine, and I connected it to the locally running IIS web server. I added a second registration for a ColdFusion server in my CF Builder servers panel so that I could manage the Windows service from Builder. Both of the servers (one marked as a Windows service, one not) show as running in Builder's "CF Servers" panel.
I've run the Security Analyzer before, and had no errors with it. I don't know why it doesn't work today.
Duplicating the error
When I right-click on my project, a directory, or a file, then navigate to Security Analyzer, and try to run the security analyzer, I receive this message in an alert window:
Server error: Security Code Analyzer is not available in this edition of the ColdFusion Server.
Here's what I've tried
I edited my project properties to choose the service, then to choose the non-service. Both of them produced the same error.
I noticed that CF Builder's server registrations did not have "2016" as the version number. One was blank, the other was set to "11". I changed them both to 2016 and restarted CF Builder. I switched my project to each server, back and forth, with a combination of restarting Eclipse between tests. Same error.
I also tried changing the server's port from 8600 to 80 for the Windows service, but that resulted in an expected 404 error.
I restarted my local ColdFusion server and retried the above items. Same error.
Thought
At first I thought this might be that CF Builder thinks this is a server version error. At this point, I'm wondering if the Security Analyzer does not run on the development CF Server, even though I've had it running locally before. I can't connect it to any other CF2016 servers because we have a very, very large installation of CF11 enterprise servers, and have not begun to make a server infrastructure move to CF2016 yet.
The ColdFusion 2016 Code Securiy Analyzer is only available with an Enterprise edition license. However, the EULA for ColdFusion 2016 appears to allow you to use the same license key from a production server to activate a "development" server, so you should still be able to run the Security Analyzer on your development machine.
I created a datasource from my ColdFusion 8 admin using JDBC/Oracle Thin Client. The datasource creation was successful.
When Oracle encryption is configured as "Requested" I can browse my ColdFusion app. and run many functionalities with no problem. But when the Oracle encryption is configured as "Required" the connection fails.
The way I tested and know that it was failed was when I log in to my web app. It won't log me in. But when the Oracle is switched back as "Requested" I can log in successfully and run my tasks.
I have ColdFusion 8 Enterprise version and the operating system is Unix.
From the network dept, I was told they have the correct JAR file in place but not sure what is the correct JAR file.
Currently my web apps are running with datasource created using Oracle Thin Clint but the Oracle encryption needs to be switched back to "Requested" otherwise my users are complaining that they can't log in.
Has anyone ever experienced this situation and found a solution?
What should I do so I can use Oracle encryption set to "Required"?
I believe you are looking for the ojdbc14.jar file in the ColdFusion8/wwwroot/WEB-INF/lib directory (this will work with 11g).
I would give Coldfusion a restart but it might not be unnecessary.
Navigate to your Coldfusion Administrator.
In the ColdFusion Administration under data sources. Add a new data source along with your credentials and choose Other from the Database driver options.
Then enter this: jdbc:oracle:thin:#10.10.10.11:1521:ORCL in the JDBC URL Textarea.
In the Driver Class textfield enter oracle.jdbc.OracleDriver.
If you need a different jar (not sure you will) but if you do you can down load it from here.
http://www.oracle.com/technetwork/indexes/downloads/index.html
Hope this is helpful or at least gets you further along.
Frank, Thank you for the answer but the java version running on my CF server is JAVA1.6 and the ojdbc.jar that's installed in there is ojdbc6.jar
Should the version of ojdbc.jar and java be the same? If I am already in the right track with my ojdbs.jar and java files then I'm back to square one
In addition, my further test using Oracle encryption as "Requested", I can run my apps. just fine except when my CF made a call to a str. procedure, it did not return a result. So I got CF error.
From me googling this issue, I found a blog that says this is a problem on CF standard version when using Oracle Thin Client. My CF is Enterprise edition.
I'm confused...is this related? how can I make this work?
OK, the documentation says:
If you configure the folder containing FW/1 as a new web root and
browse to it, you'll see an introductory application.
So I created a new site in Windows Vista and pointed it to the Framework 1 bundle.
I've installed CF10, and am able to navigate to http://localhost:8500/CFIDE/administrator/
so I know that's working.
But when I navigate to http://localhost/, it gives me:
Error Summary
HTTP Error 500.0 - Internal Server Error
The page cannot be displayed because an internal server error has occurred.
Requested URL http://localhost:80/
Physical Path C:\inetpub\seancorfield-fw1-9e69741
And trying localhost:8500 goes to C:\ColdFusion10\cfusion\wwwroot
I wrote up a pretty detailed blog post here:
http://blog.bittersweetryan.com/2012/02/changing-webroot-of-coldfusion-zeus.html
It looks like you may not have updated your mapping to the WEB-INF and CFIDE folders.
If you installed it as the built in server then it will be 8500.
If you integrated into IIS then it will be port 80
You may just need to run the web connector tool, you will find it in the start menu.
If that doesnt work, you likely don't have the necessary bits of IIS installed.