ColdMVC and railo

9 views
Skip to first unread message

Joe

unread,
Sep 8, 2011, 5:47:21 PM9/8/11
to ColdMVC
I've recently switched to railo and I am having alot of issues
converting. Has anyone tried to run coldmvc on railo.
At first it couldn't find coldmvc then on index.cfm i manually ran
onapplicationstart(). then i get this one...

The Error Occurred in
C:\workspace\coldmvc\Application.cfc: line 120

118:
119: var xml = toString(beans);
120: xml = replace(xml, "<!---->", "", "all");

after this one i get a permgen error

Joe

unread,
Sep 9, 2011, 10:00:21 AM9/9/11
to ColdMVC
Made a partial breakthrough...

add a component mapping to coldmvc in railo server admin

then it said datasource [workspace] was missing which was odd, cause i
thought it would be the name of my project not the webroot, but i
created it anyways just to pile through the stuff

then its asked me for a dialect so i added this.ormsettings.dialect =
"MicrosoftSQLServer"; to my projects app cfc.

now iam getting this error
key [BEANFACTORY] doesn't exist in struct (keys:SETTINGS)
The Error Occurred in
C:\workspace\coldmvc\Application.cfc: line 212

210: private any function getBeanFactory() {
211:
212: return application.coldmvc.beanFactory;
213:
214: }

looks like its not setting the pluginmanager or beanfactory in the
"coldmvc" variable in application scope. going to keep piling through
it.

Joe

unread,
Sep 9, 2011, 5:38:39 PM9/9/11
to ColdMVC
So I feel like a bit of loner out here. But I will keep posting incase
someone else is having this issue as well.

I am hacking up coldmvc alot. Mostly turning the comment style
annoatations to attributes on the funcs and components. But i ran into
an issue where the framework is trying to inject the $ and coldmvc as
scopes into the pagecontext. Its in the helperManager addScope(). It's
using adobe undocumented funcs. Is their another way to write it.

Tony Nelson

unread,
Sep 12, 2011, 9:16:58 PM9/12/11
to col...@googlegroups.com
ColdMVC doesn't currently support Railo due to usage of Adobe ColdFusion's undocumented hiddenScope functionality which is used to create the params, flash, coldmvc, and $ scopes. You could try to hack the framework to load those scopes somewhere else (form scope?), but I'm not sure if it would fix everything, since I haven't spent much time with Railo.


-Tony
Reply all
Reply to author
Forward
0 new messages