Getting cbInstaller 404 during install

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.

Robert,

Did the download did not have the index.cfm?

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

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”);
}

Fixed, targeted for 1.5.4 in the coming days

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

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.

I will update the bits tomorrow before my session :slight_smile:

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano