I restarted the server and it is still not working.

>Rust, did you restart the server? I've found I have to do that with any
>.jar or .class files I add to the lib directory. HTH,
>
>Phil
>
>-----Original Message-----
>From: Rusty Owens [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, March 20, 2007 10:39 AM
>To: CF-Talk
>Subject: SEMI OT: java class path question
>
>I am having a problem working on something. I have been given a Java
>object to reference. I have placed the jar file in the cfusionMX7\lib
>directory. I placed it there because I don't know enough about Java
>to know where to place it and that is where the other jar files. The
>code to reference the java object is below.
>
>
><cfobject action="create" type="java"
>class="com.compassweb.util.RemoteKeyStoreClient" name="youNameIt">
><cfset remoteKey=youNameIt.getEncryptionKey("test1")>
>
><!--- encrypt and decrypt using the remote key --->
><cfobject action="create" type="java"
>class="com.compassweb.util.Encrypter" name="youNameIt2">
><cfset encryptedData=youNameIt2.encrpt("your data", remoteKey)>
><cfset decryptedData=youNameIt2.decrpt(encryptedData, remoteKey)>
><cfoutput>#decryptedData#</cfoutput>
>
>
>I am getting the error below. Any ideas on what I am doing wrong?
>
>Object Instantiation Exception.
>Class not found: com.compassweb.util.RemoteKeyStoreClient

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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

Reply via email to