geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian Liao (JIRA)" <...@geronimo.apache.org>
Subject [jira] Commented: (GERONIMO-1480) Cross context include does not set jacc contextID for 2nd web app. (Tomcat only)
Date Thu, 09 Feb 2006 02:28:01 GMT
    [ http://issues.apache.org/jira/browse/GERONIMO-1480?page=comments#action_12365679 ] 

Jian Liao commented on GERONIMO-1480:
-------------------------------------

Sorry for the delay, although there are still two exceptions here, but isUserInRole() works.
I think Exception_2is caused by Exception_1. I will also look into it. Thanks!

Exception 1
##########################################
java.lang.StringIndexOutOfBoundsException: String index out of range: -2
        at java.lang.String.<init>(String.java:192)
        at org.apache.tomcat.util.buf.CharChunk.toStringInternal(CharChunk.java:
499)
        at org.apache.tomcat.util.buf.StringCache.toString(StringCache.java:325)

        at org.apache.tomcat.util.buf.CharChunk.toString(CharChunk.java:495)
        at org.apache.tomcat.util.http.mapper.Mapper.internalMapWrapper(Mapper.j
ava:776)
        at org.apache.tomcat.util.http.mapper.Mapper.map(Mapper.java:531)
        at org.apache.geronimo.tomcat.listener.DispatchListener.getWrapperName(D
ispatchListener.java:104)
        at org.apache.geronimo.tomcat.listener.DispatchListener.beforeDispatch(D
ispatchListener.java:71)
        at org.apache.geronimo.tomcat.listener.DispatchListener.instanceEvent(Di
spatchListener.java:50)
        at org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSu
pport.java:295)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:668)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:463)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:398)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:301)
        at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.j
ava:693)
        at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.jav
a:660)
        at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:45)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:322)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
14)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
        at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSu
bjectValve.java:46)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:432)
        at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.
invoke(GeronimoStandardContext.java:273)
        at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(Gero
nimoBeforeAfterValve.java:31)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
541)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:868)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:663)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
        at java.lang.Thread.run(Thread.java:534)


Exception 2
######################################
java.lang.NullPointerException
        at org.apache.geronimo.tomcat.listener.DispatchListener.getWrapperName(D
ispatchListener.java:106)
        at org.apache.geronimo.tomcat.listener.DispatchListener.beforeDispatch(D
ispatchListener.java:71)
        at org.apache.geronimo.tomcat.listener.DispatchListener.instanceEvent(Di
spatchListener.java:50)
        at org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSu
pport.java:295)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:668)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
ispatcher.java:574)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
patcher.java:499)
        at org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(Se
rvletPortletInvoker.java:213)
        at org.apache.jetspeed.container.invoker.ServletPortletInvoker.render(Se
rvletPortletInvoker.java:125)
        at org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerI
mpl.java:119)
        at org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderP
ortlet(JetspeedPortletContainerWrapper.java:120)
        at org.apache.jetspeed.aggregator.impl.RenderingJobImpl.execute(Renderin
gJobImpl.java:120)
        at org.apache.jetspeed.aggregator.impl.PortletRendererImpl.renderNow(Por
tletRendererImpl.java:110)
        at org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.aggregateAndRe
nder(PageAggregatorImpl.java:199)
        at org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.aggregateAndRe
nder(PageAggregatorImpl.java:182)
        at org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.build(PageAggr
egatorImpl.java:106)
        at org.apache.jetspeed.aggregator.AggregatorValve.invoke(AggregatorValve
.java:48)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.decoration.DecorationValve.invoke(DecorationValve
.java:100)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.pipeline.valve.impl.ActionValveImpl.invoke(Action
ValveImpl.java:132)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.container.ContainerValve.invoke(ContainerValve.ja
va:76)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.profiler.impl.ProfilerValveImpl.invoke(ProfilerVa
lveImpl.java:212)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.security.impl.LoginValidationValveImpl.invoke(Log
inValidationValveImpl.java:143)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.security.impl.PasswordCredentialValveImpl.invoke(
PasswordCredentialValveImpl.java:148)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.localization.impl.LocalizationValveImpl.invoke(Lo
calizationValveImpl.java:168)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.security.impl.AbstractSecurityValve$1.run(Abstrac
tSecurityValve.java:117)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:437)
        at org.apache.jetspeed.security.impl.AbstractSecurityValve.invoke(Abstra
ctSecurityValve.java:111)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.container.url.impl.PortalURLValveImpl.invoke(Port
alURLValveImpl.java:55)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.capabilities.impl.CapabilityValveImpl.invoke(Capa
bilityValveImpl.java:128)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.pipeline.JetspeedPipeline.invoke(JetspeedPipeline
.java:145)
        at org.apache.jetspeed.engine.JetspeedEngine.service(JetspeedEngine.java
:231)
        at org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java
