AnsweredAssumed Answered

Display document in Popup window

Question asked by bindiya on Dec 21, 2006
Hi

I have developed RMI webclient to display the contents of alfresco.
And i get this error while access the following document link

http://localhost:8080/alfresco/download/direct/workspace/SpacesStore/4fc1e6e2-9037-11db-974b-c3e825037c09/Guardian%20Form.doc?ticket=97-913d-11db-bbfd-4d7eed5de30d


16:35:46,109 ERROR [[downloadContent]] Servlet.service() for servlet downloadCon
tent threw exception
java.lang.IllegalStateException: Cannot create a session after the response has
been committed
        at org.apache.catalina.connector.Request.doGetSession(Request.java:2195)

        at org.apache.catalina.connector.Request.getSession(Request.java:2017)
        at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.
java:822)
        at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.
java:833)
        at org.alfresco.web.app.servlet.BaseServlet.redirectToLoginPage(BaseServ
let.java:179)
        at org.alfresco.web.app.servlet.BaseServlet.servletAuthenticate(BaseServ
let.java:144)
        at org.alfresco.web.app.servlet.BaseServlet.servletAuthenticate(BaseServ
let.java:109)
        at org.alfresco.web.app.servlet.DownloadContentServlet.doGet(DownloadCon
tentServlet.java:92)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:81)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
        at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
ipalValve.java:39)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:159)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:59)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:856)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:744)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
        at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
kerThread.java:112)
        at java.lang.Thread.run(Thread.java:595)

Outcomes