portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erwin Brinkhuis <er...@brinkhuis.org>
Subject Re: Exception java.lang.NoSuchMethodError when starting Jetspeed portal
Date Tue, 15 Nov 2005 19:43:04 GMT
Sorry, forgot add subversion version: 332362

Erwin Brinkhuis wrote:
> Guys,
> 
> Because of the snapshots no longer being used, I did some 
> 'experimenting': I deleted everything in my local maven repository, 
> updated all the source files (resulting in subversion). Next I did a 
> initMavenPlugin, followed by a allClean allBuild, the build was 
> successful. After that I did a j2:quickStart (I understand I do not need 
> to start a db-server because with Derby it's embedded now). Also went OK.
> 
> Started up Tomcat ...
> 
> waited for the following to show up in the jetspeed.log,
> 
> 2005-11-15 20:27:10,262 [main] INFO  
> org.apache.jetspeed.engine.JetspeedServlet - Jetspeed Initialization 
> complete, Ready to service requests.
> 
> Assuming Jetspeed's ready for business, so I tried 
> http://localhost:8080/jetspeed
> 
> resulting in an exception,
> 
> 2005-11-15 20:27:29,305 [http-8080-Processor25] DEBUG 
> org.apache.jetspeed.capabilities.impl.JetspeedCapabilities - 
> ClientRegistry: Looking for client with useragent :Mozilla/5.0 (X11; U; 
> Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu 
> package 1.0.7)
> 2005-11-15 20:27:29,306 [http-8080-Processor25] DEBUG 
> org.apache.jetspeed.capabilities.impl.JetspeedCapabilities - Client: 
> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 
> Firefox/1.0.7 (Ubuntu package 1.0.7) does not match .*MSIE 5.*Mac.*
> 2005-11-15 20:27:29,306 [http-8080-Processor25] DEBUG 
> org.apache.jetspeed.capabilities.impl.JetspeedCapabilities - Client: 
> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 
> Firefox/1.0.7 (Ubuntu package 1.0.7) does not match .*Mac.*Safari.*
> 2005-11-15 20:27:29,306 [http-8080-Processor25] DEBUG 
> org.apache.jetspeed.capabilities.impl.JetspeedCapabilities - Client: 
> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 
> Firefox/1.0.7 (Ubuntu package 1.0.7) does not match .*MSIE 6.*
> 2005-11-15 20:27:29,306 [http-8080-Processor25] DEBUG 
> org.apache.jetspeed.capabilities.impl.JetspeedCapabilities - Client: 
> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 
> Firefox/1.0.7 (Ubuntu package 1.0.7) does not match .*MSIE 5.*
> 2005-11-15 20:27:29,306 [http-8080-Processor25] DEBUG 
> org.apache.jetspeed.capabilities.impl.JetspeedCapabilities - Client: 
> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 
> Firefox/1.0.7 (Ubuntu package 1.0.7) does not match .*Mozilla/4.*
> 2005-11-15 20:27:29,307 [http-8080-Processor25] DEBUG 
> org.apache.jetspeed.capabilities.impl.JetspeedCapabilities - Client: 
> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 
> Firefox/1.0.7 (Ubuntu package 1.0.7) matches .*Mozilla/5.*
> 2005-11-15 20:27:29,517 [http-8080-Processor25] DEBUG 
> org.apache.jetspeed.capabilities.impl.CapabilityValveImpl - MediaType: html
> 2005-11-15 20:27:29,517 [http-8080-Processor25] DEBUG 
> org.apache.jetspeed.capabilities.impl.CapabilityValveImpl - Encoding: UTF-8
> 2005-11-15 20:27:29,517 [http-8080-Processor25] DEBUG 
> org.apache.jetspeed.capabilities.impl.CapabilityValveImpl - Mimetype: 
> text/html
> 2005-11-15 20:27:29,947 [http-8080-Processor25] DEBUG 
> org.apache.jetspeed.localization.impl.LocalizationValveImpl - Got user 
> principal: guest
> 2005-11-15 20:27:30,023 [http-8080-Processor25] DEBUG 
> org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - 
> Session bound event: setup page manager listener
> 2005-11-15 20:27:30,030 [http-8080-Processor25] DEBUG 
> org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - 
> Updated context: user=guest, 
> profileLocators=(page=/:page:default-page:user:guest:mediatype:html)
> 2005-11-15 20:27:30,554 [http-8080-Processor25] ERROR 
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jetspeed].[jetspeed]

> - Servlet.service() for servlet jetspeed threw exception
> java.lang.NoSuchMethodError: 
> org.apache.jetspeed.om.common.SecurityConstraints.isEmpty()Z
>     at 
> org.apache.jetspeed.page.document.psml.AbstractNode.checkConstraints(AbstractNode.java:403)

> 
>     at 
> org.apache.jetspeed.page.document.psml.AbstractNode.checkConstraints(AbstractNode.java:412)

> 
>     at 
> org.apache.jetspeed.page.document.psml.AbstractNode.checkConstraints(AbstractNode.java:412)

> 
>     at 
> org.apache.jetspeed.om.page.psml.AbstractBaseElement.checkConstraints(AbstractBaseElement.java:274)

> 
>     at 
> org.apache.jetspeed.om.page.psml.AbstractBaseElement.checkAccess(AbstractBaseElement.java:493)

> 
>     at 
> org.apache.jetspeed.page.psml.CastorXmlPageManager.getFolder(CastorXmlPageManager.java:415)

