[Dspace-tech] Internal System Error after loading jspui

1,407 views
Skip to first unread message

sergi.garcia

unread,
Aug 26, 2015, 12:22:05 PM8/26/15
to dspac...@lists.sourceforge.net
Hi,

After installing Dspace 4.0 a I point my browser to the JSP User Interface:

http://dspace.eug.es:8081/jspui

The Web page shows an Internal System Error message at the bottom.

The XML User Interface, Works fine:

http://dspace.eug.es:8081/xmlui

I look for the Tomcat logs for error messages and I found the following
error message.

First of all I amb going to show you my hosts file:

127.0.0.1 localhost
127.0.0.1 dspace.eug.es dspace

And here comes my error message:

Feb 20, 2014 2:36:17 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [jsp] in context with path [/jspui]
threw exception [org.apache.jasper.JasperException: An exception occurred
processing JSP page /index.jsp at line 59

56: SiteHomeProcessor[] chp = (SiteHomeProcessor[])
PluginManager.getPluginSequence(SiteHomeProcessor.class);
57: for (int i = 0; i < chp.length; i++)
58: {
59: chp[i].process(context, request, response);
60: }
61: }
62: catch (Exception e)


Stacktrace:] with root cause
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Server
at http://dspace.eug.es:8081/solr/search returned non ok status:500,
message:Internal Server Error
at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:385)
at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:90)
at
org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at
org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:1556)
at
org.dspace.browse.SolrBrowseDAO.getSolrResponse(SolrBrowseDAO.java:189)
at org.dspace.browse.SolrBrowseDAO.doQuery(SolrBrowseDAO.java:288)
at org.dspace.browse.BrowseEngine.browseMini(BrowseEngine.java:164)
at
org.dspace.app.webui.components.RecentSubmissionsManager.getRecentSubmissions(RecentSubmissionsManager.java:89)
at
org.dspace.app.webui.components.RecentSiteSubmissions.process(RecentSiteSubmissions.java:47)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:120)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
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:224)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

What do you think am I doing wrong ?

Thank you for your time and patience.

--
Sergi





--
View this message in context: http://dspace.2283337.n4.nabble.com/Internal-System-Error-after-loading-jspui-tp4671641.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

Teo Tokis

unread,
Aug 26, 2015, 12:22:16 PM8/26/15
to sergi.garcia, dspac...@lists.sourceforge.net
Hey Seri,
it seems like a Solr's problem.
A solution to your problem is to copy the folder "[dspace-installation-directory]\webapps\solr" to "C:\Program Files\Apache Software Foundation\Apache Tomcat (your version)\webapps" (or wherever is the Tomcat's installation directory).

Then you can test if Solr is "working" @ http://localhost:8081/solr/

Teo.


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpac...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Sergi Garcia Besora

unread,
Aug 26, 2015, 12:22:19 PM8/26/15
to dspac...@lists.sourceforge.net
Hello Teo,


As you told me I tested if Solr is "working" @ http://localhost:8081/solr/ and it is working.

Then why it is not working ?

What do you suggest ?

Change something from solr web.xml ?

Change something from solrconfig.xml ?

Thank you for your help,

--
Sergi


Este mensaje y los documentos que, en su caso lleve anexos, pueden contener información CONFIDENCIAL. Por ello, se informa al destinatario que la información contenida en el mismo es reservada y su uso no autorizado, publicación o difusión, entera o parcialmente, tanto en formato o medio físico como electrónico, sin el previo consentimiento de la Fundació privada Escoles Universitàries Gimbernat, está prohibida legalmente.

Si ha recibido este correo por error, le rogamos que nos lo comunique por la misma vía o por teléfono (+34 93 589 37 27), se abstenga de realizar copias del mensaje o remitirlo o entregarlo a otra persona y proceda a borrarlo de inmediato.

En cumplimiento de la Ley Orgánica de Protección de Datos de Carácter Personal (LOPD), le informamos de que sus datos de contacto han sido incorporados en ficheros titularidad de la FUNDACIÓ PRIVADA ESCOLES UNIVERSITÀRIES GIMBERNAT, que responden a la finalidad de servir de directorio o agenda de contactos así como para facilitar la gestión administrativa y comercial desarrollada por la empresa.

Ud. tiene la posibilidad de ejercer los derechos de acceso, rectificación, cancelación y oposición previstos en la ley mediante correo electrónico a lo...@eug.es



Aquest missatge i els documents que, si s’escau porti annexos, poden contenir informació CONFIDENCIAL. Per això, s’informa al destinatari que la informació continguda en el mateix és reservada i el seu ús no autoritzat, publicació o difusió, sencera o parcialment, tant en format o mitjà físic com electrònic, sense el previ consentiment de la Fundació privada Escoles Universitàries Gimbernat, està prohibida legalment.

Si ha rebut aquest correu per error, li preguem que ens ho comuniqui per la mateixa via o per telèfon (+34 93 589 37 27), s'abstingui de realitzar còpies del missatge o remetre o lliurar-lo a una altra persona i procedeixi a esborrar-lo immediatament.

En compliment de la Llei Orgànica de Protecció de Dades de Caràcter Personal (LOPD), l'informem que les seves dades de contacte han estat incorporades en fitxers titularitat de la FUNDACIÓ PRIVADA ESCOLES UNIVERSITÀRIES GIMBERNAT, que responen a la finalitat de servir de directori o agenda de contactes i per facilitar
la gestió administrativa i comercial desenvolupada per l'empresa.

Vostè té la possibilitat d'exercir els drets d'accés, rectificació, cancel.lació i oposició previstos en la llei mitjançant correu electrònic a lo...@eug.es

helix84

unread,
Aug 26, 2015, 12:57:48 PM8/26/15
to Teo Tokis, dspace-tech
On Fri, Feb 21, 2014 at 9:25 AM, Teo Tokis <teot...@gmail.com> wrote:
> A solution to your problem is to copy the folder
> "[dspace-installation-directory]\webapps\solr" to "C:\Program Files\Apache
> Software Foundation\Apache Tomcat (your version)\webapps" (or wherever is
> the Tomcat's installation directory).

Yes, this is a problem in Solr, but this is most likely not the right fix.

If you were getting a 404 error, this would be one way to fix that
problem - the other way that would I recommend being pointing your
Context in Tomcat's configuration to "[dspace]\webapps\solr".

But you're getting a 500 error, which is a generic code that says you
should look at Solr's logs to see what the error is. You can find
Solr's logs in Tomcat's logs (catalina.out).



Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Sergi Garcia Besora

unread,
Aug 26, 2015, 12:58:02 PM8/26/15
to dspac...@lists.sourceforge.net
Hello,

I have reinstalled Dspace, this time with a Tomcat downloaded from the Apache site and not from the the Linux distribution repositories. After some configuration for dspace user I have finaly installed a Dspace with no Internal System Error from the jspui page.

When I have time I amb going to post my own guide of Dspace installation on an Ubuntu 12.04 LTS.

Thank you for you help.

--
Sergi


----- Original Message -----
Reply all
Reply to author
Forward
0 new messages