:232)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
        at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSu
bjectValve.java:52)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:432)
        at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.
invoke(GeronimoStandardContext.java:273)
        at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(Gero
nimoBeforeAfterValve.java:31)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
541)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:868)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:663)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
        at java.lang.Thread.run(Thread.java:534)
java.lang.NullPointerException
        at org.apache.geronimo.tomcat.listener.DispatchListener.getWrapperName(D
ispatchListener.java:106)
        at org.apache.geronimo.tomcat.listener.DispatchListener.beforeDispatch(D
ispatchListener.java:71)
        at org.apache.geronimo.tomcat.listener.DispatchListener.instanceEvent(Di
spatchListener.java:50)
        at org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSu
pport.java:295)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:668)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
ispatcher.java:574)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
patcher.java:499)
        at org.apache.portals.bridges.struts.PortletServletRequestDispatcher.inv
oke(PortletServletRequestDispatcher.java:128)
        at org.apache.portals.bridges.struts.PortletServletRequestDispatcher.inc
lude(PortletServletRequestDispatcher.java:146)
        at org.apache.struts.action.RequestProcessor.doInclude(RequestProcessor.
java:1094)
        at org.apache.struts.action.RequestProcessor.internalModuleRelativeInclu
de(RequestProcessor.java:1032)
        at org.apache.struts.action.RequestProcessor.processInclude(RequestProce
ssor.java:586)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:213)
        at org.apache.portals.bridges.struts.PortletRequestProcessor.process(Por
tletRequestProcessor.java:50)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
4)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:672)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
ispatcher.java:574)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
patcher.java:499)
        at org.apache.portals.bridges.struts.StrutsPortlet.processRequest(Struts
Portlet.java:375)
        at org.apache.portals.bridges.struts.StrutsPortlet.doView(StrutsPortlet.
java:274)
        at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
        at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
        at org.apache.jetspeed.factory.JetspeedPortletInstance.render(JetspeedPo
rtletInstance.java:102)
        at org.apache.jetspeed.container.JetspeedContainerServlet.doGet(Jetspeed
ContainerServlet.java:230)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:672)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
ispatcher.java:574)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
patcher.java:499)
        at org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(Se
rvletPortletInvoker.java:213)
        at org.apache.jetspeed.container.invoker.ServletPortletInvoker.render(Se
rvletPortletInvoker.java:125)
        at org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerI
mpl.java:119)
        at org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderP
ortlet(JetspeedPortletContainerWrapper.java:120)
        at org.apache.jetspeed.aggregator.impl.RenderingJobImpl.execute(Renderin
gJobImpl.java:120)
        at org.apache.jetspeed.aggregator.impl.PortletRendererImpl.renderNow(Por
tletRendererImpl.java:110)
        at org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.aggregateAndRe
nder(PageAggregatorImpl.java:199)
        at org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.aggregateAndRe
