The images is not static. It is image of product user can upload and remove. Should I create a server to save these image?
2012/5/15 Deepak Agarwal <[email protected]> > 1) What error coming while trying for cluster ? > 2) images, css, js and any other static content should be kept on a > separate (Preferrably multiple if load is very high) servers. Lets say you > have a node C , then keep the static files in > /usr/share/tomcat/webapps/static/ (hypothetical location) and start this > server . Now, in your ofbiz directory modify > framework/webapps/config/url.properties with > > content.url.prefix.secure=https://<CServerlocation>:<PORT>/static/ > content.url.prefix.standard=http://<CServerlocation>:<PORT>/static/ > > Now, all your static files url will get prepended with above url > automatically and hence you page loading will be very fast. > > On Tue, May 15, 2012 at 10:00 AM, 李明洋 <[email protected]> wrote: > > > Our ofbiz run on a server now. I intend to create ofbiz cluster with 2 > > nodes. I follow the guide and tried many times, but failed. Could you > show > > me your config files which you modified? I think there is another > problem, > > there are > > images of product in '/framework/image' directory which upload by client. > > If I move the instance of ofbiz from a single server to cluster, whether > I > > have to move these images to another server which the 2 nodes can't > visit. > > Have you encounted this problem and resolved? Could you give me some > > suggestion? > > > > thanks in advance > > >
