You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by bu...@apache.org on 2004/09/10 15:05:08 UTC

DO NOT REPLY [Bug 22775] - Xindice hangs forever on blocking I/O call

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=22775>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=22775

Xindice hangs forever on blocking I/O call





------- Additional Comments From wouter_de_vaal@hotmail.com  2004-09-10 13:05 -------
I can confirm this "bug". It happened to us when we tried to set meta data
documents directly into the meta collection. When we just used setMetaData
methods on a clean database, all went well. The stacktrace we got on the
corrupted database was the following (it showed repeatedly untill a
OutOfMemoryError occured):

WARN 2004-09-10 10:54:26,111 [http8080-Processor3] - ignored exception
java.io.EOFException
	at java.io.DataInputStream.readByte(DataInputStream.java:243)
	at
org.apache.xindice.xml.XMLCompressedInput.readSignature(XMLCompressedInput.java:54)
	at org.apache.xindice.xml.dom.ElementImpl.loadAttributes(ElementImpl.java:173)
	at org.apache.xindice.xml.dom.ElementImpl.<init>(ElementImpl.java:60)
	at
org.apache.xindice.xml.dom.ContainerNodeImpl.loadChildren(ContainerNodeImpl.java:128)
	at org.apache.xindice.xml.dom.DocumentImpl.checkLoaded(DocumentImpl.java:133)
	at
org.apache.xindice.xml.dom.ContainerNodeImpl.getChildNodes(ContainerNodeImpl.java:182)
	at org.apache.xindice.xml.TextWriter.writeChildren(TextWriter.java:192)
	at org.apache.xindice.xml.TextWriter.writeNode(TextWriter.java:88)
	at org.apache.xindice.xml.TextWriter.write(TextWriter.java:250)
	at org.apache.xindice.xml.TextWriter.toString(TextWriter.java:274)
	at org.apache.xindice.core.Collection.getEntry(Collection.java:725)
	at org.apache.xindice.core.Collection.getDocument(Collection.java:561)
	at org.apache.xindice.core.Collection.getObject(Collection.java:809)
	at
org.apache.xindice.core.MetaSystemCollection.getCollectionMeta(MetaSystemCollection.java:203)
	at org.apache.xindice.core.Collection.updateCollectionMeta(Collection.java:1530)
	at org.apache.xindice.core.Collection.create(Collection.java:254)
	at
org.apache.xindice.core.CollectionManager.createCollection(CollectionManager.java:132)
	at org.apache.xindice.core.Collection.createCollection(Collection.java:264)
	at
org.apache.xindice.server.rpc.messages.CreateCollection.execute(CreateCollection.java:74)
	at
org.apache.xindice.server.rpc.RPCMessageInterface.run(RPCMessageInterface.java:48)
	at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.xmlrpc.Invoker.execute(XmlRpcServer.java)
	at org.apache.xmlrpc.XmlRpcServer$Worker.executeInternal(XmlRpcServer.java)
	at org.apache.xmlrpc.XmlRpcServer$Worker.execute(XmlRpcServer.java)
	at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java)
	at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java)
	at org.apache.xindice.server.XindiceServlet.doPost(XindiceServlet.java:90)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
	at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:578)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
	at java.lang.Thread.run(Thread.java:595)