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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2.
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273112
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4