Need help with installation

63 views
Skip to first unread message

Dai Butt

unread,
May 16, 2013, 2:42:21 PM5/16/13
to conte...@googlegroups.com
Hi I've just started to learn coldfusion and using railo to do so. I/ve installed contentbox but, I'm getting this message in the address bar:
http://127.0.0.1:8888/cb/index.cfm/cbInstaller

Not sure why.
The url pattern in web.xml is below:
<url-pattern>/cb/index.cfm/*</url-pattern>
I've installed contentbox in a sub folder called cb as per the readme.
I've checked the database and all the tables have been created. Any help would be appreciated.

Thanks Dai


Curt Gratz

unread,
May 16, 2013, 2:50:49 PM5/16/13
to conte...@googlegroups.com
Are you saying it is redirecting to that or what is the error that you see?

Curt

--
--
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+...@googlegroups.com.
To post to this group, send email to conte...@googlegroups.com.
Visit this group at http://groups.google.com/group/contentbox?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Dai Butt

unread,
May 16, 2013, 3:58:34 PM5/16/13
to conte...@googlegroups.com
To be honest not sure what it's doing but, here is a screen grab to give you an idea.
I'm still getting used how the colfusion works so I'm a bit lost at the moment til I get a bit more familiar with it.
Selection_018.jpg

Curt Gratz

unread,
May 16, 2013, 5:41:41 PM5/16/13
to conte...@googlegroups.com
It looks like you are caught in a redirect loop, so the browser is just erroring.  Can you tell us a bit more about your setup.  Are you going directly to tomcat, what version of CF/Railo are you using?  Are you proxying over to it?

Curt

From: Dai Butt <dai...@gmail.com>
Reply-To: "<conte...@googlegroups.com>" <conte...@googlegroups.com>
Date: Thursday, May 16, 2013 2:58 PM
To: "<conte...@googlegroups.com>" <conte...@googlegroups.com>

Dai Butt

unread,
May 16, 2013, 6:36:02 PM5/16/13
to conte...@googlegroups.com
setup is railo 4.1 using tomcat as root with contentbox as a subdirectory database is mariadb was mysql this morning on a mint debian OS.
Here is the path to where the contentbox files are.

/opt/railo/tomcat/webapps/ROOT/cb/

Not using any proxy.

The content box being used is an install from the railo administrator.


On Thursday, 16 May 2013 19:42:21 UTC+1, Dai Butt wrote:

Curt Gratz

unread,
May 17, 2013, 12:40:26 AM5/17/13
to conte...@googlegroups.com
Maybe try not running it out of a folder and out of a webroot.  It should work out of subfolder, but that would be something to try.

Curt Gratz

From: Dai Butt <dai...@gmail.com>
Reply-To: "<conte...@googlegroups.com>" <conte...@googlegroups.com>
Date: Thursday, May 16, 2013 5:36 PM
To: "<conte...@googlegroups.com>" <conte...@googlegroups.com>
Subject: [contentbox-version] Re: Need help with installation

Dai Butt

unread,
May 17, 2013, 5:16:30 AM5/17/13
to conte...@googlegroups.com
I'm not quite sure what you mean. I could run it from root but that would put all the files in root and just make a mess and I don't want to do that it confuse the crap out of me.
Surely someone is running Contentbox in railo in a subfolder with in root (I'm doing it with Mura) If you are could you show what you did on our setup.
I've probably missed something somewhere but, I don't know where.


On Thursday, 16 May 2013 19:42:21 UTC+1, Dai Butt wrote:

Andrew Scott

unread,
May 17, 2013, 8:32:10 AM5/17/13
to conte...@googlegroups.com
Mura is a lot different.

ColdBox and uses something called appmappings to do this for you, and it all boils down to the url and if your using SES or not as well with url rewrites.

But personally if your going to setup a site with ContentBox your are far better off with the whole thing in the web root, the strucutre is not what your used to but it is the best way.

My guess is you have one location, and use one IIS website to then browse all your sites with the way you have described. This is something that most will tell you that you need to get out of the habit off. The reason is that sites like this really need to be run as if you are running it in production. The way you are trying it will cause you more headaches and more debugging trying to find bugs with one over the other, etc.

But it is your choice, and I think you need to think about how you set up sites on your development machines.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/



Dai Butt

unread,
May 17, 2013, 9:22:42 AM5/17/13
to conte...@googlegroups.com
You are probably right but finding a good tutorial on setting up railo and contentbox is difficult if not impossible. I'd run it in the express version if I thought there wouldn't be a conflict on my machine.


On Thursday, 16 May 2013 19:42:21 UTC+1, Dai Butt wrote:

Andrew Scott

unread,
May 17, 2013, 10:29:35 AM5/17/13
to conte...@googlegroups.com
I haven't used it in Railo, but I am sure the Railo guys in here will give you the right advice.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/



Luis Majano

unread,
May 17, 2013, 10:33:30 AM5/17/13
to conte...@googlegroups.com
I am late to the game Dai

Sorry about your troubles.  Can you sum them up for me.  I do extensive work with Railo and ContentBox, so I will help you out.

Can you layout what you did exactly please?
signature0.jpg

br...@bradwood.com

unread,
May 17, 2013, 4:34:29 PM5/17/13
to conte...@googlegroups.com
>You are probably right but finding a good tutorial on setting up railo and contentbox is difficult if not impossible. 

Installing ContentBox on Railo shouldn't be any different than installing it on ACF.  In fact, many of the videos we have posted from ColdBox connections are probably running on Railo.

> I'd run it in the express version if I thought there wouldn't be a conflict on my machine.

ContentBox Express should be fully contained.  I think it will search until it finds a free port, but even if there is a port overlap, you can change it easily in the config.

> <url-pattern>/cb/index.cfm/*</url-pattern>

Is there a reason you have your /cb/ path in your url-pattern.  I've never changed this from the regular default that Railo uses.  Depending on your servlet container, it's probably something similar to this:
<url-pattern>*.cfc</url-pattern>
<url-pattern>*.cfm</url-pattern>
<url-pattern>*.cfml</url-pattern>   
<url-pattern>/index.cfc/*</url-pattern>
<url-pattern>/index.cfm/*</url-pattern>
<url-pattern>/index.cfml/*</url-pattern>

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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


-------- Original Message --------
Subject: [contentbox-version] Re: Need help with installation

Dai Butt

unread,
May 17, 2013, 5:32:45 PM5/17/13
to conte...@googlegroups.com
I've installed contentbox from railo admin database is set up all tables are there after doing the install.
made sure that mapping is correct as far as I'm aware <url-pattern>/cb/index.cfm/*</url-pattern> but when content box is run all I get is:
http://127.0.0.1:8888/cb/index.cfm/cbInstaller (see attachment).

This problem is probably my fault I haven't done something or done something wrong. Just need some help getting it and running for now

This is the path in railo:
/opt/railo/tomcat/webapps/ROOT/cb

any help would be appreciated as I'm stumped.

Just you know I'm running railo in debian mint using mariadb

Thanks Dai



On Thursday, 16 May 2013 19:42:21 UTC+1, Dai Butt wrote:
Selection_018.jpg
Selection_020.jpg

Dai Butt

unread,
May 17, 2013, 5:48:34 PM5/17/13
to conte...@googlegroups.com
<url-pattern>/cb/index.cfm/*</url-pattern>

The advice I was given in the railo forum when setting up mura in a subfolder was that I needed to to map it as above exept, mura instead of cb in the pattern (mura is working fine now).
Since I've put contentbox in a subfolder called cb I thought I'd need to map it as well, makes sense to me maybe I'm wrong to be honest I don't know still very new to this and still learning.

As far as running express is concerned the conflict would be with apache in my root and it's to much of a headache starting/stopping apache railo just to run the express version.
Besisdes if I'm confused now the express version has files in different places and I'd just end up confusing myself even more than I am now.

As soon as as I find web.xml or it's equivalent in the express version I shall try it on my netbook just for fun, maybe I'll have more luck.

Thanks Dai


On Thursday, 16 May 2013 19:42:21 UTC+1, Dai Butt wrote:

Dai Butt

unread,
May 18, 2013, 5:28:31 PM5/18/13
to conte...@googlegroups.com
I've setup contentbox under root and got half the install (may be more) the problem I have now is I can't get into the admin section getting this error:

HTTP ERROR 404

Problem accessing /cbadmin/security/login. Reason:

    Not Found

Powered by Jetty://
  not sure why this is.
Any help would be appreciated

Thanks Dai

On Thursday, 16 May 2013 19:42:21 UTC+1, Dai Butt wrote:

Brad Wood

unread,
May 18, 2013, 5:53:51 PM5/18/13
to conte...@googlegroups.com

Ahh, I just now saw you're using Jetty and I think its servlet mappings work a little different.  Are you using rewrites to add the index.cfm?  What's the full URL?



Sent from my Samsung Epic™ 4G Touch

Luis Majano

unread,
May 18, 2013, 6:42:35 PM5/18/13
to conte...@googlegroups.com, conte...@googlegroups.com
Servlet mappings will bite you with jetty as the URLs index.cfm/* have to be added manually in jetty. 

I would suggest to start, use our ContentBox express as it leverages rewrites for you already.
If not and want to keep jetty you will need go add things manually to the web.xml configuration file or add a web server. Unfortunately this is a servlet and cf thing

Sent from Mailbox for iPhone

Dai Butt

unread,
May 19, 2013, 4:51:35 AM5/19/13
to conte...@googlegroups.com
Right guy's bash the brain cell together here is what I have for contentbox as far as mapping:

 <servlet-mapping>
    <servlet-name>CFMLServlet</servlet-name>

    <url-pattern>*.cfc</url-pattern>
    <url-pattern>*.cfm</url-pattern>
    <url-pattern>*.cfml</url-pattern>  
    <url-pattern>/index.cfc/*</url-pattern>
    <url-pattern>/index.cfm/*</url-pattern>
    <url-pattern>/index.cfml/*</url-pattern>
    <url-pattern>/mura/index.cfm/*</url-pattern>
   
    <!-- url-pattern>*.cfm/*</url-pattern !-->
    <!-- url-pattern>*.cfml/*</url-pattern !-->
    <!-- url-pattern>*.cfc/*</url-pattern !-->
    <!-- url-pattern>*.htm</url-pattern !-->
    <!-- url-pattern>*.jsp</url-pattern !-->
  </servlet-mapping>

If I need to change the mappings what do I change it to!
Or what do I add to be exact because, I un-installed the files re-installed from scratch and now get this error as default.

This is now getting frustrating on my part. I'd like to play with it but, can get even get it out of the box

Just to clarify things I'm running jetty from my net book (Joli OS) and Mint Debian on my main computer with normal install of railo. Just a thought but, maybe some of this info needs to be in the readme for mappings and where to find them etc.
For newbies like me this would be extremely helpful.


On Thursday, 16 May 2013 19:42:21 UTC+1, Dai Butt wrote:

Dai Butt

unread,
May 19, 2013, 5:14:02 AM5/19/13
to conte...@googlegroups.com
Yes I did tick re-writes but I've un-installed it all for now will try again later (who said Einstein was right).
probably something small I'm doing wrong or leaving out very frustrating never mind I'll get there in the end.


On Thursday, 16 May 2013 19:42:21 UTC+1, Dai Butt wrote:

Luis Majano

unread,
May 19, 2013, 12:26:38 PM5/19/13
to conte...@googlegroups.com
I say first use the express edition to play with it. 

The. Try the source deploy especially since every install is different for people.

Ill document the handlers this week for you

Sent from Mailbox for iPhone


Dai Butt

unread,
May 19, 2013, 4:13:54 PM5/19/13
to conte...@googlegroups.com
Ok got the express edition up and running. One criticism (not a bad one) can you make your videos sharper some parts are very hard to read.
Apart from that great job you've done.

Thanks Dai

On Thursday, 16 May 2013 19:42:21 UTC+1, Dai Butt wrote:

Luis Majano

unread,
May 19, 2013, 4:32:27 PM5/19/13
to conte...@googlegroups.com
Which video?

Sent from Mailbox for iPhone


Dai Butt

unread,
May 20, 2013, 7:34:04 AM5/20/13
to conte...@googlegroups.com
http://vimeo.com/channels/contentbox/53380840

plus most of the others I find them fuzzy/blury.
Sorry to be a critic after all your hard work maybe it would be better to record at 800 x 600 and reduce your browser to fit this size?
That's what I use to do when making screencasts.

http://dai-videotutes.blogspot.co.uk/2010/06/scribus-blender-mesh-modelling.html

Then when maximised it's still pretty clearish


On Thursday, 16 May 2013 19:42:21 UTC+1, Dai Butt wrote:

Neil Huyton

unread,
May 20, 2013, 7:57:14 AM5/20/13
to conte...@googlegroups.com
You can toggle the HD setting in Vimeo toolbar which will give a clearer picture when viewing


Dai Butt

unread,
May 20, 2013, 12:08:04 PM5/20/13
to conte...@googlegroups.com
seems a lot better in couch mode. I will try the HD settings and see.


On Thursday, 16 May 2013 19:42:21 UTC+1, Dai Butt wrote:

br...@bradwood.com

unread,
May 20, 2013, 2:14:28 PM5/20/13
to conte...@googlegroups.com
I agree, it is a little fuzzy.  When I click HD, it's readable but I think it would help if Luis used a 4:3 aspect ratio and a smaller resolution.  The combination of the high res and the wide screen resolution makes the text pretty small on my 19 inch monitors and I'm running 1280x1024.  (The wide screen leaves wasted black border on top and bottom of my screen since I've got a standard 4:3 aspect ratio.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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


-------- Original Message --------
Subject: [contentbox-version] Re: Need help with installation
From: Dai Butt <dai...@gmail.com>
Date: Mon, May 20, 2013 6:34 am
To: conte...@googlegroups.com

http://vimeo.com/channels/contentbox/53380840

plus most of the others I find them fuzzy/blury.
Sorry to be a critic after all your hard work maybe it would be better to record at 800 x 600 and reduce your browser to fit this size?
That's what I use to do when making screencasts.

http://dai-videotutes.blogspot.co.uk/2010/06/scribus-blender-mesh-modelling.html

Then when maximised it's still pretty clearish

On Thursday, 16 May 2013 19:42:21 UTC+1, Dai Butt wrote:
Hi I've just started to learn coldfusion and using railo to do so. I/ve installed contentbox but, I'm getting this message in the address bar:
http://127.0.0.1:8888/cb/index.cfm/cbInstaller

Not sure why.
The url pattern in web.xml is below:
<url-pattern>/cb/index.cfm/*</url-pattern>
I've installed contentbox in a sub folder called cb as per the readme.
I've checked the database and all the tables have been created. Any help would be appreciated.

Thanks Dai


Reply all
Reply to author
Forward
0 new messages