January 1, 2015
Setting up ColdFusion Builder 3 with a remote server
Comments
(34)
January 1, 2015
Setting up ColdFusion Builder 3 with a remote server
Staff 9 posts
Followers: 7 people
(34)

I wish everyone a very happy and prosperous new year. Here comes the first blog post for the year 2015, on ColdFusion Buider 3. A user came across our Mobile Application Development Contest blog and was trying to develop his application using ColdFusion Builder 3, but he wasn’t able to setup a connection between ColdFusion 11 and ColdFusion Builder 3.  He was trying to create a “Remote Server” connection between ColdFusion Builder 3 and ColdFusion 11, installed on separate servers (distributed setup). 

Here are the steps that will help you setup a remote host with ColdFusion Builder:-

1.     Launch ColdFusion Builder 3 and choose your workspace.

2.     Right-click on the “CF Servers” view and select Add Server

3.    Select “New server configuration” and click “OK”. You can choose “Import configurations from RDS server”, in case you have RDS server setup already and want to use existing server information.

CF Server

4.     If you can’t locate the CF Servers, then, follow the screenshot below, to enable it.

CF Server alternate

Refer to Add a remote server and fill in the details for your server.

5.     General Settings

a)     Server Name: ColdFusion server name.

b)     Description: (optional) Description of the server.

c)     Application Server: Select the drop-down list and select CF+ Tomcat Bundle (for CF10/CF11)

d)     Host Name: Name of the remote server host.

e)     Select: Is Remote.

Note: When you enter a Host Name other than localhost or 127.0.0.1, Is Remote is automatically selected.

f)     Webserver Port: Specify the port number of the remote ColdFusion server instance you are configuring. You can refer server.xml for the same at ColdFusion11cfusionruntimeconf.

g)     RDS User Name: (optional) if you are using RDS, specify the RDS user name.

h)      RDS Password: (optional) Specify the RDS password.

General Settings

Click Next to move to the next screen.

6.     Remote Server Settings

a)     User Name: Specify the CF Admin username.

b)     Password: Specify the CF Admin password.

Remote Server Settings

Click Next to move to the next screen.

7.     Install Extensions

Select Install Extensions to install the extensions that are packaged with ColdFusion Builder.

a)     Browse and select the ColdFusion web root location.

b)     Browse and select the ColdFusion web root location on the remote ColdFusion server.

c)     Browse to a location within the web root to install the extensions. The extensions are installed in the Extensions directory within the selected location.

Install Extensions

8.    Click Finish to add the remote ColdFusion server instance. You can right-click on the remote server and access the ColdFusion Administrator of the remote server.

Launch CF Admin

This blog post talks about, the minimal settings required to setup a remote server for CF Builder. You can skip the Install Extensions section as well.

Note: – While configuring the remote server in CF Builder, ensure that, you are able to access/ping the remote ColdFusion server outside builder. You can probably, access the remote CF Admin in the browser, for e.g. http://ip:port/CFIDE/Administrator/index.cfm and ensure connectivity.

 

 

34 Comments
2018-12-20 23:15:18
2018-12-20 23:15:18

No Idea how it can be YEARS later and STILL a cluster F trying to connect CFBuilder (2018) to CF10 RDS
Seriously?
reach out to me please!

702-936-1865

Robert

Like
2018-09-27 05:02:45
2018-09-27 05:02:45

Great to see that a lot of companies are
Using
ColdFusion.More events should be organised so that most of the developers know what cfml is !

Like
2018-09-27 04:56:38
2018-09-27 04:56:38

Looks Good

Like
2016-03-24 04:40:43
2016-03-24 04:40:43

Another shot in dark and then I’m afraid I’m out of ideas on this one; Are your main/ide.cfm permissions the same as the rest of the CFIDE folders and files?

Like
2016-03-23 12:20:06
2016-03-23 12:20:06

And yes, I have tried http://ip:port/CFIDE/main/ide.cfm with the proper case 🙂 I put a test html file in the main folder and I was able to access that via the browser without issue (http://ip:port/CFIDE/main/test.html). My port..is port 80.

Note that I am getting a 405 (can’t display) error for ide.cfm, not a 404 (not found). I really appreciate you helping me with this.

