Remote Server Setup – MultiServer/ J2EE installation

Remote server setup for a Multiserver is explained here. Its a long post but I hope its worth it :)
Setting up a Remote MultiServer:
What do you need: A Remote MultiServer, A local CFBuilder installation, AdminServerComponents.zip
Setup: Unzip only two files – admin_jvm.config, and adminstart.bat/adminstart.sh from the AdminServerComponents.zip in the JRun4\bin directory of the remote machine. Example: C:\JRun4\bin
Procedure:
Steps: On the Remote Machine:
A1. Connect to your remote machine(lets call it ‘bhakti04′) and ensure that the files adminstart.bat, adminstart.sh, admin_jvm.config have been extracted to {JRun4_home}\bin
A2. Change the security Properties file located at {JRun4_home}\lib and change the
jrun.subnet.restriction and jrun.trusted.hosts to *. This is done that there is unrestricted
access to your remote CF Server. You could even add the IP of the machine on which CfBuilder is running. But for the demo purpose I am going to make it *.
A3. Goto {JRun4_home}\bin and run the adminstart.bat(for Windows) or adminstart.sh(for MAC). A console will open and admin will start. Check the port on which the
admin is running.I am going to assume its ‘2910’ for further steps.

Steps: On the CFBuilder:

B1. Open the Add server Wizard.
B2. Fill the wizard fields as follows:
Screen 1:
Server Name: This is a user friendly name you want to give the remote server. I am going to call it. “Bhakti’s Desktop”
Description: The description for this server. I am going to say, ” This is a Standalone CF 8 server”
Host Name: The IP address or machine name. In my case, “bhakti04″
IsRemote: This should get automatically selected after entering the host name as “bhakti04″
Webserver port: The port on which your remote CF Server is running. Since my remote server is running on 8500, that would be my entry.
Context Root: If your install is a MultiServer install then you can ignore this. but if the CFInstall is a J2EE installation then specify the context root.
Application Server Name: If your install is a MultiServer install then you can ignore this. but if the CFInstall is a J2EE installation then specify the Application Server Name here.
RDS UserName: User Name of the RDS Server. This is the uname/pasword you specified for RDS while installing ColdFusion Server. If you dont enter this, your remote datasources and files will not be available to CFBuilder. My RDS Uname is ‘admin’
RDS Password: RDS Password. ‘admin’ in my case.
Screen 2:
Naming Port: This is the naming port of the admin server.In step A3 I asked you to keep a note of this one. Default is 2910 and so is it in my case.
User Name: This is the JNDI User Name. You can find it in jrun-users.xml at {CFServer_Home}\runtime\servers\admin\SERVER-INF
Password: This is the JNDI password. Found at same as above.
Document Root: Document root of the CF Remote Server. Precisely the location where your CFIDE resides. Its “C:\ColdFusion8\wwwroot” in my case. Other examples: C:\Inetpub\wwwroot or \opt\htdocs\wwwroot
B3. Hit Finish
You might see the status as ‘Unknown’ for a second or so. In such cases you will also see the “Getting Server Status” in the bottom right corner.After the “Getting Server Status” action is completed, the status should be seen as “Running”.
In case your status is “Unknown” even after the above mentioned operation is over, just switch to the console to check if any error is thrown.
I have specified the errors that you might face in the previous post. Do have a look in case you have missed it.
Apart from those if you face any other issues then please feel free to add them as a
comment.