I get the following error but only when I use the Apache webserver.
When I do a query (using TaminoApi4Java) I get the following.
com.softwareag.tamino.db.API.accessor.TXQueryException( message: Response could not be built, tag: JavaTaminoAPI_4_2_0_53, java: 1.4.2_04, os: Windows XP 5.1 ):
at com.softwareag.tamino.db.API.accessor.TXMLObjectAccessorImpl.xquery(Unknown Source)
at za.co.businessdriver.domain.data.accessors.TaminoAccessor.doQuerySingle(TaminoAccessor.java:149)
at za.co.bd.struts.formcontroller.accessors.FCAccessor.retrieve(Unknown Source)
at za.co.bd.struts.common.StrutsAccessor.retrieve(Unknown Source)
at za.co.bd.struts.formcontroller.actions.FCAction.retrieve(Unknown Source)
at za.co.bd.struts.formcontroller.actions.FCAction.execute(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
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(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
at java.lang.Thread.run(Thread.java:534)
Caused by: com.softwareag.tamino.db.API.response.TResponseBuildException( message: Response could not be built for XML access., tag: JavaTaminoAPI_4_2_0_53, java: 1.4.2_04, os: Windows XP 5.1 ):
at com.softwareag.tamino.db.API.response.TResponseBuilderImpl.doBuild(Unknown Source)
at com.softwareag.tamino.db.API.response.TResponseBuilderImpl.buildForXML(Unknown Source)
… 36 more
Caused by: com.softwareag.tamino.db.API.response.TStreamInterpretException( message: Interpreting the input stream failed!, tag: JavaTaminoAPI_4_2_0_53, java: 1.4.2_04, os: Windows XP 5.1 ):
at com.softwareag.tamino.db.API.response.jdom.TJDOMInputStreamInterpreter.doInterpret(Unknown Source)
at com.softwareag.tamino.db.API.response.TInputStreamInterpreter.interpret(Unknown Source)
… 38 more
Caused by: java.io.IOException: Bogus chunk size
at sun.net.www.http.ChunkedInputStream.processRaw(ChunkedInputStream.java:292)
at sun.net.www.http.ChunkedInputStream.readAheadBlocking(ChunkedInputStream.java:545)
at sun.net.www.http.ChunkedInputStream.readAhead(ChunkedInputStream.java:582)
at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:669)
at java.io.FilterInputStream.read(FilterInputStream.java:111)
at java.io.FilterInputStream.read(FilterInputStream.java:111)
at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source)
at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)
at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
at org.apache.xerces.impl.XMLEntityScanner.scanContent(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:770)
at com.softwareag.tamino.db.API.response.jdom.TJDOMInputStreamInterpreter.build(Unknown Source)
… 40 more
But when I change back to IIS it works fine. I also have a problem in X-plorer, it only shows some of the document in the collection (the first few) and also gives the bogus chunk size error.
Any ideas why this could be happening?
I’ve tried the query and x-plorer test on different machines and it works on some of them.
Regards,
Jean
Hi.
3 years later…
I encounter the same problem.
Did you find any way to avoid it ?
Thanks in advance.