On Sunday, October 5, 2003, 2:22:08 PM, you wrote:
MTeF> http://www.cfmentor.com/code/index.cfm?action="">
This looks promising, but I get the following error:
"/opt/coldfusionmx/runtime/jre/lib/i386/libawt.so: libXp.so.6: cannot
open shared object file: No such file or directory null The error
occurred on line 224."
[All subsequent calls return a less helpful "null null The error
occurred on line 224"]
calling template code:
<cfscript>
objImageInfo=createObject("component","tmt_java_img");
stImageInfo=objImageInfo.getDimensions("MJK.gif");
writeoutput(stImageInfo.width&" x "&stImageInfo.height);
</cfscript>
line 224 in tmt_java_img.cfc:
<cfset jBufferedImg=createObject("java","javax.imageio.ImageIO").read(jFile)>
I am running CFMX 6.1 (6,1,0,63958), with Java v1.4.2, so it seems as
though my server meets the CFC's requirements. I know the image exists
(in the same directory as the calling template and the CFC uses
relative paths by default). Missing server package? Permissions issue?
~ Ubqtous ~
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]