folio-labs / folio-order-import-tool

Tool that imports a MARC record to create an order. This workaround is needed until FOLIO supports importing MARC records to create orders.
Apache License 2.0
5 stars 3 forks source link

App Does Not Start on Jetty 11/Tomcat 10 - Incompatability? #62

Open LibraryIT opened 2 years ago

LibraryIT commented 2 years ago

Whenever I try to start the order import app on either Jetty 11 or Tomcat 10, it doesn't start the context correctly and I end up with a 404 error. Tracking down the specific entries in the log file is not easy, but on Jetty 11 I eventually found this:

WARN :oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@553f1d75{order,/order,file:///opt/jetty/my_base/work/jetty-0_0_0_0-8443- order_war-_order-any-/webapp/,UNAVAILABLE}{/opt/jetty/my_base/webapps/order.war} java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

See the question I submitted to Stack Overflow. Stack Overflow, in turn, pointed me at another post. So I want to ask if the app is compatible with Jetty 11 and Tomcat 10.

nielserik commented 2 years ago

I think we can conclude that it's somehow not compatible with Jetty 11. Index Data's devops have experienced the same problem when installing it for customers and are staying with Jetty 10 (I believe) until we figure out what's up.

maccabeelevine commented 2 years ago

FWIW we are running it on Jetty 9.