You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by mast <ma...@tyranz.com> on 2006/12/04 23:38:08 UTC
big image only appear at half
Hi, i am having a problem with tomcat 5.5.20 (problem not present on 5.5.9)
, when i put an image bigger than approximatively 130K it only appear at
half on the screen (it s cut in the middle)
i have put in the web.xml
<init-param>
<param-name>sendfileSize</param-name>
<param-value>-1</param-value>
</init-param>
in case it was this, but doesn't change a thing, i have try to find a
solution on the ML but didn t find it yet, anyways have a solution about
this?
Thanks
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: big image only appear at half
Posted by mast <ma...@tyranz.com>.
i have advance a little on the problem and when i try to acces the image of
the website there is this error on mod_jk error log :
[Wed Dec 06 23:10:37 2006] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (1026): ERROR: can't receive
the response message from tomcat, network problems or tomcat
(127.0.0.1:9570) is down -2
[Wed Dec 06 23:10:37 2006] [error] ajp_get_reply::jk_ajp_common.c (1528):
Tomcat is down or network problems. Part of the response has already been
sent to the client
[Wed Dec 06 23:10:37 2006] [info] ajp_service::jk_ajp_common.c (1721):
Receiving from tomcat failed, recoverable operation attempt=0
[Wed Dec 06 23:10:37 2006] [info] ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed, recoverable operation attempt=1
so it seem tomcant doesn't answer after sending a part of the image (it only
do this for big file)
any idea ?
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: big image only appear at half
Posted by Hassan Schroeder <ha...@gmail.com>.
On 12/6/06, mast <ma...@tyranz.com> wrote:
> don't think it s a brower problem because if i umount the image to make
> apache run it , it work without any problem
> if tomcat is not the problem maybe the problem is between tomcat and mod_jk
> i use apache 2.2.3 mod_jk last version and jdk 1.5.0
>
> if i use wget it download the image fully , the problem only seem to be in
> displaying ( i have try different navigator always the same resultat )
>
> i have try different test and if i use the port 8080 the image display
> without problem, so i am nearly sure there is a problem in the link between
> apache (mod_jk) and tomcat, but which parameter could affect this ?
Interesting, but I haven't used mod_jk since last century :-)
As another data point, though, you might try it with mod_proxy_ajp to
isolate the AJP Connector.
HTH!
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: big image only appear at half
Posted by mast <ma...@tyranz.com>.
i would like to add that s the same connector on the tomcat 5.5.9 and 5.5.20
because both tomcat are on the same machine (they are configure the same way
in the workers.properties)
really strange problem
----- Original Message -----
From: "mast" <ma...@tyranz.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Wednesday, December 06, 2006 10:51 PM
Subject: Re: big image only appear at half
>
>>> nobody have had problem with big image on tomcat ? (it do that on a
>>> brand
>>> new tomcat with common configuration that s why i am surprised nobody
>>> has
>>> encounter this)
>>
>> I just installed a fresh 5.5.20, dropped a 643K jpeg in the ROOT
>> directory, and it loads fine, displays fully.
>>
>> (using JDK 1.5.0_06 on SuSE 10, viewed in FireFox 1.5.0.8, FWIW)
>>
>>> > Hi, i am having a problem with tomcat 5.5.20 (problem not present on
>>> > 5.5.9) , when i put an image bigger than approximatively 130K it only
>>> > appear at half on the screen (it s cut in the middle)
>>
>> Perhaps a browser problem? What happens if you use wget or similar
>> to fetch the image?
>
>
> don't think it s a brower problem because if i umount the image to make
> apache run it , it work without any problem
> if tomcat is not the problem maybe the problem is between tomcat and
> mod_jk
> i use apache 2.2.3 mod_jk last version and jdk 1.5.0
>
> if i use wget it download the image fully , the problem only seem to be in
> displaying ( i have try different navigator always the same resultat )
>
> i have try different test and if i use the port 8080 the image display
> without problem, so i am nearly sure there is a problem in the link
> between apache (mod_jk) and tomcat, but which parameter could affect this
> ?
> Regards
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: big image only appear at half
Posted by mast <ma...@tyranz.com>.
>> nobody have had problem with big image on tomcat ? (it do that on a brand
>> new tomcat with common configuration that s why i am surprised nobody has
>> encounter this)
>
> I just installed a fresh 5.5.20, dropped a 643K jpeg in the ROOT
> directory, and it loads fine, displays fully.
>
> (using JDK 1.5.0_06 on SuSE 10, viewed in FireFox 1.5.0.8, FWIW)
>
>> > Hi, i am having a problem with tomcat 5.5.20 (problem not present on
>> > 5.5.9) , when i put an image bigger than approximatively 130K it only
>> > appear at half on the screen (it s cut in the middle)
>
> Perhaps a browser problem? What happens if you use wget or similar
> to fetch the image?
don't think it s a brower problem because if i umount the image to make
apache run it , it work without any problem
if tomcat is not the problem maybe the problem is between tomcat and mod_jk
i use apache 2.2.3 mod_jk last version and jdk 1.5.0
if i use wget it download the image fully , the problem only seem to be in
displaying ( i have try different navigator always the same resultat )
i have try different test and if i use the port 8080 the image display
without problem, so i am nearly sure there is a problem in the link between
apache (mod_jk) and tomcat, but which parameter could affect this ?
Regards
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: big image only appear at half
Posted by Hassan Schroeder <ha...@gmail.com>.
On 12/6/06, mast <ma...@tyranz.com> wrote:
> nobody have had problem with big image on tomcat ? (it do that on a brand
> new tomcat with common configuration that s why i am surprised nobody has
> encounter this)
I just installed a fresh 5.5.20, dropped a 643K jpeg in the ROOT
directory, and it loads fine, displays fully.
(using JDK 1.5.0_06 on SuSE 10, viewed in FireFox 1.5.0.8, FWIW)
> > Hi, i am having a problem with tomcat 5.5.20 (problem not present on
> > 5.5.9) , when i put an image bigger than approximatively 130K it only
> > appear at half on the screen (it s cut in the middle)
Perhaps a browser problem? What happens if you use wget or similar
to fetch the image?
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: big image only appear at half
Posted by mast <ma...@tyranz.com>.
Hmm nope already try it s not a memory problem :(
it seem that s the 3 factor toghether : apache 2.2.3 (maybe the same with
other apache) tomcat 5.5.20 mod_jk and tomcat native library (i have try
many version)
when all of this are together i get this problem, if someone has the same
configuration :)
right now i have remove the native library because i didn t find any other
solution.
seb
----- Original Message -----
From: "Dick Balaska" <di...@buckosoft.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Thursday, December 07, 2006 8:46 AM
Subject: Re: big image only appear at half
> Out of memory, perhaps?
> I've run into this with big images. I had to serialize my image
> reader/preparer too. Trying to do more than one image at a time
> would exhaust memory rather quickly.
>
> -Xms512m
> -Xmx768m
>
> dik
>
> On 12/6/2006 3:09 PM also sprach mast :
>> Hi,
>> nobody have had problem with big image on tomcat ? (it do that on a brand
>> new tomcat with common configuration that s why i am surprised nobody has
>> encounter this)
>> Regards
>> ----- Original Message ----- From: "mast" <ma...@tyranz.com>
>> To: "Tomcat Users List" <us...@tomcat.apache.org>
>> Sent: Monday, December 04, 2006 11:38 PM
>> Subject: big image only appear at half
>>
>>
>>> Hi, i am having a problem with tomcat 5.5.20 (problem not present on
>>> 5.5.9) , when i put an image bigger than approximatively 130K it only
>>> appear at half on the screen (it s cut in the middle)
>>> i have put in the web.xml
>>> <init-param>
>>> <param-name>sendfileSize</param-name>
>>> <param-value>-1</param-value>
>>> </init-param>
>>>
>>>
>>> in case it was this, but doesn't change a thing, i have try to find a
>>> solution on the ML but didn t find it yet, anyways have a solution about
>>> this?
>>> Thanks
>>>
>>> ---------------------------------------------------------------------
>>> To start a new topic, e-mail: users@tomcat.apache.org
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: big image only appear at half
Posted by Dick Balaska <di...@buckosoft.com>.
Out of memory, perhaps?
I've run into this with big images. I had to serialize my image
reader/preparer too. Trying to do more than one image at a time
would exhaust memory rather quickly.
-Xms512m
-Xmx768m
dik
On 12/6/2006 3:09 PM also sprach mast :
> Hi,
> nobody have had problem with big image on tomcat ? (it do that on a
> brand new tomcat with common configuration that s why i am surprised
> nobody has encounter this)
> Regards
> ----- Original Message ----- From: "mast" <ma...@tyranz.com>
> To: "Tomcat Users List" <us...@tomcat.apache.org>
> Sent: Monday, December 04, 2006 11:38 PM
> Subject: big image only appear at half
>
>
>> Hi, i am having a problem with tomcat 5.5.20 (problem not present on
>> 5.5.9) , when i put an image bigger than approximatively 130K it only
>> appear at half on the screen (it s cut in the middle)
>> i have put in the web.xml
>> <init-param>
>> <param-name>sendfileSize</param-name>
>> <param-value>-1</param-value>
>> </init-param>
>>
>>
>> in case it was this, but doesn't change a thing, i have try to find a
>> solution on the ML but didn t find it yet, anyways have a solution
>> about this?
>> Thanks
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: big image only appear at half
Posted by mast <ma...@tyranz.com>.
Hi,
nobody have had problem with big image on tomcat ? (it do that on a brand
new tomcat with common configuration that s why i am surprised nobody has
encounter this)
Regards
----- Original Message -----
From: "mast" <ma...@tyranz.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Monday, December 04, 2006 11:38 PM
Subject: big image only appear at half
> Hi, i am having a problem with tomcat 5.5.20 (problem not present on
> 5.5.9) , when i put an image bigger than approximatively 130K it only
> appear at half on the screen (it s cut in the middle)
> i have put in the web.xml
> <init-param>
> <param-name>sendfileSize</param-name>
> <param-value>-1</param-value>
> </init-param>
>
>
> in case it was this, but doesn't change a thing, i have try to find a
> solution on the ML but didn t find it yet, anyways have a solution about
> this?
> Thanks
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org