You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by lmelendez <le...@gmail.com> on 2006/08/15 19:18:15 UTC

Re: Missing Request Parameters

Hi Rache,

Well, we are seeing the problem. Our web application seems to *drop*
parameters for some requests and we still don't know what it is. We have
enabled Valves and Filters and it looks like the parameters never make it to
tomcat. 

The problem is intermitent and we cannot reproduce it at will. The same
request might work sometimes and show the problem in others and we were
really surprised that nobody else was having similar issues.

We are currently using Apache 2.0.55 and Tomcat 5.0.28. 

I am wondering if you have more information about this.

Thanks!
Leo.

-- 
View this message in context: http://www.nabble.com/Missing-Request-Parameters-tf2018230.html#a5818175
Sent from the Tomcat - User forum at Nabble.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: Missing Request Parameters

Posted by Nicolas Schwartz <ni...@airweb.fr>.
Yes I sent them 2 posts ago.
However, here they are again :

In our server.xml:
<Connector className="org.apache.coyote.tomcat5.CoyoteConnector"
   port="7547"
   maxSpareThreads="75"
   minSpareThreads="40"
   maxThreads="500"
   enableLookups="false"
   acceptCount="100"
   tomcatAuthentication="false"
   protocol="AJP/1.3"
/>

##############################

In our workers.properties:

workers.apache_log=/usr/local/apache/logs
workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/local/java
ps=/

worker.list=ajp13

worker.ajp13.type=ajp13
worker.ajp13.host=XXX.XXX.XXX.XXX
worker.ajp13.port=YYYY
worker.ajp13.lbfactor=50
worker.ajp13.cachesize=350
worker.ajp13.cache_timeout=600
worker.ajp13.socket_keepalive=0
worker.ajp13.socket_timeout=600

################################

In our httpd.conf:

