I've encountered strange problem, staticDir:public not found in webapp hosted on jElastic. It really seems to happen on jElastic, but I don't think it's their problem.
So, I have war created with Play! framework, and it works perfectly on my local tomcat 7.0, but when hosted on jElastic nothing in public static directory is found. E.g. http://bingo.jelastic.com/eshop/public/images/cart.png
Also, I don't think it's the problem that webapp is deployed as an archive, because I create local files in the application, and they are served perfectly.
Note, workaround is to copy public contents to webapp, but this is not a solution, because it really is in WEB-INF/application/.
What could be the problem? How is serving of /public/ is done in Play! framework?
> I've encountered strange problem, staticDir:public not found in webapp
> hosted on jElastic. It really seems to happen on jElastic, but I don't think
> it's their problem.
> So, I have war created with Play! framework, and it works perfectly on my
> local tomcat 7.0, but when hosted on jElastic nothing in public static
> directory is found. E.g.http://bingo.jelastic.com/eshop/public/images/cart.png
> Also, I don't think it's the problem that webapp is deployed as an archive,
> because I create local files in the application, and they are served
> perfectly.
> Note, workaround is to copy public contents to webapp, but this is not a
> solution, because it really is in WEB-INF/application/.
> What could be the problem? How is serving of /public/ is done in Play!
> framework?
> On 24 авг, 15:21, Andriy Zhdanov <azhda...@gmail.com> wrote:
> > Hi,
> > I've encountered strange problem, staticDir:public not found in webapp
> > hosted on jElastic. It really seems to happen on jElastic, but I don't think
> > it's their problem.
> > So, I have war created with Play! framework, and it works perfectly on my
> > local tomcat 7.0, but when hosted on jElastic nothing in public static
> > directory is found. E.g.http://bingo.jelastic.com/eshop/public/images/cart.png
> > Also, I don't think it's the problem that webapp is deployed as an archive,
> > because I create local files in the application, and they are served
> > perfectly.
> > Note, workaround is to copy public contents to webapp, but this is not a
> > solution, because it really is in WEB-INF/application/.
> > What could be the problem? How is serving of /public/ is done in Play!
> > framework?
> > On 24 авг, 15:21, Andriy Zhdanov <azhda...@gmail.com> wrote:
> > > Hi,
> > > I've encountered strange problem, staticDir:public not found in webapp
> > > hosted on jElastic. It really seems to happen on jElastic, but I don't think
> > > it's their problem.
> > > So, I have war created with Play! framework, and it works perfectly on my
> > > local tomcat 7.0, but when hosted on jElastic nothing in public static
> > > directory is found. E.g.http://bingo.jelastic.com/eshop/public/images/cart.png
> > > Also, I don't think it's the problem that webapp is deployed as an archive,
> > > because I create local files in the application, and they are served
> > > perfectly.
> > > Note, workaround is to copy public contents to webapp, but this is not a
> > > solution, because it really is in WEB-INF/application/.
> > > What could be the problem? How is serving of /public/ is done in Play!
> > > framework?