[
http://issues.apache.org/jira/browse/AXIS2-1058?page=comments#action_12429531 ]
Matthew Vincent commented on AXIS2-1058:
----------------------------------------
After further review it appears as though this is a bug in TCPMon...
java.lang.ArrayIndexOutOfBoundsException: 8192
at org.apache.ws.commons.tcpmon.SocketRR.run(SocketRR.java:281)
java.lang.ArrayIndexOutOfBoundsException: 8192
at org.apache.ws.commons.tcpmon.SocketRR.run(SocketRR.java:281)
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at org.apache.ws.commons.tcpmon.SocketRR.run(SocketRR.java:213)
java.lang.ArrayIndexOutOfBoundsException: 8192
at org.apache.ws.commons.tcpmon.SocketRR.run(SocketRR.java:281)
Sorry for the inconvenience.
Matt
> OMStreamingException: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in
> start tag (or various other error)
> -------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-1058
> URL: http://issues.apache.org/jira/browse/AXIS2-1058
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: Server: Solaris, Tomcat 5.5.17, JDK 1.5.0_07
> Client: Fedora Core 4, JDK 1.5.0_07
> Reporter: Matthew Vincent
> Attachments: output.tar.gz
>
>
> I have a webapp that includes Apache Axis2. It appears that the response I
> am receiving is "truncated" at various points on various runs when the data
> becomes to large. I'm not sure of the limit because it varies (somewhere
> around 27,000 records).
> Somtimes I receive:
> at
> org.jax.mgi.mtb.ws.services.TumorFrequencyServiceStub.GetTumorFrequencies(TumorFrequencyServiceStub.java:141)
> at Client.searchFrequencies(Client.java:44)
> at Client.main(Client.java:31)
> Caused by: org.apache.axiom.om.impl.exception.OMStreamingException:
> com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in start tag
> at [row,col {unknown-source}]: [1,1085728]
> at
> org.apache.axiom.om.impl.llom.OMStAXWrapper.getElementText(OMStAXWrapper.java:825)
> at
> org.jax.mgi.mtb.ws.services.xsd.TumorFrequencyData$Factory.getElementTextProperly(TumorFrequencyData.java:747)
> at
> org.jax.mgi.mtb.ws.services.xsd.TumorFrequencyData$Factory.parse(TumorFrequencyData.java:831)
> at
> org.jax.mgi.mtb.ws.services.xsd.GetTumorFrequenciesResponse$Factory.parse(GetTumorFrequenciesResponse.java:200)
> at
> org.jax.mgi.mtb.ws.services.TumorFrequencyServiceStub.fromOM(TumorFrequencyServiceStub.java:315)
> ... 3 more
> Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in start tag
> at [row,col {unknown-source}]: [1,1085728]
> at
> com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:628)
> at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:977)
> at com.ctc.wstx.sr.StreamScanner.getNextChar(StreamScanner.java:736)
> at
> com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2641)
> at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:976)
> at
> com.ctc.wstx.sr.BasicStreamReader.getElementText(BasicStreamReader.java:641)
> at
> org.apache.axiom.om.impl.llom.OMStAXWrapper.getElementText(OMStAXWrapper.java:823)
> ... 7 more
> Other times, I receive a similar error about parsing.
> I have attached a TCPMon trace of the input and output.
> My WSDL file is the following:
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- root element wsdl:definitions defines set of related services -->
> <wsdl:definitions name="MTB"
> targetNamespace="http://mtb.mgi.jax.org/ws/services"
> xmlns="http://schemas.xmlsoap.org/wsdl/"
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:tns="http://mtb.mgi.jax.org/ws/services"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsdmtb="http://mtb.mgi.jax.org/ws/services/xsd"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
> <!-- ================================================================= -->
> <!-- Types -->
> <!-- ================================================================= -->
> <!-- wsdl:types encapsulates schema definitions of communication types;
> -->
> <!-- here using xsd -->
> <wsdl:types>
> <xsd:schema targetNamespace="http://mtb.mgi.jax.org/ws/services/xsd"
> xmlns="http://www.w3.org/2001/XMLSchema"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> elementFormDefault="qualified">
> <xsd:complexType name="TumorFrequencyData">
> <xsd:sequence>
> <xsd:element minOccurs="1" maxOccurs="1"
> name="id" type="xsd:int"/>
> <xsd:element minOccurs="1" maxOccurs="1"
> name="tumorName" type="xsd:string"/>
> <xsd:element minOccurs="0" maxOccurs="unbounded"
> name="tumorSynonyms" type="xsd:string"/>
> <xsd:element minOccurs="1" maxOccurs="1"
> name="strain" type="xsdmtb:StrainData"/>
> <xsd:element minOccurs="1" maxOccurs="unbounded"
> name="treatmentType" type="xsd:string"/>
> <xsd:element minOccurs="1" maxOccurs="unbounded"
> name="treatmentAgents" type="xsd:string"/>
> <xsd:element minOccurs="1" maxOccurs="1"
> name="organAffected" type="xsd:string"/>
> <xsd:element minOccurs="1" maxOccurs="1"
> name="metastasizesTo"
> type="xsdmtb:MetastasesData"/>
> <xsd:element minOccurs="1" maxOccurs="1"
> name="sex" type="xsd:string"/>
> <xsd:element minOccurs="1" maxOccurs="1"
> name="reproductiveStatus" type="xsd:string"/>
> <xsd:element minOccurs="1" maxOccurs="1"
> name="frequency" type="xsd:string"/>
> <xsd:element minOccurs="1" maxOccurs="1"
> name="ageOnset" type="xsd:string"/>
> <xsd:element minOccurs="1" maxOccurs="1"
> name="ageDetection" type="xsd:string"/>
> <xsd:element minOccurs="1" maxOccurs="unbounded"
> name="reference" type="xsd:string"/>
> </xsd:sequence>
> </xsd:complexType>
> <xsd:complexType name="StrainData">
> <xsd:sequence>
> <xsd:element minOccurs="1" maxOccurs="1"
> name="strainName" type="xsd:string"/>
> <xsd:element minOccurs="1" maxOccurs="1"
> name="strainTypes" type="xsd:string"/>
> <xsd:element minOccurs="1" maxOccurs="1"
> name="strainNote" type="xsd:string"/>
> </xsd:sequence>
> </xsd:complexType>
> <xsd:complexType name="MetastasesData">
> <xsd:sequence>
> <xsd:element minOccurs="1" maxOccurs="1"
> name="id" type="xsd:int"/>
> <xsd:element minOccurs="1" maxOccurs="1"
> name="organ" type="xsd:string"/>
> </xsd:sequence>
> </xsd:complexType>
> <!-- xsd definition: GetTumorFrequencies [array of ints] -->
> <xsd:element name="GetTumorFrequencies">
> <xsd:complexType>
> <xsd:sequence>
> <xsd:element minOccurs="0" maxOccurs="unbounded"
> name="id" type="xsd:int"/>
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
> <!-- xsd definition: GetTumorFrequenciesResponse -->
> <!-- [array of TumorFrequencyData] -->
> <xsd:element name="GetTumorFrequenciesResponse">
> <xsd:complexType>
> <xsd:sequence>
> <xsd:element minOccurs="0" maxOccurs="unbounded"
> name="tumorFrequencies"
> type="xsdmtb:TumorFrequencyData"/>
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
> </xsd:schema>
> </wsdl:types>
> <!-- ================================================================= -->
> <!-- Messages -->
> <!-- ================================================================= -->
> <!-- wsdl:message elements describe potential transactions -->
> <!-- request GetTumorFrequenciesRequest is of type GetTumorFrequencies -->
> <wsdl:message name="GetTumorFrequenciesRequest">
> <wsdl:part name="parameters" element="xsdmtb:GetTumorFrequencies"/>
> </wsdl:message>
> <!-- response GetTumorFrequenciesResponse is of type -->
> <!-- GetTumorFrequenciesResponse -->
> <wsdl:message name="GetTumorFrequenciesResponse">
> <wsdl:part name="parameters"
> element="xsdmtb:GetTumorFrequenciesResponse"/>
> </wsdl:message>
> <!-- ================================================================= -->
> <!-- Port type -->
> <!-- ================================================================= -->
> <!-- wsdl:portType describes messages in an operation -->
> <wsdl:portType name="GetTumorFrequenciesPortType">
> <wsdl:operation name="GetTumorFrequencies">
> <wsdl:input message="tns:GetTumorFrequenciesRequest"/>
> <wsdl:output message="tns:GetTumorFrequenciesResponse"/>
> </wsdl:operation>
> </wsdl:portType>
> <!-- ================================================================= -->
> <!-- Binding -->
> <!-- ================================================================= -->
> <!-- wsdl:binding states a serialization protocol for this service -->
> <wsdl:binding name="TumorFrequencySoapBinding"
> type="tns:GetTumorFrequenciesPortType">
> <!-- leverage off soap:binding document style -->
> <!-- @@@(no wsdl:foo pointing at the soap binding) -->
> <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
> style="document"/>
> <!-- semi-opaque container of network transport details classed by
> soap:binding above @@@ -->
> <wsdl:operation name="GetTumorFrequencies">
> <soap:operation
> soapAction="http://mtb.mgi.jax.org/ws/services/GetTumorFrequencies"
> style="document"/>
> <wsdl:input>
> <soap:body use="literal"/>
> </wsdl:input>
> <wsdl:output>
> <soap:body use="literal"/>
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
> <!-- ================================================================= -->
> <!-- Service -->
> <!-- ================================================================= -->
> <!-- wsdl:service names a new service "TumorFrequencyService" -->
> <wsdl:service name="TumorFrequencyService">
> <wsdl:documentation>Tumor Frequency Data</wsdl:documentation>
> <!-- connect it to the binding "TumorFrequencySoapBinding: above -->
> <wsdl:port name="TumorFrequencyPort"
> binding="tns:TumorFrequencySoapBinding">
> <!-- give the binding a network address -->
> <soap:address
> location="http://tumor.informatics.jax.org/mtbws/services/TumorFrequencyService"/>
> </wsdl:port>
> </wsdl:service>
> </wsdl:definitions>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]