Flavian Alexandru
2018-09-23 20:10:56 UTC
Hi, this is more of a casual notice, but there appear to have been
divergences between the latest Lift and Tomcat, somehow in the core Servlet
API things have been made incompatible to the point which Lift can no
longer load. Boot.scala is never called, and even a topline println
statement wouldn't get triggered, in spite of no errors.
The major use case I can think of is native webapp deployment support from
Amazon EC2, which we have been running in prod for years. Two interesting
avenues could potentially diverge.
1. Is there any possibility to run Lift on top of Netty? Are there any such
ongoing efforts? They may well provide a welcome increase in the adoption
curve of Lift, so people who appreciate its beauty are not confined to use
a low quality half Java piece of software like Play. There are many many
things Lift does a lot better, but of course the enterprise adoption curve
of Play has definitely helped with supportability.
2. Is there any scope to include Tomcat testing in Lift releases by
default? Anyone running AWS EC2 Java/Tomcat will be left with a non working
app. There are no meaningful error logs, what I think is happening is
pretty bland, namely the init sequence in Tomcat has somehow changed to the
point where Lift is never triggered. You get a blank error log with no apps
running, but this could well be symptoms localised to my machine.
This has "worsened" over the past few releases, in the sense that before it
was only the CSP acting out, now it seems Lift doesn't get loaded at all.
The fix locally was super simple, use Jetty, and everything worked just as
expected, using:
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.0.2")
--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
divergences between the latest Lift and Tomcat, somehow in the core Servlet
API things have been made incompatible to the point which Lift can no
longer load. Boot.scala is never called, and even a topline println
statement wouldn't get triggered, in spite of no errors.
The major use case I can think of is native webapp deployment support from
Amazon EC2, which we have been running in prod for years. Two interesting
avenues could potentially diverge.
1. Is there any possibility to run Lift on top of Netty? Are there any such
ongoing efforts? They may well provide a welcome increase in the adoption
curve of Lift, so people who appreciate its beauty are not confined to use
a low quality half Java piece of software like Play. There are many many
things Lift does a lot better, but of course the enterprise adoption curve
of Play has definitely helped with supportability.
2. Is there any scope to include Tomcat testing in Lift releases by
default? Anyone running AWS EC2 Java/Tomcat will be left with a non working
app. There are no meaningful error logs, what I think is happening is
pretty bland, namely the init sequence in Tomcat has somehow changed to the
point where Lift is never triggered. You get a blank error log with no apps
running, but this could well be symptoms localised to my machine.
This has "worsened" over the past few releases, in the sense that before it
was only the CSP acting out, now it seems Lift doesn't get loaded at all.
The fix locally was super simple, use Jetty, and everything worked just as
expected, using:
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.0.2")
--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.