ColdFusion Builder and Remote ColdFusion Server - coldfusion

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.

Related

ColdFusion Builder Security Code Analyzer will not run because of ColdFusion server error

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.

Connecting ColdFusion 8 to Oracle 11g with JDBC

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?

Debugging asmx web services

How can I debug asmx webservices running on IIS? I read that I must Attach to process called aspnet_wp or w3wp. But I can not find these processes... I selected checkbox show processes from all users but still nothing. What can be wrong?
regards
If your service is not running, then there might not be a worker process running. Start your service by accessing it from the browser, of use "View In Browser" from inside of Visual Studio.
It may not be what you are looking for, but can't you run your project from visual studio first? I usually do it that way before going to IIS.
Or does your project run fine on VS and an other way with IIS? I personnaly never done it myself since I debug all my code in local.
As far as remote and local IIS debugging are concerned, I think you can check on this site CodeProjectI and CodeProjectII. The author claims to be a former MVP in ASP.NET, should be useful.
You have to be logged onto the machine that runs web service. You would need a debugger installed on that machine.
If that is not possible, you can install remote debugger for VS on the server. To install remote debugger you just need to copy msvsmon.exe from your VS installation CD or from machine where VS is already installed and start it.
Then when you attach to proccess from your machine you can type in the name of your remote server and click Browse. You should be able to see all proccess that are running on remote server. You would need administrative or Debugger rights on that server.

Running Railo and Adobe Coldfusion Server on the same server

I have several Coldfusion sites on a Win 2K3 IIS6 server and I wanted to ease into Railo. I was hoping to install Railo on the same server and just set up a particular IIS virtual host to use Railo instead of Adobe CF server.
It seems Adobe CF Server will still process the request for .cfm files even though I pointed the isapi mapping to the Railo dll.
I shut down Adobe Coldfusion 8 service and got Railo working on the IIS virtual host but it takes about 15 or so seconds to process a single .cfm file with the now() function in it. If I run the same cfm file via the port Railo is running on it is very fast.
is it possible to run Railo and CF Server side by side without JRun? And why would Railo and IIS be so slow?
Yes. A number of people have done such. Some (like Mike Henke and Matt Woodward) have gone even further and installed Open BlueDragon, Railo and Adobe CF at the same time. Matt has a really nice blog posting on how to do it here. He also has a nice set of presentation slides on this here.
The easiest way would be to download Railo Express (includes Jetty) and run that on a different port, like 8080.

webservice deployment issue

I deployed webservice written in .net language through IIS from my local machine,Is there any possible way to access remote HTTP server which contain different OS and different technologies
Sorry for being confused, but can you define:
different OS and different
technologies
Do you mean deploy your webservice to another host or
Do you mean consume a webservice from another host?
Option 1
If the host is not running IIS/ASP.NET I think you are going to have some issues as Mono may not run what your code base requires.
But you could try the following:
publish your site to a folder
zip up that folder
scp/ftp/upload this zip to the remote server
unzip the files (or upload individual files/folder) to directory configured by IIS Management
try to run
Option 2
You need to use either the svcutil tool to create the proxy clients to consume that webservice or you use the Add Web Reference in Visual Studio to automate this for you.
Hope this answers your requirements. Update your question with more information for the community to offer more support.
I think that is one of the main things that web services are for.