> The following code illustrates the call from ColdFusion to the SDK:
> var serverInfo = createObject("java",
> "com.arcot.xfms.XFMS_Java_API$ServerInfo").init(
> VARIABLES.clientOptions.host,
> VARIABLES.clientOptions.port,
> VARIABLES.clientOptions.transport,
>  30,  5, 8,  4,
>
> VARIABLES.clientOptions.TrustedCACertFile,
>
> VARIABLES.clientOptions.ClientCertFile,
>
> VARIABLES.clientOptions.ClientKeyFile);
>
> This returns an error: Cannot get key bytes, not PKCS#8 encoded. If,
> however, I wrap this in a java class and execute from command line it works
> just fine. It just refuses to work when called from ColdFusion.

How are you providing the key file to the Java class from within CF?
Are you just reading it via CFFILE? I suspect that's the problem,
although I don't know what the solution would be exactly. When you
execute the Java class from the command line, how are you providing
the file in that case?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352809
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to