Link to home
Start Free TrialLog in
Avatar of Coast Line
Coast LineFlag for Canada

asked on

very stupid Coldfusion Jar Java Error!

I am using Coldfusion's ImageUTILS.CFC Component and Tyring to generate the images dyanmically!

Well when i run on my PC using CF 9 it works great!

now i run the same on my host and i get this error:

Message  	 Could not initialize class javax.media.jai.JAI
StackTrace 	java.lang.NoClassDefFoundError: Could not initialize class javax.media.jai.JAI at coldfusion.image.Image.paste(Image.java:2307) at coldfusion.runtime.CFPage.ImagePaste(CFPage.java:5877) at cfemaillogo2ecfm1798672233.runPage(E:\Domains\mysite.com\wwwroot\project\logo.cfm:53) at 

Open in new window


anypne knows how to clear this error!

i raised an support ticket with my host but i still pasted here as some mite know how to overcome such an issue!
Avatar of TumnusLikesTurtles
TumnusLikesTurtles
Flag of United States of America image

Uninstall jai and make sure only 1 jai jar is in your classpath.
Avatar of Coast Line

ASKER

i said my host has issue! i will send ur comemnets to them and then see what goes on
which version of cf is your host running?
does  your host allows unrestricted use of createobject() function?

Azadi
yes they do allow the unrestricted use of createobject

they have disabled the cfexecute tag only

coldfusion 8 + path they say they have applied the 8.0.1

host is hostingtoaz.com
ASKER CERTIFIED SOLUTION
Avatar of azadisaryev
azadisaryev
Flag of Hong Kong image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks! My Host is looking into it!