geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Problem running Jetspeed2 in Geronimo.
Date Mon, 06 Mar 2006 23:05:07 GMT
I suggest you look at J2-444 in jetspeed 2 jira.

thanks
david jencks

On Mar 6, 2006, at 2:52 PM, Juan Pedro Ramón Garrido wrote:

> I am interested in deploying jetspeed2 in geronimo. I have  
> registered in the geronimo's repository:
>
> - jetspeed-api-2.1.jar
> - jetspeed-commons-2.1.jar
> - portals-bridges-common-1.0.jar
> - velocity-1.4.jar
>
> I have placed in the deploy directory:
>
> - jetspeed.war
> - demo.war
> - j2-admin.war
>
> I have created the following geronimo-web.xml configuration for  
> jetspeed:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app configId="jetspeed" xmlns:naming="http:// 
> geronimo.apache.org/xml/ns/naming-1.0"
>     xmlns:security=" http://geronimo.apache.org/xml/ns/security-1.1"
>     xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.0"  
> xmlns:web=" http://geronimo.apache.org/xml/ns/j2ee/web-1.0">
>     <sys:dependency>
>         <sys:uri>jetspeed/jetspeed-api/2.1/jar</sys:uri>
>     </sys:dependency>
>     <sys:dependency>
>         <sys:uri>jetspeed/jetspeed-commons/2.1/jar</sys:uri>
>     </sys:dependency>
>     <sys:dependency>
>         <sys:uri>jetspeed/portals-bridges-common/1.0/jar</sys:uri>
>     </sys:dependency>
>     <sys:dependency>
>         <sys:uri>org.apache.pluto/pluto/1.0.1/jar</sys:uri>
>     </sys:dependency>
>     <sys:dependency>
>         <sys:uri>portlet-api/portlet-api/1.0/jar</sys:uri>
>     </sys:dependency>
>     <sys:hidden-classes>
>         <sys:filter>org.springframework</sys:filter>
>     </sys:hidden-classes>
>     <sys:hidden-classes>
>         <sys:filter> org.aopalliance</sys:filter>
>     </sys:hidden-classes>
>     <web:context-priority-classloader>false</web:context-priority- 
> classloader>
>     <web:container-config>
>         <tomcat>
>             <cross-context>true</cross-context>
>         </tomcat>
>     </web:container-config>
> </web-app>
>
>
> and for demo, j2-admin:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app configId="demo" parentId="jetspeed"
>     xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.0"
>     xmlns:security=" http://geronimo.apache.org/xml/ns/security-1.1"
>     xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.0 "  
> xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-1.0">
>     <web:container-config>
>         <tomcat>
>             <cross-context>true</cross-context>
>         </tomcat>
>     </web:container-config>
> </web-app>
>
>
> The deploy was correct, but when i load http://localhost:8080/ 
> jetspeed, i have found the following error:
>
> Failed to find Servlet context for Portlet Application: /j2-admin
> Failed to find Servlet context for Portlet Application: /demo
>
> In the server log appears:
>
> 23:48:33,277 ERROR [ServletPortletInvoker] Failed to find Servlet  
> context for Portlet Application: /demo
> 23:48:33,277 ERROR [RenderingJobImpl] Error rendering portlet OID  
> dp-18
> javax.portlet.PortletException: Failed to find Servlet context for  
> Portlet Application: /demo
>         at  
> org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke 
> (ServletPortletInvoker.java:187)
>         at  
> org.apache.jetspeed.container.invoker.ServletPortletInvoker.render 
> (ServletPortletInvoker.java:125)
>         at org.apache.pluto.PortletContainerImpl.renderPortlet 
> (PortletContainerImpl.java:119)
>         at  
> org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderPo 
> rtlet (JetspeedPortletContainerWrapper.java:120)
>         at  
> org.apache.jetspeed.aggregator.impl.RenderingJobImpl.execute 
> (RenderingJobImpl.java:120)
>         at  
> org.apache.jetspeed.aggregator.impl.PortletRendererImpl.renderNow  
> (PortletRendererImpl.java:110)
>         at  
> org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.aggregateAndRen 
> der(PageAggregatorImpl.java:199)
>         at  
> org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.aggregateAndRen 
> der (PageAggregatorImpl.java:182)
>         at  
> org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.build 
> (PageAggregatorImpl.java:106)
>         at org.apache.jetspeed.aggregator.AggregatorValve.invoke 
> (AggregatorValve.java :48)
>         at org.apache.jetspeed.pipeline.JetspeedPipeline 
> $Invocation.invokeNext(JetspeedPipeline.java:166)
>         at org.apache.jetspeed.decoration.DecorationValve.invoke 
> (DecorationValve.java:96)
>         at org.apache.jetspeed.pipeline.JetspeedPipeline 
> $Invocation.invokeNext(JetspeedPipeline.java:166)
>         at  
> org.apache.jetspeed.pipeline.valve.impl.ActionValveImpl.invoke 
> (ActionValveImpl.java:132)
>         at org.apache.jetspeed.pipeline.JetspeedPipeline 
> $Invocation.invokeNext (JetspeedPipeline.java:166)
>         at org.apache.jetspeed.container.ContainerValve.invoke 
> (ContainerValve.java:76)
>         at org.apache.jetspeed.pipeline.JetspeedPipeline 
> $Invocation.invokeNext(JetspeedPipeline.java :166)
>         at  
> org.apache.jetspeed.profiler.impl.ProfilerValveImpl.invoke 
> (ProfilerValveImpl.java:221)
>         at org.apache.jetspeed.pipeline.JetspeedPipeline 
> $Invocation.invokeNext(JetspeedPipeline.java:166)
>         at  
> org.apache.jetspeed.security.impl.LoginValidationValveImpl.invoke 
> (LoginValidationValveImpl.java:143)
>         at org.apache.jetspeed.pipeline.JetspeedPipeline 
> $Invocation.invokeNext(JetspeedPipeline.java:166)
>         at  
> org.apache.jetspeed.security.impl.PasswordCredentialValveImpl.invoke 
> (PasswordCredentialValveImpl.java:148)
>         at org.apache.jetspeed.pipeline.JetspeedPipeline 
> $Invocation.invokeNext(JetspeedPipeline.java:166)
>         at  
> org.apache.jetspeed.localization.impl.LocalizationValveImpl.invoke 
> (LocalizationValveImpl.java:169)
>         at org.apache.jetspeed.pipeline.JetspeedPipeline 
> $Invocation.invokeNext(JetspeedPipeline.java:166)
>         at org.apache.jetspeed.security.impl.AbstractSecurityValve 
> $1.run(AbstractSecurityValve.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 
> (AbstractSecurityValve.java:111)
>         at org.apache.jetspeed.pipeline.JetspeedPipeline 
> $Invocation.invokeNext(JetspeedPipeline.java :166)
>         at  
> org.apache.jetspeed.container.url.impl.PortalURLValveImpl.invoke 
> (PortalURLValveImpl.java:55)
>         at org.apache.jetspeed.pipeline.JetspeedPipeline 
> $Invocation.invokeNext(JetspeedPipeline.java:166)
>         at  
> org.apache.jetspeed.capabilities.impl.CapabilityValveImpl.invoke 
> (CapabilityValveImpl.java:128)
>         at org.apache.jetspeed.pipeline.JetspeedPipeline 
> $Invocation.invokeNext(JetspeedPipeline.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  
> (ApplicationFilterChain.java:252)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter 
> (ApplicationFilterChain.java:173)
>         at org.apache.catalina.core.ApplicationDispatcher.invoke 
> (ApplicationDispatcher.java :672)
>         at  
> org.apache.catalina.core.ApplicationDispatcher.processRequest 
> (ApplicationDispatcher.java:463)
>         at org.apache.catalina.core.ApplicationDispatcher.doForward 
> (ApplicationDispatcher.java:398)
>         at org.apache.catalina.core.ApplicationDispatcher.forward 
> (ApplicationDispatcher.java:301)
>         at org.apache.jasper.runtime.PageContextImpl.doForward 
> (PageContextImpl.java:693)
>         at org.apache.jasper.runtime.PageContextImpl.forward  
> (PageContextImpl.java:660)
>         at org.apache.jsp.index_jsp._jspService 
> (org.apache.jsp.index_jsp:44)
>         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:291)
>         at org.apache.jasper.servlet.JspServlet.service  
> (JspServlet.java:241)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java: 
> 688)
>         at  
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter 
> (ApplicationFilterChain.java:252)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter 
> (ApplicationFilterChain.java:173)
>         at org.apache.catalina.core.StandardWrapperValve.invoke 
> (StandardWrapperValve.java:213)
>         at org.apache.catalina.core.StandardContextValve.invoke  
> (StandardContextValve.java:178)
>         at  
> org.apache.catalina.authenticator.AuthenticatorBase.invoke 
> (AuthenticatorBase.java:407)
>         at org.apache.geronimo.tomcat.GeronimoStandardContext 
> $SystemMethodValve.invoke (GeronimoStandardContext.java:272)
>         at  
> org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke 
> (TransactionContextValve.java:53)
>         at  
> org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke  
> (ComponentContextValve.java:47)
>         at  
> org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke 
> (InstanceContextValve.java:60)
>         at org.apache.catalina.core.StandardHostValve.invoke 
> (StandardHostValve.java :126)
>         at org.apache.catalina.valves.ErrorReportValve.invoke 
> (ErrorReportValve.java:105)
>         at org.apache.catalina.core.StandardEngineValve.invoke 
> (StandardEngineValve.java:107)
>         at org.apache.catalina.valves.AccessLogValve.invoke  
> (AccessLogValve.java:526)
>         at org.apache.catalina.connector.CoyoteAdapter.service 
> (CoyoteAdapter.java:148)
>         at org.apache.coyote.http11.Http11Processor.process 
> (Http11Processor.java:856)
>         at org.apache.coyote.http11.Http11Protocol 
> $Http11ConnectionHandler.processConnection (Http11Protocol.java:744)
>         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket 
> (PoolTcpEndpoint.java:527)
>         at  
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt 
> (LeaderFollowerWorkerThread.java :80)
>         at org.apache.tomcat.util.threads.ThreadPool 
> $ControlRunnable.run(ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:534)
>
> I have proven with tomcat cross-context activated, but the error  
> persist.
>
> Please, Can anybody  help me?  Any ideas?
>
>
>
>                                                             Thanks  
> in Advance .......
>
>
> -- 
> Juan P. Ramón Garrido
> mailto: ramonjp@gmail.com


Mime
View raw message