nder(PageAggregatorImpl.java:182)
        at org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.build(PageAggr
egatorImpl.java:106)
        at org.apache.jetspeed.aggregator.AggregatorValve.invoke(AggregatorValve
.java:48)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.decoration.DecorationValve.invoke(DecorationValve
.java:100)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.pipeline.valve.impl.ActionValveImpl.invoke(Action
ValveImpl.java:132)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.container.ContainerValve.invoke(ContainerValve.ja
va:76)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.profiler.impl.ProfilerValveImpl.invoke(ProfilerVa
lveImpl.java:212)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.security.impl.LoginValidationValveImpl.invoke(Log
inValidationValveImpl.java:143)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.security.impl.PasswordCredentialValveImpl.invoke(
PasswordCredentialValveImpl.java:148)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.localization.impl.LocalizationValveImpl.invoke(Lo
calizationValveImpl.java:168)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.security.impl.AbstractSecurityValve$1.run(Abstrac
tSecurityValve.java:117)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:437)
        at org.apache.jetspeed.security.impl.AbstractSecurityValve.invoke(Abstra
ctSecurityValve.java:111)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.container.url.impl.PortalURLValveImpl.invoke(Port
alURLValveImpl.java:55)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.capabilities.impl.CapabilityValveImpl.invoke(Capa
bilityValveImpl.java:128)
        at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(J
etspeedPipeline.java:166)
        at org.apache.jetspeed.pipeline.JetspeedPipeline.invoke(JetspeedPipeline
.java:145)
        at org.apache.jetspeed.engine.JetspeedEngine.service(JetspeedEngine.java
:231)
        at org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java
:232)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
        at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSu
bjectValve.java:52)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:432)
        at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.
invoke(GeronimoStandardContext.java:273)
        at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(Gero
nimoBeforeAfterValve.java:31)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
541)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:868)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:663)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
        at java.lang.Thread.run(Thread.java:534)

> Cross context include does not set jacc contextID for 2nd web app. (Tomcat only)
> --------------------------------------------------------------------------------
>
>          Key: GERONIMO-1480
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1480
>      Project: Geronimo
>         Type: Bug
>   Components: Tomcat
>     Versions: 1.0.1, 1.1
>     Reporter: David Jencks
>     Assignee: Jeff Genender
>     Priority: Blocker
>      Fix For: 1.1, 1.0.1

