Initially when this error is occuring i don't have any report in my reports 
directory. I generated two reports and now it is showing me proper report 
without this exception. 

I must say DSpace developer must release their build after through testing 
otherwise such incidents create embarrassments for people like us. 

I thank you for your support.

--- On Thu, 1/24/13, Bram Luyten <b...@mire.be> wrote:

From: Bram Luyten <b...@mire.be>
Subject: Re: [Dspace-tech] Internal Server Error on statistics link (Admin menu)
To: "mErRYo" <merryob...@yahoo.com>
Cc: dspace-tech@lists.sourceforge.net
Date: Thursday, January 24, 2013, 5:12 PM

Hi mErRYo,
can you verify whether any reports are present in your reports directory?
by default this is/reports/ in your dspace install dir
https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L1439



Just a wild theory at this point but if the directory is empty, it could be 
that this line already sends you to a no-report 
pagehttps://github.com/DSpace/DSpace/blob/master/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/StatisticsServlet.java#L168


while the code still gets down to another forward on line 
260https://github.com/DSpace/DSpace/blob/master/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/StatisticsServlet.java#L260


At this second forward, he can't forward you anymore because you have already 
been forwarded, hence the error.Can't explain it otherwise because I only see 
two forwards in that servlet.


this bug could be fixed by adding a return statement on line 169.
rgds
Bram Luyten

-- 

 
Bram Luyten @mire



2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
 www.atmire.com




On Thu, Jan 24, 2013 at 7:30 AM, mErRYo <merryob...@yahoo.com> wrote:


Hi All, I am getting following error when i click on statistics page under

administer menu. How can i resolve it, though i change my db.maxconnections

to 50 and db.maxwait to 30000 (30 Sec) in "dspace.cfg" file. I am using Dspace 
3.0 with jspui & discovery



Please help.



-- URL Was: http://myip/jspui/statistics

-- Method: GET

-- Parameters were:





Exception:

java.lang.IllegalStateException: Cannot forward after response has been 
committed

        at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:349)

        at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)

        at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:60)

        at 
org.dspace.app.webui.servlet.StatisticsServlet.showStatistics(StatisticsServlet.java:260)

        at 
org.dspace.app.webui.servlet.StatisticsServlet.doDSPost(StatisticsServlet.java:68)

        at 
org.dspace.app.webui.servlet.StatisticsServlet.doDSGet(StatisticsServlet.java:49)

        at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)

        at 
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)

        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.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:222)

        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

        at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:931)

        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:1004)

        at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)

        at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)

        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

        at java.lang.Thread.run(Thread.java:662)







------------------------------------------------------------------------------

Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,

MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current

with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft

MVPs and experts. ON SALE this month only -- learn more at:

http://p.sf.net/sfu/learnnow-d2d

_______________________________________________

DSpace-tech mailing list

DSpace-tech@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/dspace-tech

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



------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to