Solved

CFEclipse Configuration Issue

Posted on 2012-04-12
13
1,380 Views
Last Modified: 2012-04-13
I'm a ColdFusion newbie who's trying to set up CFEclipse and ColdFusion on my machine. I'm going through this tutorial:
http://www.ibm.com/developerworks/opensource/library/os-eclipse-cfeclipse/?ca=dgr-lnxw06CF-Eclipse

and when I get to the step of opening index.cfm in the "Browser View" tab (Figure 11), I get "webpage cannot be found".

I don't think CFEclipse is properly pointing to my local ColdFusion server but I haven't yet been able to find the settings to confirm this.
0
Comment
Question by:opike
  • 5
  • 5
  • 3
13 Comments
 
LVL 52

Expert Comment

by:_agx_
ID: 37840707
(I didn't read the whole thing, but bear in mind that article's 5+ years old. So some things may have changed)

Did you verify your CF server installation was working properly before installing eclipse? In other words are you sure it's a CFEclipse problem.   Also what's your version of:

- CF Server (8, 9, 9.0.1, ...)
- Web server (Built in webserver, IIS, apache, ..)
- CFEclipse and Eclipse
       * Check help > about eclipse platform & installation details (CFEclipse)
0
 

Author Comment

by:opike
ID: 37842862
Thanks for your response.

CF Server version 9,0,0,251028 64 bit
Apache 2.2
Eclipse Indigo Server Release 2
CFEclipse version 1.4.4
OS: Windows 7 64 bit

I'm able to bring up the CF Server admin interface @
http://localhost/CFIDE/administrator/index.cfm
0
 

Author Comment

by:opike
ID: 37843033
I noticed there are some default examples under
C:\Programs\ColdFusion9\gateway

What URL would I use to access these examples through the browser?
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:opike
ID: 37843141
It looks like according to the server mappings:

screehshot
I should be able to use http://localhost/gateway

but that is giving me a 404 "page not found" so there is something with my CF Server and/or Apache configuration that is not right.
0
 
LVL 52

Expert Comment

by:_agx_
ID: 37843213
I'm able to bring up the CF Server admin interface @

Ok, that confirms CF is working.  What's the location of your project directory?  If it's in a non-web accessible directory that could explain the error.

       * Select the project > click properties > (Location)
0
 
LVL 36

Accepted Solution

by:
SidFishes earned 250 total points
ID: 37843408
agx is  correct the gateway dir is not browseable as it's outside of the webroot. It's for Event Gateways (an advanced cf feature) the mapping tells cf where to find the files it needs to process arriving events

Remember that CF mappings are -not- the same as a webserver mapping

You should be browsing to a web accessible dir.

ie: localhost/myProject or 127.0.0.1/myProject
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 37843428
hah - now that's funny agx - mentioning something you edited out while i was writing and won't make any sense now... :)
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 37843462
Also fwiw - I've never been able to get the internal browser to work well using Eclipse 3.5 & cfeclipse. In fact a lot of the browser features don't work properly in my set up. ie: the "open in external browser" buttons don't work either.

I just use external browsers (FF. IE, SaF & CHr)

alt-tab is where it's at
0
 
LVL 52

Expert Comment

by:_agx_
ID: 37843466
mentioning something you edited out while i was writing and won't make any sense now... :)

Nah, everybody will assume you're a genius with psychic powers.  I'm just too slow today. I didn't see opike's screen shot until after I posted .. which made my last response sound like I was daft or couldn't read ;-) I was about to add a correction, then you responded and EE locked me out :) Oh well, time for more coffee ..

ie: the "open in external browser" buttons don't work either.

Yeah, I remember having that problem on one installation. Not sure how I fixed it, maybe adding/removing the CFE nature or updating the browser paths.  Fortunately it works perfectly on my current machine 3.5 / Win7 (TG).
0
 

Author Comment

by:opike
ID: 37843654
"What's the location of your project directory?  If it's in a non-web accessible directory that could explain the error."

My project directory is outside of the apache directory structure so I'll try moving it under htdocs/.

I also noticed that CF placed a cfdocs/ directory under htdocs. There's a getting_started folder under cfdocs/ that looks like it contains a sample app but I can figure out where the top level link is.

screenshot
0
 
LVL 52

Expert Comment

by:_agx_
ID: 37843723
It's part of the overall CF documentation. The root is "dochome.htm"

        ie http://localhost/cfdocs/dochome.htm
0
 

Author Comment

by:opike
ID: 37843983
From dochome.htm can I get to the files in cfdocs/getting_started?
0
 
LVL 52

Assisted Solution

by:_agx_
_agx_ earned 250 total points
ID: 37844337
I don't know.  Truthfully it's been a lot of years since I looked at the cfdoc examples :)  In old versions there used to be working examples you could run directly from the docs by clicking on a link.  But that was some time ago.  I don't know if that's still true for newer versions.  Most pages in the docs just have code samples you can copy and paste into a .cfm file and run. They use the sample databases listed in the cf admin (cfartgallery, cfbookclub, etc...) .
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question