Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running Play Framework 2.0 on Tomcat?

I can't find any information about deploying Play Framework 2.0 on Tomcat, is it even possible? If so, where can I find any info regarding it.

like image 820
Rob Fox Avatar asked Mar 16 '12 12:03

Rob Fox


People also ask

How do I run play framework in Windows?

To run the Play framework, you need JDK 6 or later. If you are using MacOS, Java is built-in. If you are using Linux, make sure to use either the Sun JDK or OpenJDK (and not gcj, which is the default Java command on many Linux distros). If you are using Windows, just download and install the latest JDK package.


2 Answers

Sadly, it is not supported in the Play 2.0 release. Looks like the feature got pushed to 2.1, here is the the ticket.

Update

There is a plugin that aims are war support for Play 2: https://github.com/dlecan/play2-war-plugin/

like image 65
mguymon Avatar answered Sep 20 '22 17:09

mguymon


The Asynchronous IO model is not supported by Servlet 3.0 containers. See post by one of the committers below:

"We are experimenting with this right now, however, it looks like what we need is JSR-340 JSR-340: http://jcp.org/en/jsr/detail?id=340 timeline for JSR-340: http://java.net/projects/servlet-spec/lists/users/archive/2012-03/m... based on the timing it looks unlikely that this will be part of 2.1, so I am changing the milestone to "none"."

like image 31
fracca Avatar answered Sep 23 '22 17:09

fracca