[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - mod_jk integration with JBoss for HTTP and HTTPS both

deepakgupta_72@yahoo.com do-not-reply at jboss.com
Tue Jul 29 07:58:00 EDT 2008


Hi,

I have Jboss 4.0.5 and Apache 2.2.9 with SSL on windows environment. I have successfuly cofigured mod_jk so that apache talks with jboss nicely for all HTTP request problem i am facing is when i am making an HTTPS request it goes to Apache but neve comes to JBOSS. I have successfuly configured JBOSS also with SSL. Direct HTTPS request with Jboss ssl port 8443 is working but I am not able to do it via APACHE please provide some HELP.

HTTPD.conf
Include conf/mod-jk.conf

In mod-jk.conf
LoadModule jk_module modules/mod_jk.so
  | JkWorkersFile conf/workers.properties
  | JkMount /__application__/* node1
  | JkMountFile conf/uriworkermap.properties
  | 

In worker.properties
worker.list=node1
  | worker.node1.port=8009
  | worker.node1.host=localhost
  | worker.node1.type=ajp13
  | worker.node1.lbfactor=1
  | 

in uriworkermap.properties
/jmx-console=node1
  | /jmx-console/*=node1
  | /web-console=node1
  | /web-console/*=node1
  | /*=node1
  | 

JBOSS server.xml

<Connector port="8080" address="${jboss.bind.address}"
  |          maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
  |          emptySessionPath="true"
  |          enableLookups="false" redirectPort="8443" acceptCount="100"
  |          connectionTimeout="20000" disableUploadTimeout="true"/>
  | 
  | <!-- A AJP 1.3 Connector on port 8009 -->
  |       <Connector port="8009" address="${jboss.bind.address}"
  |          emptySessionPath="true" enableLookups="false" redirectPort="8443" 
  |          protocol="AJP/1.3"/>
  | 
  | <!-- SSL/TLS Connector configuration using the admin devl guide keystore -->
  |       <Connector port="8443" address="${jboss.bind.address}"
  |            maxThreads="100" strategy="ms" maxHttpHeaderSize="8192"
  |            emptySessionPath="true"
  |            scheme="https" secure="true" clientAuth="false" 
  |            keystoreFile="${jboss.server.home.dir}/conf/jboss.keystore"
  |            keystorePass="deepakjboss" sslProtocol = "TLS" />
  | 
  |  <Engine name="jboss.web" defaultHost="localhost" jvmRoute="node1">

even if I create two workers for two different connector port ports i cannot bind jvmRoute two workers.
Regards,
Deepak

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

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



More information about the jboss-user mailing list