I'm new to calling java objects from railo, but I believe that these few lines of code should work:
<cfset cred = createObject("java","com.amazonaws.auth.BasicAWSCredentials").init(application.s3accessKeyid,application.s3SecretKey) />
<cfset client = createObject("java","com.amazonaws.services.s3.AmazonS3Client").init(cred) />
The cred object works fine, but when the client object gets created, i get the following error:
java.lang.NoClassDefFoundError
org/apache/http/impl/conn/PoolingClientConnectionManager
I have put the aws sdk jar file into the [home]/lib path as instructed at the link below but i can't seem to get around this error:
Could one of the local guru's point me in the right direction?