[Deploying Sakai] [Building Sakai] modules are failing

bruceballou at olk12.com bruceballou at olk12.com
Wed Jan 5 11:37:41 PST 2011


Hello again Mallika,

I have rechecked, and everything seems to be selected as you stated. I
checked another working instance and they look the same....but....still
not working.

I do keep noticing that on the modules page the options at the top have
not changed. still on the teacher site the Author and Manage options are
not there. Do you know where that information get set? I thought that
giving the correct permissions would have made them show up.

Is there a file somewhere that may e incorrectly set (permissions) in
the file system not allowing it to read???  (just grasping at straws at
this point!)

Thank you for your help.

Bruce Ballou


-------- Original Message --------
Subject: Re: [Building Sakai] modules are failing
From: Mallika M Thoppay <mallika at etudes.org>
Date: Wed, January 05, 2011 1:48 pm
To: bruceballou at olk12.com
Cc: sakai-dev at collab.sakaiproject.org,
management at collab.sakaiproject.org, production at collab.sakaiproject.org

Bruce,

I am not sure where you are stuck. Sakai upon installation comes with
the Instructor and Student roles which can be modified via
site.template.course. For these roles, you need to set permissions as
specified below. Create a new site and it should work. Did you restart
tomcat? I don't believe you should have to do that even.

Thanks,
Mallika

bruceballou at olk12.com wrote:
> Sorry about this...
>
> Do I need to add the matain and access roles to the
> !site.template.course relm?
>
> Thanx,
>
> Bruce Ballou
>
>
> -------- Original Message --------
> Subject: Re: [Building Sakai] modules are failing
> From: Mallika M Thoppay <mallika at etudes.org>
> Date: Wed, January 05, 2011 12:52 pm
> To: bruceballou at olk12.com
> Cc: sakai-dev at collab.sakaiproject.org,
> management at collab.sakaiproject.org, production at collab.sakaiproject.org
>
> Bruce,
>
> It appears that the realms may not be set up correctly on your system.
> Please ensure they are correct by following these steps:
>
> *8) Update Sakai Roles for Melete *
>
> Update Sakai Roles (under realms) to include Melete permissions to
> your roles. If you are upgrading Melete in your Sakai instance, no
> roles changes are needed.
>
> 1. Log on as Sakai admin.
> 2.
>
> Check appropriate Melete permissions under the roles in
> *!site.template.course*.
>
> *
>
> Check *melete.author* for instructor, teaching assistant types
> of roles (maintain) to which you want to give 'authoring /
> manage' rights.
>
>
> *
>
> Check *melete.student *for student types of custom roles that
> you have (access) to which you want to give 'viewing' rights.
>
> 3.
>
> If you have project sites and related roles in
> *!site.template.project*, appropriate permissions
> (melete.student or melete.author) need to be checked as
> defined above, based on what rights you want to give to the roles.
>
> *CAUTION: *
>
> *a. *IF YOU FAIL TO CHECK THE MELETE.STUDENT AND MELETE.AUTHOR
> PERMISSIONS FOR YOUR ROLES, MELETE WILL NOT WORK PROPERLY.
>
> *b.* IF YOU ADD MELETE TO _EXISTING SITES_, USERS WILL NOT HAVE THE
> MELETE PERMISSIONS THAT YOU CHECKED. YOU WILL NEED TO USE
> !SITE.HELPER OR OTHER SCRIPT TO PROPAGATE THE MELETE PERMISSION TO
> EXISTING SITES.
>
>
> Thanks,
> Mallika
>
>
> bruceballou at olk12.com wrote:
>
>> Hello All,
>>
>> I have started seeing an error when using the modules in a site, I have
>> redeployed the melete package in sakai, as instructed by Mallika at
>> Etudes Inc. (a post I at nabble).
>>
>> I created a new site, as admin, I can add the module and the contents
>> and view it. The options on the modules page (admin) are view, Author,
>> Manage,Preferences.
>>
>> When I log in as a teacher, I only see 2 options, View and Preferences,
>> I see the content, when I select the module, I get options of Prev or
>> Table of Contents, I click on Prev, and it shows Table of Contents. I
>> click on TOC, and it shows the module when I click on View at the top
>> and I get an error in sakai and it is at the bottom of this message.
>> (See ******)
>>
>>
>> I am getting a big dump in catalina.out, just not sure what to post
>>
>>
>>
>>
>> ******
>>
>> Error
>> An unexpected error has occurred.
>>
>>
>>
>> Send a bug report
>> To send a bug report, describe what you were doing when the problem
>> occurred, in the space below, and press the submit button.
>>
>>
>> Technical Details
>> This information will automatically be included in your bug report.
>>
>>
>> org.sakaiproject.portal.api.PortalHandlerException:
>> org.sakaiproject.tool.api.ToolException: #{navPage.viewAction}:
>> javax.faces.el.EvaluationException: java.lang.NullPointerException
>> at
>> org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:71)
>> caused by: org.sakaiproject.tool.api.ToolException:
>> #{navPage.viewAction}: javax.faces.el.EvaluationException:
>> java.lang.NullPointerException
>> at
>> org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1216)
>> caused by: javax.servlet.ServletException: #{navPage.viewAction}:
>> javax.faces.el.EvaluationException: java.lang.NullPointerException
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>> caused by: javax.faces.FacesException: #{navPage.viewAction}:
>> javax.faces.el.EvaluationException: java.lang.NullPointerException
>> at javax.faces.component.UICommand.broadcast(UICommand.java:312)
>> caused by: javax.faces.el.EvaluationException:
>> java.lang.NullPointerException
>> at
>> com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
>> caused by: java.lang.NullPointerException
>> at org.etudes.tool.melete.NavPage.viewAction(NavPage.java:67)
>> 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
>> com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
>> at
>> com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
>> at javax.faces.component.UICommand.broadcast(UICommand.java:312)
>> at
>> javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
>> at
>> javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:307)
>> at
>> com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
>> at
>> com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
>> at
>> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>> at
>> org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:571)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
>> at org.sakaiproject.jsf.util.JsfTool.dispatch(JsfTool.java:221)
>> at org.sakaiproject.jsf.util.JsfTool.doPost(JsfTool.java:256)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
>> at
>> org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:486)
>> at
>> org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1216)
>> at
>> org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:195)
>> at
>> org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:94)
>> at
>> org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:71)
>> at
>> org.sakaiproject.portal.charon.SkinnableCharonPortal.doPost(SkinnableCharonPortal.java:1059)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>> at
>> org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:622)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
>> 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:174)
>> at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
>> at
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>> at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>> at
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>> at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>> at java.lang.Thread.run(Thread.java:595)
>>
>>
>> user: ac6314a2-caad-4f11-90af-ce28eb41e165
>>
>> usage-session: 3e22fb0f-31ae-4faf-b9ab-24d8ac557d1d
>>
>> time: Jan 5, 2011 09:35:28
>>
>> Thank you for any direction you can provide.
>>
>>
>> Bruce Ballou
>> sakai support
>>
>> _______________________________________________
>> 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"
>>
>>
>>
>>
>
>
>


--
Mallika M Thoppay
Learning Systems Developer
Etudes Inc
http://etudes.org



More information about the production mailing list