JkMount /serv/* ajp13


Do you see something wrong ?

Nicolas

Pid a écrit :
> have we seen your connector config, and your apache forwarding setup (JK 
> i assume)?
> 
> 

---------------------------------------------------------------------
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: Missing Request Parameters

Posted by Pid <p...@pidster.com>.
have we seen your connector config, and your apache forwarding setup (JK 
i assume)?




Nicolas Schwartz wrote:
> As I said it happens even on GET requests and very small urls on our side.
> Since it is a get request, we do see the parameter in the apache log, 
> but we can't get it with the getParameter() method.
> 
> The parameter is lost somewhere between the connector and tomcat I think.
> 
> Nicolas
> 
> Yashwanth CP a écrit :
>> Hi,
>> We are facing a similar issue ( missing parameters intermittently ). Our
>> setup has relatively huge post requests , ( < 4KB) , and about 100-200
>> parallel connections on a tomcat that has 512MB memory.Some of the
>> parameters just become null randomly. Our guess is ,it is related to 
>> size of
>> post requests and number of accept connections. Any clues, anyone?
>>
>> --y
>>
>>
> 
> ---------------------------------------------------------------------
> 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: Missing Request Parameters

Posted by Nicolas Schwartz <ni...@airweb.fr>.
As I said it happens even on GET requests and very small urls on our side.
Since it is a get request, we do see the parameter in the apache log, but we can't get it with the getParameter() method.

The parameter is lost somewhere between the connector and tomcat I think.

Nicolas

Yashwanth CP a écrit :
> Hi,
> We are facing a similar issue ( missing parameters intermittently ). Our
> setup has relatively huge post requests , ( < 4KB) , and about 100-200
> parallel connections on a tomcat that has 512MB memory.Some of the
> parameters just become null randomly. Our guess is ,it is related to 
> size of
> post requests and number of accept connections. Any clues, anyone?
> 
> --y
> 
>

---------------------------------------------------------------------
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: Missing Request Parameters

Posted by Yashwanth CP <ya...@gmail.com>.
Hi,
We are facing a similar issue ( missing parameters intermittently ). Our
setup has relatively huge post requests , ( < 4KB) , and about 100-200
parallel connections on a tomcat that has 512MB memory.Some of the
parameters just become null randomly. Our guess is ,it is related to size of
post requests and number of accept connections. Any clues, anyone?

--y

On 8/18/06, Nicolas Schwartz <ni...@airweb.fr> wrote:
>
> Hi !
>
> Here is the configuration we have:
>
> In our server.xml:
> <Connector className="org.apache.coyote.tomcat5.CoyoteConnector"
>    port="7547"
>    maxSpareThreads="75"
>    minSpareThreads="40"
>    maxThreads="500"
>    enableLookups="false"
>    acceptCount="100"
>    tomcatAuthentication="false"
>    protocol="AJP/1.3"
> />
>
> ##############################
>
> In our workers.properties:
>
> #parametrage de mod_jk
>
> workers.apache_log=/usr/local/apache/logs
> workers.tomcat_home=/usr/local/tomcat
> workers.java_home=/usr/local/java
> ps=/
>
> worker.list=ajp13
>
> worker.ajp13.type=ajp13
> worker.ajp13.host=81.91.65.146
> worker.ajp13.port=7547
> worker.ajp13.lbfactor=50
> worker.ajp13.cachesize=350
> worker.ajp13.cache_timeout=600
> worker.ajp13.socket_keepalive=0
> worker.ajp13.socket_timeout=600
>
> ################################
>
> In our httpd.conf:
>
> JkMount /serv/* ajp13
>
> ################################
>
> I don't know which version of mod_jk we're using ... I'm looking into it.
>
> Nicolas
>
> lmelendez a écrit :
> > in mod_jk.conf for apache, we have the following lines:
> >
> >   # define the channel
> >   JkSet channel.socket:localhost:8009.port 8009
> >   JkSet channel.socket:localhost:8009.host 127.0.0.1
> >
> >   # define the worker
> >   JkSet ajp13:localhost:8009.channel channel.socket:localhost:8009
> >
> >   <Location "/console">
> >      JkUriSet group ajp13:localhost:8009
> >   </Location>
> >
> > I'll do some research on how to change the connector and test it to see
> if
> > there is a change.
> >
> > Leo.
> >
>
>
> ---------------------------------------------------------------------
> 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
>
>


-- 
yashwanth cp

Re: Missing Request Parameters

Posted by Nicolas Schwartz <ni...@airweb.fr>.
Hi !

Here is the configuration we have:

In our server.xml:
<Connector className="org.apache.coyote.tomcat5.CoyoteConnector"
   port="7547"
   maxSpareThreads="75"
   minSpareThreads="40"
   maxThreads="500"
   enableLookups="false"
   acceptCount="100"
   tomcatAuthentication="false"
   protocol="AJP/1.3"
/>

##############################

In our workers.properties:

#parametrage de mod_jk

workers.apache_log=/usr/local/apache/logs
workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/local/java
ps=/

worker.list=ajp13

worker.ajp13.type=ajp13
worker.ajp13.host=81.91.65.146
worker.ajp13.port=7547
worker.ajp13.lbfactor=50
worker.ajp13.cachesize=350
worker.ajp13.cache_timeout=600
worker.ajp13.socket_keepalive=0
worker.ajp13.socket_timeout=600

################################

In our httpd.conf:

JkMount /serv/* ajp13

################################

I don't know which version of mod_jk we're using ... I'm looking into it.

Nicolas

lmelendez a écrit :
> in mod_jk.conf for apache, we have the following lines:
> 
>   # define the channel
>   JkSet channel.socket:localhost:8009.port 8009
>   JkSet channel.socket:localhost:8009.host 127.0.0.1
> 
>   # define the worker
>   JkSet ajp13:localhost:8009.channel channel.socket:localhost:8009
> 
>   <Location "/console">
>      JkUriSet group ajp13:localhost:8009
>   </Location>
> 
> I'll do some research on how to change the connector and test it to see if
> there is a change.
> 
> Leo.
> 


---------------------------------------------------------------------
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: Missing Request Parameters

Posted by lmelendez <le...@gmail.com>.
in mod_jk.conf for apache, we have the following lines:

  # define the channel
  JkSet channel.socket:localhost:8009.port 8009
  JkSet channel.socket:localhost:8009.host 127.0.0.1

  # define the worker
  JkSet ajp13:localhost:8009.channel channel.socket:localhost:8009

  <Location "/console">
     JkUriSet group ajp13:localhost:8009
  </Location>

I'll do some research on how to change the connector and test it to see if
there is a change.

Leo.

-- 
View this message in context: http://www.nabble.com/Missing-Request-Parameters-tf2018230.html#a5855923
Sent from the Tomcat - User forum at Nabble.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: Missing Request Parameters

Posted by lmelendez <le...@gmail.com>.

Nicolas Schwartz wrote:
> 
> I thought it might come from the connector ...
> Did you already try to change it ?
> Which version are you using ?
> 

Interesting point Nicolas, to be honest with you... I don't know a lot about
connectors. I went to the Server.xml file in Tomcat and found the following
lines: 

    <Connector port="8009"
               redirectPort="8443" debug="0"
               protocol="AJP/1.3" tomcatAuthentication="false"/>

All the other connectors are commented out. When you ask what connector am I
using, where can I find that out?

Thanks!

Leo.
-- 
View this message in context: http://www.nabble.com/Missing-Request-Parameters-tf2018230.html#a5855584
Sent from the Tomcat - User forum at Nabble.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: Missing Request Parameters

Posted by Nicolas Schwartz <ni...@airweb.fr>.
I thought it might come from the connector ...
Did you already try to change it ?
Which version are you using ?

Nicolas

lmelendez a écrit :
> 
> Nicolas Schwartz wrote:
>> It occurs on GET requests, maybe on POST ones but we don't know.
>> The value of the parameter is not long, neither is the value.
>> It appears to occur "randomly"
>>
> 
> Exact same thing in our case. We have seen it in GET requests, not entirely
> sure about POSTs. We use some URLs that are quite long (more than 255
> characters), but we have seen the problem with URLs with four or five
> parameters only.
> 
> I'll check to see if we have long bits of data in the parameters. Do you
> think that is related? 
> 
> We are a bit confused because we started seeing the problem only about a
> month ago. We checked all changes we did to the product and none of them
> seem to be causing the issue.
> 
> Thanks for the help!
> Leo.
> 
> 


---------------------------------------------------------------------
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: Missing Request Parameters

Posted by lmelendez <le...@gmail.com>.

Nicolas Schwartz wrote:
> 
> It occurs on GET requests, maybe on POST ones but we don't know.
> The value of the parameter is not long, neither is the value.
> It appears to occur "randomly"
> 

Exact same thing in our case. We have seen it in GET requests, not entirely
sure about POSTs. We use some URLs that are quite long (more than 255
characters), but we have seen the problem with URLs with four or five
parameters only.

I'll check to see if we have long bits of data in the parameters. Do you
think that is related? 

We are a bit confused because we started seeing the problem only about a
month ago. We checked all changes we did to the product and none of them
seem to be causing the issue.

Thanks for the help!
Leo.


-- 
View this message in context: http://www.nabble.com/Missing-Request-Parameters-tf2018230.html#a5835672
Sent from the Tomcat - User forum at Nabble.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: Missing Request Parameters

Posted by Nicolas Schwartz <ni...@airweb.fr>.
Hi,

We are facing the same problem.
Sometimes the parameters don't get to tomcat.

We've seen this by monitoring our plateform through a servlet simply returning the value of a parameter.

We are also using apache+tomcat
apache-2.0.54
jakarta-tomcat-5.5.9

It occurs on GET requests, maybe on POST ones but we don't know.
The value of the parameter is not long, neither is the value.
It appears to occur "randomly"

Hope this will help to find a solution to the problem ...

--
Nicolas Schwartz


Pid a écrit :
> (i can't see a previous thread for this, new mail setup, so apologies if 
> I'm restating.)
> 
> 
> Are you using GET or POST?
> And how many parameters are you submitting?
> And are there any particularly long bits of data in the parameters?
> 
> 
> 
> lmelendez wrote:
>> Hi Rache,
>>
>> Well, we are seeing the problem. Our web application seems to *drop*
>> parameters for some requests and we still don't know what it is. We have
>> enabled Valves and Filters and it looks like the parameters never make 
>> it to
>> tomcat.
>> The problem is intermitent and we cannot reproduce it at will. The same
>> request might work sometimes and show the problem in others and we were
>> really surprised that nobody else was having similar issues.
>>
>> We are currently using Apache 2.0.55 and Tomcat 5.0.28.
>> I am wondering if you have more information about this.
>>
>> Thanks!
>> Leo.
>>
> 
> 
> ---------------------------------------------------------------------
> 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: Missing Request Parameters

Posted by Pid <p...@pidster.com>.
(i can't see a previous thread for this, new mail setup, so apologies if 
I'm restating.)


Are you using GET or POST?
And how many parameters are you submitting?
And are there any particularly long bits of data in the parameters?



lmelendez wrote:
> Hi Rache,
> 
> Well, we are seeing the problem. Our web application seems to *drop*
> parameters for some requests and we still don't know what it is. We have
> enabled Valves and Filters and it looks like the parameters never make it to
> tomcat. 
> 
> The problem is intermitent and we cannot reproduce it at will. The same
> request might work sometimes and show the problem in others and we were
> really surprised that nobody else was having similar issues.
> 
> We are currently using Apache 2.0.55 and Tomcat 5.0.28. 
> 
> I am wondering if you have more information about this.
> 
> Thanks!
> Leo.
> 


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