RE: ColdFusion not seeing standard Java classes when using CFINVOKE

2008-08-29 Thread Andrew Scott
You just did...

There is really no difference between the two methods. The thing is that if
you are on a shared hosting, they lock everything down and you need to
request the tag you would like to have added. They Sandbox everything to
deny, then until someone asks they will not open it. The hosting provider
should have that information on their home page.

HTH



-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: Joel Parramore [mailto:[EMAIL PROTECTED] 
Sent: Friday, 29 August 2008 2:38 PM
To: CF-Talk
Subject: ColdFusion not seeing standard Java classes when using CFINVOKE

Hello folks,

I'm converting a CFC to use  instead of createObject becase of a
hosting provider's restrictions.  When using cfinvoke, ColdFusion (v8
Developer edition, under Windows 2003 Server) does not see standard Java
classes; however, when using createObject, there does not appear to be a
problem.  A short example:

THIS FAILS (Could not find the ColdFusion Component or Interface
java.lang.System.):
 

THIS WORKS:




If someone has encountered a similar issue and resolved it, I'd appreciate
hearing it.  Thanks in advance...

Regards,
Joel




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: ColdFusion not seeing standard Java classes when using CFINVOKE

2008-08-29 Thread Joel Parramore
>I do not believe you can use cfinvoke to create instances of Java classes--
> Only CFC's.
>

I saw in the docs the use w/CFC or web services, but I've seen enough examples 
being used with Java code that not explicitly saying that one couldn't invoke 
Java classes didn't seem to be an issue.


> Try 
> ~Brad


The hosting provider (GoDaddy) blocks using createObject and ; 
otherwise, I wouldn't need to change any code.  It may be moot, since, after 
going thru some of GoDaddy's docs on the subject, it appears that they don't 
allow the use of Java objects on a ColdFusion account. :-(

Regards,
Joel


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: ColdFusion not seeing standard Java classes when using CFINVOKE

2008-08-28 Thread Brad Wood
I do not believe you can use cfinvoke to create instances of Java classes--
 Only CFC's.

 Try http://ad.doubleclick.net/clk;203748912;27390454;j

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