Domanda

I am using CFBuilder 2.0.0 and I can connect to RDS fine so my CF instance is definitely set up correctly. However, as soon as I create a server using the following technique:-

  • Right click on project name > ColdFusionServer Settings
  • In servers drop down select 'Add Server...'
  • In new dialogue choose 'Import configurations from RDS server' selecting me RDS configuration
  • I leave all the settings the same on the first page apart from selecting Is Local and changing the Host Name as my CFadmin and my website are on different hosts
  • In local server settings I choose the JRun4 install folder for Server Home and the the root of the project in Eclipse as the Document Root
  • I do not install the extensions
  • Click finish

Now when I try and expand the RDS connection I get an alert box saying:-

Could not initialize class com.adobe.rds.core.services.messages

I am totally stuck here and would appreciate any help.

È stato utile?

Soluzione

It turns out that you cannot configure CFBuilder to work if your CF Admin and your application do not reside on the same host name. Quite why this is is anyone's guess.

To resolve this I needed to make the server I configured on my project use the same host as my CF Administrator. This is obviously very counter intuitive, and means that if CFbuilder launches the browser for you for debugging it will get the wrong domain name. However, if you start the debugging session and then manually browse to the page in the browser then the debugging does work.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top