You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Peter Koch <Pe...@ivyteam.ch> on 2005/08/31 15:23:38 UTC

java.net.SocketTimeoutException: Read timed out

hi folks,

sometimes, a SocketTimeOutException occures (using axis 1.2.1 and jre 1.4.2_09)
in the client (generated with wsdl2java). 
the operation i call uses attachments (DataHandler).
(everything worked fine using axis 1.1).

my stub is session aware and of course, I set the timeout to a longer 
period than 1 minute on the stub. as far as i saw with the debugger,
the timeout is set properly onto the Call instances... 
funny but true, sometimes I get the following exception:

Fehler: java.net.SocketTimeoutException: Read timed out
Fehler: AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.net.SocketTimeoutException: Read timed out
 faultActor: 
 faultNode: 
 faultDetail: 
	{http://xml.apache.org/axis/}hostname:zugnbcst

java.net.SocketTimeoutException: Read timed out
	at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
	at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
	at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(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.DTDConfiguration.parse(Unknown Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
	at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
	at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
	at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
	at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
	at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
	at org.apache.axis.client.Call.invoke(Call.java:2748)
	at org.apache.axis.client.Call.invoke(Call.java:2424)
	at org.apache.axis.client.Call.invoke(Call.java:2347)
	at org.apache.axis.client.Call.invoke(Call.java:1804)



any idea ?

br,
peter

RE: java.net.SocketTimeoutException: Read timed out

Posted by EmpereurYollson <yo...@yahoo.fr>.
Hallo
Thank enough to unsubscribe me in the maillingsliste
 



Ne rien dire pour nuire ,ne pas se taire pour plaire

Empereur Yollson

8 allee d orlean 92160 Antony (France)

Tel: +33.6. 98.79.21.51(France)

tel:0049.152.04.93.66.39 (Allemagne)










		
---------------------------------
 Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
 Téléchargez le ici !