First request returns 400(Bad Request) while the second request works fine

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • praveenkr09
    New Member
    • May 2014
    • 1

    First request returns 400(Bad Request) while the second request works fine

    Hi All,

    We have been facing an interesting issue with Apache and JBoss integration. We are accessing the application, hosted on JBoss, over SSL via Apache. Whenever, we try to access the application for the first time, we receive 400 Error i.e. Bad request. The second request after this works fine.

    I am putting up the high level configuration of my application below:

    httpd.conf
    ServerName test.abc-box.com:18080

    ssl.conf
    <VirtualHost _default_:1443>

    SetEnvIf User-Agent ".*MSIE.*" \
    nokeepalive ssl-unclean-shutdown \
    downgrade-1.0 force-response-1.0

    # Per-Server Logging:
    # The home of a custom SSL log file. Use this when you want a
    # compact non-error SSL logfile on a virtual host .
    # CustomLog /xampp/logs/ssl_request_log \
    # "%t %h %{SSL_PROTOCOL} x %{SSL_CIPHER}x \"%r\" %b"
    <Location /eLog>
    SetHandler logical-handler
    jbosshost localhost
    jbossport 7002
    CookieName cookie1
    DynamicServerLi st OFF
    MaxPostSize 0
    Debug ALL
    LogFile D:\xampp\apache \logs\web\app.l og
    </Location>

    We are accessing the application using IP address and not via the host name. Any inputs towards this issue would be highly appreciated.

    Thanks and Regards,
    Praveen
Working...