Ah, the WstxInputFactory is because of some system properties we were
crudely using.

-Djavax.xml.stream.XMLEventFactory=com.ctc.wstx.stax.WstxEventFactory
-Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory
-Djavax.xml.stream.XMLOutputFactory=com.ctc.wstx.stax.WstxOutputFactory

I guess jetty now using javax.xml.stream and so was broken by that.

Don't think that is why JSP compilation is not working.

On 12 June 2018 at 23:03, Lord Buddha <lord.bud...@gmail.com> wrote:

> Have just attempted to do this upgrade.
>
> Apps all deploy, but am getting the following so no JSP's compile.
>
> INFO   | jvm 1    | 2018/06/12 17:20:11 | [qtp687479235-48] WARN
> org.eclipse.jetty.server.handler.ErrorHandler - EXCEPTION
> INFO   | jvm 1    | 2018/06/12 17:20:11 | javax.servlet.ServletException:
> java.lang.NoClassDefFoundError: Could not initialize class
> org.apache.jasper.compiler.EncodingDetector
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at org.eclipse.jetty.jsp.
> JettyJspServlet.service(JettyJspServlet.java:112)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at javax.servlet.http.
> HttpServlet.service(HttpServlet.java:790)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:857)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(
> ScopedHandler.java:146)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at
> org.eclipse.jetty.security.SecurityHandler.handle(
> SecurityHandler.java:566)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(
> HandlerWrapper.java:132)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at
> org.eclipse.jetty.server.handler.ScopedHandler.
> nextHandle(ScopedHandler.java:257)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at
> org.eclipse.jetty.server.session.SessionHandler.
> doHandle(SessionHandler.java:1595)
>
>
> Am also getting (before the above error, but they don't look related).
>
> INFO   | jvm 1    | 2018/06/12 17:20:11 | javax.servlet.ServletException:
> javax.servlet.ServletException: javax.xml.stream.FactoryConfigurationError:
> Provider com.ctc.wstx.stax.WstxInputFactory not found
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at
> org.eclipse.jetty.server.handler.HandlerCollection.
> handle(HandlerCollection.java:146)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at
> org.eclipse.jetty.server.handler.StatisticsHandler.
> handle(StatisticsHandler.java:169)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(
> HandlerWrapper.java:132)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at
> org.eclipse.jetty.server.Server.handle(Server.java:531)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at
> org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at
> org.eclipse.jetty.server.HttpConnection.onFillable(
> HttpConnection.java:260)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at org.eclipse.jetty.io.
> AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at org.eclipse.jetty.io.
> FillInterest.fillable(FillInterest.java:102)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at org.eclipse.jetty.io.
> ChannelEndPoint$2.run(ChannelEndPoint.java:118)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
> QueuedThreadPool.java:762)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at
> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(
> QueuedThreadPool.java:680)
> INFO   | jvm 1    | 2018/06/12 17:20:11 |       at
> java.lang.Thread.run(Thread.java:748)
>
> We deploy on a JRE....  Always have.   Currently on 1.8.0_172.
>
> Anybody any ideas on this limited info ?
>
>
>
>
>
_______________________________________________
jetty-users mailing list
jetty-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to