Source Code download does not install properly on Linux

Description

I've tried to install ContentBox 2 times now since the cfObjective() conference. I'm using my local laptop as a test environment. The installer initially presents it self, but after creating tables in the database, I see an error.

Web Configuration
http://dev.local = /home/gentryd/workspace/dev.local/wwwroot
http://dev.local/contentbox = /home/gentryd/workspace/dev.local/wwwroot/contentbox/
DSN = contentbox
MySQL = localhost

Steps to Reproduce
Launched http://dev.local/contentbox and redirected to:
http://dev.local/contentbox/modules/contentbox-dsncreator/?CFID=a3c428b8-3129-4861-aa4c-06911d791865&CFTOKEN=0

  • I have a DSN so I answer 'yes'

  • I provide the name of my DSN 'contentbox'

  • I click on the button labeled 'Verify Datasource'

  • It turns red and reads 'Continue Installation', so I click it

  • After about 15 seconds, I see an error:

Railo 4.0.4.001 Error (Injector.InstanceNotFoundException)
Message Requested instance not found: 'AdminMenuService@cb'
Detail The instance could not be located in any declared scan location(s) (contentbox.model) or full path location
Stacktrace The Error Occurred in
/home/gentryd/workspace/dev.local/wwwroot/contentbox/coldbox/system/core/util/Util.cfc: line 164
162: <cfargument name="detail" required="false" default="">
163: <cfargument name="type" required="false" default="Framework">
164: <cfthrow type="#arguments.type#" message="#arguments.message#" detail="#arguments.detail#">
165: </cffunction>
166:

called from/home/gentryd/workspace/dev.local/wwwroot/contentbox/coldbox/system/ioc/Injector.cfc: line 236
called from/home/gentryd/workspace/dev.local/wwwroot/contentbox/modules/contentbox/modules/Hello/ModuleConfig.cfc: line 135
called from/home/gentryd/workspace/dev.local/wwwroot/contentbox/coldbox/system/web/services/ModuleService.cfc: line 324
called from/home/gentryd/workspace/dev.local/wwwroot/contentbox/coldbox/system/web/services/ModuleService.cfc: line 256
called from/home/gentryd/workspace/dev.local/wwwroot/contentbox/coldbox/system/web/services/LoaderService.cfc: line 86
called from/home/gentryd/workspace/dev.local/wwwroot/contentbox/coldbox/system/Coldbox.cfc: line 71
called from/home/gentryd/workspace/dev.local/wwwroot/contentbox/Application.cfc: line 80
Java Stacktrace Requested instance not found: 'AdminMenuService@cb'
at railo.runtime.tag.Throw._doStartTag(Throw.java:189):189
at railo.runtime.tag.Throw.doStartTag(Throw.java:178):178
at system.core.util.util_cfc$cf._1(/home/gentryd/workspace/dev.local/wwwroot/contentbox/coldbox/system/core/util/Util.cfc:164):164
at system.core.util.util_cfc$cf.udfCall(/home/gentryd/workspace/dev.local/wwwroot/contentbox/coldbox/system/core/util/Util.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:275):275
at railo.runtime.ComponentImpl._call(ComponentImpl.java:608):608
at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1800):1800
at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:749):749
at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1521):1521
at system.ioc.injector_cfc$cf._1(/home/gentryd/workspace/dev.local/wwwroot/contentbox/coldbox/system/ioc/Injector.cfc:236):236
at system.ioc.injector_cfc$cf.udfCall(/home/gentryd/workspace/dev.local/wwwroot/contentbox/coldbox/system/ioc/Injector.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607
at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1781):1781
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
at modules.hello.moduleconfig_cfc$cf.udfCall(/home/gentryd/workspace/dev.local/wwwroot/contentbox/modules/contentbox/modules/Hello/ModuleConfig.cfc:135):135
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607
at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1781):1781
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
at system.web.services.moduleservice_cfc$cf._2(/home/gentryd/workspace/dev.local/wwwroot/contentbox/coldbox/system/web/services/ModuleService.cfc:324):324
at system.web.services.moduleservice_cfc$cf.udfCall(/home/gentryd/workspace/dev.local/wwwroot/contentbox/coldbox/system/web/services/ModuleService.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
at railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:775):775
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
at system.web.services.moduleservice_cfc$cf._1(/home/gentryd/workspace/dev.local/wwwroot/contentbox/coldbox/system/web/services/ModuleService.cfc:256):256
at system.web.services.moduleservice_cfc$cf.udfCall(/home/gentryd/workspace/dev.local/wwwroot/contentbox/coldbox/system/web/services/ModuleService.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607
at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1781):1781
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
at system.web.services.loaderservice_cfc$cf.udfCall(/home/gentryd/workspace/dev.local/wwwroot/contentbox/coldbox/system/web/services/LoaderService.cfc:86):86
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607
at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1781):1781
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
at contentbox.coldbox.system.coldbox_cfc$cf._1(/home/gentryd/workspace/dev.local/wwwroot/contentbox/coldbox/system/Coldbox.cfc:71):71
at contentbox.coldbox.system.coldbox_cfc$cf.udfCall(/home/gentryd/workspace/dev.local/wwwroot/contentbox/coldbox/system/Coldbox.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607
at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1781):1781
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
at contentbox.application_cfc$cf.udfCall(/home/gentryd/workspace/dev.local/wwwroot/contentbox/Application.cfc:80):80
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607
at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1781):1781
at railo.runtime.listener.ModernAppListener.call(ModernAppListener.java:346):346
at railo.runtime.listener.ModernAppListener.onApplicationStart(ModernAppListener.java:224):224
at railo.runtime.PageContextImpl.initApplicationContext(PageContextImpl.java:2860):2860
at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:95):95
at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:18):18
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2255):2255
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2222):2222
at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:315):315
at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728):728
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305):305
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222):222
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123):123
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472):472
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171):171
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99):99
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118):118
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407):407
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004):1004
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589):589
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310):310
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source):-1
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source):-1
at java.lang.Thread.run(Unknown Source):-1

