From: Thomas W. <tho...@gm...> - 2010-12-30 10:44:49
|
It seams we still have some issues with "The InputStream has been closed" error. I just run a build from the trunk and I have got an error trying http://localhost:8080/exist/urlrewrite/faulty.xql Message: Error An IO exception occurred: The InputStream has been closed [at line 35, column 15] Thomas |
From: Dannes W. <da...@ex...> - 2010-12-30 10:48:39
|
Please check the ML; it has been fixed last evening.... sorry for the inconvenience.... D. On 30 Dec 2010, at 11:44 , Thomas White wrote: > It seams we still have some issues with "The InputStream has been closed" > error. > I just run a build from the trunk and I have got an error trying > http://localhost:8080/exist/urlrewrite/faulty.xql > > Message: Error > An IO exception occurred: The InputStream has been closed [at line 35, > column 15] Kind regards Dannes -- eXist-db Native XML Database - http://exist-db.org Join us on linked-in: http://www.linkedin.com/groups?gid=35624 |
From: Thomas W. <tho...@gm...> - 2010-12-30 14:12:53
|
Dannes, I am afraid the issue is still there. I checked out the trunk today and the build includes both your fix from last night and Wolf's urlrewrite new code. Just to be 100% sure I run a clean build and I tried http://localhost:8080/exist/urlrewrite/faulty.xql again. After a delay of about 10 seconds the same error message is returned. Bellow is the full debug stack. My box is XP, JAVA 1.6.0.21 Thomas -------------------------- 2010-12-30 14:03:26,750 [eXistThread-26] ERROR (XQueryServlet.java [process]:536) - An IO exception occurred: The InputStream has been closed [at line 35, column 15] org.exist.xquery.XPathException: An IO exception occurred: The InputStream has been closed [at line 35, column 15] at org.exist.xquery.functions.request.GetData.eval(GetData.java:221) at org.exist.xquery.BasicFunction.eval(BasicFunction.java:68) at org.exist.xquery.InternalFunctionCall.eval(InternalFunctionCall.java:55) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59) at org.exist.xquery.PathExpr.eval(PathExpr.java:241) at org.exist.xquery.LetExpr.eval(LetExpr.java:155) at org.exist.xquery.BindingExpression.eval(BindingExpression.java:155) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59) at org.exist.xquery.PathExpr.eval(PathExpr.java:241) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59) at org.exist.xquery.XQuery.execute(XQuery.java:239) at org.exist.xquery.XQuery.execute(XQuery.java:194) at org.exist.http.servlets.XQueryServlet.process(XQueryServlet.java:506) at org.exist.http.servlets.XQueryServlet.doPost(XQueryServlet.java:229) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:534) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:475) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:516) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:240) at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:116) at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:47) at org.exist.http.urlrewrite.XQueryURLRewrite.doRewrite(XQueryURLRewrite.java:504) at org.exist.http.urlrewrite.XQueryURLRewrite.applyViews(XQueryURLRewrite.java:388) at org.exist.http.urlrewrite.XQueryURLRewrite.doFilter(XQueryURLRewrite.java:336) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:479) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:151) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114) at org.eclipse.jetty.server.Server.handle(Server.java:352) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1051) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: The InputStream has been closed at org.exist.util.io.CachingFilterInputStream.read(CachingFilterInputStream.java:107) at org.exist.util.io.CachingFilterInputStream.read(CachingFilterInputStream.java:100) at org.exist.xquery.functions.request.GetData.eval(GetData.java:213) ... 54 more ------ Thomas White Mobile:+44 7711 922 966 Skype: thomaswhite gTalk: thomas.0007 http://www.linkedin.com/in/thomaswhite0007 http://www.facebook.com/thomas.0007 On 30 December 2010 10:48, Dannes Wessels <da...@ex...> wrote: > Please check the ML; it has been fixed last evening.... > > sorry for the inconvenience.... > > D. > > On 30 Dec 2010, at 11:44 , Thomas White wrote: > > It seams we still have some issues with "The InputStream has been closed" > error. > I just run a build from the trunk and I have got an error trying > http://localhost:8080/exist/urlrewrite/faulty.xql > > Message: Error > An IO exception occurred: The InputStream has been closed [at line 35, > column 15] > > > Kind regards > > Dannes > > -- > eXist-db Native XML Database - http://exist-db.org > Join us on linked-in: http://www.linkedin.com/groups?gid=35624 > > > > > > > > > |
From: Dannes W. <da...@ex...> - 2010-12-30 19:19:36
|
Thomas, On 30 Dec 2010, at 15:12 , Thomas White wrote: > Just to be 100% sure I run a clean build and I tried http://localhost:8080/exist/urlrewrite/faulty.xql again. > After a delay of about 10 seconds the same error message is returned. that query does not exist for me. http://localhost:8080/exist/xquery/guess.xql/source reproduces it, but my fix attempts were not successfull. Adam, please could you jump in? Kind regards Dannes -- eXist-db Native XML Database - http://exist-db.org Join us on linked-in: http://www.linkedin.com/groups?gid=35624 |
From: Вячеслав С. <sch...@gm...> - 2010-12-30 14:21:41
|
probably this have same root as in case of broken compression:unzip - still not work (i check it every day) 2010/12/30 Thomas White <tho...@gm...>: > Dannes, > > I am afraid the issue is still there. I checked out the trunk today and the > build includes both your fix from last night and Wolf's urlrewrite new code. > > Just to be 100% sure I run a clean build and I tried > http://localhost:8080/exist/urlrewrite/faulty.xql again. > After a delay of about 10 seconds the same error message is returned. > > Bellow is the full debug stack. > > My box is XP, JAVA 1.6.0.21 > > Thomas > > -------------------------- > > 2010-12-30 14:03:26,750 [eXistThread-26] ERROR (XQueryServlet.java > [process]:536) - An IO exception occurred: The InputStream has been closed > [at line 35, column 15] > org.exist.xquery.XPathException: An IO exception occurred: The InputStream > has been closed [at line 35, column 15] > at org.exist.xquery.functions.request.GetData.eval(GetData.java:221) > at org.exist.xquery.BasicFunction.eval(BasicFunction.java:68) > at org.exist.xquery.InternalFunctionCall.eval(InternalFunctionCall.java:55) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > at org.exist.xquery.LetExpr.eval(LetExpr.java:155) > at org.exist.xquery.BindingExpression.eval(BindingExpression.java:155) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59) > at org.exist.xquery.XQuery.execute(XQuery.java:239) > at org.exist.xquery.XQuery.execute(XQuery.java:194) > at org.exist.http.servlets.XQueryServlet.process(XQueryServlet.java:506) > at org.exist.http.servlets.XQueryServlet.doPost(XQueryServlet.java:229) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:534) > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:475) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) > at > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:516) > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929) > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403) > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184) > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) > at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:240) > at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:116) > at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:47) > at > org.exist.http.urlrewrite.XQueryURLRewrite.doRewrite(XQueryURLRewrite.java:504) > at > org.exist.http.urlrewrite.XQueryURLRewrite.applyViews(XQueryURLRewrite.java:388) > at > org.exist.http.urlrewrite.XQueryURLRewrite.doFilter(XQueryURLRewrite.java:336) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) > at > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:479) > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929) > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403) > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184) > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) > at > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:151) > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114) > at org.eclipse.jetty.server.Server.handle(Server.java:352) > at > org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596) > at > org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1051) > at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590) > at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212) > at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426) > at > org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508) > at > org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34) > at > org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) > at > org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450) > at java.lang.Thread.run(Thread.java:619) > Caused by: java.io.IOException: The InputStream has been closed > at > org.exist.util.io.CachingFilterInputStream.read(CachingFilterInputStream.java:107) > at > org.exist.util.io.CachingFilterInputStream.read(CachingFilterInputStream.java:100) > at org.exist.xquery.functions.request.GetData.eval(GetData.java:213) > ... 54 more > > > ------ > > Thomas White > > Mobile:+44 7711 922 966 > Skype: thomaswhite > gTalk: thomas.0007 > http://www.linkedin.com/in/thomaswhite0007 > http://www.facebook.com/thomas.0007 > > > On 30 December 2010 10:48, Dannes Wessels <da...@ex...> wrote: >> >> Please check the ML; it has been fixed last evening.... >> sorry for the inconvenience.... >> D. >> On 30 Dec 2010, at 11:44 , Thomas White wrote: >> >> It seams we still have some issues with "The InputStream has been closed" >> error. >> I just run a build from the trunk and I have got an error trying >> http://localhost:8080/exist/urlrewrite/faulty.xql >> >> Message: Error >> An IO exception occurred: The InputStream has been closed [at line 35, >> column 15] >> >> Kind regards >> Dannes >> -- >> eXist-db Native XML Database - http://exist-db.org >> Join us on linked-in: http://www.linkedin.com/groups?gid=35624 >> >> >> >> >> >> >> > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > > |
From: James F. <jam...@ex...> - 2010-12-30 14:39:39
|
a broken compression:unzip would also mean that repo manager is broken and can't work on .xar archives, so its probably still a problem (as repo manager still does not work) ... but unsure how this issue is related J 2010/12/30 Вячеслав Седов <sch...@gm...>: > probably this have same root as in case of broken compression:unzip - > still not work (i check it every day) > > 2010/12/30 Thomas White <tho...@gm...>: >> Dannes, >> >> I am afraid the issue is still there. I checked out the trunk today and the >> build includes both your fix from last night and Wolf's urlrewrite new code. >> >> Just to be 100% sure I run a clean build and I tried >> http://localhost:8080/exist/urlrewrite/faulty.xql again. >> After a delay of about 10 seconds the same error message is returned. >> >> Bellow is the full debug stack. >> >> My box is XP, JAVA 1.6.0.21 >> >> Thomas >> >> -------------------------- >> >> 2010-12-30 14:03:26,750 [eXistThread-26] ERROR (XQueryServlet.java >> [process]:536) - An IO exception occurred: The InputStream has been closed >> [at line 35, column 15] >> org.exist.xquery.XPathException: An IO exception occurred: The InputStream >> has been closed [at line 35, column 15] >> at org.exist.xquery.functions.request.GetData.eval(GetData.java:221) >> at org.exist.xquery.BasicFunction.eval(BasicFunction.java:68) >> at org.exist.xquery.InternalFunctionCall.eval(InternalFunctionCall.java:55) >> at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59) >> at org.exist.xquery.PathExpr.eval(PathExpr.java:241) >> at org.exist.xquery.LetExpr.eval(LetExpr.java:155) >> at org.exist.xquery.BindingExpression.eval(BindingExpression.java:155) >> at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59) >> at org.exist.xquery.PathExpr.eval(PathExpr.java:241) >> at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59) >> at org.exist.xquery.XQuery.execute(XQuery.java:239) >> at org.exist.xquery.XQuery.execute(XQuery.java:194) >> at org.exist.http.servlets.XQueryServlet.process(XQueryServlet.java:506) >> at org.exist.http.servlets.XQueryServlet.doPost(XQueryServlet.java:229) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) >> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:534) >> at >> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:475) >> at >> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) >> at >> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:516) >> at >> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) >> at >> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929) >> at >> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403) >> at >> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184) >> at >> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864) >> at >> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) >> at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:240) >> at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:116) >> at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:47) >> at >> org.exist.http.urlrewrite.XQueryURLRewrite.doRewrite(XQueryURLRewrite.java:504) >> at >> org.exist.http.urlrewrite.XQueryURLRewrite.applyViews(XQueryURLRewrite.java:388) >> at >> org.exist.http.urlrewrite.XQueryURLRewrite.doFilter(XQueryURLRewrite.java:336) >> at >> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) >> at >> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473) >> at >> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) >> at >> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:479) >> at >> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) >> at >> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929) >> at >> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403) >> at >> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184) >> at >> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864) >> at >> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) >> at >> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:151) >> at >> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114) >> at org.eclipse.jetty.server.Server.handle(Server.java:352) >> at >> org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596) >> at >> org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1051) >> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590) >> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212) >> at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426) >> at >> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508) >> at >> org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34) >> at >> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) >> at >> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450) >> at java.lang.Thread.run(Thread.java:619) >> Caused by: java.io.IOException: The InputStream has been closed >> at >> org.exist.util.io.CachingFilterInputStream.read(CachingFilterInputStream.java:107) >> at >> org.exist.util.io.CachingFilterInputStream.read(CachingFilterInputStream.java:100) >> at org.exist.xquery.functions.request.GetData.eval(GetData.java:213) >> ... 54 more >> >> >> ------ >> >> Thomas White >> >> Mobile:+44 7711 922 966 >> Skype: thomaswhite >> gTalk: thomas.0007 >> http://www.linkedin.com/in/thomaswhite0007 >> http://www.facebook.com/thomas.0007 >> >> >> On 30 December 2010 10:48, Dannes Wessels <da...@ex...> wrote: >>> >>> Please check the ML; it has been fixed last evening.... >>> sorry for the inconvenience.... >>> D. >>> On 30 Dec 2010, at 11:44 , Thomas White wrote: >>> >>> It seams we still have some issues with "The InputStream has been closed" >>> error. >>> I just run a build from the trunk and I have got an error trying >>> http://localhost:8080/exist/urlrewrite/faulty.xql >>> >>> Message: Error >>> An IO exception occurred: The InputStream has been closed [at line 35, >>> column 15] >>> >>> Kind regards >>> Dannes >>> -- >>> eXist-db Native XML Database - http://exist-db.org >>> Join us on linked-in: http://www.linkedin.com/groups?gid=35624 >>> >>> >>> >>> >>> >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Learn how Oracle Real Application Clusters (RAC) One Node allows customers >> to consolidate database storage, standardize their database environment, >> and, >> should the need arise, upgrade to a full multi-node Oracle RAC database >> without downtime or disruption >> http://p.sf.net/sfu/oracle-sfdevnl >> _______________________________________________ >> Exist-open mailing list >> Exi...@li... >> https://lists.sourceforge.net/lists/listinfo/exist-open >> >> > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |
From: Thomas W. <tho...@gm...> - 2010-12-30 15:12:34
|
Вячеслав , What are the errors in the log when the compression:unzip is used? There could be a clue. Thomas ------ Thomas White Mobile:+44 7711 922 966 Skype: thomaswhite gTalk: thomas.0007 http://www.linkedin.com/in/thomaswhite0007 http://www.facebook.com/thomas.0007 2010/12/30 James Fuller <jam...@ex...> > a broken compression:unzip would also mean that repo manager is broken > and can't work on .xar archives, so its probably still a problem (as > repo manager still does not work) ... but unsure how this issue is > related > > J > > > > 2010/12/30 Вячеслав Седов <sch...@gm...>: > > probably this have same root as in case of broken compression:unzip - > > still not work (i check it every day) > > > > 2010/12/30 Thomas White <tho...@gm...>: > >> Dannes, > >> > >> I am afraid the issue is still there. I checked out the trunk today and > the > >> build includes both your fix from last night and Wolf's urlrewrite new > code. > >> > >> Just to be 100% sure I run a clean build and I tried > >> http://localhost:8080/exist/urlrewrite/faulty.xql again. > >> After a delay of about 10 seconds the same error message is returned. > >> > >> Bellow is the full debug stack. > >> > >> My box is XP, JAVA 1.6.0.21 > >> > >> Thomas > >> > >> -------------------------- > >> > >> 2010-12-30 14:03:26,750 [eXistThread-26] ERROR (XQueryServlet.java > >> [process]:536) - An IO exception occurred: The InputStream has been > closed > >> [at line 35, column 15] > >> org.exist.xquery.XPathException: An IO exception occurred: The > InputStream > >> has been closed [at line 35, column 15] > >> at org.exist.xquery.functions.request.GetData.eval(GetData.java:221) > >> at org.exist.xquery.BasicFunction.eval(BasicFunction.java:68) > >> at > org.exist.xquery.InternalFunctionCall.eval(InternalFunctionCall.java:55) > >> at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59) > >> at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > >> at org.exist.xquery.LetExpr.eval(LetExpr.java:155) > >> at org.exist.xquery.BindingExpression.eval(BindingExpression.java:155) > >> at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59) > >> at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > >> at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59) > >> at org.exist.xquery.XQuery.execute(XQuery.java:239) > >> at org.exist.xquery.XQuery.execute(XQuery.java:194) > >> at > org.exist.http.servlets.XQueryServlet.process(XQueryServlet.java:506) > >> at org.exist.http.servlets.XQueryServlet.doPost(XQueryServlet.java:229) > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > >> at > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:534) > >> at > >> > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:475) > >> at > >> > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) > >> at > >> > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:516) > >> at > >> > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) > >> at > >> > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929) > >> at > >> > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403) > >> at > >> > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184) > >> at > >> > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864) > >> at > >> > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) > >> at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:240) > >> at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:116) > >> at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:47) > >> at > >> > org.exist.http.urlrewrite.XQueryURLRewrite.doRewrite(XQueryURLRewrite.java:504) > >> at > >> > org.exist.http.urlrewrite.XQueryURLRewrite.applyViews(XQueryURLRewrite.java:388) > >> at > >> > org.exist.http.urlrewrite.XQueryURLRewrite.doFilter(XQueryURLRewrite.java:336) > >> at > >> > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) > >> at > >> > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473) > >> at > >> > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) > >> at > >> > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:479) > >> at > >> > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) > >> at > >> > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929) > >> at > >> > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403) > >> at > >> > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184) > >> at > >> > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864) > >> at > >> > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) > >> at > >> > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:151) > >> at > >> > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114) > >> at org.eclipse.jetty.server.Server.handle(Server.java:352) > >> at > >> > org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596) > >> at > >> > org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1051) > >> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590) > >> at > org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212) > >> at > org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426) > >> at > >> > org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508) > >> at > >> > org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34) > >> at > >> > org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) > >> at > >> > org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450) > >> at java.lang.Thread.run(Thread.java:619) > >> Caused by: java.io.IOException: The InputStream has been closed > >> at > >> > org.exist.util.io.CachingFilterInputStream.read(CachingFilterInputStream.java:107) > >> at > >> > org.exist.util.io.CachingFilterInputStream.read(CachingFilterInputStream.java:100) > >> at org.exist.xquery.functions.request.GetData.eval(GetData.java:213) > >> ... 54 more > >> > >> > >> ------ > >> > >> Thomas White > >> > >> Mobile:+44 7711 922 966 > >> Skype: thomaswhite > >> gTalk: thomas.0007 > >> http://www.linkedin.com/in/thomaswhite0007 > >> http://www.facebook.com/thomas.0007 > >> > >> > >> On 30 December 2010 10:48, Dannes Wessels <da...@ex...> wrote: > >>> > >>> Please check the ML; it has been fixed last evening.... > >>> sorry for the inconvenience.... > >>> D. > >>> On 30 Dec 2010, at 11:44 , Thomas White wrote: > >>> > >>> It seams we still have some issues with "The InputStream has been > closed" > >>> error. > >>> I just run a build from the trunk and I have got an error trying > >>> http://localhost:8080/exist/urlrewrite/faulty.xql > >>> > >>> Message: Error > >>> An IO exception occurred: The InputStream has been closed [at line 35, > >>> column 15] > >>> > >>> Kind regards > >>> Dannes > >>> -- > >>> eXist-db Native XML Database - http://exist-db.org > >>> Join us on linked-in: http://www.linkedin.com/groups?gid=35624 > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >> > >> > >> > ------------------------------------------------------------------------------ > >> Learn how Oracle Real Application Clusters (RAC) One Node allows > customers > >> to consolidate database storage, standardize their database environment, > >> and, > >> should the need arise, upgrade to a full multi-node Oracle RAC database > >> without downtime or disruption > >> http://p.sf.net/sfu/oracle-sfdevnl > >> _______________________________________________ > >> Exist-open mailing list > >> Exi...@li... > >> https://lists.sourceforge.net/lists/listinfo/exist-open > >> > >> > > > > > ------------------------------------------------------------------------------ > > Learn how Oracle Real Application Clusters (RAC) One Node allows > customers > > to consolidate database storage, standardize their database environment, > and, > > should the need arise, upgrade to a full multi-node Oracle RAC database > > without downtime or disruption > > http://p.sf.net/sfu/oracle-sfdevnl > > _______________________________________________ > > Exist-open mailing list > > Exi...@li... > > https://lists.sourceforge.net/lists/listinfo/exist-open > > > |
From: <ht...@ma...> - 2010-12-31 18:11:01
|
Dannes Wessels <da...@ex...> writes: > Please check the ML; it has been fixed last evening.... This fix r13470 | dizzzz | 2010-12-29 21:41:05 +0000 (Wed, 29 Dec 2010) | 7 lines causes a regression wrt bug 3138225 [1] :-( ht [1] https://sourceforge.net/tracker/?func=detail&aid=3138225&group_id=17691&atid=117691 -- Henry S. Thompson, Markup Systems Ltd. Cavers Garden Farm, Denholm; by Hawick; TD9 8LN +44 (0) 7866 471 388 Fax: (44) 131 651-1426, e-mail: ht...@ma... URL: http://www.markup.co.uk/ [mail really from me _always_ has this .sig -- mail without it is forged spam] |
From: Adam R. <ad...@ex...> - 2011-01-01 20:14:49
|
Thomas, I think this issue should be fixed now as revision 13483. On 30 December 2010 14:12, Thomas White <tho...@gm...> wrote: > Dannes, > > I am afraid the issue is still there. I checked out the trunk today and the > build includes both your fix from last night and Wolf's urlrewrite new code. > > Just to be 100% sure I run a clean build and I tried > http://localhost:8080/exist/urlrewrite/faulty.xql again. > After a delay of about 10 seconds the same error message is returned. > > Bellow is the full debug stack. > > My box is XP, JAVA 1.6.0.21 > > Thomas > > -------------------------- > > 2010-12-30 14:03:26,750 [eXistThread-26] ERROR (XQueryServlet.java > [process]:536) - An IO exception occurred: The InputStream has been closed > [at line 35, column 15] > org.exist.xquery.XPathException: An IO exception occurred: The InputStream > has been closed [at line 35, column 15] > at org.exist.xquery.functions.request.GetData.eval(GetData.java:221) > at org.exist.xquery.BasicFunction.eval(BasicFunction.java:68) > at org.exist.xquery.InternalFunctionCall.eval(InternalFunctionCall.java:55) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > at org.exist.xquery.LetExpr.eval(LetExpr.java:155) > at org.exist.xquery.BindingExpression.eval(BindingExpression.java:155) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59) > at org.exist.xquery.XQuery.execute(XQuery.java:239) > at org.exist.xquery.XQuery.execute(XQuery.java:194) > at org.exist.http.servlets.XQueryServlet.process(XQueryServlet.java:506) > at org.exist.http.servlets.XQueryServlet.doPost(XQueryServlet.java:229) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:534) > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:475) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) > at > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:516) > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929) > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403) > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184) > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) > at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:240) > at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:116) > at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:47) > at > org.exist.http.urlrewrite.XQueryURLRewrite.doRewrite(XQueryURLRewrite.java:504) > at > org.exist.http.urlrewrite.XQueryURLRewrite.applyViews(XQueryURLRewrite.java:388) > at > org.exist.http.urlrewrite.XQueryURLRewrite.doFilter(XQueryURLRewrite.java:336) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) > at > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:479) > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929) > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403) > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184) > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) > at > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:151) > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114) > at org.eclipse.jetty.server.Server.handle(Server.java:352) > at > org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596) > at > org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1051) > at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590) > at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212) > at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426) > at > org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508) > at > org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34) > at > org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) > at > org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450) > at java.lang.Thread.run(Thread.java:619) > Caused by: java.io.IOException: The InputStream has been closed > at > org.exist.util.io.CachingFilterInputStream.read(CachingFilterInputStream.java:107) > at > org.exist.util.io.CachingFilterInputStream.read(CachingFilterInputStream.java:100) > at org.exist.xquery.functions.request.GetData.eval(GetData.java:213) > ... 54 more > > > ------ > > Thomas White > > Mobile:+44 7711 922 966 > Skype: thomaswhite > gTalk: thomas.0007 > http://www.linkedin.com/in/thomaswhite0007 > http://www.facebook.com/thomas.0007 > > > On 30 December 2010 10:48, Dannes Wessels <da...@ex...> wrote: >> >> Please check the ML; it has been fixed last evening.... >> sorry for the inconvenience.... >> D. >> On 30 Dec 2010, at 11:44 , Thomas White wrote: >> >> It seams we still have some issues with "The InputStream has been closed" >> error. >> I just run a build from the trunk and I have got an error trying >> http://localhost:8080/exist/urlrewrite/faulty.xql >> >> Message: Error >> An IO exception occurred: The InputStream has been closed [at line 35, >> column 15] >> >> Kind regards >> Dannes >> -- >> eXist-db Native XML Database - http://exist-db.org >> Join us on linked-in: http://www.linkedin.com/groups?gid=35624 >> >> >> >> >> >> >> > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |
From: Adam R. <ad...@ex...> - 2011-01-01 20:18:28
|
Dannes, I have been investigating revision 13470, and since my fix to request:get-data() in revision 13483, I cannot reproduce the issue where you needed to implement .available() on CachingFilterInputStream for the Sandbox webapp to work correctly. The test query that I am executing in the Sandbox is - doc("/db/shakespeare/plays/hamlet.xml") However I cannot see that this even calls .available(). Can you give me a mechanism (test?) for reproducing the problems with .available() so that I can ensure that all cases are covered. Cheers On 31 December 2010 17:26, Henry S. Thompson <ht...@ma...> wrote: > Dannes Wessels <da...@ex...> writes: > >> Please check the ML; it has been fixed last evening.... > > This fix > > r13470 | dizzzz | 2010-12-29 21:41:05 +0000 (Wed, 29 Dec 2010) | 7 lines > > causes a regression wrt bug 3138225 [1] :-( > > ht > > [1] > https://sourceforge.net/tracker/?func=detail&aid=3138225&group_id=17691&atid=117691 > -- > Henry S. Thompson, Markup Systems Ltd. > Cavers Garden Farm, Denholm; by Hawick; TD9 8LN > +44 (0) 7866 471 388 > Fax: (44) 131 651-1426, e-mail: ht...@ma... > URL: http://www.markup.co.uk/ > [mail really from me _always_ has this .sig -- mail without it is forged spam] > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |
From: Dannes W. <da...@ex...> - 2011-01-02 09:07:40
Attachments:
smime.p7s
|
Adam, On Jan 1, 2011, at 9:18 PM, Adam Retter wrote: > However I cannot see that this even calls .available(). Can you give > me a mechanism (test?) for reproducing the problems with .available() > so that I can ensure that all cases are covered. sorry I can't :-) the issue was problem was so obvious, so if you don't see it anymore..... it is not there anymore. thnx for the good work! D. -- Dannes Wessels eXist-db Open Source Native XML Database e: da...@ex... w: http://www.exist-db.org |
From: Adam R. <ad...@ex...> - 2011-01-02 09:18:41
|
Can you even tell me - What was the XQuery you were using in the sandbox to trigger the issue previously? On 2 January 2011 09:07, Dannes Wessels <da...@ex...> wrote: > Adam, > On Jan 1, 2011, at 9:18 PM, Adam Retter wrote: > >> However I cannot see that this even calls .available(). Can you give >> me a mechanism (test?) for reproducing the problems with .available() >> so that I can ensure that all cases are covered. > > > sorry I can't :-) the issue was problem was so obvious, so if you don't see it anymore..... it is not there anymore. > > thnx for the good work! > > D. > > -- > Dannes Wessels > eXist-db Open Source Native XML Database > e: da...@ex... > w: http://www.exist-db.org > > > > > > > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |
From: <ht...@ma...> - 2011-01-02 16:54:23
|
Adam Retter <ad...@ex...> writes: > I think this issue should be fixed now as revision 13483. The regression wrt bug 3138225 is still there -- GetData returns null from a POST for me. . . I.e. 13469 works, but none of 13470, 13483 or 13484 do. ht -- Henry S. Thompson, Markup Systems Ltd. Cavers Garden Farm, Denholm; by Hawick; TD9 8LN +44 (0) 7866 471 388 Fax: (44) 131 651-1426, e-mail: ht...@ma... URL: http://www.markup.co.uk/ [mail really from me _always_ has this .sig -- mail without it is forged spam] |
From: Adam R. <ad...@ex...> - 2011-01-02 19:36:48
|
Henry, I am trying to put together some JUnit test cases for this function as there dont appear to be any, can you give me an example of your POST HTTP Request, perhaps captured with something like tcpdump or Wireshark? Cheers Adam. On 2 January 2011 16:54, Henry S. Thompson <ht...@ma...> wrote: > Adam Retter <ad...@ex...> writes: > >> I think this issue should be fixed now as revision 13483. > > The regression wrt bug 3138225 is still there -- GetData returns null > from a POST for me. . . > > I.e. 13469 works, but none of 13470, 13483 or 13484 do. > > ht > -- > Henry S. Thompson, Markup Systems Ltd. > Cavers Garden Farm, Denholm; by Hawick; TD9 8LN > +44 (0) 7866 471 388 > Fax: (44) 131 651-1426, e-mail: ht...@ma... > URL: http://www.markup.co.uk/ > [mail really from me _always_ has this .sig -- mail without it is forged spam] > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |
From: <ht...@ma...> - 2011-01-02 23:50:37
|
Adam Retter <ad...@ex...> writes: > I am trying to put together some JUnit test cases for this function as > there dont appear to be any, can you give me an example of your POST > HTTP Request, perhaps captured with something like tcpdump or > Wireshark? Use telnet to send this: ------------------- POST /exist/triv.xql HTTP/1.1 Host: 127.0.0.1 Content-Length: 33 <?xml version='1.0' ?> <banana/> ------------------ to this ------------triv.xql----------- xquery version "1.0"; <res>{name(request:get-data())}</res> ------------------------------ Gives <res>banana</res> with 13469, but <res/> with 13486 ht -- Henry S. Thompson, Markup Systems Ltd. Cavers Garden Farm, Denholm; by Hawick; TD9 8LN +44 (0) 7866 471 388 Fax: (44) 131 651-1426, e-mail: ht...@ma... URL: http://www.markup.co.uk/ [mail really from me _always_ has this .sig -- mail without it is forged spam] |
From: Adam R. <ad...@ex...> - 2011-01-03 13:23:13
|
Thanks Henry, That helped me get my head around your use case. So I believe that get-data() should now be fixed as revision 13496 in trunk, I have also added supporting test cases. Sorry for the delay on this, there was a bug in the newer version of Jetty that we are using in trunk. I discussed this with their developers this morning and its now logged as an official bug in Jetty - https://bugs.eclipse.org/bugs/show_bug.cgi?id=333415 We have a workaround in place for this as initially suggested by Wolfgang for the time being, until Jetty 7.3.0 is released (approx. next month). Thanks Adam. On 2 January 2011 23:50, Henry S. Thompson <ht...@ma...> wrote: > Adam Retter <ad...@ex...> writes: > >> I am trying to put together some JUnit test cases for this function as >> there dont appear to be any, can you give me an example of your POST >> HTTP Request, perhaps captured with something like tcpdump or >> Wireshark? > > Use telnet to send this: > > ------------------- > POST /exist/triv.xql HTTP/1.1 > Host: 127.0.0.1 > Content-Length: 33 > > <?xml version='1.0' ?> > <banana/> > ------------------ > > to this > > ------------triv.xql----------- > xquery version "1.0"; > > <res>{name(request:get-data())}</res> > ------------------------------ > > Gives > > <res>banana</res> > > with 13469, but > > <res/> > > with 13486 > > ht > -- > Henry S. Thompson, Markup Systems Ltd. > Cavers Garden Farm, Denholm; by Hawick; TD9 8LN > +44 (0) 7866 471 388 > Fax: (44) 131 651-1426, e-mail: ht...@ma... > URL: http://www.markup.co.uk/ > [mail really from me _always_ has this .sig -- mail without it is forged spam] > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |
From: <ht...@ma...> - 2011-01-03 14:27:56
|
Adam Retter <ad...@ex...> writes: > That helped me get my head around your use case. I would have thought it was the 90% case - POST from an XForm - but in any case, you're welcome. > So I believe that get-data() should now be fixed as revision 13496 in > trunk, I have also added supporting test cases. Yup, that rev. works for me. ht -- Henry S. Thompson, Markup Systems Ltd. Cavers Garden Farm, Denholm; by Hawick; TD9 8LN +44 (0) 7866 471 388 Fax: (44) 131 651-1426, e-mail: ht...@ma... URL: http://www.markup.co.uk/ [mail really from me _always_ has this .sig -- mail without it is forged spam] |
From: Dannes W. <da...@ex...> - 2011-01-03 14:34:28
|
Adam, On Mon, Jan 3, 2011 at 3:27 PM, Henry S. Thompson <ht...@ma...> wrote: >> So I believe that get-data() should now be fixed as revision 13496 in >> trunk, I have also added supporting test cases. > > Yup, that rev. works for me. does this mean... that we're not dependent on the new release of jetty? cheers Dannes -- eXist-db Native XML Database - http://exist-db.org Join us on linked-in: http://www.linkedin.com/groups?gid=35624 |
From: Adam R. <ad...@ex...> - 2011-01-03 15:03:22
|
> On Mon, Jan 3, 2011 at 3:27 PM, Henry S. Thompson <ht...@ma...> wrote: >>> So I believe that get-data() should now be fixed as revision 13496 in >>> trunk, I have also added supporting test cases. >> >> Yup, that rev. works for me. > > does this mean... that we're not dependent on the new release of jetty? Ideally before we release eXist-db 1.6 we would want Jetty 2.3.0 and to remove the workaround. In the meantime I think the workaround will be fine for most use cases. It relies on the content length, there may be some issues with this (hence its a workaround). > cheers > > Dannes > > -- > eXist-db Native XML Database - http://exist-db.org > Join us on linked-in: http://www.linkedin.com/groups?gid=35624 > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |
From: Dannes W. <da...@ex...> - 2011-01-03 15:15:56
|
On Mon, Jan 3, 2011 at 4:03 PM, Adam Retter <ad...@ex...> wrote: >> does this mean... that we're not dependent on the new release of jetty? > > Ideally before we release eXist-db 1.6 we would want Jetty 2.3.0 and > to remove the workaround. In the meantime I think the workaround will > be fine for most use cases. It relies on the content length, there may > be some issues with this (hence its a workaround). Thnx for the explanation, and thnx for the work! D. -- eXist-db Native XML Database - http://exist-db.org Join us on linked-in: http://www.linkedin.com/groups?gid=35624 |