I'm sorry. As far as I know, and a quick Google search can tell me, one can not use <cfinvoke...> for java objects. <cfinvoke...> and the createObject() functions are quite interchangeable for ColdFusion components. But java objects are a different beast that requires either createObject() or <cfobject...> to access.
Unfortunately the very reason these two functions are disabled is that access to the underlining java on a shared host would allow malicious developers to gain more control of the server then they should have and to hack or interfere with the other clients sharing the server. As far as I know there is no way to allow access to only benign java objects such as java.awt.image.BuffereImage and not dangerous ones such as coldfusion.server.ServiceFactory.
1 person found this helpful
I do not believe you can use cfinvoke directly on Java objects, you'd need either createObject, as you already have, or cfobject. Did they disable cfobject as well?
Are you on CF7 or 8? If your host has CF8, you can use the new cfimage tag to quickly and easily resize your image. On 7, you can try ImageCFC but it'll probanly have the same issue you're experiencing since it relies on CF's Java libraries:
Godaddy's ColdFusion offerings are ColdFusion 7 unfortunatly.
I'm affraid your only likely choice is another hosting provider that better matches your needs. I'm not even sure that Godaddy would allow you to install any of the custom tags that allowed image manipulations in older verions of ColdFusion. While I happily use Godaddy for my personal vanity site. I recognize them as offering a very limited version of ColdFusion and do not rely on their custermer support for anything.
Looks like I need to find another host for things like this. Thank you guys for the help.