[Building Sakai] sakai-dev Digest, Vol 33, Issue 17

Naim Syed nsyed at ccsnh.edu
Mon Nov 21 04:53:09 PST 2011


DDdDD

----- Original Message -----
From: sakai-dev-request at collab.sakaiproject.org [mailto:sakai-dev-request at collab.sakaiproject.org]
Sent: Saturday, November 19, 2011 03:00 PM
To: sakai-dev at collab.sakaiproject.org <sakai-dev at collab.sakaiproject.org>
Subject: sakai-dev Digest, Vol 33, Issue 17

Send sakai-dev mailing list submissions to
	sakai-dev at collab.sakaiproject.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
or, via email, send a message with subject or body 'help' to
	sakai-dev-request at collab.sakaiproject.org

You can reach the person managing the list at
	sakai-dev-owner at collab.sakaiproject.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of sakai-dev digest..."


Today's Topics:

   1. Re: Sakai 2.8.0 & MySQL mystery (Steve Swinsburg)
   2. Re: [Contrib: Evaluation System] Problems running EVALSYS in
      sakai 2.9 ?? (Nicola Monat-Jacobs)
   3. transferCopyEntitiesRefMigrator - how does it work	??
      (George Pipkin)
   4. How to remove radio button "Only members of this site can see
      this announcement" from Announcements page, and Add link (ali jan)
   5. Re: How to remove radio button "Only members of this site can
      see this announcement" from Announcements page, and Add link (ali jan)


----------------------------------------------------------------------

Message: 1
Date: Sat, 19 Nov 2011 07:23:49 +1100
From: Steve Swinsburg <steve.swinsburg at gmail.com>
Subject: Re: [Building Sakai] Sakai 2.8.0 & MySQL mystery
To: Jeremy O'Connor <joconnor at uwc.ac.za>
Cc: sakai-dev <sakai-dev at collab.sakaiproject.org>
Message-ID: <D2654260-9C0C-40CB-A709-08E043F576B0 at gmail.com>
Content-Type: text/plain;	charset=us-ascii

You don't want to rename the default one. You want to create a Sakai.properties file that contains only the properties you need. It is an override file. 

Cheers
Steve 

Sent from my iPhone

On 19/11/2011, at 0:26, "Jeremy O'Connor" <joconnor at uwc.ac.za> wrote:

>>>> On 17 November 2011 at 03:18 PM, Mark Norton <markjnorton at earthlink.net>
> wrote:
>> Have a look at the sakai.properties file in your Tomcat instance.  The 
>> database properties that control your Sakai install are located there.  
>> It's possible that the file got clobbered when you were tinkering with 
>> things.  As to rebuilding the master project, Maven should take care of 
>> most of the problems that come up, but it won't solve any database 
>> issues you have.  If you don't have any real data in this Sakai instance 
>> yet, you can drop the database.  Sakai will build the tables the next 
>> time it starts.
> 
> Thanks for your help. I had not renamed default.sakai.properties to sakai.properties.
> 
> --Jeremy
> 
> -- 
> Jeremy O'Connor
> Developer
> Information and Communication Services
> University of the Western Cape
> Tel : +27 21 959 3147
> E-Mail : joconnor at uwc.ac.za 
> 
> 
> All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/emaildisclaimer
> 
> _______________________________________________
> 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"


------------------------------

Message: 2
Date: Fri, 18 Nov 2011 12:26:53 -0800
From: Nicola Monat-Jacobs <nicola at longsight.com>
Subject: Re: [Building Sakai] [Contrib: Evaluation System] Problems
	running EVALSYS in sakai 2.9 ??
To: Jim Eng <Jimeng at umich.edu>
Cc: evaluation at collab.sakaiproject.org,
	"sakai-dev at collab.sakaiproject.org Developers"
	<sakai-dev at collab.sakaiproject.org>
Message-ID:
	<CAABw5tuVzcNaymUorLryx41fV6XHmTV1M9cK9_mB972Cg4SKcg at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Jim -

Are there any errors on startup?

- Nicola

On Fri, Nov 18, 2011 at 10:08 AM, Jim Eng <Jimeng at umich.edu> wrote:

