During the install process of ContentBox in a dev environment, getting a 404:
`
404
/cbInstaller
java.io.FileNotFoundException: /cbInstaller
at jrun.servlet.file.FileServlet.service(FileServlet.java:356)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
`
Any idea why this is happening?
Running ColdFusion 9 Server Developer install, and SQL Server 2008 R2
Did you select select URL rewrite option?
If so you need to use a rewrite ISAPI filter for IIS if using IIS, or make sure apache mod_rewrite is enabled.
I got the same error trying to install this morning.
The install wizard verified the database then tried to go directly to /cbInstaller which produced a 404 error. This happens BEFORE any option to use or install a url rewriter.
Any advice on how to proceed?
Mike
I’m a little confused here. Is a url rewriter REQUIRED to install Contentbox now?
If so, any suggestions on what to use for IIS 6?
I would recommend Helicon APE for IIS, the price is worth it. But I think it is free for development last I recall.
I believe I found the problem… an error in the current download zip file.
I downloaded the “source” from http://www.gocontentbox.org/download.
The /config/routes.cfm template in that zip file has the “index.cfm” removed from these lines:
// Base URL
if( len(getSetting(‘AppMapping’) ) lte 1){
setBaseURL(“http://#cgi.HTTP_HOST#/index.cfm”);
}
else{
setBaseURL(“http://#cgi.HTTP_HOST#/#getSetting(‘AppMapping’)#/index.cfm”);
}
I believe this is an error and the lines should be as shown above. Somebody probably just committed or zipped their “post install” version of the file.
Adding the index.cfm fixed the install issue for me.
Somebody should correct the download file.
Nope. This is not a requirement. I will double check the installer.
Luis Majano
CEO
Ortus Solutions, Corp
Toll Free/Fax: 1-888-557-8057
Direct: 909-248-3408
www.ortussolutions.com
Twitter: @lmajano, @ortussolutions
Adding the index.cfm to the Routes file worked, and the install proceeded normally.
Hi Luis:
The current download has a bug.
The /config/routes.cfm template in that zip file has the “index.cfm” removed from these lines:
// Base URL
if( len(getSetting(‘AppMapping’) ) lte 1){
setBaseURL(“http://#cgi.HTTP_
HOST#/index.cfm”);
}
else{
setBaseURL(“http://#cgi.HTTP_HOST#/#getSetting(‘AppMapping’)#/index.cfm”);
}
I stumbled too over this a minute ago.
Things like this avoids the installation of a fresh CB for everyone. I think, this deserves a quick interim fix.