KTML for JSP Forum :: ImageMagick not working
This thread was displayed: 422 times
Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.
For more information about the affected products visit: www.interaktonline.com/Support/
Wiley Jacobs
06-09-2006 06:12:22 GMT +2
|
I've tried to configure imagemagick for KHTML JSP, although it's not working. I have configured the KTML_IMAGEMAGICK_PATH in the ktml4.config.properties that is the in the WEB-INF folder on both a windows and a Solaris machine. On windows On Solaris: KTML_PREFFERED_LIBRARY=imagemagick
KTML_IMAGEMAGICK_PATH=/usr/sfw/bin/ and Windows: KTML_PREFFERED_LIBRARY=imagemagick
KTML_IMAGEMAGICK_PATH=d:\\storage\\ImageMagick\\ I've verified the directories and they are current. I can execute the convert command from either one of them (Solaris or Windows).
Is there something that I'm missing? Wiley
|
|
|
Remus STRATULAT[InterAKT Online]
06-12-2006 10:46:23 GMT +2
|
For JSP the properties are:
KTML_PREFFERED_LIBRARY=imagemagick
KTML_FILEBROWSER_PATH=d:\\storage\\ImageMagick\\
|
|
|
Wiley Jacobs
06-12-2006 11:47:10 GMT +2
|
Hi, thanks for getting back to me on this. I tried what you sent me and it worked on the windows machine, although not altogether for the solaris box (soon to be production machine). It seems as though ImageMagick is attempting to process it, although the thumbnail window shows me this error: Error converting image (thumbnail). [Ljava.lang.String;13887c2. I have the following configuration for my ktml4.config.properties file: KTML4_THUMBNAIL_FOLDER=.thumbnails/ KTML4_THUMBNAIL_WIDTH=100 KTML4_THUMBNAIL_HEIGHT=100 KTML_PREFFERED_LIBRARY=imagemagick KTML_FILEBROWSER_PATH=/usr/sfw/bin/ KTML_IMAGEMAGICK_PATH=/usr/sfw/bin/
On the tomcat console it shows the ExitValue as: 198 At least we are making progress as it seems to be using ImagMagick now. Is there a log file or a debug I can set to help with the troubleshooting? Thank you!
|
|
|
Cristian IVASCU[InteraktOnline]
06-12-2006 14:19:42 GMT +2
|
Hi Wiley,
First off try the following:
- Check what version of ImageMagick is installed on the Solaris box. If possible and needed install the latest one.
- In the configuration file try to enter /usr/sfw/bin (without the trailing / ).
- Check if you have set the correct user permissions for the destination and temporary folders.
- Check if you can run imagemagick with the thumbnail options from the command line.
If the problem still persists, post a reply and attach the log file of Tomcat. You can find it in the tomcat root/logs, or if possible, provide details for a FTP connection to the machine so we can debug this issue further. Make sure you post the details in a private post.
Regards,
Cristian
|
|
|
benjamin wende
07-15-2009 19:32:40 GMT +2
|
|
|
|