[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Apache HTTPD + mod_jk +ssl+Jboss

igain do-not-reply at jboss.com
Wed Sep 12 12:35:42 EDT 2007


And even i tried to setup one on one basis no clustering or loadbalancing but still I am not able to use https, when i request my application page internate explorer gives "The page cannot be displayed" error.

(192.168.1.101)             (192.168.1.102)
Apache Httpd ----------> Jboss + SSL(in server.xml of jboss-web.deployer)

I did modify the log level for mod_jk to debug and here is response from ajp connector in mod_jk.log file

[Wed Sep 12 09:16:14 2007][1320:2832] [debug] jk_ajp_common.c (610): Number of headers is = 5
[Wed Sep 12 09:16:14 2007][1320:2832] [debug] jk_ajp_common.c (666): Header[0] [Pragma] = [No-cache]
[Wed Sep 12 09:16:14 2007][1320:2832] [debug] jk_ajp_common.c (666): Header[1] [Cache-Control] = [no-cache]
[Wed Sep 12 09:16:14 2007][1320:2832] [debug] jk_ajp_common.c (666): Header[2] [Expires] = [Wed, 31 Dec 1969 16:00:00 PST]
[Wed Sep 12 09:16:14 2007][1320:2832] [debug] jk_ajp_common.c (666): Header[3] [Location] = [https://localhost/myapp/jsp/registration.do]
[Wed Sep 12 09:16:14 2007][1320:2832] [debug] jk_ajp_common.c (666): Header[4] [Content-Length] = [0]
[Wed Sep 12 09:16:14 2007][1320:2832] [debug] jk_ajp_common.c (1043): received from ajp13 pos=0 len=2 max=8192
[Wed Sep 12 09:16:14 2007][1320:2832] [debug] jk_ajp_common.c (1043): 0000    05 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00  - ................
[Wed Sep 12 09:16:14 2007][1320:2832] [debug] jk_ajp_common.c (1506): AJP13 protocol: Reuse is OK
[Wed Sep 12 09:16:14 2007][1320:2832] [debug] jk_ajp_common.c (2286): recycling connection pool slot=0 for worker node1
[Wed Sep 12 09:16:14 2007]loadbalancer localhost 0.080116
[Wed Sep 12 09:16:14 2007][1320:2832] [debug] mod_jk.c (2238): Service finished with status=302 for worker=loadbalancer


By looking at the log tomcat ajp connector is able to send response back to apache with status 302 which is Moved Temporarily.

Can somebody through some light what could be the possible reason of not working ?

I am using 
Jboss-4.2.0.GA
Apache 2.2
Red Hat Linux

Thanks


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083566#4083566

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083566



More information about the jboss-user mailing list