portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ate Douma (JIRA)" <jetspeed-...@jakarta.apache.org>
Subject [jira] Commented: (JS2-172) Jetspeed 2 fails to run under any path other that "/jetspeed"
Date Tue, 14 Dec 2004 16:29:01 GMT
     [ http://nagoya.apache.org/jira/browse/JS2-172?page=comments#action_56656 ]
     
Ate Douma commented on JS2-172:
-------------------------------

I think I know what goes wrong here.
The layout portlets are deployed as internal portlets under contextPath /jetspeed (derived
from the portlet.xml application id attribute if I remember correctly).

If you change the context of the portal to something else than /jetspeed, the layout portlets
are not available anymore as internal portlets and hence the exception...

> Jetspeed 2 fails to run under any path other that "/jetspeed"
> -------------------------------------------------------------
>
>          Key: JS2-172
>          URL: http://nagoya.apache.org/jira/browse/JS2-172
>      Project: Jetspeed 2
>         Type: Bug
>   Components: Other
>     Versions: 2.0-M1
>     Reporter: Scott T Weaver
>     Assignee: Scott T Weaver
>     Priority: Critical
>      Fix For: 2.0-M1

>
> It appears that if J2 is set to run under a path other than "/jetspeed" it fails.
> JetspeedRequestDispatcher failed to include servlet resources. (details below)
> Exception: javax.servlet.ServletException
> Message: Servlet.init() for servlet velocity threw exception
> Stack Trace:
>    org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1071)
>    org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
>    org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
>    org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
>    org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
>    org.apache.jetspeed.dispatcher.JetspeedRequestDispatcher.include(JetspeedRequestDispatcher.java:65)
>    org.apache.portals.bridges.common.GenericServletPortlet.doView(GenericServletPortlet.java:344)
>    org.apache.jetspeed.portlets.layout.LayoutPortlet.doView(LayoutPortlet.java:143)
>    org.apache.jetspeed.portlets.layout.MultiColumnPortlet.doView(MultiColumnPortlet.java:107)
>    javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
>    javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
>    org.apache.jetspeed.container.JetspeedContainerServlet.doGet(JetspeedContainerServlet.java:235)
>    javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
>    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>    org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
>    org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
>    org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
>    org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(ServletPortletInvoker.java:213)
>    org.apache.jetspeed.container.invoker.ServletPortletInvoker.render(ServletPortletInvoker.java:124)
>    org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:103)
>    org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderPortlet(JetspeedPortletContainerWrapper.java:88)
>    org.apache.jetspeed.aggregator.impl.PortletRendererImpl.renderNow(PortletRendererImpl.java:110)
>    org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.build(PageAggregatorImpl.java:251)
>    org.apache.jetspeed.aggregator.AggregatorValve.invoke(AggregatorValve.java:48)
>    org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209)
>    org.apache.jetspeed.pipeline.valve.impl.ActionValveImpl.invoke(ActionValveImpl.java:117)
>    org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209)
>    org.apache.jetspeed.container.ContainerValve.invoke(ContainerValve.java:76)
>    org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209)
>    org.apache.jetspeed.profiler.impl.ProfilerValveImpl.invoke(ProfilerValveImpl.java:133)
>    org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209)
>    org.apache.jetspeed.container.url.impl.PortalURLValveImpl.invoke(PortalURLValveImpl.java:55)
>    org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209)
>    org.apache.jetspeed.capabilities.impl.CapabilityValveImpl.invoke(CapabilityValveImpl.java:127)
>    org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209)
>    org.apache.jetspeed.localization.impl.LocalizationValveImpl.invoke(LocalizationValveImpl.java:73)
>    org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209)
>    org.apache.jetspeed.security.impl.AbstractSecurityValve$1.run(AbstractSecurityValve.java:108)
>    java.security.AccessController.doPrivileged(Native Method)
>    javax.security.auth.Subject.doAsPrivileged(Subject.java:437)
>    org.apache.jetspeed.security.impl.AbstractSecurityValve.invoke(AbstractSecurityValve.java:102)
>    com.ugs.it.jetspeed.valves.WebKeySecurityValve.invoke(WebKeySecurityValve.java:86)
>    org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209)
>    org.apache.jetspeed.pipeline.JetspeedPipeline.invoke(JetspeedPipeline.java:191)
>    org.apache.jetspeed.engine.AbstractEngine.service(AbstractEngine.java:259)
>    org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:225)
>    javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
>    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>    org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
>    org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
>    org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
>    org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
>    org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670)
>    org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637)
>    org.apache.jsp.index_jsp._jspService(index_jsp.java:44)
>    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
>    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
>    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
>    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
>    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
>    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
>    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
>    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>    org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>    java.lang.Thread.run(Thread.java:534)
> Portlet is Not Available: VelocityThreeColumns
> Reason: null

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message