Re: How I can slove this problem??

2003-06-26 Thread Bikash Paul
Hi,

From my client interface Iam taking the message of my
servlet from outputstream which has written by
servlet(by out.println)incase of connection broken
during uploading and then my client pop up a dialogbox
of connection broken to inform user.My application
architecture is Tomcat is install on WinNT4.0 which is
centralised server on local area and swing client is
install on different user's computer which is also on
local area,Now my all user uploading file on remote
destination using swing client through Tomcat server.
I want to say that both server and client on local
area and user uploading file on remote destination.

Regards
Bikash 
--- Jason Bainbridge [EMAIL PROTECTED] wrote:
 On Wed, 25 Jun 2003 14:24, Bikash Paul wrote:
   am using tomcat4.1.24 for my uploading
  software(swing for client interface and
 servlet).Iam
  facing problem with connection broken,During
 uploading
  of file if connection between local computer and
  remote computer broken then my software will give
 a
  message to user through pop up dialog box,but that
  dialog box appears after 3 or 4 minitues of
 connection
  broken that means as per my idea that Tomcat
 realease
  the connection after 3 or 4 minitues of connection
  broken
 
 Are you sure it isn't your Swing application doing
 this? How are you checking 
 for a connection timeout on the client side?
 
 Regards,
 -- 
 Jason Bainbridge
 http://jblinux.org
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How I can slove this problem??

2003-06-25 Thread Bikash Paul
Hi all friends,

I am using tomcat4.1.24 for my uploading
software(swing for client interface and servlet).Iam
facing problem with connection broken,During uploading
of file if connection between local computer and
remote computer broken then my software will give a
message to user through pop up dialog box,but that
dialog box appears after 3 or 4 minitues of connection
broken that means as per my idea that Tomcat realease
the connection after 3 or 4 minitues of connection
broken .I have tried to rectify by configuring
Connector element of server.xml file but couldn't
slove my problem.Can any plz guide me am I correct
that the delay in appearing of dialog box in case of
connection broken due to below configuration of Tomcat
in server.xml file or it may be due to any other
reason.

Connector
className=org.apache.catalina.connector.http.HttpConnectorport=8080
minProcessors=5 maxProcessors=75
enableLookups=true redirectPort=8443 debug=0
connectionTimeout=0/ 

Regards
Bikash


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How I can slove this problem??

2003-06-25 Thread Kwok Peng Tuck
For the connector you can specify a new attribute : 
|'disableUploadTimeout=true'
which apparently allows the servlet container to use a different
longer connection timeout while a servlet is being executed (well that's 
what
the docs say). I'm not sure where we can actually specify the 
'different' timeout, but try
this and see. Anybody have ideas where to set the timeout?

The page for this is here : 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html
Look under the heading 'Standard Implementation'.

|
Bikash Paul wrote:
Hi all friends,

I am using tomcat4.1.24 for my uploading
software(swing for client interface and servlet).Iam
facing problem with connection broken,During uploading
of file if connection between local computer and
remote computer broken then my software will give a
message to user through pop up dialog box,but that
dialog box appears after 3 or 4 minitues of connection
broken that means as per my idea that Tomcat realease
the connection after 3 or 4 minitues of connection
broken .I have tried to rectify by configuring
Connector element of server.xml file but couldn't
slove my problem.Can any plz guide me am I correct
that the delay in appearing of dialog box in case of
connection broken due to below configuration of Tomcat
in server.xml file or it may be due to any other
reason.
Connector
className=org.apache.catalina.connector.http.HttpConnectorport=8080
minProcessors=5 maxProcessors=75
enableLookups=true redirectPort=8443 debug=0
connectionTimeout=0/ 

Regards
Bikash
__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How I can slove this problem??

2003-06-25 Thread Bikash Paul
Hi,

I have tried to add 'disableUploadTimeout=true' in
connector element of server.xml file, but couldn't
slove my problem.Any one have any idea how i can slove
this problem.Eagerly waiting for someone reply.

Regards
Bikash


--- Kwok Peng Tuck [EMAIL PROTECTED] wrote:
 For the connector you can specify a new attribute : 
 |'disableUploadTimeout=true'
 which apparently allows the servlet container to use
 a different
 longer connection timeout while a servlet is being
 executed (well that's 
 what
 the docs say). I'm not sure where we can actually
 specify the 
 'different' timeout, but try
 this and see. Anybody have ideas where to set the
 timeout?
 
 The page for this is here : 

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html
 Look under the heading 'Standard Implementation'.
 
 
 |
 Bikash Paul wrote:
 
 Hi all friends,
 
 I am using tomcat4.1.24 for my uploading
 software(swing for client interface and
 servlet).Iam
 facing problem with connection broken,During
 uploading
 of file if connection between local computer and
 remote computer broken then my software will give a
 message to user through pop up dialog box,but that
 dialog box appears after 3 or 4 minitues of
 connection
 broken that means as per my idea that Tomcat
 realease
 the connection after 3 or 4 minitues of connection
 broken .I have tried to rectify by configuring
 Connector element of server.xml file but couldn't
 slove my problem.Can any plz guide me am I correct
 that the delay in appearing of dialog box in case
 of
 connection broken due to below configuration of
 Tomcat
 in server.xml file or it may be due to any other
 reason.
 
 Connector

className=org.apache.catalina.connector.http.HttpConnectorport=8080
 minProcessors=5 maxProcessors=75
 enableLookups=true redirectPort=8443 debug=0
 connectionTimeout=0/ 
 
 Regards
 Bikash
 
 
 __
 Do you Yahoo!?
 SBC Yahoo! DSL - Now only $29.95 per month!
 http://sbc.yahoo.com
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
   
 
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How I can slove this problem??

2003-06-25 Thread Jason Bainbridge
On Wed, 25 Jun 2003 14:24, Bikash Paul wrote:
  am using tomcat4.1.24 for my uploading
 software(swing for client interface and servlet).Iam
 facing problem with connection broken,During uploading
 of file if connection between local computer and
 remote computer broken then my software will give a
 message to user through pop up dialog box,but that
 dialog box appears after 3 or 4 minitues of connection
 broken that means as per my idea that Tomcat realease
 the connection after 3 or 4 minitues of connection
 broken

Are you sure it isn't your Swing application doing this? How are you checking 
for a connection timeout on the client side?

Regards,
-- 
Jason Bainbridge
http://jblinux.org

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]