You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. We are trying to use psi-probe 2.3.0 in a RedHat 5.5 with JBOSS 5.1.
2. We have followed this instructions:
- Open the probe.war file in a ZIP editor.
- Remove the <Logger> element from both META-INF/context.xml and
WEB-INF/context.xml.
- Remove jmxri-1.2.1.jar from WEB-INF/lib.
- Change log4j.appender.R.File=${catalina.base}/logs/probe.log for
log4j.appender.R.File=${jboss.server.log.dir}/probe.log in file
WEB-INF/classes/log4j.properties
- Deploy the modified .war file.
3. We have created users and roles files and modified login-config.xml file to
configure jboss for use them.
What is the expected result?
We expect to access to probe from our browser without problem.
What happens instead?
Before asking credentials, browser shows the following Exception:
org.springframework.web.util.NestedServletException: Request processing failed;
nested exception is java.lang.RuntimeException: No container found for your
server: JBoss Web/2.1.3.GA
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: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:638)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:696)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:667)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436)
at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: No container found for your server:
JBoss Web/2.1.3.GA
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)
... 46 more
Caused by: java.lang.NullPointerException
at com.googlecode.psiprobe.controllers.apps.ListWebappsController.handleRequestInternal(ListWebappsController.java:41)
... 52 more
What version of Probe are you using?
2.3.0
What environment (browser version, Tomcat version, JVM version, server OS)?
JBOSS 5.1, Redhat 5.5, Java 1.6
Please provide any additional information below.
(Attach logs or stack traces as files instead of pasting the contents
here.)
Original issue reported on code.google.com by lopezsan...@gmail.com on 28 Feb 2012 at 1:31
Hello
The problem is solved and probe works properly with jboss 5.1. Two more steps:
- Edit WEB-INF/spring-probe-resources.xml and change "false" for "true" in the
line:
<bean id="containerWrapper" class="com.googlecode.psiprobe.beans.ContainerWrapperBean">
<property name="forceFirstAdaptor" value="false"/>
- Edit WEB-INF/tld/probe.tld and change:
<tlib-version>1.0.1</tlib-version>
for:
<tlib-version>1.1</tlib-version>
Original comment by lopezsan...@gmail.com on 29 Feb 2012 at 8:47
I'm glad you were able to get it working.
The removal of the <Logger> element from META-INF/context.xml and changing the
tlib-version in WEB-INF/tld/probe.tld have been performed as part of the effort
to resolve issue 256.
I will try to address the forceFirstAdaptor requirement there too. Probe is
looking for "JBossWeb/2.1" instead of "JBoss Web/2.1"
Original comment by MALfunct...@gmail.com on 29 Feb 2012 at 6:53
Original issue reported on code.google.com by
lopezsan...@gmail.com
on 28 Feb 2012 at 1:31The text was updated successfully, but these errors were encountered: