Skip to main content

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.
code:
<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 varnish's default.vcl

code:
# default backend definition.  set point content  # server.  #  backend default {    .host = "127.0.0.1";    .port = "8080";  }
from tomcat6 server.xml

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" />
tomcat6 starts cannot solr work, cannot figure way make sure tomcat6 working properly.

apprciated.



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Tomcat6 with apache2 and varnish


Ubuntu

Comments

Popular posts from this blog

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?