Questions tagged [coldspring]

ColdSpring is a web framework for the ColdFusion application programming language, based on the Java Spring Framework, providing dependency injection, inversion of control and aspect oriented programming.

ColdSpring is a web application framework for the ColdFusion application programming language, based on the Java Spring Framework. It was originally created by Chris Scott and provides Dependency injection, inversion of control and aspect-oriented programming design pattern capabilities in an effort to make the configuration and dependencies of ColdFusion components (CFCs) easier to manage.

ColdSpring 2.0 is a rewrite of ColdSpring 1.x, and is lead by Mark Mandel.

21 questions
5
votes
3 answers

Could not find the ColdFusion Component that exists

When I use the following locally for development it works, when it is in production it works most of the time, but every so ofter we get the following error using this code: Code CreateObject("component", "model.mThing.Thing"); Now the model…
ztatic
  • 1,181
  • 3
  • 13
  • 21
4
votes
0 answers

Faster way to refresh CF9/Fusebox 5 site CFC?

Inherited a CF9 site that uses Fusebox 5, Coldspring and CFUnit. I've set the mode in fusebox.xml.cfm to: However my CFC files seem cached (all cache options in CF admin are unchecked). So I…
CFseeker
  • 41
  • 3
2
votes
2 answers

How can I configure AOP in ColdSpring 2.0?

I'd like to implement some before and after method advisors in Coldspring 2.0, and I'd like to use the new schema for AOP and the new autoproxying feature. Unfortunently, the Narwhal documentation for AOP is currently a cliffhanger. Can anyone give…
Ryan Lynch
  • 7,676
  • 1
  • 24
  • 33
2
votes
6 answers

Refactoring ColdFusion 5 tag-based code into CFCs

I feel the need to refactor my old CF5 based code into CFC's. We already have some code in ColdSpring and Transfer but feel a large rewrite to ColdSpring and Transfer is pointless. What tips, approaches and gotchas will I hit. How can I make this…
Stewart Robinson
  • 3,459
  • 4
  • 21
  • 27
2
votes
1 answer

Does ColdSpring work with MX 6?

I'm embarrassed to ask such a simple question, but my searches are turning up zip. So .. does ColdSpring works with MX 6? Thanks from heat fried brain ...
HeatFried
  • 21
  • 1
2
votes
0 answers

ModelGlue / ColdSpring configuration issue?

I've used ModelGlue and ColdSpring for years on previous projects without issue. I'm building this new website using CF10 ModelGlue 3.2. I've downloaded and installed the framework, built the site on my local development MacBook without issue, and…
jasonseminara
  • 436
  • 4
  • 14
1
vote
2 answers

ColdSpring Error that a Bean Doesn't Exist when I'm not looking for one

I am working on a plugin for Mura CMS adding in my own beans, and just started getting an error that one doesn't exist. One of my beans has setters and getters for email, name, amount, etc. as well as some beans (ie. configBean, priceBean,…
Dave Long
  • 9,569
  • 14
  • 59
  • 89
1
vote
1 answer

Coldfusion errors that are suddenly fixed after recompiling the component

We have a coldfusion project on a live server, and the same project on a local development server. Both projects are nearly identical but a few components under development on the dev server. Both servers have the same coldfusion version…
jan
  • 2,879
  • 2
  • 19
  • 28
1
vote
1 answer

How do I access a bean outside of a controller in ColdFusion Model Glue 3?

Model Glue 3 introduced bean injection, which allows you to do this in a controller to access it: beans.component.function(); However, the beans scope is only available for a controller. How would I access a bean outside of a controller, for…
Daniel T.
  • 37,212
  • 36
  • 139
  • 206
1
vote
1 answer

Orm configuration in application.cfc conflicts with coldspring

I am facing issue with application.cfc which contains both orm and coldspring configurations. The problem is, either of them work but not both. Please help Following are contains of application.cfc
vikrant
  • 399
  • 3
  • 12
1
vote
1 answer

ColdSpring IsLazyInit isn't boolean?

Anyone ever seen this error with ColdSpring? The ISLAZYINIT argument passed to the createBeanDefinition function is not of type boolean. This is happening after restarting the CF service, and when it's attempting to do something like this in…
duncan
  • 31,401
  • 13
  • 78
  • 99
1
vote
1 answer

Ant + Coldspring

I am working with the new cfbuilder and using ANT to push my code to my dev server. One issue that keeps cropping up is when I make changes to my beans.xml file my ant build throws an exception on my beans.xml file. This is the exception that I…
Tempname
  • 565
  • 5
  • 26
1
vote
1 answer

Sub-application with ColdSpring doesn't have access to package methods

I'm having trouble creating a sub-application using ColdSpring to instantiate my objects. In my parent application, I have a ColdSpring config file which is instantiating a bunch of components with no problems. One of them is a 'Categories'…
Gary Stanton
  • 1,435
  • 12
  • 28
0
votes
2 answers

ColdSpring in Five minutes

I'm rereading ColdSpring in 5 minutes. It says "The UserService needs the UserGateway, and the UserGateway needs the ConfigBean". No it does not! The UserService does not need anything. It doesn't call UserGateway. All it does is set a variable…
Phillip Senn
  • 46,771
  • 90
  • 257
  • 373
0
votes
1 answer

Coldfusion Taffy API returning "Cannot lock session scope" error on all requests

I have a CF11 Enterprise (11,0,19,314546) server which runs on RHEL 7.7. We use Taffy (3.2) as a frontend to a Coldspring IOC library. We recently did some load testing using Locust and now Taffy is getting a CFLock error on any request: Cannot…
Drew S
  • 357
  • 1
  • 3
  • 12
1
2