Interesting idea, but why then does it work for some variables but not
others?

On Oct 31, 2007 9:34 PM, Snake <[EMAIL PROTECTED]> wrote:

> Cfdump uses createobject(java), and as any self respecting host should
> have
> this disabled by default, cfdump may not work if your on a shared host who
> uses security sandboxes.
>
>
> Russ Michaels
> http://russ.michaels.me.uk/
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mike Kear
> Sent: 25 October 2007 07:48
> To: [email protected]
> Subject: [coldspring-dev] Coldspring error: can anyone tell me what this
> error means please?
>
> This has been answered on the CF-TALK list, but since I raised it here
> too,
> I figured I'd best post the outcome here.
>
> Sean's dead right.  I wanted to verify that it was possible to load
> coldspring onto my site and run it ok, before setting out to redevelop the
> client's site using coldspring.
>
> So I loaded up the COldspring files to the root of the site, and to test
> it's installed ok, I ran the BeanFactory initialisation as in the
> installation docs, as follows:
>
> <cfset BeanFactory =
> createObject("component","coldspring.beans.DefaultXmlBeanFactory
> ").init()/>
> <cfset
> BeanFactory.loadBeansFromXmlFile
> (expandPath("/admin/cfcs/Coldspring.xml"),tr
> ue)/>
>
> Then in order to have something visible in the browser to check it was
> working ok, I had a dump of the Beanfactory like so:
>
> <cfdump var="#BeanFactory#" />
>
>
> And it was the CFDUMP that was the culprit as Sean wagered.  This is my
> first CF8 site, and I didn't know that CFDUMP is different now and will
> cause an error to throw under certain circumstances, and certain kinds of
> variables, but not if you are dumping other kinds of variables.   It's
> this
> last fact that explains how come I haven't had problems using CFDUMP until
> now - I usually CFDUMP strings or structs or arrays not components.
>
> So . the bottom line:
>
> [A] Coldspring apparently works just fine in this shared environment.
> [B] you can not have a coldfusion mapping at hostmysite called
> "Coldspring"
> since I explained the problems that would arise if anyone did. They have
> now
> implanted a rule to that effect.  Similarly with "reactor", "transfer",
> "mach-ii" and "model-glue".
> [C] using CFDUMP in come cases will throw an error that indicated the
> method
> getClass() cannot be found.  (apparently it's a function used by some
> CFDUMPs.
>
> Thanks Sean Corfield, Brian Kotek and all the others who helped me pin
> this
> problem down.
>
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> 0422 985 585
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks Pty Ltd
> http://afpwebworks.com
> Full Scale ColdFusion hosting from A$15/month
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[EMAIL PROTECTED] On Behalf Of Sean Corfield
> Sent: Wednesday, 24 October 2007 2:25 PM
> To: [email protected]
> Subject: [coldspring-dev] Coldspring error: can anyone tell me what this
> error means please?
>
> On 10/23/07, Mike Kear <[EMAIL PROTECTED]> wrote:
> >
> cftryResetCFCFactory2ecfm749101480.runPage
> (C:\websites\ybunp9\admin\tryReset
> > CFCFactory.cfm:47)
>
> This is where the exception originates. I'll bet there's a cfdump on that
> line.
>
> And I'll guess that somewhere in one of the CFCs that you're asking
> ColdSpring to create, something causes the above file to be included.
>
> Exceptions that occur during ColdSpring initialization can appear to
> be from ColdSpring when they're actually from your own code.
> --
>
>
>
>
>
>
>

Reply via email to