[Building Sakai] Getting error on annoouncment for student in site-"no session established no tool session established error "

Neal Caidin neal.caidin at apereo.org
Mon Dec 15 08:25:13 PST 2014


Hi Pravin,

See below.

Thanks,
Neal


On Mon, Dec 15, 2014 at 8:30 AM, Pravin G <praving at leotechnosoft.net> wrote:
>
>  Hi Neal,
>
>
>
> I will try to explain what I have done so far.
>
>
>
> -Actions performed by *Admin* user
>
>
>
> 1.       Created a *project site* from School site setup  .
>
What is "School site setup"? Is that just the standard Worksite setup you
get to by clicking Worksite Setup -> New or by clicking the little person
icon and clicking "+ Add New Site"?

>  2.       Then create a user under user section.
>
Ok.

>  3.       Assigned user to this created project site with role admin(so
> this user will acts as a site admin).
>
When I add a project site, the only (default) roles available to me are
access or maintain. Do you mean to give the student or project participant
the "maintain" role? Is that what you mean by role admin? Or do you really
grant Sakai administrative permissions to the participant?

>
>
>
>
> -Actions performed by *site admin *user :
>
>
>
> 1.       Login with to sakai , able to see added project site assigned to
> him ,including  My Workspace . Able to access all site tools .
>
> 2.       Created users as student(including parent), teacher.
>
>
>
> -Login as site admin or teacher or admin  :
>
> ü  Able to see 2 tabs at homepage as My workspace & assigned site .
>
> ü  Able to see tools on My Workspace home page like
> calendar,Message,Recent announcement .
>
> ü  Able to see similar tools in site home page also.
>
>
>
> Login as Student:
>
> ü  Able to see 2 tabs at homepage as My workspace & assigned site .
>
> ü  Able to see tools on My Workspace home page like
> calendar,Message,Recent announcement .
>
> ü  Able to see similar tools in site home page also. Only *no session
> established no tool session established error *displays under Recent
> announcement iframe.
>
> ü  *Able to see recent announcement successfully in My Workspace home
> page*.
>
>
>
> *This error comes for every  site assigned for any student user only.*
>
>
>
> I am wondering as I debugged, got to know that all tools displaying on
> home page like site information display, calnder,chat messages, Recent
> announcement comes from the same code .
>
>
>
> Please let me know if you need anything more explanation.
>
>
>
>
>
> Thanks ,
>
> -
>
> Pravin
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *From:* Neal Caidin [mailto:neal.caidin at apereo.org]
> *Sent:* 15 December 2014 18:25
> *To:* Pravin G
> *Cc:* Sakai-Dev
>
> *Subject:* Re: [Building Sakai] Getting error on annoouncment for student
> in site-"no session established no tool session established error "
>
>
>
> I'm not aware of a problem like this in 2.9.x . It would have been a
> blocker bug, I assume.
>
>
>
> >I have created a site , created site-Admin, then by using siteadmin,
> created users like teacher,student etc.
>
>
>
> It sounds like this is an issue in the synoptic view in the Home page of a
> particular site? What do you mean that you created a "site-Admin"?  Was
> this a course site or a project site you created? How did you create it?
>
>
>
> It sounds like :
>
> Announcements in a site work fine
>
> Announcements synoptic view on My Workspace works fine
>
> Announcements synoptic view within a course or project site does not work
> for the student/access role?
>
>
>
> Please provide a step-by-step way to reproduce the issue and I'll try it
> on Sakai 2.9.x .
>
>
>
> Thanks,
>
> Neal
>
>
>
>
>
>
>
>
>
> On Mon, Dec 15, 2014 at 7:05 AM, Pravin G <praving at leotechnosoft.net>
> wrote:
>
> Hi All,
>
>
>
> Is this issue is invalid? I have seen similar error posts on sakai forum
> also.
>
>
>
> Please at least can anybody provide me guidance to resolve this problem. I
> am trying to find out root cause behind this error , but still no luck. It
> ‘s not even calling any announcement related methods. Then how it is
> generating (rendering )announcement sections for other users ?
>
>
>
> I am currently debugging sakai-portal-render-impl,
> sakai-portal-render-engine-impl.  And when this error comes , its not
> showing even showing any errors in logs.
>
>
>
> Anybody can tell me atleast what can be the possible reason behind this
> error ?
>
>
>
> It’s been a week I am expecting a positive response.
>
>
>
> Thanks
>
> -
>
> Pravin
>
>
>
>
>
> *From:* sakai-dev-bounces at collab.sakaiproject.org [mailto:
> sakai-dev-bounces at collab.sakaiproject.org] *On Behalf Of *Pravin G
> *Sent:* 12 December 2014 19:41
>
>
> *To:* sakai-dev at collab.sakaiproject.org
> *Subject:* Re: [Building Sakai] Getting error on annoouncment for student
> in site-"no session established no tool session established error "
>
>
>
> Hi Sakai ,
>
>
>
> Can anyone help me to solve this issue ?
>
>
>
> Is this error belongs to only 2.9.1 src  ?
>
>
>
> I have tried to used  2.9.x all version for source code *portal-render. *But
> still that error comes . Is somebody is getting same error for student in
> announcement ?
>
>
>
>
>
> Thanks,
>
> -
>
> Pravin
>
>
>
>
>
> *From:* sakai-dev-bounces at collab.sakaiproject.org [mailto:
> sakai-dev-bounces at collab.sakaiproject.org] *On Behalf Of *Pravin G
> *Sent:* 11 December 2014 21:03
> *To:* sakai-dev at collab.sakaiproject.org
> *Subject:* Re: [Building Sakai] Getting error on annoouncment for student
> in site-"no session established no tool session established error "
>
>
>
> Hi ,
>
>
>
> I have tried with debugging functionality for site page rendering ,I am
> able to see session in debugger mode also .
>
>
>
> Session s = SessionManager.getCurrentSession();
>
>
>
> Value for session is available .
>
>
>
> So how error can come with saying no session established .
>
>
>
> And if tool session is not established then how can user will be able to
> see other tools like gradebook,attendance,profile,subjects.....
>
>
>
> As my student user is able to see all these tools, so tool session is
> established .
>
>
>
> But one more thing I have noticed is : in includePageBody.vm file value
> for :   ${tool.toolRenderResult.getContent()} is nothing but whole  error “*session
> established no tool session established error*  .
>
>
>
> <!-- end Tool Col2 -->
>
>
> <!-- start Tool Body -->
>
>
>
>
>
> #if (${tool.hasRenderResult})
>
>
> <div class="portletMainWrap">
>
>
>     ${tool.toolRenderResult.getContent()}
>
>
> </div>
>
>
> #else
>
>
> <div class="portletMainWrap">
>
>
> <iframe                name="${tool.toolPlacementIDJS}"
> id="${tool.toolPlacementIDJS}" title="${tool.toolTitle}"
>
>
> class ="portletMainIframe"
>
>
> height="475"
>
>
> width="100%"
>
>
> frameborder="0"
>
>
> marginwidth="0"
>
>
> marginheight="0"
>
>
> scrolling="auto"
>
>
> src="${tool.toolUrl}?panel=Main">
>
>
> </iframe>
>
>
> </div>
>
>
> #end
>
>
>
> <!-- end Tool Body -->
>
>
>
>
>
> Above code generates contents for announcement for users.
>
>
>
> Please guide me to solve this error , I am really stucked with this.
>
>
>
> Thanks,
>
> -
>
> Pravin
>
>
>
>
>
> *From:* sakai-dev-bounces at collab.sakaiproject.org [mailto:
> sakai-dev-bounces at collab.sakaiproject.org] *On Behalf Of *Pravin G
> *Sent:* 11 December 2014 18:32
> *To:* 'Ismail Naik'
> *Cc:* sakai-dev at collab.sakaiproject.org
> *Subject:* Re: [Building Sakai] Getting error on annoouncment for student
> in site- "no session established no tool session established error "
>
>
>
> Hi Ismail Naik,
>
>
>
> The very unexpected thing is , when this error comes, it doesn’t  shows
> any server logs for this error which unwired.
>
>
>
> Thanks,
>
> -
>
> Pravin
>
>
>
>
>
> *From:* Ismail Naik [mailto:ismail.n at in.uaeexchange.com]
> *Sent:* 11 December 2014 18:25
> *To:* 'Pravin G'
> *Cc:* sakai-dev at collab.sakaiproject.org
> *Subject:* RE: [Building Sakai] Getting error on annoouncment for student
> in site- "no session established no tool session established error "
>
>
>
> Hi Praveen,
>
>
>
> Can you share the complete server log to track the root cause.
>
>
>
>
>
> *Thanks & Regards*
>
> *Ismail N**.* - IT Department
>
> *X**m** Software Solutions Pvt Ltd* | SKCL | CENTRAL SQUARE- 1
>
> CIPET Road | Thiru-Vi-Ka  Industrial  Estate| Guindy | Chennai- 600032.
>
> TEL: 044-30464899 | FAX: 044-30464861|
>
> Ext:613
>
> ismail.n at in.uaeexchange.com
>
>
>
> *From:* sakai-dev-bounces at collab.sakaiproject.org [mailto:
> sakai-dev-bounces at collab.sakaiproject.org] *On Behalf Of *Pravin G
> *Sent:* 11 December 2014 17:48
> *To:* sakai-dev at collab.sakaiproject.org
> *Subject:* Re: [Building Sakai] Getting error on annoouncment for student
> in site- "no session established no tool session established error "
>
>
>
> Hi,
>
>
>
>  Below is the full  error which is coming from *error.vm* file in
> *portal-render*  when any student user clicks on his site home page .
>
>
>
> Other site contents i.e iframes like site information display, chat
> messages in same site home page displays perfectly.
>
>
>
> Below is the error which comes under Recent announcement section(iframe)
> for student user only.
>
>
>
> Session
>
>
>
> no session established
>
> no tool session established
>
> Unknown Request
>
>
>
> Snoop for request
>
>
>
> ${req.toString()}
>
> Request headers
>
>
>
>
>
> Servlet parameters (Single Value style):
>
>
>
>
>
> Servlet parameters (Multiple Value style):
>
>
>
>
>
> Request Attributes:
>
>
>
>
>
> Please suggest me the solution to overcome from this.
>
>
>
> Thanks ,
>
> -
>
> Pravin
>
>
>
>
>
> *From:* sakai-dev-bounces at collab.sakaiproject.org [mailto:
> sakai-dev-bounces at collab.sakaiproject.org] *On Behalf Of *Pravin G
> *Sent:* 11 December 2014 13:44
> *To:* sakai-dev at collab.sakaiproject.org
> *Subject:* [Building Sakai] Getting error on annoouncment for student in
> site- "no session established no tool session established error "
>
>
>
> Hi Sakai Team,
>
>
>
> I am using sakai source code 2.9.1 .
>
>
>
> I am getting an error for user *Student *when he tries to see his site
> homepage –error comes for announcement frame only as “no session
> established no tool session established error”.
>
> I will try to explain what I have done till so far.
>
> I have created a site , created site-Admin, then by using siteadmin,
> created users like teacher,student etc.
>
> So after that when I tried to login with different users, it only gives
> error 'no session established no tool session established' for student user
> only in announcement section.
>
> It displays correct announcement when student user comes in My workspace.
> So it means this error comes only when it comes to site.
>
> I tried to debug source code  provided at
> https://source.sakaiproject.org/svn/sakai/tags/ for *announcement* , I
> have tried to add logs to all methods in class "AnnouncementAction " as
> this is the file where all announcement related actions goes on like
> create/edit/update ,display announcement.
>
> I am able to get all added logs for other users, but unable to get not
> even single log for student user "when student user tries to see
> announcement in site."
>
> *After some more research I found that this site or by default home page
> for user gets rendered from portal-render(part of portal), where I got to
> know this error gets loaded from error.vm page.*
>
>
>
> Why this session error comes  for only user *student* and in *site* only
> ?As announcement gets rendered successfully in by default *Myworkspace*
> tab.
>
>
>
> Can anybody guide me how I can resolve this error so that student will be
> able to see his site’s announcement similar to other users(admin,teacher
> etc).
>
>
>
> I also tried to truncate date for the  tables related to announcement
> which I knew so far i.e *announcement_channel* & *announcement_message*
>
>
>
> I have also seen similar posts are available on sakai forums , but nobody
> has given solution for it.
>
>
>
> Please  guide me in this context.
>
>
>
>
>
> Thanks,
>
> -
>
> Pravin
>
>
>
>
>
>
>
>
>
> *Disclaimer*: This communication is intended solely for the use of the
> individual or entity to whom it is addressed and others authorized to
> receive it. It may contain confidential or legally privileged information.
> If you are not the intended recipient, you are hereby notified that any
> disclosure, copying, distribution, or action taken in reliance upon the
> information is strictly prohibited and is unlawful. If you have received
> this communication by error, please notify us immediately by responding to
> this email before deleting it from your system. UAE Exchange cannot be held
> responsible for the improper or incomplete transmission of information
> contained in this communication, or for any delay in its receipt.
> *Warning*: Internet communication cannot be guaranteed to be timely,
> secure, error-free or virus-free. It is the responsibility of the recipient
> to ensure that this email and its attachments, if any, are free from
> viruses. UAE Exchange doesn't accept liability for any damage that may
> result from viruses transmitted through this email.
> Please be informed that as per UAE Exchange Information Security policy,
> we will never request you to disclose your Account Number, Credit Card
> Information, User ID, Personal Identification Number (PIN), Telephone
> Identification Number (TIN), Password or any such information through
> e-mails or phone.
> Any e-mail or written communication received by you, which appears to have
> been sent from UAE Exchange seeking your personal & confidential
> information, should not be answered but advised to UAE Exchange at
> info.sec at uaeexchange.com.
> For further assistance email us at info.sec at uaeexchange.com.
>
>
> _______________________________________________
> 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/20141215/2e7c5599/attachment.html 


More information about the sakai-dev mailing list