Error during install

HTTP Status 404 - /cbox/index.cfm/cbInstaller

Stock Tomcat doesn’t support the same double-wildcard mapping servlet filters that you’ve grown to know and love with Adobe ColdFusion.

ColdFusion 11 sample:

CfmServlet __*.cfm/*__

Instead Railo is constrained to the J2EE spec that only allows one wildcard.

Railo/Tomcat sample:

GlobalCFMLServlet __*.cfm__ GlobalCFMLServlet __/index.cfm/*__

What you’ll need to do is add additional servlet filter lines to your web.xml that have the subdirectory in them.

GlobalCFMLServlet __/cbox/index.cfm/*__

This hold true for any applications you wish to use SES urls in a subdirectory AS WELL AS any Railo application that uses SES URLs with a file other than “index.cfm”

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Subject: [contentbox-version] Error during install
From: “Adam Hacking” adam.hacking@gmail.com
Date: 1/2/15 4:37 pm
To: contentbox@googlegroups.com

HTTP Status 404 - /cbox/index.cfm/cbInstaller


type Status report

message /cbox/index.cfm/cbInstaller

description The requested resource is not available.


Apache Tomcat/7.0.56

Ubuntu 14.04 LTS
Railo 4.2.1.008 final

Hi I have done a complete re-install and still get this error. The tables seem to get set up in the db, the install chugs along then generates this error.

Any thoughts would be welcome.

Thanks

Adam

You received this message because you are subscribed to the Google Groups “ColdBox Platform” group.
For News, visit http://www.gocontentbox.org/blog
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/CONTENTBOX

You received this message because you are subscribed to the Google Groups “ContentBox Modular CMS” group.
To unsubscribe from this group and stop receiving emails from it, send an email to contentbox+unsubscribe@googlegroups.com.
To post to this group, send email to contentbox@googlegroups.com.
Visit this group at http://groups.google.com/group/contentbox.
For more options, visit https://groups.google.com/d/optout.

-
GlobalCFMLServlet
*.cfm

-
GlobalCFMLServlet
/index.cfm/*

Hi Brad, all,

I have a clean Lucee Express which has the same issue.

My web.xml file has following …

CFMLServlet *.cfc *.cfm *.cfml /index.cfc/* /index.cfm/* /index.cfml/*

This is what I have. What else can I check?

Thanks in advance.

/OD

If you’re trying to use SES urls from within a subfolder, you’ll need to add URL patterns for the sub folder since Adobe hacked Tomcat to make double wildcard mappings work.

Minimally, you’ll need to add:

mySubFolder/index.cfm/*

Note, this only applies if you’re installing ContentBox (or any SES ColdBox app for that matter) into a subfolder. Sites in the web root will work fine.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

hey Brad,
I added this to web.xml for web sphere and it works. Is what else should I add as you said this was the minimum. i am working on documentation for .gov installs

GlobalCFMLServlet cbapp/index.cfm/*

this actually did not work after all still getting the same 404 with

cbapp/index.cfm/*

and

/cbapp/index.cfm/*