HunterO
HunterO

Reputation: 47

Deploying a Play 2.1 App with Tomcat

I have a play app I've converted to a .war file with play2war and now need to deploy that to tomcat.

Which files do I have to move over to my webapps directory within tomcat and do I need to unpack the war file?

Using Tomcat 7, FYI.

Upvotes: 3

Views: 3427

Answers (1)

n4cer
n4cer

Reputation: 155

The questions was already answered in the comments.

With 'play war' you can generate the war file. Copy this file to the webapps folder and tomcat will unpack it.

https://github.com/play2war/play2-war-plugin/wiki/Usage

https://github.com/play2war/play2-war-plugin/wiki/Deployment

Upvotes: 2

Related Questions