Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Tomcat 8 #394

Open
padcom opened this issue Sep 8, 2014 · 14 comments
Open

Support for Tomcat 8 #394

padcom opened this issue Sep 8, 2014 · 14 comments

Comments

@padcom
Copy link
Member

padcom commented Sep 8, 2014

From [email protected] on January 08, 2014 21:31:01

What steps will reproduce the problem? 1. I copied the probe.war file into my tomcat apache-tomcat-8.0.0-RC10/webapps folder
2. restarted the server
3. Error : No container found for your server What is the expected result? Display the page without any error. What happens instead? getting below error message, and not able to view the process. What version of Probe are you using? PSI Probe 2.3.3 What environment (browser version, Tomcat version, JVM version, server OS)? Chrome, IE; apache-tomcat-8.0.0-RC10, Windows Please provide any additional information below. (Attach logs or stack traces as files instead of pasting the contents here.) org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.RuntimeException: No container found for your server: Apache Tomcat/8.0.0-RC10
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:583)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:59)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:729)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:467)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:392)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:319)
at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:734)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:704)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:63)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:221)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:107)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:616)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:76)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:934)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:90)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1015)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:646)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1576)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1534)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.RuntimeException: No container found for your server: Apache Tomcat/8.0.0-RC10
at com.googlecode.psiprobe.controllers.apps.ListWebappsController.handleRequestInternal(ListWebappsController.java:43)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at com.googlecode.psiprobe.ProbeServlet.doDispatch(ProbeServlet.java:54)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
... 49 more
Caused by: java.lang.NullPointerException
at com.googlecode.psiprobe.controllers.apps.ListWebappsController.handleRequestInternal(ListWebappsController.java:41)
... 55 more

Original issue: http://code.google.com/p/psi-probe/issues/detail?id=394

@padcom
Copy link
Member Author

padcom commented Sep 8, 2014

From [email protected] on January 10, 2014 06:39:12

Probe does not yet support Tomcat 8. However, assuming Tomcat's APIs haven't changed much, you might be able to override this. Instructions available here: https://code.google.com/p/psi-probe/wiki/Troubleshooting#Error_on_first_request

Summary: Support for Tomcat 8 (was: No container found for your server)
Status: Accepted
Labels: -Type-Defect Type-Feature Component-Interop

@padcom
Copy link
Member Author

padcom commented Sep 8, 2014

From [email protected] on April 01, 2014 14:53:23

The instructions provided above do not work.

Any updates on Tomcat 8 support?

@padcom
Copy link
Member Author

padcom commented Sep 8, 2014

From [email protected] on May 06, 2014 02:17:24

Fix suggested by MALfunct... did not work.

Probe 2.3.3 - Tomcat 8.0.5

@padcom
Copy link
Member Author

padcom commented Sep 8, 2014

From [email protected] on May 13, 2014 06:00:38

Issue 407 has been merged into this issue.

@padcom
Copy link
Member Author

padcom commented Sep 8, 2014

From [email protected] on June 27, 2014 11:02:13

tomcat version 8.0.9 is stable. Probe should work with tomcat 8.

@padcom
Copy link
Member Author

padcom commented Sep 8, 2014

From [email protected] on July 14, 2014 06:36:06

Labels: -Milestone-TBD Milestone-2.4.0

@padcom
Copy link
Member Author

padcom commented Sep 8, 2014

From [email protected] on August 10, 2014 06:53:45

I am seeing the same issue. The given fix didn't work for me.

@padcom
Copy link
Member Author

padcom commented Sep 8, 2014

From [email protected] on August 13, 2014 05:04:00

I have created support for tomcat 8.0.9 on psi-probe. Adding patches as attachments. I is a bit messy (maven2..eclise..crash..) code so it needs refraction before use. Use with care.

Attachment: core_patch.txt tomcat50adaptor_patch.txt tomcat55adaptor_patch.txt tomcat60adaptor_patch.txt tomcat70adaptor_patch.txt tomcat80adaptor.zip web_patch.txt

@padcom
Copy link
Member Author

padcom commented Sep 8, 2014

From [email protected] on September 02, 2014 06:14:25

How to apply this patch? Any documentation?

@padcom
Copy link
Member Author

padcom commented Sep 8, 2014

From [email protected] on September 04, 2014 13:04:26

Issue 417 has been merged into this issue.

@padcom
Copy link
Member Author

padcom commented Sep 8, 2014

From [email protected] on September 08, 2014 06:27:05

Issue 418 has been merged into this issue.

@padcom
Copy link
Member Author

padcom commented Sep 8, 2014

From [email protected] on September 08, 2014 06:30:07

Labels: Patch

@padcom
Copy link
Member Author

padcom commented Sep 8, 2014

From [email protected] on September 08, 2014 08:21:36

Status: Started
Owner: [email protected]

@FernandoFranzini
Copy link

Someone who already did the build proble to tomcat8 could send me the war?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants