Error while accessing probe in non-root user environment

48 views
Skip to first unread message

sfaiz

unread,
Jun 15, 2011, 3:46:30 PM6/15/11
to psi-probe-discuss
I have apache-tomcat-6.0.20, and also using APR and JSVC to run tomcat
as non-root user. When I deploy probe.war it is deployed successfully
but when i access following exception is displayed.

Is there any configuration which I am missing?

nulljava.lang.NullPointerException at
com.googlecode.psiprobe.controllers.apps.ListWebappsController.handleRequestInternal(ListWebappsController.java:
38) 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:53)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:
807) at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:
571) at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:
501) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206) at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:
39) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206) at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:
646) at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:
436) at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:
374) at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:
302) at
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:
706) at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:
677) at jsp.index_jsp._jspService(jsp.index_jsp:43) at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206) at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:
118) at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:
52) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191) at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:
525) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
128) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
293) at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:
859) at org.apache.coyote.http11.Http11AprProtocol
$Http11ConnectionHandler.process(Http11AprProtocol.java:574) at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:
1527) at java.lang.Thread.run(Thread.java:662)

Mark

unread,
Jun 15, 2011, 3:48:58 PM6/15/11
to psi-prob...@googlegroups.com
Please attach your entire probe.log file here:

Be sure to note what version of PSI Probe you are using.  Thanks!

sfaiz

unread,
Jun 15, 2011, 3:54:58 PM6/15/11
to psi-probe-discuss
Log file attached and i am using probe-2.2.2.

Mark

unread,
Jun 15, 2011, 6:52:52 PM6/15/11
to psi-prob...@googlegroups.com
Thanks.  I've asked you a question in the issue.  Let's continue discussing there.

Mark

unread,
Jan 22, 2013, 9:50:38 AM1/22/13
to psi-prob...@googlegroups.com
Avihay, assuming you have the same setup as sfaiz, there is a workaround.  Please refer to issue 196:

Let me know if that doesn't resolve the issue for you.

On Tuesday, January 22, 2013 5:22:36 AM UTC-5, Avihay Tsayeg wrote:
Hi,

Any updates? I'm meeting the same problem.
Cannot run psi-probe with no-root user over tomcat 7.27  and centos

Avihay


On Thursday, June 16, 2011 1:52:52 AM UTC+3, Mark wrote:
Thanks.  I've asked you a question in the issue.  Let's continue discussing there.

This e-mail, as well as any attached document, may contain material which is confidential and privileged and may include trademark, copyright and other intellectual property rights that are proprietary to Kenshoo Ltd,  its subsidiaries or affiliates ("Kenshoo"). This e-mail and its attachments may be read, copied and used only by the addressee for the purpose(s) for which it was disclosed herein. If you have received it in error, please destroy the message and any attachment, and contact us immediately. If you are not the intended recipient, be aware that any review, reliance, disclosure, copying, distribution or use of the contents of this message without Kenshoo's express permission is strictly prohibited.

Avihay Tsayeg

unread,
Jan 23, 2013, 2:46:07 AM1/23/13
to psi-prob...@googlegroups.com
Hi Mark,
Thanks !! , The workaround solved it 

Avihay
Reply all
Reply to author
Forward
0 new messages