[play-framework] staticDir:public not found in webapp hosted on jElastic

62 views
Skip to first unread message

Andriy Zhdanov

unread,
Aug 24, 2011, 8:21:53 AM8/24/11
to play-fr...@googlegroups.com
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?

Thank you.

Anton Liaskovskyi

unread,
Aug 25, 2011, 8:58:04 AM8/25/11
to play-framework
Hello Andriy!
We are Jelastic team!

Thankf for using Jelastic!

We are trying to fix problem that you have. We will let you when we
fix it.

If you have any questions with Jelastic you can go to http://support.jelastic.com
and ask us.

Thanks.


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

Andriy Zhdanov

unread,
Aug 25, 2011, 11:41:14 AM8/25/11
to play-framework
Hi Anton,

Thank you for taking care of it in play! mail list, I thought I should
have created a ticket in support.jelastic :)

On Aug 25, 2:58 pm, Anton Liaskovskyi <anton.liaskovs...@hivext.net>
wrote:
> Hello Andriy!
> We are Jelastic team!
>
> Thankf for using Jelastic!
>
> We are trying to fix problem that you have. We will let you when we
> fix it.
>
> If you have any questions with Jelastic you can go tohttp://support.jelastic.com

Anton Liaskovskyi

unread,
Aug 29, 2011, 4:53:00 AM8/29/11
to play-framework
Hello Andriy!

Now we are remaking the mechanism of handling static content. This
mechanism will be more universal.
Reply all
Reply to author
Forward
0 new messages