  | |  | AXIS: tomcat timeout ? | AXIS: tomcat timeout ? 2004-01-22 - By Daniel Humberg
Back On the client side, I don?t use Axis but PocketSoap for PocketPC?02. I don?t think that there is such a timeout-option. Is there anything I can set in the server-side?
Daniel
-- --Urspr?ngliche Nachricht-- -- Von: Shah, Soniya M. [RA] [mailto:sshah2@(protected)] An: 'axis-user@(protected)' Betreff: RE: AXIS: tomcat timeout ?
I put a timeout parameter on the client side.
there is setTimeout method in org.apache.axis.client.Call object.
Soniya
-- --Original Message-- -- From: Daniel Humberg [mailto:slomoman@(protected)] To: axis-user@(protected) Subject: AXIS: tomcat timeout ?
I use Axis embeded in Tomcat in 2 different configurations:
1) For development I start Tomcat (and Axis) in Eclipse (a Java DIE with a special Eclipse-Plugin).
2) For other cases, I start standalone-tomcat from the start-menu.
My webservice needs a while. It conntects to a database, does some computing and return a long string. In 1), I had no problems, but in 2), many soap-requests returned errors. In these cases, I get an error-message before the webservice server has even sent his response. Could it be that there is a timeout or anything like that that exceeds and causes the error? What else could I do.
Daniel
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html>
<head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 10 (filtered)"> <title>Message</title>
<style> <!-- /* Font Definitions */ @(protected) {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.emailformatvorlage17 {font-family:Arial; color:windowtext;} span.EmailFormatvorlage18 {font-family:Arial; color:navy;} @(protected) Section1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 2.0cm 70.85pt;} div.Section1 {page:Section1;} --> </style>
</head>
<body lang=DE link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>On the client side, I don’t use Axis but PocketSoap for PocketPC’02. I don’t think that there is such a timeout-option. Is there anything I can set in the server-side?</span></font>< /p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Daniel</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>-- --Ursprüngliche Nachricht-- --<br> <b><span style='font-weight:bold'>Von:</span></b> Shah, Soniya M. [RA] [mailto:sshah2@(protected)] ?<br> <b><span style='font-weight:bold'>An:</span></b> 'axis-user@(protected)'<br> <b><span style='font-weight:bold'>Betreff:</span></b> RE: AXIS: tomcat timeout ?</span></font></p>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>I put a timeout parameter on the client side. </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>there is setTimeout method in org.apache.axis.client.Call object.</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>Soniya< /span></font></p>
</div>
<blockquote style='margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>
<p class=MsoNormal style='margin-right:0cm;margin-bottom:12.0pt;margin-left: 35.4pt'><font size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt; font-family:Tahoma'>-- --Original Message-- --<br> <b><span style='font-weight:bold'>From:</span></b> Daniel Humberg [mailto:slomoman@(protected)] ?<br> <b><span style='font-weight:bold'>To:</span></b> axis-user@(protected)<br> <b><span style='font-weight:bold'>Subject:</span></b> AXIS: tomcat timeout ?< /span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face="Courier New"> <span style='font-size:10.0pt;font-family:"Courier New"'>I use Axis embeded in Tomcat in 2 different configurations:</span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face="Courier New"> <span style='font-size:10.0pt;font-family:"Courier New"'>1) For development I start Tomcat (and Axis) in Eclipse (a Java DIE with a special Eclipse-Plugin). </span ></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face="Courier New"> <span style='font-size:10.0pt;font-family:"Courier New"'>2) For other cases, I start standalone-tomcat from the start-menu.</span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face="Courier New"> <span style='font-size:10.0pt;font-family:"Courier New"'>My webservice needs a while. It conntects to a database, does some computing and return a long string. In 1), I had no problems, but in 2), many soap-requests returned errors. In these cases, I get an error-message before the webservice server has even sent his response. Could it be that there is a timeout or anything like that that exceeds and causes the error? What else could I do.</span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face="Courier New"> <span style='font-size:10.0pt;font-family:"Courier New"'>Daniel</span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</blockquote>
</div>
</body>
</html>
|
|
 |