Hi Annamarie, What version of DSpace 6 are you using? There were several bugs related to "could not initialize proxy - no Session" that were fixed in both DSpace 6.2 and 6.3, including: https://jira.duraspace.org/browse/DS-3660 https://jira.duraspace.org/browse/DS-3775
There is also one outstanding "known issue" related to OAI harvesting in this area: https://jira.duraspace.org/browse/DS-4028 So, it's possible your system is hitting one of these bugs. It's also possible this is a new bug (as of yet undiscovered) which should be reported in our ticketing system. If the latter, it'd be useful to understand if you are able to reproduce this problem by clicking on a specific page in the JSPUI, or similar. That'd help us verify if we can reproduce this on our demo server (or another instance): http://demo.dspace.org/jspui/ Please remember to respond on this list, so that others can contribute to this discussion & help us verify if this is a DSpace JSPUI bug or not. Thanks, Tim On Tue, Oct 30, 2018 at 10:19 AM Annamarie Klose Hrubes < [email protected]> wrote: > Hi, all, > > While DSpace 6 with the JSPUI interface appears to be working correctly > for my university's institutional repository ( > https://repository.wpunj.edu/), I keep getting an e-mail to our admin > account that there is an internal server error (see below). > > Does anyone have experience and/or solutions regarding this? > > Thank you, > Anna > > *Annamarie Klose Hrubes* > > *Digital Initiatives Librarian* > > *David & Lorraine Cheng Library* > > *William Paterson University* > > *[email protected] <[email protected]>* > > > > > *---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------* > > An internal server error occurred on http://repository.wpunj.edu: > > > > Date: 9/21/18 6:08 PM > > Session ID: 547984D653A2021CA43DC897375D9A49 > > User: Anonymous > > IP address: *[My IP Address]* > > > > -- URL Was: *[Server IP Address]*/internal-error > > -- Method: POST > > -- Parameters were: > > > > > > Exception: > > org.apache.jasper.JasperException: > org.hibernate.LazyInitializationException: failed to lazily initialize a > collection of role: org.dspace.content.BitstreamFormat.fileExtensions, > could not initialize proxy - no Session > > at > org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:565) > > at > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:481) > > at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385) > > at > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329) > > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:742) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) > > at > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) > > at > org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) > > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) > > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) > > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475) > > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) > > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) > > at > org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624) > > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) > > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341) > > at > org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:495) > > at > org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) > > at > org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:767) > > at > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1354) > > at > org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > > at > org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) > > at java.lang.Thread.run(Unknown Source) Caused by: > org.hibernate.LazyInitializationException: failed to lazily initialize a > collection of role: org.dspace.content.BitstreamFormat.fileExtensions, > could not initialize proxy - no Session > > at > org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:569) > > at > org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:188) > > at > org.hibernate.collection.internal.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:139) > > at > org.hibernate.collection.internal.PersistentIdentifierBag.size(PersistentIdentifierBag.java:179) > > at > org.apache.jsp.help.formats_jsp._jspService(formats_jsp.java:314) > > at > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) > > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:742) > > at > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443) > > ... 28 more > > > > -- > All messages to this mailing list should adhere to the DuraSpace Code of > Conduct: https://duraspace.org/about/policies/code-of-conduct/ > --- > You received this message because you are subscribed to the Google Groups > "DSpace Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/dspace-community. > For more options, visit https://groups.google.com/d/optout. > -- Tim Donohue Technical Lead for DSpace & DSpaceDirect DuraSpace.org | DSpace.org | DSpaceDirect.org -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-community. For more options, visit https://groups.google.com/d/optout.