Like
2016-03-23 11:35:13
2016-03-23 11:35:13

Thank you. I’ve checked and rechecked. RDS is enabled. I may set it to no pw and see if that helps. My feeling is that I have the port(s) wrong someplace.

Like
2016-03-23 11:10:28
2016-03-23 11:10:28

If you’re testing with the browser, CFIDE should be in uppercase, not lowercase.

As for the ports, I use vagrant to create my development server and I’ve set up my “vagrantfile” to map my local ports to my VM. Here’s the link https://www.vagrantup.com/docs/networking/forwarded_ports.html

Also, and I probably should have asked this first, did you log into the CFAdmin > Security > RDS and ensure that “Enable RDS Service” was checked and that you’re Using the correct username and password as specified in that section? If it’s a “Single password only”, your username is “admin”

Like
2016-03-23 10:42:44
2016-03-23 10:42:44

All lowercase. How would I map those/check that they are mapped properly?

Like
2016-03-23 10:06:53
2016-03-23 10:06:53

Case sensitivity comes to mind (especially with CFIDE in caps then /main/ide.cfm in lowercase.

Another idea, If you’re using a local virtual machine (like Oracle’s Virtual Box), make sure all CF ports are properly mapped like (for example): 5005, 5500, 8500, 8575, 8789, 8983, 8985

Like
2016-03-23 09:29:09
2016-03-23 09:29:09

Thank you, David. I tried your idea but no dice. If I try to navigate to ip/cfide/main/ide.cfm, I get a 405 error (page cannot be displayed). I’ve updated my CFBuilder software to the latest build. I am on CF11 and using cfbuilder 3. Any other ideas?

Like
2016-03-23 08:50:21
2016-03-23 08:50:21

Cynth,
This may not be your issue but if you’re running on Linux with Apache, you’ll need to create a folder called “main” within your CFIDE directory as well as create a dummy file (can be empty) in that directory called “ide.cfm”. Without it, Apache trumps CF and immediately returns a not found error.

On most default installations, that will be found in

/opt/coldfusion10/cfusion/wwwroot/CFIDE/main/ide.cfm

Like
2016-03-22 20:06:31
2016-03-22 20:06:31

I had the same issue as David where I had to uncomment out the RDS servlet code in the web.xml file after enabling RDS. Mine is still not working, however. I am using a remote server and if I go directly to the rds ide.cdm url, I get a 405. Help?

Like
2016-01-20 11:44:57
2016-01-20 11:44:57

David, Someone from our team will reach out to you.

Like
2016-01-20 10:27:58
2016-01-20 10:27:58

I was trying to get a remote cf11 instance installed but ran into issues with the RDS service reporting 404 errors. Turns out I had disabled RDS during the initial CF install. Simply enabling RDS in the Cfadmin does not fix the problem. I had to reference this very old article https://helpx.adobe.com/coldfusion/kb/disabling-enabling-coldfusion-rds-production.html instructing to uncomment the RDS servlet code in web.xml. After doing so and restarting CF I was able to see all RDS databases and files. Others may need to know this. The blog should probably be updated with this tip as well. FYI, I am running in a win2008/IIS/Cf11 environment. Also, editing live files via mapped drive was incredibly slow. Editing files via RDS much faster.

Like
2015-06-26 06:03:31
2015-06-26 06:03:31

@Ted, our team is already in touch with you and assisting you.

Like
2015-06-22 07:52:27
2015-06-22 07:52:27

I am trying to get PhoneGap going and cannot figure out how to set up defaultLocal on my laptop – can you do a similar writeup for defaultLocal? I have plenty of remote servers running but defaultLocal eludes me!

Like
2015-06-04 20:16:25
2015-06-04 20:16:25

Can you talk about the best way to configure the local and remote path mappings? (Used for preview and debugging). I don’t necessarily want to manually map a drive to the IIS web root.

Like
2015-06-04 06:36:03
2015-06-04 06:36:03

Thank you for this post. I reached here while looking for a solution for my local CF11 on CF Builder 3 and found it on 5c.

Like
2015-05-28 00:38:19
2015-05-28 00:38:19

Awesome This is great Screen shot Tutorial.. useful information Thanks for sharing..

Like
2015-03-11 12:36:35
2015-03-11 12:36:35

@Ken, Can you contact cfinstaladobecom with your query and detailed environment description and we will assist you further.

Like
2015-03-11 01:38:42
2015-03-11 01:38:42

Your article explains everything very well. Lately I’m having trouble find the right post that explains the very important parts of ColdFusion. Thank you for sharing it here. By the way, how can I put properly the hostname to the port and get it working with RDS? Appreciate it!

Like
2015-01-10 13:42:51
2015-01-10 13:42:51

@Sana, Can you provide us more info around your issue? Are you not able to setup the “remote server”? In that case, are you able to connect to CF admin of the remote server outside CF builder.

Like
2015-01-09 06:18:59
2015-01-09 06:18:59

@Colin, as you have disabled the built-in server, you can still access CF remotely via the port on which the site is running. In your case, the Webserver Port would be 80. Let me know, in case you face any issue

Like
2015-01-07 13:46:53
2015-01-07 13:46:53

I’m having trouble getting this to work in CFB3 and a remote server. I suspect that it is due to the fact that I cannot access the built-in tomcat server directly, but must go to http://myhostname.dev/CFIDE/administrator/index.cfm (port 80). I’m using IIS 7.0. Any suggestions as to how I can put in the proper hostname and port to get RDS working?

Like
2015-01-02 09:11:03
2015-01-02 09:11:03

Interesting, so the same syntax used for network shares works for RDS in this context? Is that documented anywhere? Would a user know they could even do this? That’s why I started asking about it because I had assumed it would be an issue. Does this work elsewhere in CFB or just here?

Like
2015-01-02 09:04:40
2015-01-02 09:04:40

I will replace the screenshot to show that. That’s a good point indeed. The files are definitely placed via RDS. You don’t need a N/w share. The only requirement, as mentioned as last NOTE is that, you should able to access/ping the remote ColdFusion server outside builder.

Like
2015-01-02 08:46:16
2015-01-02 08:46:16

Can I recommend updating the screen shot in 7 to show that? Also, are the files placed via RDS, or must you have a network share for that to work? They look like network shares to me and while a user may have RDS and FTP access, they may not have that.

Like
2015-01-02 08:44:33
2015-01-02 08:44:33

@Ray, RDS is not recommended on Production server, that is why, I mentioned Remote (and not Production, as you said).

Regarding Step 7, yes, you can install “extensions” on remote machine. The location would change from C:ColdFusion11cfusionwwwroot to server-namec$ColdFusion11cfusionwwwroot. You can use the IP instead, as well.

Like
2015-01-02 08:28:57
2015-01-02 08:28:57

Is it worth mentioning that – generally – RDS isn’t recommended for production servers? You mentioned remote, not production, so it is entirely possible a user wants to hit a remote dev server, but I’d probably remind folks anyway. 😉

Also – step 7 – can CFB *really* do the extension install to a remote machine?

Like
2015-01-02 04:57:48
2015-01-02 04:57:48

Thanks Anit, you were correct, I didn’t have the latest build. I wasn’t told I needed to re-install. I was waiting for the update to be released. It’s working now!

Like
2015-01-01 10:45:32
2015-01-01 10:45:32

@David,This issue is fixed in the latest installer available at http://www.adobe.com. Can you check the build number (Help>>Product Details), in your CFB3. If it is not 292483, then, you need the latest installer on your server. Please let me know, if it’s not working with the latest setup.

Like
2015-01-01 08:56:15
2015-01-01 08:56:15

Happy 2015 to you too Anit!

Just to let you know, from August 23rd to the 25th, 2014 I spoke with Rohit Negi to log this bug:

When you restart CFB3, you lose your saved Remote Servers. Not the local ones, just the remote ones. He verified the bug.

Unfortunately, this bug has not been fixed and so all users will have to repeat your instructions above every time they want to use the remote server.

Most of us use remote servers and so I think you can see that this bug needs immediate attention. Please feel free to contact me (or Rohit) to show you in person.

Like
2015-01-01 08:25:39
2015-01-01 08:25:39

@Steve, Corrected. Thank You.

Like
2015-01-01 08:23:01
2015-01-01 08:23:01

You might want to fix the typo in the note…index.cfm NOT index.com

Like
Add Comment