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
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273117
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