Hi,

 

I am using JiBX for creating OTA schema based web service. Everything is
working fine except - 

 

When I get this error due to either when the client goes down or client
times out, Further requests are not sending back,

 

17:10:10,695 INFO  [STDOUT] 17:10:10,679 ERROR SoapProcessor:146 - Error
aborting send

ClientAbortException:  java.net.SocketException: Software caused
connection abort: socket write error

      at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.j
ava:399)

      at
org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:449)

      at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)

      at
org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:
422)

      at
org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:411)

      at
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStrea
m.java:89)

      at
org.jibx.runtime.impl.OutByteBuffer.flush(OutByteBuffer.java:186)

      at
org.jibx.runtime.impl.StreamWriterBase.flush(StreamWriterBase.java:412)

      at
org.jibx.runtime.impl.StreamWriterBase.close(StreamWriterBase.java:426)

      at
org.jibx.ws.http.servlet.WsServletDelegate$OutboundConnection.close(WsSe
rvletDelegate.java:516)

 

 

After the above error, the next request onwards fails after processing
with the following error. 

 

17:10:23,632 ERROR Service:255 - Aborted response due to error after
commit

java.lang.IllegalArgumentException: Index out of range

      at
org.jibx.runtime.impl.UTF8StreamWriter.defineNamespace(UTF8StreamWriter.
java:178)

      at
org.jibx.runtime.impl.XMLWriterNamespaceBase.openNamespaces(XMLWriterNam
espaceBase.java:229)

      at
org.jibx.runtime.impl.XMLWriterBase.startTagNamespaces(XMLWriterBase.jav
a:225)

      at org.jibx.ws.soap.SoapWriter.startMessage(SoapWriter.java:80)

      at
org.jibx.ws.soap.SoapProcessor.sendMessage(SoapProcessor.java:123)

      at org.jibx.ws.server.Service.processRequest(Service.java:245)

      at
org.jibx.ws.http.servlet.WsServletDelegate.doPost(WsServletDelegate.java
:147)

      at org.jibx.ws.http.servlet.WsServlet.doPost(WsServlet.java:76)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChai

 

A redeployment of the war file is the only solution if this happens. I
struck with this point and any help would be appreciated.  

 

Best Regards

Rajesh R V 

 

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to