> 
>     at 
> org.apache.jetspeed.portalsite.view.SiteView.<init>(SiteView.java:152)
>     at 
> org.apache.jetspeed.portalsite.view.SiteView.<init>(SiteView.java:287)
>     at 
> org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl.getSiteView(PortalSiteSessionContextImpl.java:637)

> 
>     at 
> org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl.selectRequestPage(PortalSiteSessionContextImpl.java:306)

> 
>     at 
> org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl.selectRequestPage(PortalSiteSessionContextImpl.java:169)

> 
>     at 
> org.apache.jetspeed.portalsite.impl.PortalSiteRequestContextImpl.getPage(PortalSiteRequestContextImpl.java:168)

> 
>     at 
> org.apache.jetspeed.portalsite.impl.PortalSiteRequestContextImpl.getManagedPage(PortalSiteRequestContextImpl.java:151)

> 
>     at 
> org.apache.jetspeed.profiler.impl.ProfilerValveImpl.invoke(ProfilerValveImpl.java:174)

> 
>     at 
> org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) 
> 
>     at 
> org.apache.jetspeed.security.impl.LoginValidationValveImpl.invoke(LoginValidationValveImpl.java:127)

> 
>     at 
> org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) 
> 
>     at 
> org.apache.jetspeed.security.impl.PasswordCredentialValveImpl.invoke(PasswordCredentialValveImpl.java:148)

> 
>     at 
> org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) 
> 
>     at 
> org.apache.jetspeed.localization.impl.LocalizationValveImpl.invoke(LocalizationValveImpl.java:168)

> 
>     at 
> org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) 
> 
>     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:454)
>     at 
> org.apache.jetspeed.security.impl.AbstractSecurityValve.invoke(AbstractSecurityValve.java:111)

> 
>     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.capabilities.impl.CapabilityValveImpl.invoke(CapabilityValveImpl.java:128)

> 
>     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.JetspeedEngine.service(JetspeedEngine.java:230)
>     at 
> org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:226)
>     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: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:802)
>     at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) 
> 
>     at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>     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:213) 
> 
>     at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 
> 
>     at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)

> 
>     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.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>     at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
>     at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)

> 
>     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:595)
> 2005-11-15 20:27:30,594 [http-8080-Processor25] ERROR 
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jetspeed].[jsp] 
> - Servlet.service() for servlet jsp threw exception
> java.lang.NoSuchMethodError: 
> org.apache.jetspeed.om.common.SecurityConstraints.isEmpty()Z
>     at 
> org.apache.jetspeed.page.document.psml.AbstractNode.checkConstraints(AbstractNode.java:403)

> 
>     at 
> org.apache.jetspeed.page.document.psml.AbstractNode.checkConstraints(AbstractNode.java:412)

> 
>     at 
> org.apache.jetspeed.page.document.psml.AbstractNode.checkConstraints(AbstractNode.java:412)

> 
>     at 
> org.apache.jetspeed.om.page.psml.AbstractBaseElement.checkConstraints(AbstractBaseElement.java:274)

> 
>     at 
> org.apache.jetspeed.om.page.psml.AbstractBaseElement.checkAccess(AbstractBaseElement.java:493)

> 
>     at 
> org.apache.jetspeed.page.psml.CastorXmlPageManager.getFolder(CastorXmlPageManager.java:415)

> 
>     at 
> org.apache.jetspeed.portalsite.view.SiteView.<init>(SiteView.java:152)
>     at 
> org.apache.jetspeed.portalsite.view.SiteView.<init>(SiteView.java:287)
>     at 
> org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl.getSiteView(PortalSiteSessionContextImpl.java:637)

> 
>     at 
> org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl.selectRequestPage(PortalSiteSessionContextImpl.java:306)

> 
>     at 
> org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl.selectRequestPage(PortalSiteSessionContextImpl.java:169)

> 
>     at 
> org.apache.jetspeed.portalsite.impl.PortalSiteRequestContextImpl.getPage(PortalSiteRequestContextImpl.java:168)

> 
>     at 
> org.apache.jetspeed.portalsite.impl.PortalSiteRequestContextImpl.getManagedPage(PortalSiteRequestContextImpl.java:151)

> 
>     at 
> org.apache.jetspeed.profiler.impl.ProfilerValveImpl.invoke(ProfilerValveImpl.java:174)

> 
>     at 
> org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) 
> 
>     at 
> org.apache.jetspeed.security.impl.LoginValidationValveImpl.invoke(LoginValidationValveImpl.java:127)

> 
>     at 
> org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) 
> 
>     at 
> org.apache.jetspeed.security.impl.PasswordCredentialValveImpl.invoke(PasswordCredentialValveImpl.java:148)

> 
>     at 
> org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) 
> 
>     at 
> org.apache.jetspeed.localization.impl.LocalizationValveImpl.invoke(LocalizationValveImpl.java:168)

> 
>     at 
> org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:203) 
> 
>     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:454)
>     at 
> org.apache.jetspeed.security.impl.AbstractSecurityValve.invoke(AbstractSecurityValve.java:111)

> 
>     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.capabilities.impl.CapabilityValveImpl.invoke(CapabilityValveImpl.java:128)

> 
>     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.JetspeedEngine.service(JetspeedEngine.java:230)
>     at 
> org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:226)
>     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: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:802)
>     at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) 
> 
>     at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>     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:213) 
> 
>     at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 
> 
>     at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)

> 
>     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.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>     at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
>     at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)

> 
>     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:595)
> 
> Thought you might want to know this.
> 
> Cheers,
> 
> Erwin Brinkhuis.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> 
> 
> 
> 

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


Mime
View raw message