• Welcome to KonaKart Community Forum. Please login or sign up.
 

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - bruno_tixtus

1
Configuration of KonaKart / Images cache and tomcat
September 03, 2014, 05:50:35 pm
Hi everyone,
I have a problem with the images folder on bundle liferay tomcat 7 (on mac), but I think that is the same problem with every tomcat implementations.

My configurations on konakartadmin are:
- Image base URL: http://localhost:8080/konakart/konakart/images
- Image base path: /Users/myuser/workspaces/appcontainers/portal-6.1.2-ce-ga3/tomcat-7.0.40/webapps/konakart/konakart/images
- Store-Front base: /konakart
- Store-Front image base: /konakart/images

With this data was posible view images on Konakartadmin and Konakart Liferay portlet... but, when a try to put my own images, only get a broken link image. I take a look in to structure of my new image link and was the same that the old images... no mayor diferences (just the number, no poblem).

Example:
old -> http://localhost:8080/konakart/konakart/images/prod/0/0/1/F/001F1EAA-2910-440E-BB8D-C714E0E859B4_1_big.jpg?r=1303004001

new -> http://localhost:8080/konakart/konakart/images/prod/0/0/1/F/001F1EAA-2910-440E-BB8D-C714E0E859B4_2_big.jpg?r=319957023

If I check on image folder (/tomcat-7.0.40/webapps/konakart/konakart/images/prod/0/0/1/F/) the file "001F1EAA-2910-440E-BB8D-C714E0E859B4_2_big.jpg" exists (with the others version too: _tiny, _small and _medium) then, uploader is working good.

If copare /tomcat-7.0.40/webapps/konakart/konakart/images with /tomcat-7.0.40/temp/0-konakart/konakart/image/ new files are not in the temp folder. For this observation, I restarted the server. In this process, new files was copied to temp solving my problem. But my question is: Is necesary restart tomcat every time that a upload a new image? or what is the right configuration to enable inmediately new images.

My best regards
(sorry for my english, I'm spanish speaker).