Apache mod_jk with jetty and tomcat together -


yes. apache connect tomcat , jetty together. have succeeded in either of them(apache + tomcat , apache + jetty). when together, no ideas.

belowed part added in httpd.conf in tomcat

# load mod_jk module loadmodule jk_module "c:\program files (x86)\apache group\apache24\manual\mod_jk.so"  # find workers.properties jkworkersfile "c:/program files (x86)/apache group/apache24/conf/workers.properties"  # put jk logs jklogfile "c:/program files (x86)/apache-tomcat-7.0.54/logs/mod_jk.log"  # set jk log level [debug/error/info] jkloglevel info  # select log format jklogstampformat "[%a %b %d %h:%m:%s %y] "  # jkoptions indicate send ssl key size, jkoptions +forwardkeysize +forwarduricompat -forwarddirectories  # jkrequestlogformat set request format jkrequestlogformat "%w %v %t"  # send servlet context /examples worker named ajp13 #jkmount /servlet/* ajp13  # send jsps context /examples worker named ajp13 jkmount /*.jsp ajp13 jkmount /*.jspa ajp13 jkmount /*.jspx ajp13 jkmount /*.do ajp13 jkmount /*.htm ajp13  alias /rest "c:/www/projectb"  <directory "c:/www"> options indexes followsymlinks allow </directory>  alias /wisemapping "c:\users\projecta"  <virtualhost *:80>      servername localhost     serveradmin localhost     jkmount /* jetty  </virtualhost> 

then work.propertis :

workers.tomcat_home="c:\program files (x86)\apache-tomcat-7.0.54" workers.java_home="c:\program files\java\jdk 1.7.0_55" worker.list=ajp13 worker.ajp13.port=8009  #tomcat worker.ajp13.host=localhost worker.ajp13.type=ajp13  worker.ajp13.lbfactor=1  worker.list=jetty worker.jetty.port=8007 #jetty worker.jetty.host=localhost worker.jetty.type=ajp13 worker.jetty.lbfactor=2 

ajp port projecta 8007. projectb 8009 localport projecta 8080. projectb 8088

and result 1 of them work. ideas? maybe problem of port?

as far know, there might 1 worker.list property in file. did try like:

 worker.list=ajp13,jetty 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -