[Building Sakai] New Sakai Tool Issue
John Bentley
John.Bentley at myknowledgemap.com
Mon Mar 29 08:44:57 PDT 2010
Hi.
I have built a simple Sakai Tool (a simple Hello World Servlet) just to
get a hook into Sakai, before we begin development of the actual tool.
The war file deploys correctly to tomcat/webapps.
I have attached the deployed was file.
The new tool is call CPD - as can be seen on left hand menu of the
screenshot below.
I add the tool to my site. It appears on the left menu as 'CPD'.
When I select it I get the following error:
org.sakaiproject.portal.api.PortalHandlerException:
java.lang.IllegalArgumentException: Unable to find registered context
for tool with ID sakai.CPD
at
org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableChar
onPortal.java:768)
caused by: java.lang.IllegalArgumentException: Unable to find registered
context for tool with ID sakai.CPD
at
org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(Acti
veToolComponent.java:482)
at
org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(Skinnab
leCharonPortal.java:1216)
at
org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.j
ava:204)
at
org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.ja
va:96)
at
org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableChar
onPortal.java:768)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:641)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
74)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
3)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:689)
at java.lang.Thread.run(Thread.java:595)
Any help would be most appreciated.
Best Regards.
John Bentley.
From: John Bentley
Sent: 24 March 2010 15:10
To: 'Steve Swinsburg'
Cc: sakai-dev at collab.sakaiproject.org
Subject: RE: [Building Sakai] 2.8-SNAPSHOT Unable to build Sakai Dev Env
Hi.
I have completed a build and deploy of the sakai-trunk.
When I start up Tomcat 5.5, and connect to the sakai portal I get the
following error.
Does anyone have any suggestions?
Best Regards.
John Bentley.
This information will automatically be included in your bug report.
org.sakaiproject.portal.api.PortalHandlerException:
java.lang.IllegalStateException: The CacheManager has been shut down. It
can no longer be used.
at
org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableChar
onPortal.java:768)
caused by: java.lang.IllegalStateException: The CacheManager has been
shut down. It can no longer be used.
at net.sf.ehcache.CacheManager.checkStatus(CacheManager.java:827)
at net.sf.ehcache.CacheManager.cacheExists(CacheManager.java:723)
at
org.sakaiproject.memory.impl.BasicMemoryService.instantiateCache(BasicMe
moryService.java:458)
at
org.sakaiproject.memory.impl.BasicMemoryService.newCache(BasicMemoryServ
ice.java:539)
at
org.sakaiproject.util.BaseDbFlatStorage.getCache(BaseDbFlatStorage.java:
218)
at
org.sakaiproject.util.BaseDbFlatStorage.readProperties(BaseDbFlatStorage
.java:1053)
at
org.sakaiproject.util.BaseDbFlatStorage.readProperties(BaseDbFlatStorage
.java:997)
at
org.sakaiproject.site.impl.DbSiteService$DbStorage.readSiteProperties(Db
SiteService.java:1613)
at
org.sakaiproject.site.impl.DbSiteService$DbStorage.readAllSiteProperties
(DbSiteService.java:1625)
at org.sakaiproject.site.impl.BaseSite.loadAll(BaseSite.java:913)
at
org.sakaiproject.site.impl.BaseSiteService.getDefinedSite(BaseSiteServic
e.java:592)
at
org.sakaiproject.site.impl.BaseSiteService.getSite(BaseSiteService.java:
672)
at
org.sakaiproject.site.impl.BaseSiteService.getSiteVisit(BaseSiteService.
java:748)
at
org.sakaiproject.site.cover.SiteService.getSiteVisit(SiteService.java:13
4)
at
org.sakaiproject.portal.charon.site.PortalSiteHelperImpl.getSiteVisit(Po
rtalSiteHelperImpl.java:899)
at
org.sakaiproject.portal.charon.site.PortalSiteHelperImpl.getGatewaySiteI
d(PortalSiteHelperImpl.java:152)
at
org.sakaiproject.portal.charon.handlers.SiteHandler.doSite(SiteHandler.j
ava:142)
at
org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.ja
va:114)
at
org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableChar
onPortal.java:768)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:641)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
74)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
3)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:689)
at java.lang.Thread.run(Thread.java:595)
From: Steve Swinsburg [mailto:steve.swinsburg at gmail.com]
Sent: 23 March 2010 22:17
To: John Bentley
Cc: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] 2.8-SNAPSHOT Unable to build Sakai Dev Env
HI John,
Cafe is a minimalist source build and may not be completely up to date
for 2.8.
Try a full source checkout:
svn co https://source.sakaiproject.org/svn//sakai/trunk/
<https://source.sakaiproject.org/svn/sakai/trunk/> sakai-trunk
cheers,
Steve
On 24/03/2010, at 2:12 AM, John Bentley wrote:
Hi .
I wonder if anyone can help.
I have followed the Development Environment Setup instructions and hit a
problem when I try and try to build Sakai using Maven2.
I get the following message:
Project ID: org.sakaiproject.content:sakai-content-tool
POM Location: C:\Subversion\content\content-tool\tool\pom.xml
Validation Messages:
[0] 'dependencies.dependency.version' is missing for
org.sakaiproject.conte
nt:content-bundles:jar
Reason: Failed to validate POM for project
org.sakaiproject.content:sakai-conten
t-tool at C:\Subversion\content\content-tool\tool\pom.xml
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to validate POM
for pro
ject org.sakaiproject.content:sakai-content-tool at
C:\Subversion\content\conten
t-tool\tool\pom.xml
I used svn to get the latest version from trunk ie
https://source.sakaiproject.org/svn/cafe/trunk/
The pom contains a reference to version 2.8-SNAPSHOT.
Is there an issue with the trunk?
Best Regards.
John Bentley.
_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
TO UNSUBSCRIBE: send email to
sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
"unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100329/6d5b3896/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 184457 bytes
Desc: image001.png
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100329/6d5b3896/attachment.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sakai-cpd-tool-2.8-SNAPSHOT.war
Type: application/octet-stream
Size: 4215 bytes
Desc: sakai-cpd-tool-2.8-SNAPSHOT.war
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100329/6d5b3896/attachment.obj
More information about the sakai-dev
mailing list