Actually, I stand corrected. Even though I still think it would be insane if
the host isn't disabling access to the internal CF Java components, calling
getClass() on any CFC throws the same error, regardless of whether the CF
Java object access is disabled or not.

On 10/25/07, Brian Kotek <[EMAIL PROTECTED]> wrote:
>
> Mike, this sounds highly suspect. There is simply no way that a shared
> host like HostMySite would not be blocking user attempts to create instances
> of the internal CF Java classes. You're telling me you can to this on the
> shared server?
>
> <cfset dsService = CreateObject("java", 
> "coldfusion.server.ServiceFactory").DataSourceService
> />
>
> There's just no way...if this is true, you should be switching hosting
> providers immediately.
>
> I have also tested this and trying to call getClass() on an instance of
> the Bean Factory triggers your exact error:
>  The method getClass was not found in componentThis is definitely the
> problem. I'm pretty sure someone at HostMySite either doesn't understand
> what you're asking them, or they're lying to you.
>
>
> On 10/24/07, Mike Kear <[EMAIL PROTECTED]> wrote:
> >
> > This issue has now morphed into another issue.   I was getting an
> > error which I thought was coldspring-caused but which actually turned
> > out to be caused by the CFDUMP tag i was using to check the result.
> >
> > So i set about wanting to get hostmysite to change and allow access to
> > internal java components in the CF8 only to find that setting is
> > currently UNCHECKED.
> >
> > Correct me if i'm wrong, but that means all kinds of CFDUMP should be
> > allowed, shouldnt they?
> >
> > What does that mean (if anything) to the theory that my error was
> > caused by the CFDUMP tag not coldspring?
> >
> > Cheers
> > Mike Kear
> > Windsor, NSW, Australia
> > Adobe Certified Advanced ColdFusion Developer
> > AFP Webworks
> > http://afpwebworks.com
> > ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month
> >
> >
> >
> >
> > On 10/25/07, Sean Corfield <[EMAIL PROTECTED]> wrote:
> > > On 10/24/07, Andrew Scott <[EMAIL PROTECTED]> wrote:
> > > > Ok as a test I did what Mike is trying to do here locally.
> > > >
> > > > cfdump works fine with the setting of  Disable access to internal
> > > > ColdFusion Java components.
> > >
> > > You didn't test thoroughly enough. See Mark Mandel's comment: you can
> > > cfdump *some* things with that setting enabled but not all things.
> > >
> > > > So that is not Mikes problem...
> > >
> > > Yup, definitely is.
> > > --
> > > Sean A Corfield -- (904) 302-SEAN
> > > An Architect's View -- http://corfield.org/
> > >
> > > "If you're not annoying somebody, you're not really alive."
> > > -- Margaret Atwood
> > >
> > >
> >
> > 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292038
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to