-
1. Re: Jetspeed
aron.gombas Mar 17, 2006 2:47 AM (in response to aperritano)I'm not really familiar with Jetspeed 2, but I downloaded it today.
For some reason, none of the third partly portlets (Google, Plumtree, Sun and Kosmos) are picked up by my installation?! I can't see them found by the deployment scanner in the log, but I can see the "built-in" portlets like demo, jsf-demo, php, perl.
Anyone with J2 experience? -
2. Re: Jetspeed
pbeltranl May 7, 2006 8:29 PM (in response to aperritano)Hi!
I'm trying it on jetspeed 1.
My platform is:
windows xp pro sp2
java 1.5.0_05
tomcat 5.0.30
jetspeed 1.6 with Fusion (JSR168 support)
I'm interesting only (by now) in subversion portlet.
I've deployed kosmos-server and all kosmos portlets.
Then, when I try the "Subversion Monitoring" portlet, it show this exception:JetspeedRequestDispatcher failed to include servlet resources. (details below) Exception: javax.servlet.ServletException Message: actionURL/renderURL Tag Exception: cannot write to the output writer. Stack Trace: org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779) org.apache.jsp.pages.svn_005fmonitoring_jsp._jspService(svn_005fmonitoring_jsp.java:521) 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:252) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:696) org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:585) org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510) org.apache.jetspeed.dispatcher.JetspeedRequestDispatcher.include(JetspeedRequestDispatcher.java:65) hu.midori.kosmos.portlet.AbstractKosmosPortlet.renderJsp(AbstractKosmosPortlet.java:55) hu.midori.kosmos.portlet.AbstractKosmosPortlet.renderJsp(AbstractKosmosPortlet.java:47) hu.midori.kosmos.portlet.svn.SvnMonitoringPortlet.doView(SvnMonitoringPortlet.java:109) javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247) javax.portlet.GenericPortlet.render(GenericPortlet.java:175) org.apache.jetspeed.factory.JetspeedPortletInstance.render(JetspeedPortletInstance.java:96) org.apache.jetspeed.container.JetspeedContainerServlet.doGet(JetspeedContainerServlet.java:224) org.apache.jetspeed.container.JetspeedContainerServlet.doPost(JetspeedContainerServlet.java:289) javax.servlet.http.HttpServlet.service(HttpServlet.java:709) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:696) org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:585) org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510) org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(ServletPortletInvoker.java:212) org.apache.jetspeed.container.invoker.ServletPortletInvoker.render(ServletPortletInvoker.java:125) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284) org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:163) $Proxy4.render(Unknown Source) org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:105) org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderPortlet(JetspeedPortletContainerWrapper.java:88) org.apache.jetspeed.aggregator.impl.RenderingJob.execute(RenderingJob.java:108) org.apache.jetspeed.aggregator.impl.PortletRendererImpl.renderNow(PortletRendererImpl.java:101) org.apache.jetspeed.aggregator.impl.PortletAggregatorImpl.build(PortletAggregatorImpl.java:79) org.apache.jetspeed.aggregator.PortletValve.invoke(PortletValve.java:46) org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) org.apache.jetspeed.container.ContainerValve.invoke(ContainerValve.java:76) org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) org.apache.jetspeed.fusion.security.impl.FusionSecurityValveImpl.invoke(FusionSecurityValveImpl.java:73) org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) org.apache.jetspeed.container.url.impl.PortalURLValveImpl.invoke(PortalURLValveImpl.java:55) org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) org.apache.jetspeed.fusion.profiler.impl.FusionProfilerValveImpl.invoke(FusionProfilerValveImpl.java:52) org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) org.apache.jetspeed.capabilities.impl.CapabilityValveImpl.invoke(CapabilityValveImpl.java:127) org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) org.apache.jetspeed.localization.impl.LocalizationValveImpl.invoke(LocalizationValveImpl.java:124) org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) org.apache.jetspeed.pipeline.JetspeedPipeline.invoke(JetspeedPipeline.java:185) org.apache.jetspeed.engine.AbstractEngine.service(AbstractEngine.java:264) org.apache.jetspeed.fusion.portal.portlets.JetspeedFusionPortlet.service(JetspeedFusionPortlet.java:186) org.apache.jetspeed.fusion.portal.portlets.JetspeedFusionPortlet.getContent(JetspeedFusionPortlet.java:125) org.apache.jetspeed.portal.security.portlets.PortletWrapper.getContent(PortletWrapper.java:119) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267) org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197) org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) org.apache.velocity.Template.merge(Template.java:256) org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449) org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:418) org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:494) org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:336) org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:143) org.apache.jetspeed.portal.controls.VelocityPortletControl.getContent(VelocityPortletControl.java:155) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267) org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197) org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) org.apache.velocity.Template.merge(Template.java:256) org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449) org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:418) org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:494) org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:336) org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:143) org.apache.jetspeed.portal.controllers.VelocityPortletController.getContent(VelocityPortletController.java:105) org.apache.jetspeed.portal.BasePortletSet.getContent(BasePortletSet.java:353) sun.reflect.GeneratedMethodAccessor222.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267) org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197) org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) org.apache.velocity.Template.merge(Template.java:256) org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449) org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:418) org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:494) org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:336) org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:143) org.apache.jetspeed.portal.controllers.VelocityPortletController.getContent(VelocityPortletController.java:105) org.apache.jetspeed.portal.BasePortletSet.getContent(BasePortletSet.java:353) sun.reflect.GeneratedMethodAccessor222.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267) org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197) org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:89) org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) org.apache.velocity.Template.merge(Template.java:256) org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449) org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:418) org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:494) org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:336) org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:143) org.apache.jetspeed.portal.controls.VelocityPortletControl.getContent(VelocityPortletControl.java:155) org.apache.jetspeed.util.template.JetspeedTool.getPane(JetspeedTool.java:158) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267) org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197) org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:89) org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) org.apache.velocity.Template.merge(Template.java:256) org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449) org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:418) org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:494) org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:336) org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:143) org.apache.turbine.modules.screens.VelocityDirectScreen.buildTemplate(VelocityDirectScreen.java:123) org.apache.turbine.modules.screens.TemplateScreen.doBuild(TemplateScreen.java:130) org.apache.turbine.modules.Screen.build(Screen.java:99) org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:129) org.apache.turbine.util.template.TemplateScreen.toString(TemplateScreen.java:126) org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:291) org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) org.apache.velocity.Template.merge(Template.java:256) org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449) org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:418) org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:494) org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:336) org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:143) org.apache.turbine.modules.layouts.VelocityDirectLayout.doBuild(VelocityDirectLayout.java:106) org.apache.turbine.modules.Layout.build(Layout.java:91) org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123) org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:169) org.apache.turbine.modules.Page.build(Page.java:90) org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123) org.apache.turbine.Turbine.doGet(Turbine.java:563) org.apache.turbine.Turbine.doPost(Turbine.java:658) javax.servlet.http.HttpServlet.service(HttpServlet.java:709) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 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.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:118) 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:684) java.lang.Thread.run(Thread.java:595)
Regards,
Pablo -
3. Re: Jetspeed
aron.gombas May 8, 2006 8:49 AM (in response to aperritano)Hey Pablo,
Googling a bit, your issue seems identical with this one: http://www.mail-archive.com/displaytag-user@lists.sourceforge.net/msg04346.html//www.mail-archive.com/displaytag-user@lists.sourceforge.net/msg04346.html -
4. Re: Jetspeed
pbeltranl May 8, 2006 5:18 PM (in response to aperritano)Hi Aron!
Following your link I've found the pacth for Pluto 1.0.1:
http://issues.apache.org/jira/browse/PLUTO-120?page=all
I've downloaded the new version of "NamespaceTag.java" file (revision #279688) and compile it in my environment.
This solves the specific jetspeed problem (thanks a lot).
Now, a new Exception is throwed:j1 mode = 0 DEBUG: PortletContainerImpl.portletService(4) called. com.caucho.hessian.client.HessianRuntimeException: java.net.ConnectException: Connection refused: connect at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java) at $Proxy13.getRepositories(Unknown Source) at hu.midori.kosmos.portlet.svn.SvnMonitoringPortlet.doView(SvnMonitoringPortlet.java:75) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247) at javax.portlet.GenericPortlet.render(GenericPortlet.java:175) at org.apache.jetspeed.factory.JetspeedPortletInstance.render(JetspeedPortletInstance.java:96) at org.apache.jetspeed.container.JetspeedContainerServlet.doGet(JetspeedContainerServlet.java:224) at org.apache.jetspeed.container.JetspeedContainerServlet.doPost(JetspeedContainerServlet.java:289) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 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:696) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:585) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510) at org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(ServletPortletInvoker.java:212) at org.apache.jetspeed.container.invoker.ServletPortletInvoker.render(ServletPortletInvoker.java:125) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:163) at $Proxy4.render(Unknown Source) at org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:105) at org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderPortlet(JetspeedPortletContainerWrapper.java:88) at org.apache.jetspeed.aggregator.impl.RenderingJob.execute(RenderingJob.java:108) at org.apache.jetspeed.aggregator.impl.PortletRendererImpl.renderNow(PortletRendererImpl.java:101) at org.apache.jetspeed.aggregator.impl.PortletAggregatorImpl.build(PortletAggregatorImpl.java:79) at org.apache.jetspeed.aggregator.PortletValve.invoke(PortletValve.java:46) at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) at org.apache.jetspeed.container.ContainerValve.invoke(ContainerValve.java:76) at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) at org.apache.jetspeed.fusion.security.impl.FusionSecurityValveImpl.invoke(FusionSecurityValveImpl.java:73) at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) at org.apache.jetspeed.container.url.impl.PortalURLValveImpl.invoke(PortalURLValveImpl.java:55) at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) at org.apache.jetspeed.fusion.profiler.impl.FusionProfilerValveImpl.invoke(FusionProfilerValveImpl.java:52) at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) at org.apache.jetspeed.capabilities.impl.CapabilityValveImpl.invoke(CapabilityValveImpl.java:127) at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) at org.apache.jetspeed.localization.impl.LocalizationValveImpl.invoke(LocalizationValveImpl.java:124) at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) at org.apache.jetspeed.pipeline.JetspeedPipeline.invoke(JetspeedPipeline.java:185) at org.apache.jetspeed.engine.AbstractEngine.service(AbstractEngine.java:264) at org.apache.jetspeed.fusion.portal.portlets.JetspeedFusionPortlet.service(JetspeedFusionPortlet.java:186) at org.apache.jetspeed.fusion.portal.portlets.JetspeedFusionPortlet.getContent(JetspeedFusionPortlet.java:125) at org.apache.jetspeed.portal.security.portlets.PortletWrapper.getContent(PortletWrapper.java:119) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:418) at org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:494) at org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:336) at org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:143) at org.apache.jetspeed.portal.controls.VelocityPortletControl.getContent(VelocityPortletControl.java:155) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:418) at org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:494) at org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:336) at org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:143) at org.apache.jetspeed.portal.controllers.VelocityPortletController.getContent(VelocityPortletController.java:105) at org.apache.jetspeed.portal.BasePortletSet.getContent(BasePortletSet.java:353) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:418) at org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:494) at org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:336) at org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:143) at org.apache.jetspeed.portal.controllers.VelocityPortletController.getContent(VelocityPortletController.java:105) at org.apache.jetspeed.portal.BasePortletSet.getContent(BasePortletSet.java:353) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:89) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:418) at org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:494) at org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:336) at org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:143) at org.apache.jetspeed.portal.controls.VelocityPortletControl.getContent(VelocityPortletControl.java:155) at org.apache.jetspeed.util.template.JetspeedTool.getPane(JetspeedTool.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:89) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:418) at org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:494) at org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:336) at org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:143) at org.apache.turbine.modules.screens.VelocityDirectScreen.buildTemplate(VelocityDirectScreen.java:123) at org.apache.turbine.modules.screens.TemplateScreen.doBuild(TemplateScreen.java:130) at org.apache.turbine.modules.Screen.build(Screen.java:99) at org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:129) at org.apache.turbine.util.template.TemplateScreen.toString(TemplateScreen.java:126) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:291) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:418) at org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:494) at org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:336) at org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:143) at org.apache.turbine.modules.layouts.VelocityDirectLayout.doBuild(VelocityDirectLayout.java:106) at org.apache.turbine.modules.Layout.build(Layout.java:91) at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123) at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:169) at org.apache.turbine.modules.Page.build(Page.java:90) at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123) at org.apache.turbine.Turbine.doGet(Turbine.java:563) at org.apache.turbine.Turbine.doPost(Turbine.java:658) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 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:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.www.http.HttpClient.openServer(HttpClient.java:365) at sun.net.www.http.HttpClient.openServer(HttpClient.java:477) at sun.net.www.http.HttpClient.<init>(HttpClient.java:214) at sun.net.www.http.HttpClient.New(HttpClient.java:287) at sun.net.www.http.HttpClient.New(HttpClient.java:299) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:744) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:836) ... 195 more
This time, I've googled the error and I've found your FAQ's page. Maybe it's due a wrong configuration of the svnportlet.
Then I've revised my the "service.url" value in the portlet.xml file:<init-param> <name>service.url</name> <value>http://localhost:7777/kosmos-server/kosmos-services/cc-service</value> </init-param>
and I've tested the url from the navigator (cc-service):org.springframework.web.servlet.support.RequestMethodNotSupportedException: HessianServiceExporter only supports POST requests org.springframework.remoting.caucho.HessianServiceExporter.handleRequest(HessianServiceExporter.java:104) org.springframework.web.servlet.mvc.SimpleHandlerAdapter.handle(SimpleHandlerAdapter.java:46) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:792) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:726) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
according the documentation this is rigth because this means the service is up.
I've revised and tested the url in of the svn portlet (svn-service):<portlet> <portlet-name>JBossSvnMonitoringPortlet</portlet-name> <portlet-class>hu.midori.kosmos.portlet.svn.SvnMonitoringPortlet</portlet-class> <init-param> <name>monitored.resource</name> <value>JBoss Labs Subversion</value> </init-param> <init-param> <name>service.url</name> <value>http://localhost:7777/kosmos-server/kosmos-services/svn-service</value> </init-param> <init-param> <name>monitored.urls</name> <value> http://anonsvn.labs.jboss.com/trunk/labs/demo/, http://anonsvn.labs.jboss.com/trunk/labs/jbossprofiler/, http://anonsvn.labs.jboss.com/trunk/labs/jbossweb/, http://anonsvn.labs.jboss.com/trunk/labs/jrunit/, http://anonsvn.labs.jboss.com/trunk/labs/kosmos/, http://anonsvn.labs.jboss.com/trunk/labs/portletswap/, http://anonsvn.labs.jboss.com/trunk/labs/reportingservices/ </value> </init-param> <supports> <mime-type>text/html</mime-type> <portlet-mode>HELP</portlet-mode> <portlet-mode>VIEW</portlet-mode> </supports> <supported-locale>en</supported-locale> <supported-locale>hu</supported-locale> <resource-bundle>hu.midori.kosmos.portlet.svn.svn_monitoring</resource-bundle> <portlet-info> <title>Subversion Monitoring</title> </portlet-info> </portlet>
Obtaing the same result, the service is up.
Regards,
Pablo -
5. Re: Jetspeed
aron.gombas May 9, 2006 7:54 AM (in response to aperritano)Your problem report is very precise, thanks, Pablo.
The thing is that everything seems correct in your configuration.
Just to make sure: if you paste the service URL to your browser, you get the "Hessian requires POST" message, right? In this case, the service is up and running.
There might be some problem with the "localhost" URL maybe? Is your Kosmos server and portlet components running on the *same* PC? Could you try to specify IP or real name in the URL instead of "localhost"?