Our server currently is running Railo. I have search the net for a way to move the CFM pointers from Railo to Coldfusion 11. I find hundreds of CF to Railo but nothing back.
Before anyone asks why we are doing this, it's because of the limitations of Railo for what we need, i.e. CFPDF, CFPrint, etc.
The problem is when I turn off Railo, I cannot process .cfm files. I also need to change where the Coldfusion webroot is to our current webroot. I have it all setup in Apache but CF11 is not seeing it.
I am new to CF11 so please help. Thank you!
You guys asked for a little more information, here is my edit:
We are running on Linux, Debian. It's a web server that we will be deploying Digital PDF's with a limited amount of printing to it. I.E., Customer buys 5 copies, so we need to limit their copies to 5 prints. We know said customer could buy just 1 and photo copy it. However, the owner of the site wants to be able to allow this feature.
Thank you for all of the information. We have a new server running ColdFusion 11 and CFPDF is working really well.
Related
Just downloaded Coldfusion 9 developer for review purposes. I am at the administrator page 127.0.0.1:8300 and I think everything has worked fine. I want to do a simple "Hello World" example. One tutorial gave me a simple 6 line script to do this and it looks pretty simple and understandable. I went to notepad and created the following:
<html>
<head><title>Hello World</title></head>
<body>
<cfoutput>#ucase("hello world")#</cfoutput>
</body>
</html>
It told me to save it as helloworld.cfm in inetpub/wwwroot directory. I could not find such a directory on my system. So I saved it to C:\helloworld.cfm. Then it told me to go to my browser and type http://localhost/helloworld.cfm. I got something to the effect of a page not found error. Any help you can spare here.
Secondly, and more importantly, exactly where do I really need to be to be to create and run the above helloworld.cfm script above? Is there another tool I must have to create the above script to do this? I also understand that there is very little tutorial documentation on Coldfusion 9, why is that the case. Can you offer me any suggestions. I would really like to use this development tool. Adobe says it is the easiest development tool out there. You will have a tough time convincing me of that at this stage, however, I just might be missing a procedural/processing step thats real simple. I hope this is the case. Thanks for you valuable time.
When you installed ColdFusion did you hook it up to a webserver or did you install it in standalone mode?
Did you install it as standard ColdFusion or Multiserver?
The reason I ask is that depending on how you installed it will determine where you will find the web root.
For example, ColdFusion standard in stand alone mode will have the web root under something like C:\ColdFusion9\wwwroot
Multiserver standalone will be something like C:\Jrun4\servers\cfusion\cfusion-ear\cfusion-war\
Installation with a connection to a web server will have asked you where you server's web root is and so on
To create scripts; notepad, but there are two eclipse based IDEs you might like to try. CFEclipse is free and ColdFusion Builder is adode's commercial product.
First of all, Welcome to the ColdFusion community!
I believe Jerry has done a default ColdFusion install. The CFAdmin URL as mentioned is 8300, so i guess it is a multi server installation.
As pointed out by stephen, your web root would be something like \Jrun4\servers\cfusion\cfusion-ear\cfusion-war\
You need to place your helloworld.cfm in the above path.
I recommend ColdFusion builder/ CFEclipse to start with.
CF is a easy language, you will realize that soon :)
http://localhost/ will point to where your web server is configured. So obvious question is did you configure a web server such as IIS or Apache? Which OS are you using and which install of ColdFusion did you pick (standard, multiserver, other...)?
If you don't want to use an external web server you can use the built-in one, I have never really used it much but here is a link that should get you going: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=webservmgmt_3.html
To create CFM files you can use pretty much any editor, the most popular one is Eclipse (http://www.eclipse.org/) coupled with the CFEclipse plugin (http://www.cfeclipse.org/). Adobe now has a IDE based on Eclipse called CFBuilder (http://www.adobe.com/products/coldfusion/cfbuilder/features/) which is gaining speed quickly, but it is not free.
I am using the multisite.dll ISAPI filter (http://www.hairy-spider.com/post/Multisite.aspx) in order to develop on several websites simultaneously on my Windows XP Professional/IIS 5.1 workstation. I am developing both HTML and ColdFusion websites. On the ColdFusion websites, when I use CFIMAGE to create an image in memory - a CAPTCHA image, to be exact - it is not viewable. I know the image is being created in the correct directory - ColdFusion8\tmpCache\CFFileServlet_cf_captcha - and the ColdFusion is generating the correct code to display the image:
<img src="/CFFileServlet/_cf_captcha/[file].png" />
But I can't get the image to display. I've tried adding a virtual directory to the Default Website in IIS, as well as adding a mapping in the ColdFusion Administrator, but neither helps.
Does anyone have any suggestions that don't include upgrading Windows?
Thanks.
I don't think you need that DLL any more. IIS 5 can handle host headers natively, unless you've ran into other issues that require you to use it.
Two things:
1. Try unchecking the 'Verify file exists' setting in IIS.
2. If that doesn't work, does the cfimage tag work without the DLL installed?
first thing i would do is remove the multisite.dll and just use one site to see if it really is the dll causing the problem or if it is something else.
next... what version of cf is this? are you at the least service pack for your version of ColdFusion?
I have several Coldfusion sites on a Win 2K3 IIS6 server and I wanted to ease into Railo. I was hoping to install Railo on the same server and just set up a particular IIS virtual host to use Railo instead of Adobe CF server.
It seems Adobe CF Server will still process the request for .cfm files even though I pointed the isapi mapping to the Railo dll.
I shut down Adobe Coldfusion 8 service and got Railo working on the IIS virtual host but it takes about 15 or so seconds to process a single .cfm file with the now() function in it. If I run the same cfm file via the port Railo is running on it is very fast.
is it possible to run Railo and CF Server side by side without JRun? And why would Railo and IIS be so slow?
Yes. A number of people have done such. Some (like Mike Henke and Matt Woodward) have gone even further and installed Open BlueDragon, Railo and Adobe CF at the same time. Matt has a really nice blog posting on how to do it here. He also has a nice set of presentation slides on this here.
The easiest way would be to download Railo Express (includes Jetty) and run that on a different port, like 8080.
I am new to ColdFusion and ColdBox (and programming). I tried to setup ColdBox but some of the links in the sample applications are broken.
My configuration is a GlassFish v3 installation with the current Railo OSS. I access my site through Apache 2.2.14.
So instead of http://127.0.0.1:8080/railo/ I access my environment trough http://railo/.
In Railo I have a webroot mapping / to C:/webapps/myproject/.
I have copied the current ColdBox 3M4 to C:/webapps/myproject/coldbox. I can access the dashboard through http://railo/coldbox/dashboard/index.cfm and have access to all options.
My problems start the moment I try to open the sample gallery:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
java.io.FileNotFoundException: C:\webapps\viss-dev\coldbox\samples
(Zugriff verweigert)
note The full stack traces of the exception and its root causes are
available in the GlassFish v3 logs.
GlassFish v3
OK, no problem, just enter the link directly: http://railo/coldbox/samples/index.cfm.
The site looks plain, who cares - BUT all local links look like this: http://127.0.0.1:8080/coldbox/samples/applications/helloworld/index.cfm (railo is replaced with 127.0.0.1:8080).
Looks like trouble. To make my confusion perfect: when I try to access the login app: http://railo/coldbox/samples/applications/sampleloginapp/index.cfm and hit the submit button, I am redirected to this address: http://railo/railo/coldbox/samples/applications/sampleloginapp/index.cfm.
I believe that this is not really ColdBox-related, but it manifests itself when I try to use ColdBox, so here I am.
P.S.: amazon.de takes too long to ship the ColdBox book :(
Here's a suggestion, The good people at Vivotech have developed a couple of different installers for both Windows/IIS7 and various flavours of Linux for both Railo and Open BlueDragon. The setup installs Tomcat, Railo/Open Blue Dragon and the necessary connectors to the web server. Here's the link: http://www.viviotech.net/company/installers.cfm
I think you'll find using the installers to be a lot easier than working through it yourself. If you want to go that route, Adobe and various bloggers have instructions on how to do it. Matt Woodward has a very good blog posting on it: see MattWoodward.com, He also has a presentation on this, you can see it here.
hth,
larry
Since you are new to ColdFusion (and programming in general), I would recommend developing against Adobe ColdFusion. The Developer Edition of ColdFusion is free and available from Adobe.com. You won't need to mess around or configure GlassFish since Adobe ColdFusion comes with a baked-in pre-configured Tomcat, providing both servlet engine and web server.
Just install the 'Stand-alone' version of ColdFusion Developer Edition, copy the ColdBox files into the webroot and in less than 15 minutes you be up and running.
You should also check out ColdFusion Builder which is currently available in beta from http://labs.adobe.com. It has full language support and integrated help content for learning the ins-outs of the language.
As far as the ColdBox book goes, it's available as an eBook if you really can't wait. ;-)
DISCLAIMER: I spend about 50% of my waking life devoted to making ColdFusion better as the CF Product Manager at Adobe. :-)
i have given up on glassfish and i am now struggling with tomcat :D
I know there old and everything, and I already have Coldfusion 8, but I found a great hosting deal and need Coldfusion mx6.1 for it - deos anyone have a link to a place where i can download it?
ColdFusion mx 6.1 windows IS available form FigLeaf, they were given permission to host the downlaod from Adobe. From an old mailing list post I've have stored for prosperity.
Fig Leaf Software has been authorized by Adobe to provide older releases of
CF upon request:
http://www.figleaf.com/download/coldfusion-61-win.exe
hth,
john.
UPDATE 19/01/2012 - The above link is still active!
If you have good hosting deal and want cheap (or free) CFML engine, why wouldn't you try the Railo?
If you want a free CFML engine, then Railo is definitely the way to go! I've had it running on my server for about a year now and love it!
Official Coldfusion 6 is no longer downloadable from Adobe and support is discontinued.
http://kb2.adobe.com/cps/402/kb402091.html
There is no free edition of Coldfusion which can be used for business. Coldfusion 9 has a free educational version for universities as well as a developer's edition which can be used for up to two (2) ip addresses.