portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anshu Dureja <anshu_dur...@yahoo.com>
Subject Test suite page portlets throwing error
Date Fri, 15 Oct 2004 15:40:18 GMT
Hello All,
      I have installed and setup jetspeed-2 on tomcat 5.0.28 and using jdk1.4.2_03, its running
fine but some portlets(third party portlets,test page suite,my first psml page) are throwing
error like test suite page portlet is throwing the following error and others two also have
the same issue--
 
------------------------------------Test suite page portlets--------------------------------------------------
     org.apache.jetspeed.container.window.FailedToRetrievePortletWindow: org.apache.jetspeed.container.window.FailedToCreateWindowException:
Error generating new PortletEntity: org.apache.jetspeed.components.portletentity.PortletEntityNotGeneratedException:
Failed to retrieve Portlet Definition for PAM::PortletApplicationBrowser
 at org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl.getPortletWindow(PortletWindowAccessorImpl.java:100)
 at org.apache.jetspeed.velocity.JetspeedPowerTool.getCurrentPortletEntity(JetspeedPowerTool.java:384)
 at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:111)
 at org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:302)
 at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:157)
 at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
 at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327)
 at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51)
 at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95)
 at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
 at org.apache.velocity.Template.merge(Template.java:256)
 at org.apache.jetspeed.velocity.JetspeedVelocityViewServlet.mergeTemplate(JetspeedVelocityViewServlet.java:116)
 at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doRequest(VelocityViewServlet.java:455)
 at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doGet(VelocityViewServlet.java:411)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
 at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
 at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
 at org.apache.jetspeed.dispatcher.JetspeedRequestDispatcher.include(JetspeedRequestDispatcher.java:65)
 at org.apache.jetspeed.velocity.JetspeedPowerTool.decorateAndIncludePortlet(JetspeedPowerTool.java:774)
 at org.apache.jetspeed.velocity.JetspeedPowerTool.decorateAndInclude(JetspeedPowerTool.java:661)
 at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 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.jetspeed.velocity.JetspeedVelocityViewServlet.mergeTemplate(JetspeedVelocityViewServlet.java:116)
 at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doRequest(VelocityViewServlet.java:455)
 at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doGet(VelocityViewServlet.java:411)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
 at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
 at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
 at org.apache.jetspeed.dispatcher.JetspeedRequestDispatcher.include(JetspeedRequestDispatcher.java:65)
 at org.apache.portals.bridges.common.GenericServletPortlet.doView(GenericServletPortlet.java:339)
 at org.apache.jetspeed.portlets.layout.LayoutPortlet.doView(LayoutPortlet.java:143)
 at org.apache.jetspeed.portlets.layout.MultiColumnPortlet.doView(MultiColumnPortlet.java:107)
 at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
 at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
 at org.apache.jetspeed.container.JetspeedContainerServlet.doGet(JetspeedContainerServlet.java:234)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
 at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
 at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
 at org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(ServletPortletInvoker.java:213)
 at org.apache.jetspeed.container.invoker.ServletPortletInvoker.render(ServletPortletInvoker.java:124)
 at org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:103)
 at org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderPortlet(JetspeedPortletContainerWrapper.java:88)
 at org.apache.jetspeed.aggregator.impl.PortletRendererImpl.renderNow(PortletRendererImpl.java:110)
 at org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.build(PageAggregatorImpl.java:267)
 at org.apache.jetspeed.aggregator.AggregatorValve.invoke(AggregatorValve.java:48)
 at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209)
 at org.apache.jetspeed.pipeline.valve.impl.ActionValveImpl.invoke(ActionValveImpl.java:112)
 at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209)
 at org.apache.jetspeed.container.ContainerValve.invoke(ContainerValve.java:76)
 at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209)
 at org.apache.jetspeed.profiler.impl.ProfilerValveImpl.invoke(ProfilerValveImpl.java:82)
 at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209)
 at org.apache.jetspeed.security.impl.SecurityValveImpl.invoke(SecurityValveImpl.java:97)
 at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209)
 at org.apache.jetspeed.capabilities.impl.CapabilityValveImpl.invoke(CapabilityValveImpl.java:137)
 at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209)
 at org.apache.jetspeed.localization.impl.LocalizationValveImpl.invoke(LocalizationValveImpl.java:73)
 at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209)
 at org.apache.jetspeed.pipeline.JetspeedPipeline.invoke(JetspeedPipeline.java:191)
 at org.apache.jetspeed.engine.AbstractEngine.service(AbstractEngine.java:251)
 at org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:227)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
 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.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:683)
 at java.lang.Thread.run(Thread.java:534)
Caused by: org.apache.jetspeed.container.window.FailedToCreateWindowException: Error generating
new PortletEntity: org.apache.jetspeed.components.portletentity.PortletEntityNotGeneratedException:
Failed to retrieve Portlet Definition for PAM::PortletApplicationBrowser
 at org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl.createPortletWindow(PortletWindowAccessorImpl.java:138)
 at org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl.createPortletWindow(PortletWindowAccessorImpl.java:120)
 at org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl.getPortletWindow(PortletWindowAccessorImpl.java:96)
 ... 116 more
Caused by: org.apache.jetspeed.components.portletentity.PortletEntityNotGeneratedException:
Failed to retrieve Portlet Definition for PAM::PortletApplicationBrowser
 at org.apache.jetspeed.components.portletentity.PortletEntityAccessComponentImpl.generateEntityFromFragment(PortletEntityAccessComponentImpl.java:96)
 at org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl.createPortletWindow(PortletWindowAccessorImpl.java:133)
 ... 118 more
 
--------------------------------------------------------------------------------------------------------------------------------

Please can somebody tell me what i need to do to resolve this issue.
 
Thanks
Anshu


jetspeed-dev@jakarta.apache.org wrote:
The following comment has been added to this issue:

Author: Scott T Weaver
Created: Thu, 14 Oct 2004 8:21 AM
Body:
+1 on requiring tomcat 5.0.28+
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/JS2-55?page=comments#action_54046

---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JS2-55

Here is an overview of the issue:
---------------------------------------------------------------------
Key: JS2-55
Summary: JAAS Authentication on Tomcat 5
Type: New Feature

Status: Unassigned
Priority: Major

Project: Jetspeed 2
Components: 
Security
Versions:
2.0-a1

Assignee: 
Reporter: Ate Douma

Created: Tue, 25 May 2004 3:26 PM
Updated: Thu, 14 Oct 2004 8:21 AM
Environment: Tomcat 5.0.24, J2SE 1.4.2_03

Description:
As discussed on the Jetspeed developers mailinglist (thread starts with: http://nagoya.apache.org/eyebrowse/ReadMsg?listName=jetspeed-dev@jakarta.apache.org&msgNo=14605)
the new behaviour of Tomcat 5 to set the ContextClassLoader in the JAASRealm to the server
classloader prevents defining LoginModules within the context of an web app.

As a quick solution to this problem the Tomcat 5 JAASRealm is going to be patched to revert
back to the old Tomcat 4 handling.

The preferred solution is that the Tomcat Team would do this themselves or provide it as an
option. Someone should start discussing this with them....

I'll provide a patch implementing the quick fix which will depend on the user property catalina.version.major=5
to be enforced upon the catalina server: when this condition is true a patched version of
the Tomcat 5.0.24 JAASRealm.java revision 1.6 will be compiled into the $Tomcat/server/classes
directory.


---------------------------------------------------------------------
JIRA INFORMATION:
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

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


		
---------------------------------
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message