two weeks ago i upgraded DSpace from 5.4 to 6.3. Everything looks pretty good, but today, webadmin told me "creating new collections takes a long time, or is imposible (Internel server error) when i push "next""
I enabled debug mode, and i saw that, everytime when i push "Next" in dspace.log starting a lot of operations like this connected with hibernate:
2021-01-25 17:50:26,746 DEBUG org.hibernate.engine.internal.Collections @ Collection found: [org.dspace.eperson.Group.groups#4491bccf-303c-434343395-823497b-d8243234092d655fb3], was: [org.dspace.eperson.Group.groups#4491bccf-303c-43434395-897b-d802343292d655fb3] (uninitialized)
2021-01-25 17:50:26,746 DEBUG org.hibernate.engine.internal.Collections @ Collection found: [org.dspace.eperson.Group.parentGroups#4491bccf-303c-439234325-89234427b-d8092d655fb3], was: [org.dspace.eperson.Group.parentGroups#4491bccf-303c-43924325-8923427b-d8092d655fb3] (uninitialized)
2021-01-25 17:50:26,746 DEBUG org.hibernate.engine.internal.Collections @ Collection found: [org.dspace.eperson.Group.supervisedItems#4491bccf-303c-439234325-897b-d8092d655fb3], was: [org.dspace.eperson.Group.supervisedItems#4491bccf-303c-43243295-897b-d8092d655fb3] (uninitialized)
2021-01-25 17:50:26,746 DEBUG org.hibernate.engine.internal.Collections @ Collection found: [org.dspace.content.DSpaceObject.handles#0d2abd2f-e192-4a8234322-9e49-11e2e0f05c18], was: [org.dspace.content.DSpaceObject.handles#0d2abd2f-e192-4a8234322-9e49-11e2e0f05c18] (uninitialized)
2021-01-25 17:50:26,746 DEBUG org.hibernate.engine.internal.Collections @ Collection found: [org.dspace.content.DSpaceObject.metadata#0d2abd2f-e192-4a243282-9e49-11e2e0f05c18], was: [org.dspace.content.DSpaceObject.metadata#0d2abd2f-e192-4a2342382-9e49-11e2e0f05c18] (uninitialized)
The problem exist with:
- Create collection when i check
* The submission workflow will include an accept/reject step
* The submission workflow will include an accept/reject/edit metadata step
* The submission workflow will include an edit metadata step
*This collection will have delegated collection administrators
The same, when i edditing new collection first time (accept/reject/edit etc).
It looks like problem with new mechanism "hibernate". Is posible to increase performance ? For example by modify (hibernate.cfg.xml) or something else?
Thanks,
Karol
Thanks,