Activity

Show:
Luis Majano
May 22, 2013, 12:59 PM

Damon
First of all. This is the kind of feedback we need. It is huuugely important for me that the installation process be smoother.

Some things we have control. Some we don't.

The issue you mentioned with the war deployment has been fixed already alongside other rewrite issues that where reported. I will provide a patch in the coming days.

As for your mod rewrite issues how are you connecting to railo?

Damon Gentry
May 22, 2013, 1:16 PM

Luis,

Thanks. My installation on Ubuntu Linux was based on the stock Ubunto Apache in /etc/apache2.

I had installed Railo 4.0.4 using the Linux 64-bit installer under Railo Server with Tomcat. That installation script modified my /etc/apache2/apache2.conf file to include the following Proxy section:

<IfModule mod_proxy.c>
<Proxy *>
Allow from 127.0.0.1
</Proxy>
ProxyPreserveHost On
#ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ http://127.0.0.1:8888/$1$2
ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ http://127.0.0.1:8888/$1$2
ProxyPassMatch ^/(.+\.cfchart)(/.*)?$ http://127.0.0.1:8888/$1$2
ProxyPassMatch ^/(.+\.cfres)(/.*)?$ http://127.0.0.1:8888/$1$2
ProxyPassMatch ^/(.+\.cfml)(/.*)?$ http://127.0.0.1:8888/$1$2

  1. optional mappings
    #ProxyPassMatch ^/flex2gateway/(.*)$ http://127.0.0.1:8888/flex2gateway/$1
    #ProxyPassMatch ^/messagebroker/(.*)$ http://127.0.0.1:8888/messagebroker/$1
    #ProxyPassMatch ^/flashservices/gateway(.*)$ http://127.0.0.1:8888/flashservices/gateway$1
    #ProxyPassMatch ^/openamf/gateway/(.*)$ http://127.0.0.1:8888/openamf/gateway/$1
    #ProxyPassMatch ^/rest/(.*)$ http://127.0.0.1:8888/rest/$1
    ProxyPassReverse / http://127.0.0.1:8888/
    </IfModule>

I must admit that the entire Proxy connection from Apache to Railo is a bit confusing to me.

Note: I was able to take the WAR install from your site and used it to replace the contents of the /opt/tomcat7/webapps/ROOT folder. This cleaned up the CSS/JS path issues. I think I'll use the WAR install as the basis of my initial look at ContentBox.

If you need any additional installation testing, please feel free to ask and I'll be glad to test and provide results.

Luis Majano
May 23, 2013, 2:32 AM

I think this is ok, I have the same thing. Maybe you need to update Railo, that is the only thing that I can think of.

Luis Majano
May 24, 2013, 7:45 AM

Did you update railo

Damon Gentry
May 24, 2013, 9:27 AM

I updated Railo to the latest bleeding edge version (4.1.009 beta).

I did a clean install by deleting my database, re-creating the schema, restarting Railo, and then copying the source folder to /home/gentryd/workspace/dev.local/wwwroot/site/

I was asked to provide the name of my datasource. It verified just fine. But after I clicked 'Continue Installation', I received a 404 error that '/site/cbInstaller' could not be found.

I'm convinced this is an issue with the Proxy settings between Apache and Tomcat. I just need to figure that out.

Cannot Reproduce

Assignee

Luis Majano

Reporter

Damon Gentry

Labels

Components

Affects versions

Priority

Major