Hello Jetty users,

We are facing issue while upgrading jetty v6 to jetty v9.4.15. We have used 
dependency jars shipped with Jetty distribution v9.4.15:
Though server get started successfully, when try to access Login  page ( a JSP 
page ) it does not get displayed on the screen.
Rather we get "error 503" with java.lang.IllegalStateException.

For all filter's mentioned in web.xml, Init() method gets called but doFilter() 
does not get called.

Also find attached file "classpath_Error_reproduced.xml" which has all the 
jetty files which we have used in our workspace.

Can anyone help us out to resolve current issue we are facing ?

Here is the call stack & error we get on browser :

HTTP ERROR 503

Problem accessing /ediscovery/login.jsp. Reason:

    Service Unavailable

Caused by:

javax.servlet.ServletException: org.eclipse.jetty.servlet.ServletHolder$1: 
java.lang.IllegalStateException: No org.apache.tomcat.InstanceManager set in 
ServletContext
                at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
                at 
org.eclipse.jetty.server.handler.DebugHandler.handle(DebugHandler.java:83)
                at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
                at org.eclipse.jetty.server.Server.handle(Server.java:502)
                at 
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370)
                at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
                at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
                at 
org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
                at 
org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:427)
                at 
org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:321)
                at 
org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:159)
                at 
org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
                at 
org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
                at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
                at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
                at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
                at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
                at 
org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
                at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
                at 
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
                at java.lang.Thread.run(Thread.java:812)
Caused by: org.eclipse.jetty.servlet.ServletHolder$1: 
java.lang.IllegalStateException: No org.apache.tomcat.InstanceManager set in 
ServletContext
                at 
org.eclipse.jetty.servlet.ServletHolder.makeUnavailable(ServletHolder.java:630)
                at 
org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:689)
                at 
org.eclipse.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:520)
                at 
org.eclipse.jetty.servlet.ServletHolder.prepare(ServletHolder.java:811)
                at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:537)
                at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
                at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
                at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
                at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
                at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1701)
                at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
                at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
                at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
                at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
                at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1668)
                at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
                at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
                at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
                at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220)
                at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
                ... 20 more
Caused by: java.lang.IllegalStateException: No 
org.apache.tomcat.InstanceManager set in ServletContext
                at 
org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(InstanceManagerFactory.java:32)
                at 
org.apache.jasper.runtime.TagHandlerPool.init(TagHandlerPool.java:78)
                at 
org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(TagHandlerPool.java:58)
                at 
com.ibm.es.nuvo.ediscovery.ui.jsp.login_jsp._jspInit(login_jsp.java:129)
                at 
org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:49)
                at 
org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:671)
                ... 38 more

Caused by:

org.eclipse.jetty.servlet.ServletHolder$1: java.lang.IllegalStateException: No 
org.apache.tomcat.InstanceManager set in ServletContext
                at 
org.eclipse.jetty.servlet.ServletHolder.makeUnavailable(ServletHolder.java:630)
                at 
org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:689)
                at 
org.eclipse.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:520)
                at 
org.eclipse.jetty.servlet.ServletHolder.prepare(ServletHolder.java:811)
                at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:537)
                at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
                at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
                at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
                at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
                at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1701)
                at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
                at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
                at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
                at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
                at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1668)
                at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
                at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
                at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
                at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220)
                at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
                at 
org.eclipse.jetty.server.handler.DebugHandler.handle(DebugHandler.java:83)
                at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
                at org.eclipse.jetty.server.Server.handle(Server.java:502)
                at 
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370)
                at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
                at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
                at 
org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
                at 
org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:427)
                at 
org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:321)
                at 
org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:159)
                at 
org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
                at 
org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
                at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
                at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
                at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
                at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
                at 
org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
                at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
                at 
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
                at java.lang.Thread.run(Thread.java:812)
Caused by: java.lang.IllegalStateException: No 
org.apache.tomcat.InstanceManager set in ServletContext
                at 
org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(InstanceManagerFactory.java:32)
                at 
org.apache.jasper.runtime.TagHandlerPool.init(TagHandlerPool.java:78)
                at 
org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(TagHandlerPool.java:58)
                at 
com.ibm.es.nuvo.ediscovery.ui.jsp.login_jsp._jspInit(login_jsp.java:129)
                at 
org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:49)
                at 
org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:671)
                ... 38 more

Powered by Jetty:// 9.4.15.v20190215

Thanks & Regards,
Sujay
DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.

Attachment: classpath_Error_reproduced.xml
Description: classpath_Error_reproduced.xml

_______________________________________________
jetty-users mailing list
jetty-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to