I have an application built on spray + akka. using this guide:
http://sysgears.com/articles/building-rest-service-with-scala/
It explains this example: https://github.com/oermolaev/simple-scala-rest-example
The application is working just fine. But when trying to deploy on a webServer I didn't find a way to do that.
I've tried to use xsbt-web-plugin to deploy on Tomcat, got the following input:
~container:start
[info] starting server ... Adding Context for target/webapp ...
Starting service Tomcat Starting Servlet Engine:
Apache Tomcat/7.0.34 org.apache.catalina.startup.ContextConfig
getDefaultWebXmlFragment INFO: No global web.xml found
org.apache.coyote.AbstractProtocol start INFO: Starting
ProtocolHandler ["http-nio-8080"]
But Tomcat is returning 404 for all the requests.
Does someone know how can I deploy a spray akka application on Tomcat?