Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2006

Tip: Looking for answers? Try searching our database.

Missing parameters in tomcat

Thread view: 
leo.melendez.forum@gmail.com - 15 Aug 2006 18:42 GMT
Hi there

We have been struggling with an intermitent issue in our web
application. For some requests, Tomcat doesn't seem to be getting the
parameters sent to the server. We have been looking all over the place
and we have found only one other reference to the problem here:

http://www.nabble.com/Missing-Request-Parameters-tf2018230.html

We have enabled valves and filters and in all cases, the parameter list
seems to be empty even though all apache logs have the proper
parameters in the logs.

To make things worse, the same request works in some cases and doesn't
in others. We cannot reproduce the problem at will.

We are currently using Apache 2.0.55 and Tomcat 5.0.28, running on
Trustix 2.2

Has anybody here seen a similar problem? any ideas?

Thanks
Leo.
Tom Cole - 15 Aug 2006 18:48 GMT
Buddy,

You are redirecting a response. Request parameters won't be accessible
to the next page...

Try forwarding your original request instead. You'll be much happier,
plus you'll have some data!!!!!

leo.melendez.fo...@gmail.com wrote:
> Hi there
>
[quoted text clipped - 19 lines]
> Thanks
> Leo.
leo.melendez.forum@gmail.com - 15 Aug 2006 18:53 GMT
Hi Tom
Thanks a lot for the response.

The original poster of that problem mentioned the redirection, but in
our case, the parameters are being missed on direct requests. Both
posts and gets. Even when copy and pasting the URL into the brower
might cause the parameters to be dropped completely.

Some people have mentioned invalid characters or invalid URLs, but we
know the request is correct because refreshing the window will cause
the application to work, which is very strange.

For instance:

https://myapp.com?param1=blah&param2=blahblah

That request will work fine, but every once in a while, our application
will report that no parameters were sent in the request, which is
obviously not the case.

Leo.

> Buddy,
>
[quoted text clipped - 28 lines]
> > Thanks
> > Leo.
Dražen Gemić - 15 Aug 2006 22:27 GMT
Have you tried both, GET and POST ? Are there any difference ?
How do you process the input ?

DG


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.