[Building Sakai] Sites in Admin Workspace slow to render

Steve Swinsburg steve.swinsburg at gmail.com
Wed May 21 13:24:55 PDT 2014


Try viewing the html source on that page to see if it's being output. It
may be hidden under another element. I have had to increase the size of the
login box to cater for extra bits.

As for the kernel and sites source, it sounds like you have the binary. You
want to get a full checkout of the source so you don't get conflicts.

Cheers

sent from my mobile device
On 22/05/2014 8:16 AM, "Robert Long" <rlong at unicon.net> wrote:

> Kimberly,
>
> That is strange, the .externals file for sakai-2.9.3-all has both modules
> listed. So I'm not sure what happened there.
>
> Including the dev list on this, as I don’t know the answer to the message
> question.
>
> —Bob
>
> ----
> Robert Long
> Software Engineer
> Technical Account Manager - Sakai
> Unicon, Inc.
>
> ----
> M.A., Instructional Technology
> Saginaw Valley State University
>
> On May 21, 2014, at 4:10 PM, Wilson, Kimberly <wilsonk at mail.amc.edu>
> wrote:
>
> We did download *-.all but site and kernel bundles didn’t come across
>
> Also, on another topic:
>
> I was able to successfully modify our xlogin page to have a custom message
> on our dev server
> We want it to be 3 lines
> And I modified the auth.properties file here
> sakai-2.9.3\login\login-tool\tool\src\bundle
>
> On my dev server I did this:
> log.invalid = Invalid username and/or password.  Please try again.  \
>             If you are unable to login, \
>             please contact the IS Help Desk at 518-262-5000.
>
> The backslashes created new lines
>
> But when I do it on a different server, it gets chopped off after Please
> try again and doesn’t give me the other lines.
>
> I can’t figure out how to make it work right, do you?
>
> *Kim Wilson**,** MSCIS* | Systems Analyst – Sakai & IS Academic Systems |
> Albany Medical Center | 518-264-1055
>
> *From:* Robert Long [mailto:rlong at unicon.net <rlong at unicon.net>]
> *Sent:* Wednesday, May 21, 2014 2:24 PM
> *To:* Wilson, Kimberly
> *Subject:* Re: [Building Sakai] Sites in Admin Workspace slow to render
>
> You are welcome. For future reference, if you want all of the source code,
> make sure you download the *-all branch or tag of the version. Fortunately,
> this is fixed in Sakai 10, as all source will be downloaded by default.
>
> —Bob
>
> ----
> Robert Long
> Software Engineer
> Technical Account Manager - Sakai
> Unicon, Inc.
>
> ----
> M.A., Instructional Technology
> Saginaw Valley State University
>
> On May 21, 2014, at 9:36 AM, Wilson, Kimberly <wilsonk at mail.amc.edu>
> wrote:
>
>
> Thanks, one other bundle we didn’t download !
>
> *Kim Wilson**,* *MSCIS* | Systems Analyst – Sakai & IS Academic Systems |
> Albany Medical Center | 518-264-1055
>
> *From:* Robert Long [mailto:rlong at unicon.net <rlong at unicon.net>]
> *Sent:* Wednesday, May 21, 2014 8:35 AM
> *To:* Wilson, Kimberly
> *Cc:* Steve Swinsburg; Sakai Dev
> *Subject:* Re: [Building Sakai] Sites in Admin Workspace slow to render
>
> Kimberly,
>
> SiteService is located in the kernel. The kernel for the 2.9.3 tag is
> 1.3.3. The source is here:
>
> https://source.sakaiproject.org/svn/kernel/tags/kernel-1.3.3/
>
> —Bob
>
> ----
> Robert Long
> Software Engineer
> Technical Account Manager - Sakai
> Unicon, Inc.
>
> ----
> M.A., Instructional Technology
> Saginaw Valley State University
>
> On May 21, 2014, at 7:45 AM, Wilson, Kimberly <wilsonk at mail.amc.edu>
> wrote:
>
>
>
> I did find it, I had to download the site bundle; however, I cannot find
> the file which is being called for the function getSites to locate the
> query(ies) :
>
> Import org.sakaiproject.site.cover.SiteService
>
> For what Steve explained which is on lines 154-5:
>
> return
> SiteService.getSites(org.sakaiproject.site.api.SiteService.SelectionType.NON_USER,
> null, search, null,
>
> org.sakaiproject.site.api.SiteService.SortType.TITLE_ASC, new
> PagingPosition(first, last));
>
> *Kim Wilson**,* *MSCIS* | Systems Analyst – Sakai & IS Academic Systems |
> Albany Medical Center | 518-264-1055
>
> *From:* Steve Swinsburg [mailto:steve.swinsburg at gmail.com<steve.swinsburg at gmail.com>
> ]
> *Sent:* Tuesday, May 20, 2014 9:08 PM
> *To:* Robert Long
> *Cc:* Wilson, Kimberly; Sakai Dev
> *Subject:* Re: [Building Sakai] Sites in Admin Workspace slow to render
>
>
> Hi,
> Maybe you actually have the binary release? Can you show the source code
> directory? (ls -la)
>
> FYI this is the path to the file:
>
> site/site-tool/tool/src/java/org/sakaiproject/site/tool/AdminSitesAction.java
> cheers,
> Steve
>
>
> On Tue, May 20, 2014 at 4:06 AM, Robert Long <rlong at unicon.net> wrote:
> Kimberly,
>
> Did you download the sakai-2.9.3-all tag? If not, you’ll have to grab the
> sites source code from here:
> https://source.sakaiproject.org/svn/site/tags/site-2.9.3.
>
> —Bob
>
> ----
> Robert Long
> Software Engineer
> Technical Account Manager - Sakai
> Unicon, Inc.
>
> ----
> M.A., Instructional Technology
> Saginaw Valley State University
>
> On May 19, 2014, at 11:06 AM, Wilson, Kimberly <wilsonk at mail.amc.edu>
> wrote:
>
> > Steve:
> >
> > I cannot locate the AdminSitesAction.java
> >
> > I do not see a sites bundle in my Sakai src code for version 2.9.3, only
> a sites-manage bundle
> >
> > I searched through the entire src code for AdminSitesAction.java with no
> luck
> >
> > Kim Wilson, MSCIS | Systems Analyst - Sakai & IS Academic Systems |
> Albany Medical Center | 518-264-1055
> >
> >
> > -----Original Message-----
> > From: sakai-dev-bounces at collab.sakaiproject.org [mailto:
> sakai-dev-bounces at collab.sakaiproject.org] On Behalf Of
> sakai-dev-request at collab.sakaiproject.org
> > Sent: Wednesday, May 14, 2014 3:00 PM
> > To: sakai-dev at collab.sakaiproject.org
> > Subject: sakai-dev Digest, Vol 63, Issue 13
> >
> > 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: Sites in Admin Workspace slow to render (Wilson, Kimberly)
> >   2. Re: Sites in Admin Workspace slow to render (Steve Swinsburg)
> >   3. Re: Application Servers Crashing (Warwick Chapman)
> >   4. Due May 23 - Re: Sakai Tools Survey - 2014 (Neal Caidin)
> >   5. Sakai Core Team Call, Thursday, 2014-05-15,      10:00EDT
> >      (14:00GMT) (ottenhoff at longsight.com)
> >   6. Re: [sakai-core-team] Sakai Core Team Call, Thursday,
> >      2014-05-15, 10:00EDT (14:00GMT) (Neal Caidin)
> >   7. Question on copySiteContent (web services script)        or
> >      SAK-22562 (Omer A Piperdi)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Tue, 13 May 2014 19:33:14 +0000
> > From: "Wilson, Kimberly" <wilsonk at mail.amc.edu>
> > Subject: Re: [Building Sakai] Sites in Admin Workspace slow to render
> > To: Neal Caidin <neal.caidin at apereo.org>
> > Cc: "sakai-dev at collab.sakaiproject.org"
> >       <sakai-dev at collab.sakaiproject.org>
> > Message-ID:
> >       <A6B19A294BD71C468CADA777F2FA94BA7BE2C413 at wexcmbx01v.AMCNT.AMC.EDU
> >
> > Content-Type: text/plain; charset="utf-8"
> >
> > I looked through several Sakai Jiras and could not find anything
> >
> > Kim Wilson, MSCIS | Systems Analyst ? Sakai & IS Academic Systems |
> Albany Medical Center | 518-264-1055
> >
> > From: Neal Caidin [mailto:neal.caidin at apereo.org]
> > Sent: Tuesday, May 13, 2014 2:58 PM
> > To: Wilson, Kimberly
> > Cc: sakai-dev at collab.sakaiproject.org
> > Subject: Re: [Building Sakai] Sites in Admin Workspace slow to render
> >
> > HI Kim,
> >
> > Any response to this yet? Have you searched in Jira or opened a Jira?
> >
> > Thanks,
> > Neal
> >
> >
> >
> > [cid:image001.jpg at 01CF6EC0.A758E1F0]
> > Wilson, Kimberly<mailto:wilsonk at mail.amc.edu>
> > May 12, 2014 at 3:15 PM
> > We?ve noticed with Sakai CLE 2.9.3 neoportal the sites tool, sites list
> in the Admin Workspace, is very slow to load and appears to be loading all
> 19,000+ results we have before showing any of the sites and resizing the
> page to show the first 20.
> >
> > Has anyone encountered this and have a solution how to make the page
> load the results faster?
> >
> > All other tools are loading with no noticeable delay.
> >
> > Kim Wilson, MSCIS | Systems Analyst ? Sakai & IS Academic Systems |
> Albany Medical Center | 518-264-1055
> >
> > ________________________________
> > ----------------------------------------- CONFIDENTIALITY NOTICE: This
> email and any attachments may contain confidential information that is
> protected by law and is for the sole use of the individuals or entities to
> which it is addressed. If you are not the intended recipient, please notify
> the sender by replying to this email and destroying all copies of the
> communication and attachments. Further use, disclosure, copying,
> distribution of, or reliance upon the contents of this email and
> attachments is strictly prohibited. To contact Albany Medical Center, or
> for a copy of our privacy practices, please visit us on the Internet at
> www.amc.edu<http://www.amc.edu>.
> > _______________________________________________
> > sakai-dev mailing list
> > sakai-dev at collab.sakaiproject.org<mailto:
> 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<mailto:
> sakai-dev-unsubscribe at collab.sakaiproject.org> with a subject of
> "unsubscribe"
> >
> > --
> > Neal Caidin
> > Sakai Community Coordinator
> > Apereo Foundation
> > neal.caidin at apereo.org<mailto:neal.caidin at apereo.org>
> > Skype me! (but let me know in advance for the first interaction) -
> nealkdin
> >
> >
> > -----------------------------------------
> > CONFIDENTIALITY NOTICE: This email and any attachments may contain
> confidential information that is protected by law and is for the sole use
> of the individuals or entities to which it is addressed. If you are not the
> intended recipient, please notify the sender by replying to this email and
> destroying all copies of the communication and attachments. Further use,
> disclosure, copying, distribution of, or reliance upon the contents of this
> email and attachments is strictly prohibited. To contact Albany Medical
> Center, or for a copy of our privacy practices, please visit us on the
> Internet at www.amc.edu.
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140513/fe4b24b3/attachment-0001.html
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: image001.jpg
> > Type: image/jpeg
> > Size: 770 bytes
> > Desc: image001.jpg
> > Url :
> http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140513/fe4b24b3/attachment-0001.jpg
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Wed, 14 May 2014 23:02:08 +1000
> > From: Steve Swinsburg <steve.swinsburg at gmail.com>
> > Subject: Re: [Building Sakai] Sites in Admin Workspace slow to render
> > To: "Wilson, Kimberly" <wilsonk at mail.amc.edu>
> > Cc: "sakai-dev at collab.sakaiproject.org"
> >       <sakai-dev at collab.sakaiproject.org>
> > Message-ID:
> >       <
> CAPyxfbHe09HyDChCeVMGZj0QamznRSMgQdFF1T1+Np91ZmgYQA at mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > AdminSitesAction.java in the sites bundle is the class that gets the
> data.
> > It does page the calls, assuming valid params. Can you confirm it is
> indeed
> > fetching all by looking at the SQL that is being run?
> >
> > return
> >
> SiteService.getSites(org.sakaiproject.site.api.SiteService.SelectionType.ANY,
> > null, search, null,
> > org.sakaiproject.site.api.SiteService.SortType.TITLE_ASC, new
> > PagingPosition(first, last));
> >
> >
> > On Wed, May 14, 2014 at 5:33 AM, Wilson, Kimberly <wilsonk at mail.amc.edu
> >wrote:
> >
> >> I looked through several Sakai Jiras and could not find anything
> >>
> >>
> >>
> >> *Kim Wilson**,** MSCIS* | Systems Analyst ? Sakai & IS Academic Systems
> |
> >> Albany Medical Center | 518-264-1055
> >>
> >>
> >>
> >> *From:* Neal Caidin [mailto:neal.caidin at apereo.org]
> >> *Sent:* Tuesday, May 13, 2014 2:58 PM
> >> *To:* Wilson, Kimberly
> >> *Cc:* sakai-dev at collab.sakaiproject.org
> >> *Subject:* Re: [Building Sakai] Sites in Admin Workspace slow to render
> >>
> >>
> >>
> >> HI Kim,
> >>
> >> Any response to this yet? Have you searched in Jira or opened a Jira?
> >>
> >> Thanks,
> >> Neal
> >>
> >>
> >>
> >>    *Wilson, Kimberly* <wilsonk at mail.amc.edu>
> >>
> >> May 12, 2014 at 3:15 PM
> >>
> >> We?ve noticed with Sakai CLE 2.9.3 neoportal the sites tool, sites list
> in
> >> the Admin Workspace, is very slow to load and appears to be loading all
> >> 19,000+ results we have before showing any of the sites and resizing the
> >> page to show the first 20.
> >>
> >>
> >>
> >> Has anyone encountered this and have a solution how to make the page
> load
> >> the results faster?
> >>
> >>
> >>
> >> All other tools are loading with no noticeable delay.
> >>
> >>
> >>
> >> *Kim Wilson**,** MSCIS* | Systems Analyst ? Sakai & IS Academic Systems
> |
> >> Albany Medical Center | 518-264-1055
> >>
> >>
> >> ------------------------------
> >>
> >> ----------------------------------------- CONFIDENTIALITY NOTICE: This
> >> email and any attachments may contain confidential information that is
> >> protected by law and is for the sole use of the individuals or entities
> to
> >> which it is addressed. If you are not the intended recipient, please
> notify
> >> the sender by replying to this email and destroying all copies of the
> >> communication and attachments. Further use, disclosure, copying,
> >> distribution of, or reliance upon the contents of this email and
> >> attachments is strictly prohibited. To contact Albany Medical Center, or
> >> for a copy of our privacy practices, please visit us on the Internet at
> >> www.amc.edu.
> >>
> >> _______________________________________________
> >> 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"
> >>
> >>
> >>
> >> --
> >> Neal Caidin
> >> Sakai Community Coordinator
> >> Apereo Foundation
> >> neal.caidin at apereo.org
> >> Skype me! (but let me know in advance for the first interaction) -
> nealkdin
> >>
> >> ------------------------------
> >> ----------------------------------------- CONFIDENTIALITY NOTICE: This
> >> email and any attachments may contain confidential information that is
> >> protected by law and is for the sole use of the individuals or entities
> to
> >> which it is addressed. If you are not the intended recipient, please
> notify
> >> the sender by replying to this email and destroying all copies of the
> >> communication and attachments. Further use, disclosure, copying,
> >> distribution of, or reliance upon the contents of this email and
> >> attachments is strictly prohibited. To contact Albany Medical Center, or
> >> for a copy of our privacy practices, please visit us on the Internet at
> >> www.amc.edu.
> >>
> >>
> >> _______________________________________________
> >> 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/20140514/a2d2590b/attachment-0001.html
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: image001.jpg
> > Type: image/jpeg
> > Size: 770 bytes
> > Desc: not available
> > Url :
> http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140514/a2d2590b/attachment-0001.jpg
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Wed, 14 May 2014 15:06:25 +0200
> > From: Warwick Chapman <warwickchapman at gmail.com>
> > Subject: Re: [Building Sakai] Application Servers Crashing
> > To: Jaco Gillman <jaco at opencollab.co.za>,     sakai-dev
> >       <sakai-dev at collab.sakaiproject.org>
> > Cc: David Wafula Wanyonyi <DavidWafula.Wanyonyi at wits.ac.za>
> > Message-ID:
> >       <CAPVzm11S9o0G+9kdGhOWdXEpnVB+wbmDt9kHU=F=9=
> s4sjxL3w at mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Howzit
> >
> > Sorry for the delay - election madness.
> >
> > -d64 must be used on systems with 64bit architecture in order to address
> > more than 1.5-3.5G of memory (depends on the platform).
> >
> >> From the manual:
> >
> > -d32, -d64
> > Specified whether the program is to be run in a 32-bit or 64-bit
> > environment if available.
> >
> > Currently, only the Java HotSpot Server VM supports 64-bit operations and
> > the -server option is implicit with the use of -d64 .  This is subject to
> > change in a future release.
> >
> > If neither -d32 nor -d64 is specified, the default is to run in a 32-bit
> > environment, except for 64-bit only systems.  This is subject to change
>  in
> > a  future release.
> >
> > See
> >
> http://blogs.vmware.com/apps/2011/06/taking-a-closer-look-at-sizing-the-java-process.htmlfor
> > more information.
> >
> > -- Warwick Bruce Chapman | +27 83 7797 094 |http://warwickchapman.com
> >
> >
> > On Mon, May 5, 2014 at 1:59 PM, Jaco Gillman <jaco at opencollab.co.za>
> wrote:
> >
> >> Hi Warwick, David
> >>
> >> We experience exactly the same issue as you have mentioned below.
> >>
> >> Here is what we have for JAVA_OPTS
> >>
> >> JAVA_OPTS='-server -Xms512m -Xmx4096m -XX:PermSize=128m
> >> -XX:MaxPermSize=512m -XX:NewSize=192m -XX:MaxNewSize=384m
> >> -Djava.awt.headless=true -Dhttp.agent=Sakai
> >> -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
> >> -Dsun.lang.ClassLoader.allowArraySyntax=true
> -Dsakai.home=/opt/sakai_home'
> >>
> >> I also notice you mention -server -*d64*, how important will adding this
> >> parameter be?
> >>
> >> Regards,
> >>
> >> *Jaco Gillman*
> >>
> >> Java Developer
> >>
> >> opencollab
> >>
> >> *Tel*: +27 21 970 4017  |  *Fax*: +27 21 914 3098
> >>
> >> *Email*: jaco at opencollab.co.za  |  *Skype*: gillmanjc
> >>
> >> *Web*: www.opencollab.co.za
> >>
> >>
> >>
> >> On 4 November 2013 09:56, Warwick Chapman <warwickchapman at gmail.com
> >wrote:
> >>
> >>> Thank you for the assistance, we eventually settled on:
> >>>
> >>> JAVA_OPTS='-server -d64 -Xmx4g -XX:MaxPermSize=512m
> >>> -Djava.awt.headless=true -Dhttp.agent=Sakai'
> >>>
> >>> -- Warwick Bruce Chapman | +27 83 7797 094 |http://warwickchapman.com
> >>>
> >>>
> >>> On Fri, Nov 1, 2013 at 11:22 AM, David Wafula Wanyonyi <
> >>> DavidWafula.Wanyonyi at wits.ac.za> wrote:
> >>>
> >>>> We use Solaris Zones.
> >>>> Thanks
> >>>> ------------------------------
> >>>> *From:* Warwick Chapman [warwickchapman at gmail.com]
> >>>> *Sent:* Friday, November 01, 2013 11:04 AM
> >>>> *To:* David Wafula Wanyonyi
> >>>> *Cc:* sakai-dev
> >>>>
> >>>> *Subject:* Re: [Building Sakai] Application Servers Crashing
> >>>>
> >>>>  Ps. Are you using OpenVZ as well?
> >>>>
> >>>> -- Warwick Bruce Chapman | +27 83 7797 094 |http://warwickchapman.com
> >>>>
> >>>>
> >>>> On Fri, Nov 1, 2013 at 10:52 AM, David Wafula Wanyonyi <
> >>>> DavidWafula.Wanyonyi at wits.ac.za> wrote:
> >>>>
> >>>>> Hi,
> >>>>> We run servers of almost the same specs, we use the following options
> >>>>> and they work just fine with way higher number of  sessions:
> >>>>>
> >>>>> JAVA_OPTS="$JAVA_OPTS -server -d64 -Xmx4g  -XX:PermSize=512m
> >>>>> -XX:MaxPermSize=1024m -XX:NewSize=512m -XX:MaxNewSize=1024m
> >>>>> -Djava.awt.headless=true -Dcom.sun.management.jmxremote
> >>>>> -Dsun.lang.ClassLoader.allowArraySyntax=true
> >>>>> -Djava.util.Arrays.useLegacyMergeSort=true"
> >>>>>
> >>>>> You might want up your PermSize.
> >>>>>
> >>>>> Regards,
> >>>>> david.
> >>>>>
> >>>>> ------------------------------
> >>>>> *From:* Warwick Chapman [warwickchapman at gmail.com]
> >>>>> *Sent:* Friday, November 01, 2013 10:27 AM
> >>>>> *To:* sakai-dev
> >>>>> *Subject:* Re: [Building Sakai] Application Servers Crashing
> >>>>>
> >>>>>   The three are running at the moment, with 63 sessions shared
> >>>>> between them:
> >>>>>
> >>>>> root at opportunity:~# uname -a
> >>>>> Linux opportunity 2.6.32-19-pve #1 SMP Wed May 15 07:32:52 CEST 2013
> >>>>> x86_64 x86_64 x86_64 GNU/Linux
> >>>>>
> >>>>> root at opportunity:~# free -m
> >>>>>             total       used       free     shared    buffers
> >>>>> cached
> >>>>> Mem:          4096       3679        416          0          0
> >>>>> 1968
> >>>>> -/+ buffers/cache:       1711       2384
> >>>>> Swap:         4096          6       4089
> >>>>>
> >>>>> root at opportunity:~# w
> >>>>> 10:23:19 up 1 day, 14:23,  1 user,  load average: 0,16, 0,08, 0,04
> >>>>>
> >>>>> ---
> >>>>>
> >>>>> root at opportunity-01:~# uname -a
> >>>>> Linux opportunity-01 2.6.32-19-pve #1 SMP Wed May 15 07:32:52 CEST
> 2013
> >>>>> x86_64 x86_64 x86_64 GNU/Linux
> >>>>>
> >>>>> root at opportunity-01:~# free -m
> >>>>>             total       used       free     shared    buffers
> >>>>> cached
> >>>>> Mem:          4096       2662       1433          0          0
> >>>>> 954
> >>>>> -/+ buffers/cache:       1708       2387
> >>>>> Swap:         4096          3       4092
> >>>>>
> >>>>> root at opportunity-01:~# w
> >>>>> 10:23:54 up 22:56,  1 user,  load average: 0,03, 0,05, 0,00
> >>>>>
> >>>>> ---
> >>>>>
> >>>>> root at opportunity-10:~# uname -a
> >>>>> Linux opportunity-10 2.6.32-20-pve #1 SMP Wed May 15 08:23:27 CEST
> 2013
> >>>>> x86_64 x86_64 x86_64 GNU/Linux
> >>>>>
> >>>>> root at opportunity-10:~# free -m
> >>>>>             total       used       free     shared    buffers
> >>>>> cached
> >>>>> Mem:          4096       1778       2317          0          0
> >>>>> 146
> >>>>> -/+ buffers/cache:       1632       2463
> >>>>> Swap:         4096          0       4096
> >>>>>
> >>>>> root at opportunity-10:~# w
> >>>>> 10:24:40 up 10:40,  2 users,  load average: 0,00, 0,02, 0,13
> >>>>>
> >>>>>
> >>>>> -- Warwick Bruce Chapman | +27 83 7797 094 |
> http://warwickchapman.com
> >>>>>
> >>>>>
> >>>>> On Fri, Nov 1, 2013 at 10:04 AM, Warwick Chapman <
> >>>>> warwickchapman at gmail.com> wrote:
> >>>>>
> >>>>>> Hi All
> >>>>>>
> >>>>>> I'm going mad here.  Surely we can expect a four processor, 4G
> >>>>>> appserver to handle more than 50 sessions without crashing?
> >>>>>>
> >>>>>> Mine keep crashing and its causing havoc.
> >>>>>>
> >>>>>> As they approach 40 sessions, the system load which is usually below
> >>>>>> 0.10 start climbing, and then hits 1.00 and eventually I get the
> >>>>>> "java.lang.OutOfMemoryError: Java heap space" error.
> >>>>>>
> >>>>>> *Details*
> >>>>>>
> >>>>>> 1. Ubuntu 12.04 OpenVZ on Proxmox with 4G RAM and 4 processors
> >>>>>> allocated.
> >>>>>>
> >>>>>> 2. Oracle Java 6:
> >>>>>> root at opportunity-10:~# java -version
> >>>>>> java version "1.6.0_45"
> >>>>>> Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
> >>>>>> Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
> >>>>>>
> >>>>>> 3. Environment variables:
> >>>>>> root at opportunity-10:~# set | grep JAVA
> >>>>>> JAVA_HOME=/usr/lib/jvm/java-6-oracle
> >>>>>> JAVA_OPTS='-server -Xms512m -Xmx1024m -XX:PermSize=128m
> >>>>>> -XX:MaxPermSize=512m -XX:NewSize=192m -XX:MaxNewSize=384m
> >>>>>> -Djava.awt.headless=true -Dhttp.agent=Sakai
> >>>>>> -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
> >>>>>> -Dsun.lang.ClassLoader.allowArraySyntax=true -Duser.language=en
> >>>>>> -Duser.region=ZA -Dfile.encoding=UTF-8'
> >>>>>>
> >>>>>> 4. Sakai 2.9.3 built independently on each app server (also tried
> >>>>>> building on one and deploying to others).  Custom providers, SMS
> and only
> >>>>>> patch is for UCT SMS.
> >>>>>>
> >>>>>> 5. Process:
> >>>>>> 31032 pts/2    Sl     1:44 /usr/lib/jvm/java-6-oracle/bin/java
> >>>>>> -Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties
> >>>>>> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> -server
> >>>>>> -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m
> -XX:NewSize=192m
> >>>>>> -XX:MaxNewSize=384m -Djava.awt.headless=true -Dhttp.agent=Sakai
> >>>>>> -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
> >>>>>> -Dsun.lang.ClassLoader.allowArraySyntax=true -Duser.language=en
> >>>>>> -Duser.region=ZA -Dfile.encoding=UTF-8
> >>>>>> -Djava.endorsed.dirs=/opt/tomcat/endorsed -classpath
> >>>>>> /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar
> >>>>>> -Dcatalina.base=/opt/tomcat -Dcatalina.home=/opt/tomcat
> >>>>>> -Djava.io.tmpdir=/opt/tomcat/temp
> org.apache.catalina.startup.Bootstrap
> >>>>>> start
> >>>>>>
> >>>>>> 6. Database server and LDAP server are quiet and not battling with
> >>>>>> load at all.
> >>>>>>
> >>>>>> 7. The underlying host machines are quiet and load is not affecting
> >>>>>> them at all and memory usage is safely below available.
> >>>>>>
> >>>>>> See catalina for the most recent crash:
> >>>>>> 2013-11-01 09:37:18,497  WARN http-bio-8080-exec-281
> >>>>>> org.sakaiproject.portal.charon.site.DefaultSiteViewImpl - Failed to
> set
> >>>>>> canAddSite for current user. Defaulting to false ...
> >>>>>> Exception in thread "PageSavingThread-sakai.profile2"
> >>>>>> java.lang.OutOfMemoryError: Java heap space
> >>>>>> 2013-11-01 09:41:04,553 ERROR http-bio-8080-exec-256
> >>>>>> org.hibernate.transaction.JDBCTransaction - JDBC rollback failed
> >>>>>>
> com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:
> >>>>>> No operations allowed after connection closed.
> >>>>>>        at
> >>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> >>>>>>        at
> >>>>>>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> >>>>>>        at
> >>>>>>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> >>>>>>        at
> >>>>>> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> >>>>>>        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
> >>>>>>        at com.mysql.jdbc.Util.getInstance(Util.java:386)
> >>>>>>        at
> >>>>>> com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
> >>>>>>        at
> >>>>>> com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
> >>>>>>        at
> >>>>>> com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975)
> >>>>>>        at
> >>>>>> com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920)
> >>>>>>        at
> >>>>>>
> com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(ConnectionImpl.java:1304)
> >>>>>>        at
> >>>>>> com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1296)
> >>>>>>        at
> >>>>>> com.mysql.jdbc.ConnectionImpl.rollback(ConnectionImpl.java:5028)
> >>>>>>        at
> >>>>>>
> org.apache.commons.dbcp.DelegatingConnection.rollback(DelegatingConnection.java:328)
> >>>>>>        at
> >>>>>>
> org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.rollback(PoolingDataSource.java:312)
> >>>>>>        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:597)
> >>>>>>        at
> >>>>>>
> org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy$LazyConnectionInvocationHandler.invoke(LazyConnectionDataSourceProxy.java:364)
> >>>>>>        at com.sun.proxy.$Proxy5.rollback(Unknown Source)
> >>>>>>        at
> >>>>>>
> org.hibernate.transaction.JDBCTransaction.rollbackAndResetAutoCommit(JDBCTransaction.java:183)
> >>>>>>        at
> >>>>>>
> org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:162)
> >>>>>>        at
> >>>>>>
> org.springframework.orm.hibernate3.HibernateTransactionManager.doRollback(HibernateTransactionManager.java:674)
> >>>>>>        at
> >>>>>>
> org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:823)
> >>>>>>        at
> >>>>>>
> org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:800)
> >>>>>>        at
> >>>>>>
> org.springframework.transaction.interceptor.TransactionAspectSupport.completeTransactionAfterThrowing(TransactionAspectSupport.java:339)
> >>>>>>        at
> >>>>>>
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
> >>>>>>        at
> >>>>>>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> >>>>>>        at
> >>>>>>
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> >>>>>>        at com.sun.proxy.$Proxy42.getPublishedAssessment(Unknown
> >>>>>> Source)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.tool.assessment.services.assessment.PublishedAssessmentService.getPublishedAssessment(PublishedAssessmentService.java:189)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.tool.assessment.ui.listener.delivery.BeginDeliveryActionListener.lookupPublishedAssessment(BeginDeliveryActionListener.java:161)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.tool.assessment.ui.listener.delivery.BeginDeliveryActionListener.getPublishedAssessmentBasedOnAction(BeginDeliveryActionListener.java:415)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.tool.assessment.ui.listener.delivery.BeginDeliveryActionListener.processAction(BeginDeliveryActionListener.java:109)
> >>>>>>        at
> >>>>>> javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
> >>>>>>        at
> >>>>>>
> javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:669)
> >>>>>>        at
> >>>>>> javax.faces.component.UICommand.broadcast(UICommand.java:317)
> >>>>>>        at javax.faces.component.UIData.broadcast(UIData.java:677)
> >>>>>>        at
> >>>>>>
> javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
> >>>>>>        at
> >>>>>>
> javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
> >>>>>>        at
> >>>>>>
> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
> >>>>>>        at
> >>>>>> com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
> >>>>>>        at
> >>>>>>
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
> >>>>>>        at
> >>>>>> javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >>>>>>        at
> >>>>>> org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:634)
> >>>>>>        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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.jsf.util.SamigoJsfTool.dispatch(SamigoJsfTool.java:301)
> >>>>>>        at org.sakaiproject.jsf.util.JsfTool.doPost(JsfTool.java:256)
> >>>>>>        at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
> >>>>>>        at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:511)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1483)
> >>>>>>        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.handlers.ToolHandler.doPost(ToolHandler.java:73)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.portal.charon.SkinnableCharonPortal.doPost(SkinnableCharonPortal.java:1273)
> >>>>>>        at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
> >>>>>>        at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >>>>>>        at
> >>>>>> org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:695)
> >>>>>>        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:222)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> >>>>>>        at
> >>>>>>
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
> >>>>>>        at
> >>>>>>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
> >>>>>>        at
> >>>>>>
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
> >>>>>>        at
> >>>>>>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> >>>>>>        at
> >>>>>>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> >>>>>>        at java.lang.Thread.run(Thread.java:662)
> >>>>>> Caused by: java.lang.OutOfMemoryError: Java heap space
> >>>>>> 2013-11-01 09:41:14,635  WARN SakaiClusterService.Maintenance
> >>>>>> org.sakaiproject.db.impl.BasicSqlService - Sql.dbRead: sql: select
> >>>>>> SERVER_ID from SAKAI_CLUSTER where SERVER_ID = ?
> >>>>>> opportunity-10-1383259498265
> >>>>>> com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:
> >>>>>> Communications link failure
> >>>>>>
> >>>>>> The last packet successfully received from the server was 6,629
> >>>>>> milliseconds ago.  The last packet sent successfully to the server
> was
> >>>>>> 6,629 milliseconds ago.
> >>>>>>        at
> >>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> >>>>>>        at
> >>>>>>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> >>>>>>        at
> >>>>>>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> >>>>>>        at
> >>>>>> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> >>>>>>        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
> >>>>>>        at
> >>>>>>
> com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1121)
> >>>>>>        at
> com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3673)
> >>>>>>        at
> com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3562)
> >>>>>>        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4113)
> >>>>>>        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:927)
> >>>>>>        at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4689)
> >>>>>>        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1304)
> >>>>>>        at
> >>>>>> com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2486)
> >>>>>>        at
> >>>>>>
> com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2519)
> >>>>>>        at
> >>>>>> com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2304)
> >>>>>>        at
> >>>>>> com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
> >>>>>>        at
> >>>>>> com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
> >>>>>>        at
> >>>>>> sun.reflect.GeneratedConstructorAccessor680.newInstance(Unknown
> Source)
> >>>>>>        at
> >>>>>>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> >>>>>>        at
> >>>>>> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> >>>>>>        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
> >>>>>>        at
> >>>>>> com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
> >>>>>>        at
> >>>>>>
> com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:346)
> >>>>>>        at
> >>>>>>
> org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
> >>>>>>        at
> >>>>>>
> org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
> >>>>>>        at
> >>>>>>
> org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1181)
> >>>>>>        at
> >>>>>>
> org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:96)
> >>>>>>        at
> >>>>>>
> org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.db.impl.BasicSqlService.borrowConnection(BasicSqlService.java:260)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.db.impl.BasicSqlService.dbRead(BasicSqlService.java:540)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.db.impl.BasicSqlService.dbRead(BasicSqlService.java:471)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.cluster.impl.SakaiClusterService$Maintenance.run(SakaiClusterService.java:377)
> >>>>>>        at java.lang.Thread.run(Thread.java:662)
> >>>>>> Caused by: java.io.EOFException: Can not read response from server.
> >>>>>> Expected to read 4 bytes, read 0 bytes before connection was
> unexpectedly
> >>>>>> lost.
> >>>>>>        at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3119)
> >>>>>>        at
> com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3573)
> >>>>>>        ... 26 more
> >>>>>> 2013-11-01 09:41:27,726  WARN SakaiClusterService.Maintenance
> >>>>>> org.sakaiproject.cluster.impl.SakaiClusterService - run(): server
> has been
> >>>>>> closed in cluster table, reopened: opportunity-10-1383259498265
> >>>>>> 2013-11-01 09:41:24,623  WARN http-bio-8080-exec-291
> >>>>>> org.sakaiproject.portal.util.ErrorReporter - Bug Report bug-id:
> >>>>>> 1c74337e-3721-4fb6-812d-85f665ff1da1 user:
> >>>>>> 334d3096-e735-4597-9826-a1f6fcb44d1a usage-session:
> >>>>>> 9dbb01fb-9a47-4435-b019-3c626f9ec35c time: 01-Nov-2013 09:39:42 user
> >>>>>> comment: null stack trace
> >>>>>> java.lang.OutOfMemoryError: Java heap space
> >>>>>>    at java.util.Hashtable.<init>(Hashtable.java:162)
> >>>>>>    at java.util.Hashtable.<init>(Hashtable.java:183)
> >>>>>>    at
> >>>>>>
> org.sakaiproject.util.BaseResourceProperties.<init>(BaseResourceProperties.java:82)
> >>>>>>    at
> >>>>>>
> org.sakaiproject.util.BaseResourcePropertiesEdit.<init>(BaseResourcePropertiesEdit.java:39)
> >>>>>>    at org.sakaiproject.site.impl.BaseSite.set(BaseSite.java:575)
> >>>>>>    at org.sakaiproject.site.impl.BaseSite.<init>(BaseSite.java:234)
> >>>>>>    at
> >>>>>>
> org.sakaiproject.site.impl.BaseSiteService.getCachedSite(BaseSiteService.java:599)
> >>>>>>    at
> >>>>>>
> org.sakaiproject.site.impl.BaseSiteService.getDefinedSite(BaseSiteService.java:620)
> >>>>>>    at
> >>>>>>
> org.sakaiproject.site.impl.BaseSiteService.getSite(BaseSiteService.java:709)
> >>>>>>    at
> >>>>>>
> org.sakaiproject.site.impl.BaseSiteService.getSiteVisit(BaseSiteService.java:787)
> >>>>>>    at
> >>>>>>
> org.sakaiproject.site.cover.SiteService.getSiteVisit(SiteService.java:140)
> >>>>>>    at
> >>>>>>
> org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:167)
> >>>>>>    at
> >>>>>>
> org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:96)
> >>>>>>    at
> >>>>>>
> org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:894)
> >>>>>>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
> >>>>>>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> >>>>>>    at
> >>>>>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> >>>>>>    at
> >>>>>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >>>>>>    at
> >>>>>> org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:695)
> >>>>>>    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:222)
> >>>>>>    at
> >>>>>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> >>>>>>    at
> >>>>>>
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
> >>>>>>    at
> >>>>>>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> >>>>>>    at
> >>>>>>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
> >>>>>>    at
> >>>>>>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> >>>>>>    at
> >>>>>>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> >>>>>>    at
> >>>>>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> >>>>>>    at
> >>>>>>
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
> >>>>>>    at
> >>>>>>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
> >>>>>>    at
> >>>>>>
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> >>>>>>
> >>>>>> Tool Placement:
> >>>>>> No Placement
> >>>>>>
> >>>>>> Request:
> >>>>>> :    AuthType:null
> >>>>>> :    CharEncoding:UTF-8
> >>>>>> :    ContentLength:-1
> >>>>>> :    ContentType:null
> >>>>>> :    ContextPath:/portal
> >>>>>> :    LocalAddress:192.168.20.5
> >>>>>> :    LocalName:opportunity-10.da.org.za
> >>>>>> :    LocalPort:8080
> >>>>>> :    Method:GET
> >>>>>> :    PathInfo:/tool/00c1784d-3cb9-4b9f-ada5-4200b82376db/synMainLite
> >>>>>> :    Protocol:HTTP/1.1
> >>>>>> :    QueryString:time=1
> >>>>>> :    RemoteAddress:46.4.206.124
> >>>>>> :    RemoteHost:46.4.206.124
> >>>>>> :    RemotePort:56498
> >>>>>> :    Requested URL:
> >>>>>>
> http://umthombo.da.org.za/portal/tool/00c1784d-3cb9-4b9f-ada5-4200b82376db/synMainLite
> >>>>>> :    Scheme:http
> >>>>>> :    ServerName:umthombo.da.org.za
> >>>>>> :    Headers:
> >>>>>> :        Header:accept:text/html, application/xhtml+xml, */*
> >>>>>> :        Header:referer:
> >>>>>>
> http://umthombo.da.org.za/portal/tool/00c1784d-3cb9-4b9f-ada5-4200b82376db/wait
> >>>>>> :        Header:accept-language:en-ZA
> >>>>>> :        Header:user-agent:Mozilla/5.0 (compatible; MSIE 10.0;
> Windows
> >>>>>> NT 6.1; WOW64; Trident/6.0)
> >>>>>> :        Header:accept-encoding:gzip, deflate
> >>>>>> :        Header:dnt:1
> >>>>>> :        Header:cookie:---censored---
> >>>>>> :        Header:host:umthombo.da.org.za
> >>>>>> :        Header:cache-control:max-age=43200
> >>>>>> :        Header:connection:keep-alive
> >>>>>> :        Header:x-forwarded-for:41.13.48.159
> >>>>>> :    Parameters:
> >>>>>> :        Parameter:time:0:1
> >>>>>> :    Attributes:
> >>>>>> :
> >>>>>>
> Attribute:sakai.character.encoding.done:sakai.character.encoding.done
> >>>>>> :        Attribute:sakai.filtered:sakai.filtered
> >>>>>> :
> >>>>>> Attribute:sakai.session:org.sakaiproject.tool.impl.MySession at a064900
> >>>>>> Session:
> >>>>>> :    Created:1383291288806
> >>>>>> :    LastAccess:1383291671451
> >>>>>> :    MaxInactive:3600
> >>>>>> :    Attributes:
> >>>>>> :        Attribute:portalskin:neoskin
> >>>>>>
> >>>>>> 2013-11-01 09:41:35,971  WARN http-bio-8080-exec-256
> >>>>>> org.hibernate.util.JDBCExceptionReporter - SQL Error: 0, SQLState:
> null
> >>>>>> 2013-11-01 09:41:35,971 ERROR http-bio-8080-exec-256
> >>>>>> org.hibernate.util.JDBCExceptionReporter - Already closed.
> >>>>>> 2013-11-01 09:42:09,783  WARN http-bio-8080-exec-256
> >>>>>> org.hibernate.util.JDBCExceptionReporter - SQL Error: 0, SQLState:
> null
> >>>>>> 2013-11-01 09:42:09,783 ERROR http-bio-8080-exec-256
> >>>>>> org.hibernate.util.JDBCExceptionReporter - Already closed.
> >>>>>> 2013-11-01 09:45:04,447 ERROR http-bio-8080-exec-256
> >>>>>> org.springframework.transaction.interceptor.TransactionInterceptor -
> >>>>>> Application exception overridden by rollback exception
> >>>>>> java.lang.OutOfMemoryError: Java heap space
> >>>>>> 2013-11-01 09:45:04,447 ERROR http-bio-8080-exec-256
> >>>>>>
> org.sakaiproject.tool.assessment.services.assessment.PublishedAssessmentService
> >>>>>> - org.springframework.transaction.TransactionSystemException: Could
> not
> >>>>>> roll back Hibernate transaction; nested exception is
> >>>>>> org.hibernate.TransactionException: JDBC rollback failed
> >>>>>> 2013-11-01 09:45:04,447 ERROR http-bio-8080-exec-256
> >>>>>> com.sun.faces.lifecycle.InvokeApplicationPhase -
> >>>>>> org.springframework.transaction.TransactionSystemException: Could
> not roll
> >>>>>> back Hibernate transaction; nested exception is
> >>>>>> org.hibernate.TransactionException: JDBC rollback failed
> >>>>>> java.lang.RuntimeException:
> >>>>>> org.springframework.transaction.TransactionSystemException: Could
> not roll
> >>>>>> back Hibernate transaction; nested exception is
> >>>>>> org.hibernate.TransactionException: JDBC rollback failed
> >>>>>>        at
> >>>>>>
> org.sakaiproject.tool.assessment.services.assessment.PublishedAssessmentService.getPublishedAssessment(PublishedAssessmentService.java:195)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.tool.assessment.ui.listener.delivery.BeginDeliveryActionListener.lookupPublishedAssessment(BeginDeliveryActionListener.java:161)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.tool.assessment.ui.listener.delivery.BeginDeliveryActionListener.getPublishedAssessmentBasedOnAction(BeginDeliveryActionListener.java:415)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.tool.assessment.ui.listener.delivery.BeginDeliveryActionListener.processAction(BeginDeliveryActionListener.java:109)
> >>>>>>        at
> >>>>>> javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
> >>>>>>        at
> >>>>>>
> javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:669)
> >>>>>>        at
> >>>>>> javax.faces.component.UICommand.broadcast(UICommand.java:317)
> >>>>>>        at javax.faces.component.UIData.broadcast(UIData.java:677)
> >>>>>>        at
> >>>>>>
> javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
> >>>>>>        at
> >>>>>>
> javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
> >>>>>>        at
> >>>>>>
> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
> >>>>>>        at
> >>>>>> com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
> >>>>>>        at
> >>>>>>
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
> >>>>>>        at
> >>>>>> javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >>>>>>        at
> >>>>>> org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:634)
> >>>>>>        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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.jsf.util.SamigoJsfTool.dispatch(SamigoJsfTool.java:301)
> >>>>>>        at org.sakaiproject.jsf.util.JsfTool.doPost(JsfTool.java:256)
> >>>>>>        at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
> >>>>>>        at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
> >>>>>>        at
> >>>>>>
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:511)
> >>>>>>        at
> >>>>>>
> org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1483)
> >>>>>>        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.handlers.ToolHandler.doPost(ToolHan
>
>
> _______________________________________________
> 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/20140522/655c41d5/attachment.html 


More information about the sakai-dev mailing list