Skip to main content
Known Participant
August 27, 2010
Question

Creating remote servers not working either with CF8 or CF9

  • August 27, 2010
  • 1 reply
  • 6334 views

I actually hads this working and without warning I am now getting this error message in the IDE Console.

Error retrieving server version. Cannot perform the operation. Check if the server is accessible from web browser.

Well it is running fine, I can browse the website I can even enter the administrator. But when I try to stop the server or restart the server this is the error I get.

I have looked at everything, running the IDE as an administrator. Making sure the firewall is off on both machines, and yet nothing I do has worked.

Anyone know how to fix this?

This topic has been closed for replies.

1 reply

ascott67Author
Known Participant
September 10, 2010

I am guessing nobody knows how to fix this then?

I really wish Adobe fix this bug becuase its is one of the most annoying bugs I have found, and what makes it worse is Adobe says nothing. Would be nice to say yes we know and we are going to fix it soon, or here is what you need to do get it to work.

Come on Adobe, give us a clue on how to fix or if not please fix.

Charlie Arehart
Community Expert
Community Expert
September 11, 2010

@ascott67, I hear your frustration, and I hope I can help.

Let me say first that, though, that I doubt your problem is a bug. I appreciate that something seems broken for you, but I suspect it's a configuration issue for you (in CFB or on your CF server). More on that in a moment.

Second, I think it's worth clarifying that you ought not presume that Adobe should or will respond to your messages on these forums. They make no guarantee of that.

Several of us form the community do try to help out here, but even we can't all always see each message. And some problems are relatively less common than others, so the number of people who can help with it may also be reduced. I'm afraid you just have to be patient.

So, about your problem, I've found your earlier message in the thread (http://forums.adobe.com/message/3087789#3087789, for those reading these by email) and I see that you're finding that CFB's "server" configuration can't connect to your intended server, such as to do a start or stop. You say also that it happened "without warning". Some might hear that as you saying, "nothing changed". We've all been there before, right?

You refer in the other message to things you tried, but I have to ask, especially for this problem: have you referred to the CFBuilder docs, which has a section specifically on server configuration? You may find it quite enlightening.

For instance, you've not said if the CF server is local or remote to your CFBuilder. If it's remote, then you need to communicate over RMI, and for that you need to have done several things, any of which may be the root of your problem (and which may have changed either on the server or in your CFB, if it "was working before"):

- You need to have set the right port for the RMI server in the CFBuilder Server configuration page. The default is 2910. There's a tab in the Server Configuration page where you set this, if you indicate that it's a remote server. (And you can edit a server configuration by right-clicking on the server in the Window>Show View>Servers view.)

- You also need to have started the Admin instance (a special instance of CF, not related at all to the CF Admin for those who may wonder), which is what sets its RMI port to 2910.

- You need to be sure that that remote server exposes that port (2910) in its firewall, at least for you to be able to access it. You can test that from the CFBuilder machine with something like "telnet 2910", such as "telnet myserver 2910" or "telnet 192.168.1.2 2910".

- You may need to update the remote server's security.properties (such as c:\coldfusion9\runtime\lib\security.properties), to provide either * or the IP address of your CFB machine

- Finally, along with setting the RMI port in the CFBuilder Server configuration, you also need to set there a valid RMI username/password for the server (not the CF Admin password, but the RMI username/password, whose defaults include admin/admin. More in the docs.)

These sort of things do trip up a lot of people. I help people solve these sort of problems every week. You're not alone, and while it is frustrating to experience it, I do hope that this roundup of things to look at will help you.

I do want to repeat, though, that Adobe has done a decent job of documenting all this in the CFB docs. People just tend to presume that the UI should be obvious enough. Sadly, it's not. Maybe they'll work on that for the next release (along with perhaps providing more clear messages about which of these steps need to be corrected if wrong.)

Let us know if this helps.

/charlie arehart

charlie@carehart.org

Providing CF and CFBuilder troubleshooting services

at http://www.carehart.org/consulting

/Charlie (troubleshooter, carehart. org)
ascott67Author
Known Participant
September 11, 2010

Charlie, I was on the beta this was a problem then and it still is a problem now.

Let me address what you have said, yes I have gone through that information with a fine tooth comb. Secondly the subject of this answers whether I am saying if this is a remote server or not, and yes I have set up the ports and the IP restrictions to no avail.

The only message I get in the console of CFB is this

MultiServer]:Error(09/11 at 04:49:18) Error retrieving server version. Cannot perform the operation. Check if the server is accessible from web browser.

There is the odd time where it says it is stopping and it has stopped, and yet if I RDC to the server and look at the services, the jrun admin and the server instance is still running.

yes I can telnet to the port, yes it is indicated as remote and that port with the right user name and password.

Yes I had this working, and yes it has changed. I removed the isntance and redployed it, and yes I went through the settings again with a fine tooth comb.

There is a bug here, and it is flakey when dealing with remote servers.