> Has anybody tried building a deploying EVALSYS (trunk) with trunk of
> sakai?  It builds and deploys OK, but when I try using the evaluations
> tool, I get a stack trace in the UI and in the log.  Has anybody else seen
> this either from EVALSYS or another tool?  Does anybody know whether
> modifications are needed to run earlier tools in sakai 2.9?
>
> Thanks.
>
> Jim
>
>
>
> Here's the stack trace:
>
> org.sakaiproject.portal.api.PortalHandlerException:
> java.lang.IllegalArgumentException: Unable to find registered context for
> tool with ID sakai.rsf.evaluation
>    at
> org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:889)
> caused by: java.lang.IllegalArgumentException: Unable to find registered
> context for tool with ID sakai.rsf.evaluation
>    at
> org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:508)
>    at
> org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1467)
>    at
> org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:213)
>    at
> org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:96)
>    at
> org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:889)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>    at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
>    at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>    at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:659)
>    at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>    at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>    at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
>    at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
>    at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>    at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
>    at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>    at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
>    at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>    at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
>    at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
>    at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
>    at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:304)
>    at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>    at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>    at java.lang.Thread.run(Thread.java:680)
>
> _______________________________________________
> evaluation mailing list
> evaluation at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/evaluation
>
> TO UNSUBSCRIBE: send email to
> evaluation-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/20111118/9d24b2a8/attachment-0001.html 

------------------------------

Message: 3
Date: Fri, 18 Nov 2011 15:50:40 -0500
From: George Pipkin <gpp8p at Virginia.EDU>
Subject: [Building Sakai] transferCopyEntitiesRefMigrator - how does
	it work	??
To: "sakai-dev at collab.sakaiproject.org Developers"
	<sakai-dev at collab.sakaiproject.org>
Message-ID: <4EC6C520.6080101 at Virginia.EDU>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi -

    I have been playing around with the SAK-16568 patches that allow the 
Import from Site feature
to change links from an old site to entities contained in a new site, 
particularly as it relates
to links contained within a syllabus.  I have patched this int 
sakai_2-7-x, and overall the thing
works, except for links to samigo entities.  So I am trying to 
understand how it works where it
does work, and I focused on forums links which are also /direct links.  
I have traced the program execution
through a method called transferCopyEntitiesRefMigrator, which was added 
to SyllabusServiceImpl.java
by the SAK-16568 patches.  I looked at the URL for this link, and for 
the life of me I can't
see where it is being changed, but somehow it is.  All through this 
method, the link is:

href="/direct/forum_topic/109?p=1"

yet somehow when it is all done, the link in the new syllabus is:

http://localhost:8080/direct/forum_topic/114?p=1

I would love it is somebody could explain to me where and how this
miracle takes place, since I would like to conjure up a similar
miracle for samigo.

                                     - George Pipkin
                                         U.Va.


------------------------------

Message: 4
Date: Sat, 19 Nov 2011 10:10:13 +0500
From: ali jan <sakaicle at gmail.com>
Subject: [Building Sakai] How to remove radio button "Only members of
	this site can see this announcement" from Announcements page, and Add
	link
To: sakai-dev at collab.sakaiproject.org, cafe at collab.sakaiproject.org
Message-ID:
	<CAK48f+P5E8YB-Sg5pa1ip3Q+iPvA-1u-fc7Wgd5-yVBmMeetWg at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Dear All

How to remove radio button  "*Only members of this site can see this
announcement*" from following location

 Announcements > Add -> Access
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111119/8457681e/attachment-0001.html 

------------------------------

Message: 5
Date: Sat, 19 Nov 2011 11:10:02 +0500
From: ali jan <sakaicle at gmail.com>
Subject: Re: [Building Sakai] How to remove radio button "Only members
	of this site can see this announcement" from Announcements page, and
	Add link
To: sakai-dev at collab.sakaiproject.org, cafe at collab.sakaiproject.org
Message-ID:
	<CAK48f+Mr=SEPAfcu0iVOX7jsbNymfxKURX+110i09RJcab5xHA at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

OK! I got it, it is located in template.

Now I want to display only those groups which are assigned to  instructor.

For example

In a course site

Alex is assigned to Group1 and Group 2
while site have groups (Group1, Group2, Group3.....Group N).

Now if Alex want to post new announcement then he only see  Group1 and
Group 2 only.

I also got that *groups* are located in collection/array *$!groups*
but I dont know how to populate *$!groups *array by only groups of
instructor.

Regards







On Sat, Nov 19, 2011 at 10:10 AM, ali jan <sakaicle at gmail.com> wrote:

> Dear All
>
> How to remove radio button  "*Only members of this site can see this
> announcement*" from following location
>
>  Announcements > Add -> Access
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111119/3b495cda/attachment-0001.html 

------------------------------

_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev


End of sakai-dev Digest, Vol 33, Issue 17
*****************************************


More information about the sakai-dev mailing list