-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Chris,
On 1/21/15 6:41 PM, Chris Arnold wrote: >> Chris, > >> On 1/21/15 5:56 PM, Chris wrote: You must have changed something >> since your original >configuration. Do you have "JkMount ajp13" >> somewhere? You need to use >the worker name and not the protocol >> name. > >> Can you post your updated workers.properties file, and >related >> httpd.conf configurations? > > workers.properties: > > worker.list=jk-status worker.jk-status.type=status > worker.jk-status.read_only=true worker.list=jk-manager > worker.list=worker1 worker.jk-manager.type=status You have two "status" workers. Is that intentional? > worker.list=balancer worker.balancer.type=lb > worker.balancer.max_reply_timeouts=10 > worker.balancer.balance_workers=worker1 > worker.worker1.reference=worker.template > worker.worker1.host=localhost worker.worker1.port=8009 > worker.worker1.activation=A worker.template.type=ajp13 > worker.template.socket_keepalive=true version of mod_jk running > 1.2.26 If you are really running 1.2.26, you should upgrade to 1.2.40. > worker.template.connection_pool_minsize=0 That's an odd setting. Do you expect long periods of time during which no requests will be handled? > worker.template.connection_pool_timeout=600 > worker.template.reply_timeout=300000 > worker.template.recovery_options=3 > > Httpd.conf: > > Include /opt/alfresco/tomcat/conf/jk.conf > > apache vhost: > > <IfDefine SSL> <IfDefine !NOSSL> > > ## ## SSL Virtual Host Context ## > > <VirtualHost 192.168.123.200:443> > > # General setup for the virtual host DocumentRoot > "/opt/alfresco/tomcat/webapps/share" ServerName > share2.domain.tld:443 ServerAlias mail.* ifolder.* share.* apps.* > ErrorLog /var/log/apache2/ssl-error_log TransferLog > /var/log/apache2/ssl-access_log LogLevel Debug LogLevel > rewrite:trace8 > > # SSL Engine Switch: # Enable/Disable SSL for this virtual > host. SSLEngine on > > #This rewrites https://share.anydomain.tld to our share server > #RewriteEngine On #RewriteCond %{HTTP_HOST} ^share2\. #RewriteCond > %{HTTPS} on #RewriteCond %{REQUEST_URI} !^/share2/ #RewriteRule > ^/(.*) https://share2.teknerds.net:8443/share/ [P] JkMount > /share2/* worker1 > > Found it! IT was in the jk.conf file: JkMount /share2/*.* ajp13 I > have removed ajp13 so now that line looks like: JkMount > /share2/*.* *.* won't do what you want it to do. Please check out the Apache httpd guide here for the syntax for JkMount: http://tomcat.apache.org/connectors-doc/reference/apache.html > Restart apache and got this error: Jan 21 18:38:02 labweb > start_apache2[3042]: AH00526: Syntax error on line 32 of > /opt/alfresco/tomcat/conf/jk Jan 21 18:38:02 labweb > start_apache2[3042]: JkMount needs a path when not defined in a > location > > So i commented it out (it was like this originally). So then you don't have any JkMounts, so nothing will be proxied. What you want is: JkMount /share2/* worker1 or maybe: JkMount /share2/* balancer workers.properties defines the workers (target host/port, connection options, etc.) and the JkMount directives in httpd.conf map URL patterns to those workers. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJUwQucAAoJEBzwKT+lPKRY2NQQAKb9tQ2MvvqCzus6/jtghFCy qIsjB9qYpY9tdM1S9ml2SHVvmbfBmT7eZysgpCHjQOIqw5+bIxee6lxOrPcRNEFy RN6H8NFDtBkDiKF4zLx0UpDYICHwGD0VcvXG4FXMR1505zcYOcmzZOOEoAbsNiJX YESTjShLlRPe+vABBQ3NFTuFwsH0auDUveFsYREAnsYgaYIfbf607ydajwiJy8HN czS4nwWhb3nFhQcVgeZCMyO1sHaXB+jmb5EGbWogsoRjB7Nr7mf7KhTVzJiq6SFZ sYcji3rscEnZ5h0MNHxuMhYlz2lsOUFhEzn5nxQAFPn8XtUY/BsO5SEHypXJKJL2 qNP57uops6u11QvLVtf14SUUDeVAJcL/AFgn+h6MHVpfThqwbjmARKP+q4kZNdmY c0FTyelDq6fLZ68h/cUi6hB6hBiV34JgJZQXMhTFcYmIcK0HVjmdXrIPnNMXlNfk uszxqDSmElaJo9RrJXzBMFxxSZGmpmYkUctlvdZCOPzZi46k2PW8G49geiH2PYRa NTdmpW6b9HawWWdgZ7Pw2tVEeeiEDe+eFaMecDRsT6bbkMtikkbLFn7uQTp6lavL eY0I1TLCt1r+uqJGvKNw5lPRjIYuLl8XDZ7nFZPL7sEJjK1heVfaDayIpF9eTD6d fxgIG01ai16qg7NzSIEf =gV4t -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org