Thanks, James. That was it, sort of. Once I logged the path I found out that the directory (/images/captcha) didn't even exist. Once I created it everything came up as expected.
Thanks for getting me on the right path. After a while I get a little blinded by my frustration. Rob On 4/11/07, James Holmes <[EMAIL PROTECTED]> wrote: > Make sure the filesystem allows you to write to the folder in which > the image is being written. Check what's returned by > getFileLocation(). > > On 4/12/07, Rob Wilkerson <[EMAIL PROTECTED]> wrote: > > Hey all - > > > > It's getting late and I'm getting frustrated/desperate. I'm trying to > > get BlogCFC installed on a Linux box running CFMX 7. Everything's > > running fine (as far as I can tell so far) except for CAPTCHA. When I > > launch the window to add a comment the image is broken. When I call > > the CAPTCHA URI in an iframe (so I can see the error), I get: > > > > An exception occurred when instantiating a java object. The cause of > > this exception was that: . > > The error occurred in /path/to/org/captcha/captchaService.cfc: line 145 > > Called from /path/to/org/captcha/captchaService.cfc: line 120 > > Called from /wwwroot/showCaptcha.cfm: line 2 > > Called from /path/to/org/captcha/captchaService.cfc: line 145 > > Called from /path/to/org/captcha/captchaService.cfc: line 120 > > Called from /wwwroot/showCaptcha.cfm: line 2 > > > > 143 : <cfelseif arguments.type IS "file"> > > 144 : <cfset tempFileLocation = getFileLocation() /> > > 145 : <cfset stream = createObject("java", > > "java.io.FileOutputStream").init(tempFileLocation) /> > > 146 : <cfset results.type = "file" /> > > 147 : <cfset results.fileLocation = tempFileLocation /> > > > > I can't find any information via Google, but I'm sure I'm just missing > > a setting. I set this whole deal up fairly hastily, but I can't > > figure out what I didn't do. If anyone's seen this before and can > > lend a helping hand, I'd certainly appreciate it. > > > > Thanks. > > > > Rob > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275053 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4