>
> If you do a cross context include from web app A to web app B, the jacc contextID fetched
from PolicyContext when you evaluate isUserInRole in web app B is the contextID for A, not
B.
> Presumably the cross context dispatch does not go through the PolicyContextValve for
B.  Here's a thread trace that demonstrates this, with a couple annotations.
> http-0.0.0.0-8080-Processor24@43e daemon prio=5, in group "main", status: RUNNING
> 	  implies():80, GeronimoPolicy.java
> 	  implies():46, JaasPolicyCoordinator.java
> 	  implies():189, ProtectionDomain.java
> 	  checkPermission():254, AccessControlContext.java
> 	  hasRole():248, TomcatGeronimoRealm.java
> 	  isUserInRole():2128, Request.java
> 	  isUserInRole():761, RequestFacade.java
> 	  isUserInRole():163, HttpServletRequestWrapper.java
> 	  isUserInRole():163, HttpServletRequestWrapper.java
> 	  isUserInRole():163, HttpServletRequestWrapper.java
> 	  isUserInRole():163, HttpServletRequestWrapper.java
> 	  isUserInRole():265, PortletRequestImpl.java
> 	  _jspService():46, roles.jsp
> 	  service():97, HttpJspBase.java
> 	  service():688, HttpServlet.java
> 	  service():322, JspServletWrapper.java
> 	  serviceJspFile():314, JspServlet.java
> 	  service():264, JspServlet.java
> 	  service():688, HttpServlet.java
> 	  internalDoFilter():252, ApplicationFilterChain.java
> 	  doFilter():173, ApplicationFilterChain.java
> 	  invoke():672, ApplicationDispatcher.java
> 	  doInclude():574, ApplicationDispatcher.java
> 	  include():499, ApplicationDispatcher.java
> 	  include():72, JetspeedRequestDispatcher.java
> 	  doView():363, GenericServletPortlet.java
> 	  doDispatch():250, GenericPortlet.java
> 	  render():178, GenericPortlet.java
> 	  render():102, JetspeedPortletInstance.java
> THIS IS WEB APP B
> 	  doGet():230, JetspeedContainerServlet.java
> 	  service():595, HttpServlet.java
> 	  service():688, HttpServlet.java
> 	  internalDoFilter():252, ApplicationFilterChain.java
> 	  doFilter():173, ApplicationFilterChain.java
> 	  invoke():672, ApplicationDispatcher.java
> 	  doInclude():574, ApplicationDispatcher.java
> 	  include():499, ApplicationDispatcher.java
> THIS IS A INCLUDING B
> 	  invoke():213, ServletPortletInvoker.java
> 	  render():125, ServletPortletInvoker.java
> 	  renderPortlet():119, PortletContainerImpl.java
> 	  renderPortlet():120, JetspeedPortletContainerWrapper.java
> 	  execute():120, RenderingJobImpl.java
> 	  renderNow():110, PortletRendererImpl.java
> 	  aggregateAndRender():199, PageAggregatorImpl.java
> 	  aggregateAndRender():182, PageAggregatorImpl.java
> 	  build():106, PageAggregatorImpl.java
> 	  invoke():48, AggregatorValve.java
> 	  invokeNext():166, JetspeedPipeline.java
> 	  invoke():132, ActionValveImpl.java
> 	  invokeNext():166, JetspeedPipeline.java
> 	  invoke():76, ContainerValve.java
> 	  invokeNext():166, JetspeedPipeline.java
> 	  invoke():100, DecorationValve.java
> 	  invokeNext():166, JetspeedPipeline.java
> 	  invoke():179, ProfilerValveImpl.java
> 	  invokeNext():166, JetspeedPipeline.java
> 	  invoke():143, LoginValidationValveImpl.java
> 	  invokeNext():166, JetspeedPipeline.java
> 	  invoke():148, PasswordCredentialValveImpl.java
> 	  invokeNext():166, JetspeedPipeline.java
> 	  invoke():168, LocalizationValveImpl.java
> 	  invokeNext():166, JetspeedPipeline.java
> 	  run():117, AbstractSecurityValve.java
> 	  doPrivileged():-1, AccessController.java
> 	  doAsPrivileged():437, Subject.java
> 	  invoke():111, AbstractSecurityValve.java
> 	  invokeNext():166, JetspeedPipeline.java
> 	  invoke():55, PortalURLValveImpl.java
> 	  invokeNext():166, JetspeedPipeline.java
> 	  invoke():128, CapabilityValveImpl.java
> 	  invokeNext():166, JetspeedPipeline.java
> 	  invoke():145, JetspeedPipeline.java
> 	  service():231, JetspeedEngine.java
> THIS IS WEB APP A:
> 	  doGet():226, JetspeedServlet.java
> 	  service():595, HttpServlet.java
> 	  service():688, HttpServlet.java
> 	  internalDoFilter():252, ApplicationFilterChain.java
> 	  doFilter():173, ApplicationFilterChain.java
> 	  invoke():672, ApplicationDispatcher.java
> 	  processRequest():463, ApplicationDispatcher.java
> 	  doForward():398, ApplicationDispatcher.java
> 	  forward():301, ApplicationDispatcher.java
> 	  doForward():693, PageContextImpl.java
> 	  forward():660, PageContextImpl.java
> 	  _jspService():16, index.jsp
> 	  service():97, HttpJspBase.java
> 	  service():688, HttpServlet.java
> 	  service():322, JspServletWrapper.java
> 	  serviceJspFile():314, JspServlet.java
> 	  service():264, JspServlet.java
> 	  service():688, HttpServlet.java
> 	  internalDoFilter():252, ApplicationFilterChain.java
> 	  doFilter():173, ApplicationFilterChain.java
> 	  invoke():213, StandardWrapperValve.java
> 	  invoke():178, StandardContextValve.java
> 	  invoke():52, DefaultSubjectValve.java
> 	  invoke():432, AuthenticatorBase.java
> 	  invoke():262, GeronimoStandardContext.java
> 	  invoke():52, PolicyContextValve.java
> 	  invoke():53, TransactionContextValve.java
> 	  invoke():47, ComponentContextValve.java
> 	  invoke():60, InstanceContextValve.java
> 	  invoke():126, StandardHostValve.java
> 	  invoke():105, ErrorReportValve.java
> 	  invoke():107, StandardEngineValve.java
> 	  invoke():541, AccessLogValve.java
> 	  service():148, CoyoteAdapter.java
> 	  process():868, Http11Processor.java
> 	  processConnection():663, Http11BaseProtocol.java
> 	  processSocket():527, PoolTcpEndpoint.java
> 	  runIt():80, LeaderFollowerWorkerThread.java
> 	  run():684, ThreadPool.java
> 	  run():552, Thread.java
> This demonstrates that cross context dispatch should not be used on geronimo-tomcat until
this and related problems are fixed.  Aside from the wrong security permissions being applied,
the jndi context is wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message