Hey,

I'm no Java guru, but I don't see a constructor class or init method in this
function.

Regards
Dale Fraser


> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Mark Mandel
> Sent: Tuesday, 21 March 2006 13:02 PM
> To: [email protected]
> Subject: [cfaussie] Re: Call Java Class (Java Code Attached)
> 
> Actually - what just popped into my head -
> 
> Try this -
> 
> <cfscript>
>   myObj = createObject("java", "IceKey").init();
> </cfscript>
> 
> I have found on occasion you actually need to explicitly call the default
> constructor on the Java object, otherwise you get weirdness.
> 
> I'm not really sure why it is, I have a feeling it may have something to
> do with static attributes - therefore I tend to call init() on all
> constructors by default.
> 
> Try that, and see if that works.
> 
> Mark
> 
> 
> 
> On 3/21/06, Dale Fraser <[EMAIL PROTECTED]> wrote:
> 
>       Ok,
> 
>       It's called IceKey.java a ICE encryption class off the net.
> 
>       We use this here in Java land, and I want to get it working for CF.
> 
>       The main three methods
> 
>       Set     Set Key
>       Encrypt Encrypt Data
>       Decrypt Decrypt Data
> 
>       Regards
>       Dale Fraser
> 
> 
>       > -----Original Message-----
>       > From: [email protected] <mailto:[email protected]>
> [mailto:[EMAIL PROTECTED] On
>       > Behalf Of Mark Mandel
>       > Sent: Tuesday, 21 March 2006 09:08 AM
>       > To: [email protected] <mailto:[email protected]>
>       > Subject: [cfaussie] Re: Call Java Class
>       >
>       > Can we see the Java Code?
>       >
>       > I'm running out of ideas why this isn't working for you...
>       >
>       > Mark
>       >
>       >
>       > On 3/20/06, Dale Fraser < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> >
>       > wrote:
>       >
>       >
>       >       Error Occurred While Processing Request
>       >       IceKey
>       >
>       >
>       >       The error occurred in D:\Tools\Web\test.cfm: line 29
>       >
>       >       27 :
>       >       28 :    <cfif NOT Arguments.isMetadata>
>       >       29 :            <cfset class = Arguments.Object.getClass()>
>       >       30 :    <cfelse>
>       >       31 :            <cfset class = Arguments.Object>
>       >
>       >
>       >
>       >
>       >       Regards
>       >       Dale Fraser
>       >
>       >
>       >
>       >
>       >
>       > --
>       > E: [EMAIL PROTECTED]
>       > W: www.compoundtheory.com
>       > ICQ: 3094740
> 
>       --
>       E: [EMAIL PROTECTED]
>       W: www.compoundtheory.com
>       ICQ: 3094740
> 
> 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to