Copy link to clipboard
Copied
Hi,
I just installed CF8 Enterprise Edition as multiserver and I have this problem: After I created a new folder in Applications>ColdFusion8>wwwroot I try to see it in Safari @ http://localhost:8300/ but I just can't see my new folder.
Any one has a clue about this?
Your replies are much appreciated.
Thanks!
JC

Sorry, JC. I should have said to shut down CF first, otherwise it doesn't work. No biggie on using Apache. If you're good with port 8300, you should be able to just use /Applications/JRun4/servers/cfusion/cfusion-ear/cfusion-war/ as your web root. Just create a folder/site there with DW and give it a wgirl. Sounds like your basic setup is good!
Copy link to clipboard
Copied
JC,
During the install did you configure CF8 (since you're on a Mac, make sure you used CF 8.0.1) for Apache via web server connection/configuration? If not, you may want to reinstall and do this. This will configure CF8 to run on port 80 (integrated with Apache) so that you access your sites at http://localhost/. I've had better luck with CF on my Mac when I installed CF on top of JRun4 (option when installing).
Mark Drew has a good post with screen shots of this install type:
http://www.markdrew.co.uk/blog/post.cfm/running-coldfusion-8-on-leopard
Back to your OP, it looks from the screen shot like you don't have the folder in your path (but it certainly should show up in the list). Under the current setup, can you add an index.cfm (or any CFM file) file to /Applications/ColdFusion/wwwroot? Then load that in your browser to see if CFM files are being processed. It'll at least tell us whether or not CF is 'working'.
Copy link to clipboard
Copied
Hi Craig,
First of all, thank you for your reply.
I forgot to mention that I have a folder in the Applications named JRun4, and in that folder I also have servers>cfusion>cfusion-ear>cfusion-war.
It is in that last folder, that I just discovered, that I can see the folders @ http://localhost:8300/ i.e. CFIDE, cfdocs, WEB-INF.
I've created the index.cfm page as you suggested, with this code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>My First ColdFusion Page</title> </head> <body> <h1>My First ColdFusion Page </h1> <cfset firstname="Juan Carlos"> <cfoutput>My name is #firstname#</cfoutput> </body> </html>
Seems like the CF server works; This is the output:

So far so good, I'm tempted to say...
Do you think the results are correct?
Thanks again.
JC
Copy link to clipboard
Copied
Yes, the JRun4/servers/{servername}/cfusion-ear/cfusion-war/ is the first place ColdFusion configured in Multi-home configuration will look for coldFusion files.
But to server up non-cfml content you must run the web-server connector tool to connect each server instance to one or more websites configured via your web server, Apache I presume on an os-x system. The web root of these web sites would then be the second place ColdFusion will search for cfml files.
Copy link to clipboard
Copied
No problem, JC! As Ian notes, you'll want to get the connector to Apache setup (and you may already have that in place!).
Ultimately, you'll probably want to start using the Apache web root (default: /Users/juancarlos/Sites/) for your work. And we can test if you're already setup for it.
To see if you CF & Apache are connected:
If you see CF output and not the CFML code, you're already setup with Apache!
To close/stop JRun/CF, go back to Terminal and press ctrl+c
If that works, let me know and I can post an easy-to-use AppleScript to start/stop CF w/o using Terminal. If it doesn't, you may want to consider running the web server connector (reinstalling is annoying but the easiest way to do it with 8.0.1 being built for Leopard, so-to-speak ).
Copy link to clipboard
Copied
Hi Craig,
This is what I got from the Terminal:
Last login: Fri May 29 10:35:22 on console
Welcome to Darwin!
juan-carlos-tudoses-powerbook-g4-15:~ JuanCarlos$ sudo sudo /Applications/JRun4/bin/jrun -start cfusion
Password:
Starting Macromedia JRun 4.0 (Build 108673), cfusion server
cfusion could not be started because it is already running.
juan-carlos-tudoses-powerbook-g4-15:~ JuanCarlos$
Maybe because I had previously started CF with ColdFusionLauncher...
Copy link to clipboard
Copied
Sorry, JC. I should have said to shut down CF first, otherwise it doesn't work. No biggie on using Apache. If you're good with port 8300, you should be able to just use /Applications/JRun4/servers/cfusion/cfusion-ear/cfusion-war/ as your web root. Just create a folder/site there with DW and give it a wgirl. Sounds like your basic setup is good!
Copy link to clipboard
Copied
Thanks again Craig, I appreciate your help!
JC
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more