Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Issue while upgrading jetty
  • From: Sujay Pujari <sujay_pujari@xxxxxxxxxxxxxx>
  • Date: Tue, 14 Jan 2020 18:45:20 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=persistent.com; dmarc=pass action=none header.from=persistent.com; dkim=pass header.d=persistent.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VdaHjCYrcr5fcljT9bX4vGdjW4ogt3DLiBPpmFRDtxI=; b=KjpjqRJdakBkqog4Mo/npfej4Tkqo/SsUu3k7GzdfQz7pfP+OMYchAWREvJ4IS7qVagVnBLq2FXTKitWEeTlfRKJVIsR/YDmK7T4KNUeKenbSz9yBuC30/BNWqhi9CysmhJkyKHclf/LuEEwiXT+k6tZtTuJWe4eWVDd5xB8hkC1T1usy4B3eO/l1cKif4W6QGzSd/an2C5FnMLs6IQJ9IYObZPMQcfdaXJ2afamcuwiqKx8aY0+Zw4XCfyl6GtAV73E4aSJne2+1Sj+Ygk0R+HPISdK6oUinMJX5cnsZ9dQwN99yAwpikYEbX3O/whfdlBi400Qd/tHFI63jG4D8w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n2sPwBEGMM8RTq/LtEB94Yvf6gOYrr9ngIUh8esm0s2zzs2Ub84ll2lcHMfpPvtS0sz9RHOl40DBCb+fN/gVLwxJnJwpYhgOB/EaeEA4e8vFWqBaY3h3bayC2ciUxm+f0oevPCRFEiaIBOJEuhe6QhrX9RfkuPgfqJlWhq4dYWZOzGDkqRQF5k8yUGMtxYdoqxQpBBqOtUBVVB/DHFxRaUpFfr/E3qeJv8SVBVQY+2gu84b36b8ZxTm6yxAbT9dJVe8rIbYIWl+r75gu8lET5cBgZBOGI9Y0WAhvTx5iM7Re3tATCwFZAdvNceiHLfZ0O11UNrbt4hfy+3s1IJVluQ==
  • Delivered-to: jetty-users@xxxxxxxxxxx
  • Ironport-sdr: pL9m7/qSoLAIEjtqMdSxFNGl2NmGKg14yjxLH0qDr1Ozf4lLHxXE+wxRf0vqHQ6/8CMbqI7n5L IBwoIVBfUQiqvC7gd7N8H4lRXcDmZKiLEZeHYpXno2p1RbPXlNAAOcIY9mkfEuyDWqfsn1rsO/ 29OaQSJLxLVhXPLE6D+xDHBZ7Z5juWOvUmsGAkrQIfBlk5AbNkLoUpHFHkdOMTRZF5aXAFLjlO yQJ/adbqKyxB9ox4RcK0jkvEwDLMOuDiDkfPfPzBK5bbqg4tGV6vWn00DlMt+gKyxshgAhgbw8 tkk=
  • List-archive: <https://www.eclipse.org/mailman/private/jetty-users>
  • List-help: <mailto:jetty-users-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jetty-users>, <mailto:jetty-users-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jetty-users>, <mailto:jetty-users-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdXLCrEIRTHYn+K0R8OaVkbxOPU+9g==
  • Thread-topic: Issue while upgrading jetty

Hello Jetty users,

 

 

We are facing issue while upgrading jetty v6 to jetty v9.4.15 (embedded Jetty is used). 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


Back to the top