Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-9645

Default permissions are not being set for OSP tools.

    XMLWordPrintable

    Description

    When OSP tools are added to a site, the default permissions are not being set. This error appears in the log...
    WARN: postEvent, notifyObservers(), event: 0:site.upd@/site/897f5b17-83af-42bb-800e-fb8308acbdcb[m, 2] (2007-04-20 10:49:18,019 http-8084-Processor22_org.sakaiproject.event.impl.ClusterEventTracking)
    org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition
    at org.springframework.orm.hibernate3.HibernateTemplate.checkWriteOperationAllowed(HibernateTemplate.java:1098)
    at org.springframework.orm.hibernate3.HibernateTemplate$18.doInHibernate(HibernateTemplate.java:692)
    at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:366)
    at org.springframework.orm.hibernate3.HibernateTemplate.saveOrUpdate(HibernateTemplate.java:690)
    at org.theospi.portfolio.worksite.mgt.impl.SiteEventListener.storeTool(SiteEventListener.java:183)
    at org.theospi.portfolio.worksite.mgt.impl.SiteEventListener.processTool(SiteEventListener.java:159)
    at org.theospi.portfolio.worksite.mgt.impl.SiteEventListener.processPage(SiteEventListener.java:151)
    at org.theospi.portfolio.worksite.mgt.impl.SiteEventListener.processSite(SiteEventListener.java:143)
    at org.theospi.portfolio.worksite.mgt.impl.SiteEventListener.processEvent(SiteEventListener.java:76)
    at org.theospi.portfolio.worksite.mgt.impl.SiteEventListener.update(SiteEventListener.java:65)
    at java.util.Observable.notifyObservers(Observable.java:142)
    at org.sakaiproject.event.impl.BaseEventTrackingService.notifyObservers(BaseEventTrackingService.java:109)
    at org.sakaiproject.event.impl.ClusterEventTracking.postEvent(ClusterEventTracking.java:229)
    at org.sakaiproject.event.impl.BaseEventTrackingService.post(BaseEventTrackingService.java:204)
    at org.sakaiproject.site.impl.BaseSiteService.doSave(BaseSiteService.java:847)
    at org.sakaiproject.site.impl.BaseSiteService.save(BaseSiteService.java:759)
    at org.sakaiproject.site.cover.SiteService.save(SiteService.java:155)
    at org.sakaiproject.site.tool.SiteAction.commitSite(SiteAction.java:8924)
    at org.sakaiproject.site.tool.SiteAction.getRevisedFeatures(SiteAction.java:8504)
    at org.sakaiproject.site.tool.SiteAction.doSave_revised_features(SiteAction.java:5883)
    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 org.sakaiproject.cheftool.VelocityPortletPaneledAction.actionDispatch(VelocityPortletPaneledAction.java:592)
    at org.sakaiproject.cheftool.VelocityPortletPaneledAction.processAction(VelocityPortletPaneledAction.java:508)
    at org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java:221)
    at org.sakaiproject.cheftool.VelocityPortletPaneledAction.doGet(VelocityPortletPaneledAction.java:1006)
    at org.sakaiproject.cheftool.ToolServlet.doPost(ToolServlet.java:151)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
    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.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:555)
    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:691)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
    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:441)
    at org.sakaiproject.portal.charon.CharonPortal.forwardTool(CharonPortal.java:1607)
    at org.sakaiproject.portal.charon.CharonPortal.doTool(CharonPortal.java:1542)
    at org.sakaiproject.portal.charon.CharonPortal.doPost(CharonPortal.java:1059)
    at org.theospi.portfolio.portal.web.XsltPortal.doPost(XsltPortal.java:120)
    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:592)
    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:210)
    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:151)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
    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:685)
    at java.lang.Thread.run(Thread.java:595)

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chmaurer@iupui.edu Chris Maurer
                Reporter:
                chmaurer@iupui.edu Chris Maurer
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code