Thread: Tomcat6 with apache2 and varnish
i having trouble getting tomcat6 , solr working on website server. linode server runnning ubuntu 10.04 lts. have apache2 running varnish cache drupal 7 site server hosting.
apache2/ports.conf
code:namevirtualhost *:8080 listen 8080 <ifmodule mod_ssl.c> # if add namevirtualhost *:443 here, have change # virtualhost statement in /etc/apache2/sites-available/default-ssl # <virtualhost *:443> # server name indication ssl named virtual hosts not # supported msie on windows xp. listen 443 </ifmodule> <ifmodule mod_gnutls.c> listen 443 </ifmodule>
sites-available file site.
from varnish's default.vclcode:<virtualhost *:8080> servername serviidb.com serveralias www.serviidbgroup.info serviidb.com www.serviidb.com serviidbgroup.info serveradmin webmaster@serviidb.com jkmount /* default documentroot /var/www/serviidb.com/html </virtualhost>
from tomcat6 server.xmlcode:# default backend definition. set point content # server. # backend default { .host = "127.0.0.1"; .port = "8080"; }
tomcat6 starts cannot solr work, cannot figure way make sure tomcat6 working properly.code:<!-- "connector" represents endpoint requests received , responses returned. documentation @ : java http connector: /docs/config/http.html (blocking & non-blocking) java ajp connector: /docs/config/ajp.html apr (http/ajp) connector: /docs/apr.html define non-ssl http/1.1 connector on port 8080 --> <connector port="8080" protocol="http/1.1" connectiontimeout="20000" uriencoding="utf-8" redirectport="8443" /> <!-- "connector" using shared thread pool--> <!-- <connector executor="tomcatthreadpool" port="8080" protocol="http/1.1" connectiontimeout="20000" redirectport="8443" />
apprciated.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Tomcat6 with apache2 and varnish
Ubuntu
Comments
Post a Comment