Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

ActionServletRequest

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello.

I have a strange behaviour here.

I integrated jforum with my website. Everything works fine on my computer: Win XP + Tomcat 5.5.17.

But when I install it remote on a linux machine + Tomcat 5.5.16 it does not run at all.

After adding a lot of logging I isolated the problem.

In the ActionServletRequest.
There is one if there, to select which path to go. If a GET request or a POST request. Strange is that it is a GET request, but the code doesn't go either part of the if. So it results in having module parameter == null and therefore JForum return a 404 page.

My question is:
In this line
if ((("GET").equalsIgnoreCase(requestType) && (superRequest.getQueryString() == null))
&& requestUri.endsWith(SystemGlobals.getValue(ConfigKeys.SERVLET_EXTENSION)))

Why was the superRequest.getQueryString() == null condition added?
Can I get it out, or?

Thank you very much.
[originally posted on jforum.net by danidacila]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are some problems with Tomcat 5.5.16 also ... there have been several threads posted regarding this. You may want to try a search to read the relevant topics.
[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do not use Tomcat 5.5.16 - downgrade or upgrade it.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
version 5.5.17 is ok! update and enjoy it!
[originally posted on jforum.net by udlich]
 
reply
    Bookmark Topic Watch Topic
  • New Topic