Page 1 of 1

Image copy problem

Posted: Sat Oct 11, 2014 1:10 am
by prabhat.kataria
I am a bit puzzled by how images are copied to asset.server.file.system.path folder in dev and prod environment. When I run application in dev environment all image files seems to be copied smoothly but in prod environment some of the image files do not get copied.

Do I need to do some settings for prod environment?

Re: Image copy problem

Posted: Sun Oct 12, 2014 9:58 pm
by phillipuniverse
What specific problem are you experiencing in production?

Re: Image copy problem

Posted: Thu Nov 06, 2014 11:06 am
by prabhat.kataria
The problem I am facing is FileNotFoundException. See below exception logs:

Code: Select all

[ERROR] 12 Oct 2014 05:37:10 StaticAssetViewController - Unable to retrieve static asset
java.io.FileNotFoundException: /temp/4f/35/habanero_mens_red.jpg (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:146)



Code: Select all

[ERROR] 12 Oct 2014 05:37:12 StaticAssetViewController - Unable to retrieve static asset
java.io.FileNotFoundException: /temp/e5/c4/habanero_mens_silver.jpg (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:146)