RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28

2005-09-02 Thread Zsolt
I have found the solution:

JkOptions +FlushPackets

Zsolt

-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 01, 2005 1:51 PM
To: Tomcat Users List
Subject: RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28

 From: Zsolt [mailto:[EMAIL PROTECTED]
 When I start a long running servlet I want to give the user
 some feedback
 about the progress, thus I just print some characters to the
 browser from
 the servlet. It works fine when I go directly tomcat but when
 I go through
 apache and tomcat connector I see the characters in the
 browser only when
 the servlet is ready (that might take 20-30 minutes).
[...]
 How can I force a flush via connector?

I don't think you can.

If the process is going to be running for that length of time, would it
make sense to delegate the processing to some other object?  Then the
page can return immediately, with some appropriate code that requests
the browser to refresh the page at an appropriate interval.  During a
refresh, you could poll the request's status and return an appropriate
message.

   - Peter

-
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: Servlet lush problems via JK-1.2.14 and TC_5.0.28

2005-09-02 Thread Hildegard Bronkhorst XH (ZA/ESA)
I want to be taken off this mailing list.  Can somebody PLEASE help.

 Hildegard Bronkhorst
 Senior Facilities Manager
 Kagiso Integrated Services (Pty) Ltd.
 Tel: +27 11 844 2015
 Fax: +27 11 844 2130
 Mobile: +27 83 212 4303
 mailto:[EMAIL PROTECTED] 
 
 E-mail disclaimer
 
 This communication is confidential and intended solely for the addressee(s).  
 Any unauthorized review; use, disclosure, or distribution is prohibited.  If 
 you believe this message has been sent to you in error, please notify the 
 sender by replying to this transmission and delete the message without 
 disclosing it.  Thank you.  E-mail including attachments is susceptible to 
 data corruption, interruption, unauthorized amendment, tampering and viruses, 
 and we only send and receive e-mails on the basis that we are not liable for 
 any such corruption, interception, amendment, tampering or viruses or any 
 consequences thereof.
 


-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 02 September 2005 08:43
To: 'Tomcat Users List'
Subject: RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28


I have found the solution:

JkOptions +FlushPackets

Zsolt

-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 01, 2005 1:51 PM
To: Tomcat Users List
Subject: RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28

 From: Zsolt [mailto:[EMAIL PROTECTED]
 When I start a long running servlet I want to give the user
 some feedback
 about the progress, thus I just print some characters to the
 browser from
 the servlet. It works fine when I go directly tomcat but when
 I go through
 apache and tomcat connector I see the characters in the
 browser only when
 the servlet is ready (that might take 20-30 minutes).
[...]
 How can I force a flush via connector?

I don't think you can.

If the process is going to be running for that length of time, would it
make sense to delegate the processing to some other object?  Then the
page can return immediately, with some appropriate code that requests
the browser to refresh the page at an appropriate interval.  During a
refresh, you could poll the request's status and return an appropriate
message.

   - Peter

-
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]


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



RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28

2005-09-02 Thread william
Hi

 I want to be taken off this mailing list.  Can somebody PLEASE help.

as i told in a previous email (that you likely did not read) there is a
message explaining how to unsuscribe from the mailing list in the footer of
*every* message sent on the list

have you tried it ?

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


Kind regards,
William


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



RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28

2005-09-02 Thread Arup Vidyerthy
Hey dude, stop moaning and read the bottom of the email!! Come on - little
bit of proactive intuitiveness is all that required here!!


-Original Message-
From: Hildegard Bronkhorst XH (ZA/ESA)
[mailto:[EMAIL PROTECTED] 
Sent: 02 September 2005 07:50
To: Tomcat Users List
Subject: RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28

I want to be taken off this mailing list.  Can somebody PLEASE help.

 Hildegard Bronkhorst
 Senior Facilities Manager
 Kagiso Integrated Services (Pty) Ltd.
 Tel: +27 11 844 2015
 Fax: +27 11 844 2130
 Mobile: +27 83 212 4303
 mailto:[EMAIL PROTECTED]
 
 E-mail disclaimer
 
 This communication is confidential and intended solely for the
addressee(s).  Any unauthorized review; use, disclosure, or distribution is
prohibited.  If you believe this message has been sent to you in error,
please notify the sender by replying to this transmission and delete the
message without disclosing it.  Thank you.  E-mail including attachments is
susceptible to data corruption, interruption, unauthorized amendment,
tampering and viruses, and we only send and receive e-mails on the basis
that we are not liable for any such corruption, interception, amendment,
tampering or viruses or any consequences thereof.
 


-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 02 September 2005 08:43
To: 'Tomcat Users List'
Subject: RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28


I have found the solution:

JkOptions +FlushPackets

Zsolt

-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 01, 2005 1:51 PM
To: Tomcat Users List
Subject: RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28

 From: Zsolt [mailto:[EMAIL PROTECTED] When I start a long 
 running servlet I want to give the user some feedback about the 
 progress, thus I just print some characters to the browser from the 
 servlet. It works fine when I go directly tomcat but when I go 
 through apache and tomcat connector I see the characters in the 
 browser only when the servlet is ready (that might take 20-30 
 minutes).
[...]
 How can I force a flush via connector?

I don't think you can.

If the process is going to be running for that length of time, would it 
make sense to delegate the processing to some other object?  Then the 
page can return immediately, with some appropriate code that requests 
the browser to refresh the page at an appropriate interval.  During a 
refresh, you could poll the request's status and return an appropriate 
message.

   - Peter

-
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]


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



___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

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



Re: Servlet lush problems via JK-1.2.14 and TC_5.0.28

2005-09-02 Thread Mladen Turk

Arup Vidyerthy wrote:

Hey dude, stop moaning and read the bottom of the email!! Come on - little
bit of proactive intuitiveness is all that required here!!


Hildegard Bronkhorst
Senior Facilities Manager
Kagiso Integrated Services (Pty) Ltd.
Tel: +27 11 844 2015
Fax: +27 11 844 2130
Mobile: +27 83 212 4303
mailto:[EMAIL PROTECTED]



And I always wondered why my Ericsson mobile phone
halts from time to time. Now I know the reason ;)

Cheers,
Mladen.

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



RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28

2005-09-01 Thread Peter Crowther
 From: Zsolt [mailto:[EMAIL PROTECTED] 
 When I start a long running servlet I want to give the user 
 some feedback
 about the progress, thus I just print some characters to the 
 browser from
 the servlet. It works fine when I go directly tomcat but when 
 I go through
 apache and tomcat connector I see the characters in the 
 browser only when
 the servlet is ready (that might take 20-30 minutes).
[...]
 How can I force a flush via connector?

I don't think you can.

If the process is going to be running for that length of time, would it
make sense to delegate the processing to some other object?  Then the
page can return immediately, with some appropriate code that requests
the browser to refresh the page at an appropriate interval.  During a
refresh, you could poll the request's status and return an appropriate
message.

- Peter

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



RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28

2005-08-30 Thread Longson, Robert
Check out http://www.unix.org.ua/orelly/java-ent/servlet/ch06_03.htm

Best regards

Robert

-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 30 August 2005 15:46
To: Tomcat Users List
Subject: Servlet lush problems via JK-1.2.14 and TC_5.0.28


Hi,

When I start a long running servlet I want to give the user some feedback
about the progress, thus I just print some characters to the browser from
the servlet. It works fine when I go directly tomcat but when I go through
apache and tomcat connector I see the characters in the browser only when
the servlet is ready (that might take 20-30 minutes).

Here is a part of the servlet:

...
PrintWriter out = response.getWriter();
...
out.flush();
response.flushBuffer();
...

How can I force a flush via connector?

I use jdk-1.5.0.4 under Linux with tomcat-5.0.28 and JK-1.2.14.

Zsolt


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

 
The information contained in this message is intended only for the recipient, 
and may be a confidential attorney-client communication or may otherwise be 
privileged and confidential and protected from disclosure. If the reader of 
this message is not the intended recipient, or an employee or agent responsible 
for delivering this message to the intended recipient, please be aware that any 
dissemination or copying of this communication is strictly prohibited. If you 
have received this communication in error, please immediately notify us by 
replying to the message and deleting it from your computer. 

 

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



RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28

2005-08-30 Thread Zsolt
Thank you Robert, but I have to support also IE.

zsolt

-Original Message-
From: Longson, Robert [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 30, 2005 4:51 PM
To: Tomcat Users List
Subject: RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28

Check out http://www.unix.org.ua/orelly/java-ent/servlet/ch06_03.htm

Best regards

Robert

-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 30 August 2005 15:46
To: Tomcat Users List
Subject: Servlet lush problems via JK-1.2.14 and TC_5.0.28


Hi,

When I start a long running servlet I want to give the user some feedback
about the progress, thus I just print some characters to the browser from
the servlet. It works fine when I go directly tomcat but when I go through
apache and tomcat connector I see the characters in the browser only when
the servlet is ready (that might take 20-30 minutes).

Here is a part of the servlet:

...
PrintWriter out = response.getWriter();
...
out.flush();
response.flushBuffer();
...

How can I force a flush via connector?

I use jdk-1.5.0.4 under Linux with tomcat-5.0.28 and JK-1.2.14.

Zsolt


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



The information contained in this message is intended only for the
recipient, and may be a confidential attorney-client communication or may
otherwise be privileged and confidential and protected from disclosure. If
the reader of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended recipient,
please be aware that any dissemination or copying of this communication is
strictly prohibited. If you have received this communication in error,
please immediately notify us by replying to the message and deleting it
from your computer.



-
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]