RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Allistair Crossley
Hm,

I just decided to test the stream terminated unexpectedly upload bug with 
JK2/IIS/TC5 and your statement that adding DEBUG to JK2 removes the problem.

Firstly, I uploaded a series of files of increasing size from 50K through to 60K at 1K 
intervals. The bug appears at files of 54K+ (tested up to 60K and tried one at 250K)

workers2.properties file for failure of upload at 54K+.
==

file=D:\Tomcat 5.0.18\work\jk2.shm
size=1048576

[channel.socket:127.0.0.1:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=127.0.0.1:8009

[uri:/*.do]
info=iQ2
context=/

[uri:/*.jsp]
info=iQ2
context=/

I now add the debug configuration to the workers file as follows:

workers2.properties file for success of upload at 54K+.
==

file=D:\Tomcat 5.0.18\work\jk2.shm
size=1048576

# add this section to test the proposition that it resolved the upload bug
[logger]
level=DEBUG

[channel.socket:127.0.0.1:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=127.0.0.1:8009

[uri:/*.do]
info=iQ2
context=/

[uri:/*.jsp]
info=iQ2
context=/

And repeat the same tests to find that I cannot replicate the bug anymore and it does 
indeed work for upload up to and over 54K.

In order to double prove this, I again removed the logger configuration from the 
workers file and repeated the test and the upload bug reappeared again at 54K+ uploads.

I have no idea why adding this statement solves the problem but someone out there may 
do.

Hope this goes towards a solution. We had an awful hack to get around this - wish I 
had known about the logger hack! 

By the way where do I find the JK2 log file?

ADC




-Original Message-
From: JoAnn Lemm [mailto:[EMAIL PROTECTED]
Sent: 16 April 2004 18:17
To: 'Tomcat Users List'
Subject: RE: JK connector -- isapi2 -- file upload
Importance: High


While we're discussing this ... has anyone developed a work-around for this
problem? I have beta product clients calling me, so this is extremely
critical.

Leaving debug running seems to only fix the problem intermittently.

Is there another ISAPI that will work?

--JoAnn 

-Original Message-
From: E Cunningham [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 16, 2004 9:59 AM
To: Tomcat Users List
Subject: Re: JK connector -- isapi2 -- file upload


We verified this using Tomcat 4.1.30 not 5.x.
Therein may be the problem. The connector code
in Tomcat. 

Let's ask this then. 
Is there a dependency between JK2 and Tomcat?
When they started to release separately one would
think that any JK2 would work with any Tomcat?

Does JK2 need to include a jk2.jar?
JoAnn, thanks for provoking more thought on this.
e

--- JoAnn Lemm [EMAIL PROTECTED] wrote:
 Hi All,
 
 I've search the archives and I've seen several posts
 indicating that there
 is a bug in the isapi connector in regards to large
 file uploads (or not
 that large, since the error seems to occur at or
 around 50Kb.) The problem
 being that the stream ended unexpectedly. 
 
 The strange thing is, I don't see this problem when
 I upload a large file
 (3M) within our intranet (I'm using IIS6, Tomcat 5 
 jk2.0.4), only when I
 try to access from the internet.
 
 This leads me to believe there is some sort of
 timing problem (the connector
 trying to grab data that hasn't yet arrived?) 
 Interestingly, I solved the
 problem by turning debug on - forcing the isapi
 connector to log debug
 messages and making is slow down a bit. That 3M file
 uploaded with no
 problem.
 
 So, here's the question ... is there a properties
 file, ini file ...
 anything ... where I can set the size of the buffer
 in the connector? It
 looks like it's grabbing about 8Kb each time.
 
 --JoAnn 
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



Vedr.: RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Thomas Nybro Bolding
Dunno where the log file goes by default but in my workers2.properties 
file I have:

[logger.file:0]
file=D:\DAT\logfiles\connections\jk2.log

Where this puts the jk2 log file you have to find out for yourself ;)

/Thomas





Allistair Crossley [EMAIL PROTECTED]
20-04-2004 13:10
Besvar venligst til Tomcat Users List

 
Til:[EMAIL PROTECTED]
cc: 
Vedr.:  RE: JK connector -- isapi2 -- file upload - BUG  HACK PROVED



Hm,

I just decided to test the stream terminated unexpectedly upload bug 
with JK2/IIS/TC5 and your statement that adding DEBUG to JK2 removes the 
problem.

Firstly, I uploaded a series of files of increasing size from 50K through 
to 60K at 1K intervals. The bug appears at files of 54K+ (tested up to 60K 
and tried one at 250K)

workers2.properties file for failure of upload at 54K+.
==

file=D:\Tomcat 5.0.18\work\jk2.shm
size=1048576

[channel.socket:127.0.0.1:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=127.0.0.1:8009

[uri:/*.do]
info=iQ2
context=/

[uri:/*.jsp]
info=iQ2
context=/

I now add the debug configuration to the workers file as follows:

workers2.properties file for success of upload at 54K+.
==

file=D:\Tomcat 5.0.18\work\jk2.shm
size=1048576

# add this section to test the proposition that it resolved the upload bug
[logger]
level=DEBUG

[channel.socket:127.0.0.1:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=127.0.0.1:8009

[uri:/*.do]
info=iQ2
context=/

[uri:/*.jsp]
info=iQ2
context=/

And repeat the same tests to find that I cannot replicate the bug anymore 
and it does indeed work for upload up to and over 54K.

In order to double prove this, I again removed the logger configuration 
from the workers file and repeated the test and the upload bug reappeared 
again at 54K+ uploads.

I have no idea why adding this statement solves the problem but someone 
out there may do.

Hope this goes towards a solution. We had an awful hack to get around this 
- wish I had known about the logger hack! 

By the way where do I find the JK2 log file?

ADC




-Original Message-
From: JoAnn Lemm [mailto:[EMAIL PROTECTED]
Sent: 16 April 2004 18:17
To: 'Tomcat Users List'
Subject: RE: JK connector -- isapi2 -- file upload
Importance: High


While we're discussing this ... has anyone developed a work-around for 
this
problem? I have beta product clients calling me, so this is extremely
critical.

Leaving debug running seems to only fix the problem intermittently.

Is there another ISAPI that will work?

--JoAnn 

-Original Message-
From: E Cunningham [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 16, 2004 9:59 AM
To: Tomcat Users List
Subject: Re: JK connector -- isapi2 -- file upload


We verified this using Tomcat 4.1.30 not 5.x.
Therein may be the problem. The connector code
in Tomcat. 

Let's ask this then. 
Is there a dependency between JK2 and Tomcat?
When they started to release separately one would
think that any JK2 would work with any Tomcat?

Does JK2 need to include a jk2.jar?
JoAnn, thanks for provoking more thought on this.
e

--- JoAnn Lemm [EMAIL PROTECTED] wrote:
 Hi All,
 
 I've search the archives and I've seen several posts
 indicating that there
 is a bug in the isapi connector in regards to large
 file uploads (or not
 that large, since the error seems to occur at or
 around 50Kb.) The problem
 being that the stream ended unexpectedly. 
 
 The strange thing is, I don't see this problem when
 I upload a large file
 (3M) within our intranet (I'm using IIS6, Tomcat 5 
 jk2.0.4), only when I
 try to access from the internet.
 
 This leads me to believe there is some sort of
 timing problem (the connector
 trying to grab data that hasn't yet arrived?) 
 Interestingly, I solved the
 problem by turning debug on - forcing the isapi
 connector to log debug
 messages and making is slow down a bit. That 3M file
 uploaded with no
 problem.
 
 So, here's the question ... is there a properties
 file, ini file ...
 anything ... where I can set the size of the buffer
 in the connector? It
 looks like it's grabbing about 8Kb each time.
 
 --JoAnn 
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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





FONT SIZE=1 FACE=Arial___
Vi goer opmaerksom paa, at denne e-mail kan indeholde fortrolig information. Hvis du 
ved en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om 
fejlen ved at bruge svar

RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Alex

I've been following this thread for a while now in hopes someone would
come up with something to help resolve it.  My issue is not with big
files, as i have that working, but sending PNG files from the application
server to the client.  the connection dies between the tomcat5 server and
the iis5.0 server using the isapi2 dll.  I've had the level=DEBUG forever
but that issue still occurs.

[logger]
level=DEBUG

[shm:]
info=Shared memory file. Required for multiprocess servers
file=E:\\Apache\\Tomcat5\\work\\jk2.shm
size=100

[lb:lb]
info=Default load balancer.
sticky_session=1

[channel.socket:spprod1]
info=Ajp13 forwarding over socket - spprod1
port=8009
host=10.99.116.1
lb_factor=100
tomcatId=10.99.116.1:8009
group=lb
type=ajp13

[channel.socket:spprod2]
info=Ajp13 forwarding over socket - spprod2
port=8009
host=10.99.116.2
lb_factor=100
tomcatId=10.99.116.2:8009
group=lb
type=ajp13

[uri:/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
worker=lb:lb
context=/



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



RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Allistair Crossley
Nevertheless my tests and the chap who previously mentioned logger helped his case 
both show that logger being switched on has _some_ effect in relation to this issue, 
although your case now shows that it is not the _complete_ picture.

Do the JK2 ISAPI development team monitor this list? 

ADC

-Original Message-
From: Alex [mailto:[EMAIL PROTECTED]
Sent: 20 April 2004 12:20
To: Tomcat Users List
Subject: RE: JK connector -- isapi2 -- file upload - BUG  HACK PROVED



I've been following this thread for a while now in hopes someone would
come up with something to help resolve it.  My issue is not with big
files, as i have that working, but sending PNG files from the application
server to the client.  the connection dies between the tomcat5 server and
the iis5.0 server using the isapi2 dll.  I've had the level=DEBUG forever
but that issue still occurs.

[logger]
level=DEBUG

[shm:]
info=Shared memory file. Required for multiprocess servers
file=E:\\Apache\\Tomcat5\\work\\jk2.shm
size=100

[lb:lb]
info=Default load balancer.
sticky_session=1

[channel.socket:spprod1]
info=Ajp13 forwarding over socket - spprod1
port=8009
host=10.99.116.1
lb_factor=100
tomcatId=10.99.116.1:8009
group=lb
type=ajp13

[channel.socket:spprod2]
info=Ajp13 forwarding over socket - spprod2
port=8009
host=10.99.116.2
lb_factor=100
tomcatId=10.99.116.2:8009
group=lb
type=ajp13

[uri:/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
worker=lb:lb
context=/



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



FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Mladen Turk
 

 -Original Message-
 From: Allistair Crossley
 
 Nevertheless my tests and the chap who previously mentioned 
 logger helped his case both show that logger being switched 
 on has _some_ effect in relation to this issue, although your 
 case now shows that it is not the _complete_ picture.
 
 Do the JK2 ISAPI development team monitor this list? 
 

Sure :-)

You may find patched 2.0.4 at: 
http://jakarta.apache.org/~mturk/isapi_redirector2.zip

It solves the IIS upload bug, or you may just build from CVS by yourself.

MT.


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



RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Allistair Crossley
I have been using JK 2.0.4 since 26th March, just after it got released and also this 
morning in my tests that reveal the bug is still present. Sorry! :)

ADC

-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED]
Sent: 20 April 2004 14:01
To: 'Tomcat Users List'
Subject: RE: JK connector -- isapi2 -- file upload - BUG  HACK PROVED

 -Original Message-
 From: Allistair Crossley
 
 Nevertheless my tests and the chap who previously mentioned 
 logger helped his case both show that logger being switched 
 on has _some_ effect in relation to this issue, although your 
 case now shows that it is not the _complete_ picture.
 
 Do the JK2 ISAPI development team monitor this list? 
 

Sure :-)

You may find patched 2.0.4 at: 
http://jakarta.apache.org/~mturk/isapi_redirector2.zip

It solves the IIS upload bug, or you may just build from CVS by yourself.

MT.


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



FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Alex

I do believe the link provided below is an updated dll.  I've implemented
it however I see no changes / differences.

On Tue, 20 Apr 2004, Allistair Crossley wrote:

 Date: Tue, 20 Apr 2004 14:04:34 +0100
 From: Allistair Crossley [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED]
 Subject: RE: JK connector -- isapi2 -- file upload - BUG  HACK PROVED

 I have been using JK 2.0.4 since 26th March, just after it got released and also 
 this morning in my tests that reveal the bug is still present. Sorry! :)

 ADC


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



RE: JK connector -- isapi2 -- file upload - SOLVED

2004-04-20 Thread Allistair Crossley
Hi MT

Cool! I just realised you meant that 2.0.4 had been patched. I tried out the version 
you sent me a link to, and can confirm that removing the logger config from workers2 
maintains the fix and the bug does not reappear for my system.

Great stuff :) ADC

-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED]
Sent: 20 April 2004 14:01
To: 'Tomcat Users List'
Subject: RE: JK connector -- isapi2 -- file upload - BUG  HACK PROVED


 

 -Original Message-
 From: Allistair Crossley
 
 Nevertheless my tests and the chap who previously mentioned 
 logger helped his case both show that logger being switched 
 on has _some_ effect in relation to this issue, although your 
 case now shows that it is not the _complete_ picture.
 
 Do the JK2 ISAPI development team monitor this list? 
 

Sure :-)

You may find patched 2.0.4 at: 
http://jakarta.apache.org/~mturk/isapi_redirector2.zip

It solves the IIS upload bug, or you may just build from CVS by yourself.

MT.


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



FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Mladen Turk
 

 -Original Message-
 From: Alex [mailto:[EMAIL PROTECTED] 
 
 
 I do believe the link provided below is an updated dll.

Yes.

  I've 
 implemented it however I see no changes / differences.


See the bug:

http://issues.apache.org/bugzilla/show_bug.cgi?id=15278


I'd be glad to se your use case, and why are the upload problems still
present.

MT.


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



RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Allistair Crossley
Alex don't ask me where I saw this but I read that your SHM size causes issues - I 
cannot remember what issue I had when it was the same as your but I changed it to 
1048576 and it solved it.

This may be a total red herring but hey.

-Original Message-
From: Alex [mailto:[EMAIL PROTECTED]
Sent: 20 April 2004 12:20
To: Tomcat Users List
Subject: RE: JK connector -- isapi2 -- file upload - BUG  HACK PROVED



I've been following this thread for a while now in hopes someone would
come up with something to help resolve it.  My issue is not with big
files, as i have that working, but sending PNG files from the application
server to the client.  the connection dies between the tomcat5 server and
the iis5.0 server using the isapi2 dll.  I've had the level=DEBUG forever
but that issue still occurs.

[logger]
level=DEBUG

[shm:]
info=Shared memory file. Required for multiprocess servers
file=E:\\Apache\\Tomcat5\\work\\jk2.shm
size=100

[lb:lb]
info=Default load balancer.
sticky_session=1

[channel.socket:spprod1]
info=Ajp13 forwarding over socket - spprod1
port=8009
host=10.99.116.1
lb_factor=100
tomcatId=10.99.116.1:8009
group=lb
type=ajp13

[channel.socket:spprod2]
info=Ajp13 forwarding over socket - spprod2
port=8009
host=10.99.116.2
lb_factor=100
tomcatId=10.99.116.2:8009
group=lb
type=ajp13

[uri:/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
worker=lb:lb
context=/



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



FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



RE: JK connector -- isapi2 -- file upload - BUG HACK PROVED

2004-04-20 Thread Alex

worth a try : )  it's my last biggest annoyance to figure out.  i can push
any  type of files back across to the client, except these pgn files which
keep breaking my pipe between iis and tomcat

On Tue, 20 Apr 2004, Allistair Crossley wrote:

 Date: Tue, 20 Apr 2004 14:26:17 +0100
 From: Allistair Crossley [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: RE: JK connector -- isapi2 -- file upload - BUG  HACK PROVED

 Alex don't ask me where I saw this but I read that your SHM size causes issues - I 
 cannot remember what issue I had when it was the same as your but I changed it to 
 1048576 and it solved it.

 This may be a total red herring but hey.


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



RE: JK connector -- isapi2 -- file upload

2004-04-19 Thread Allistair Crossley
I use a workaround - my upload form uploads to port 8080 directly and then Tomcat 
redirects the user back to port IIS port 80 after the upload.

ADC.

-Original Message-
From: JoAnn Lemm [mailto:[EMAIL PROTECTED]
Sent: 16 April 2004 18:17
To: 'Tomcat Users List'
Subject: RE: JK connector -- isapi2 -- file upload
Importance: High


While we're discussing this ... has anyone developed a work-around for this
problem? I have beta product clients calling me, so this is extremely
critical.

Leaving debug running seems to only fix the problem intermittently.

Is there another ISAPI that will work?

--JoAnn 

-Original Message-
From: E Cunningham [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 16, 2004 9:59 AM
To: Tomcat Users List
Subject: Re: JK connector -- isapi2 -- file upload


We verified this using Tomcat 4.1.30 not 5.x.
Therein may be the problem. The connector code
in Tomcat. 

Let's ask this then. 
Is there a dependency between JK2 and Tomcat?
When they started to release separately one would
think that any JK2 would work with any Tomcat?

Does JK2 need to include a jk2.jar?
JoAnn, thanks for provoking more thought on this.
e

--- JoAnn Lemm [EMAIL PROTECTED] wrote:
 Hi All,
 
 I've search the archives and I've seen several posts
 indicating that there
 is a bug in the isapi connector in regards to large
 file uploads (or not
 that large, since the error seems to occur at or
 around 50Kb.) The problem
 being that the stream ended unexpectedly. 
 
 The strange thing is, I don't see this problem when
 I upload a large file
 (3M) within our intranet (I'm using IIS6, Tomcat 5 
 jk2.0.4), only when I
 try to access from the internet.
 
 This leads me to believe there is some sort of
 timing problem (the connector
 trying to grab data that hasn't yet arrived?) 
 Interestingly, I solved the
 problem by turning debug on - forcing the isapi
 connector to log debug
 messages and making is slow down a bit. That 3M file
 uploaded with no
 problem.
 
 So, here's the question ... is there a properties
 file, ini file ...
 anything ... where I can set the size of the buffer
 in the connector? It
 looks like it's grabbing about 8Kb each time.
 
 --JoAnn 
 
 
 

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





__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

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



FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



Re: JK connector -- isapi2 -- file upload

2004-04-16 Thread E Cunningham

We verified this using Tomcat 4.1.30 not 5.x.
Therein may be the problem. The connector code
in Tomcat. 

Let's ask this then. 
Is there a dependency between JK2 and Tomcat?
When they started to release separately one would
think that any JK2 would work with any Tomcat?

Does JK2 need to include a jk2.jar?
JoAnn, thanks for provoking more thought on this.
e

--- JoAnn Lemm [EMAIL PROTECTED] wrote:
 Hi All,
 
 I've search the archives and I've seen several posts
 indicating that there
 is a bug in the isapi connector in regards to large
 file uploads (or not
 that large, since the error seems to occur at or
 around 50Kb.) The problem
 being that the stream ended unexpectedly. 
 
 The strange thing is, I don't see this problem when
 I upload a large file
 (3M) within our intranet (I'm using IIS6, Tomcat 5 
 jk2.0.4), only when I
 try to access from the internet.
 
 This leads me to believe there is some sort of
 timing problem (the connector
 trying to grab data that hasn't yet arrived?) 
 Interestingly, I solved the
 problem by turning debug on - forcing the isapi
 connector to log debug
 messages and making is slow down a bit. That 3M file
 uploaded with no
 problem.
 
 So, here's the question ... is there a properties
 file, ini file ...
 anything ... where I can set the size of the buffer
 in the connector? It
 looks like it's grabbing about 8Kb each time.
 
 --JoAnn 
 
 
 

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





__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

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



RE: JK connector -- isapi2 -- file upload

2004-04-16 Thread JoAnn Lemm
While we're discussing this ... has anyone developed a work-around for this
problem? I have beta product clients calling me, so this is extremely
critical.

Leaving debug running seems to only fix the problem intermittently.

Is there another ISAPI that will work?

--JoAnn 

-Original Message-
From: E Cunningham [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 16, 2004 9:59 AM
To: Tomcat Users List
Subject: Re: JK connector -- isapi2 -- file upload


We verified this using Tomcat 4.1.30 not 5.x.
Therein may be the problem. The connector code
in Tomcat. 

Let's ask this then. 
Is there a dependency between JK2 and Tomcat?
When they started to release separately one would
think that any JK2 would work with any Tomcat?

Does JK2 need to include a jk2.jar?
JoAnn, thanks for provoking more thought on this.
e

--- JoAnn Lemm [EMAIL PROTECTED] wrote:
 Hi All,
 
 I've search the archives and I've seen several posts
 indicating that there
 is a bug in the isapi connector in regards to large
 file uploads (or not
 that large, since the error seems to occur at or
 around 50Kb.) The problem
 being that the stream ended unexpectedly. 
 
 The strange thing is, I don't see this problem when
 I upload a large file
 (3M) within our intranet (I'm using IIS6, Tomcat 5 
 jk2.0.4), only when I
 try to access from the internet.
 
 This leads me to believe there is some sort of
 timing problem (the connector
 trying to grab data that hasn't yet arrived?) 
 Interestingly, I solved the
 problem by turning debug on - forcing the isapi
 connector to log debug
 messages and making is slow down a bit. That 3M file
 uploaded with no
 problem.
 
 So, here's the question ... is there a properties
 file, ini file ...
 anything ... where I can set the size of the buffer
 in the connector? It
 looks like it's grabbing about 8Kb each time.
 
 --JoAnn 
 
 
 

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





__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

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