By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,199 Members | 1,474 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,199 IT Pros & Developers. It's quick & easy.

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

P: 1
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:


<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
DynamicServerList OFF
MaxPostSize 0
Debug ALL
LogFile D:\xampp\apache\logs\web\app.log

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,
May 11 '14 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.