assets cannot display image after server restart
Posted: Wed Nov 27, 2013 12:35 pm
Hi,
I have installed the demo site (3.0.2GA) on a tomcat7 server and changed development.properties to keep data after restart. So that i can see my orders, wishlist etc ... after a reboot.
I have created a new product in admin, created an asset by uploading an image. When saving the asset, an error message is displayed 'url is required'. Looking to the assets, it has well been stored and can be used. I have thus linked the new asset to my new product and everything seams to be ok.
When I restart the server, my product and asset are still available but the asset image is not displayed. The stack trace shows the following error:
java.io.FileNotFoundException: /tmp/tomcat7-tomcat7-tmp/04/ab/5409v2.jpg (No such file or directory)
I thought that the images are stored in the DB or in a save place, not in a /tmp folder.
What do i need to change to keep my images ?
I have installed the demo site (3.0.2GA) on a tomcat7 server and changed development.properties to keep data after restart. So that i can see my orders, wishlist etc ... after a reboot.
I have created a new product in admin, created an asset by uploading an image. When saving the asset, an error message is displayed 'url is required'. Looking to the assets, it has well been stored and can be used. I have thus linked the new asset to my new product and everything seams to be ok.
When I restart the server, my product and asset are still available but the asset image is not displayed. The stack trace shows the following error:
java.io.FileNotFoundException: /tmp/tomcat7-tomcat7-tmp/04/ab/5409v2.jpg (No such file or directory)
I thought that the images are stored in the DB or in a save place, not in a /tmp folder.
What do i need to change to keep my images ?