  | |  | AXIS: tomcat timeout ? | AXIS: tomcat timeout ? 2004-01-22 - By Shah, Soniya M. [RA]
Back 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)] Sent: ??????, 22 ?????????? 2004 10:08 ?? 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-7"> <TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1276" name=GENERATOR> <STYLE>@(protected) Section1 {size: 612.0pt 792.0pt; margin: 70.85pt 70.85pt 2.0cm 70 .85pt; } P.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman" } LI.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman" } DIV.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman" } A:link { COLOR: blue; TEXT-DECORATION: underline } SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline } A:visited { COLOR: purple; TEXT-DECORATION: underline } SPAN.MsoHyperlinkFollowed { COLOR: purple; TEXT-DECORATION: underline } SPAN.EmailFormatvorlage17 { COLOR: windowtext; FONT-FAMILY: Arial } DIV.Section1 { page: Section1 } </STYLE> </HEAD> <BODY lang=DE vLink=purple link=blue> <DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV> <DIV><SPAN class=090123315-22012004><FONT face=Arial color=#0000ff size=2>I put a timeout parameter on the client side. </FONT></SPAN></DIV> <DIV><SPAN class=090123315-22012004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=090123315-22012004><FONT face=Arial color=#0000ff size=2>there is setTimeout method in org.apache.axis.client.Call object.</FONT></SPAN></DIV> <DIV><SPAN class=090123315-22012004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=090123315-22012004><FONT face=Arial color=#0000ff size=2>Soniya</FONT></SPAN></DIV> <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"> <DIV></DIV> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT face=Tahoma size=2>-- --Original Message-- --<BR><B>From:</B> Daniel Humberg [mailto:slomoman@(protected)] <BR><B>Sent:</B> ??????, 22 ?????????? 2004 10:08 ??<BR><B>To:</B> axis-user@(protected)<BR><B>Subject:</B> AXIS: tomcat timeout ?<BR><BR></FONT></DIV> <DIV class=Section1> <P class=MsoNormal><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">I use Axis embeded in Tomcat in 2 different configurations:</SPAN></FONT></P> <P class=MsoNormal><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt; 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><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">2) For other cases, I start standalone-tomcat from the start-menu.</SPAN></FONT></P> <P class=MsoNormal><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P> <P class=MsoNormal><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt; 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><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P> <P class=MsoNormal><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Daniel</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P></DIV>< /BLOCKQUOTE></BODY></HTML>
|
|
 |