In tomcat, each webapp has its own directory tree.
I would drop the jkmount /* and instead have
jkmount /webappname worker1
jkmount /webappname/* worker1
for each webapp.
That's what works for us.
Kurt Bremser
Newton was wrong. There is no gravity. The Earth sucks.
Von: Sailaja Gadireddy [sailaja.gadireddy@xxxxxxxxx] Gesendet: Dienstag, 3. März 2015 11:21 An: users@xxxxxxxxxxxxxxxx Betreff: Re: how to integrate mod_webapp to tomcat [wd-vc] Hello Team,
Thank you..AddType text/html .shtml AddHandler server-parsed .shtml DirectoryIndex index.html index.php index.shtml index.htm index.jsp DocumentRoot "/opt/app/ered/tomcat/webapps/ered" <Directory "/opt/app/ered/tomcat/webapps/ered"> Options -Indexes +FollowSymLinks -MultiViews +IncludesNoExec AllowOverride AuthConfig Order allow,deny Allow from all </Directory> Alias /login /opt/app/ered/tomcat/webapps/ered/login <Location "/restricted"> AuthName "Please enter your local account and password" AuthType Basic AuthUserFile /opt/app/ered/etc/apache_web_passwords require valid-user </Location> <IfModule mod_alias.c> ScriptAlias /cgi-bin/ "/opt/app/ered/cgi-bin/" <Directory "/opt/app/ered/cgi-bin"> AllowOverride AuthConfig Options None Order allow,deny Allow from all </Directory> </IfModule> LoadModule webapp_module libexec/mod_webapp.so WebAppConnection warpConnection warp localhost:20508 WebAppDeploy examples warpConnection /examples/ WebAppDeploy ered warpConnection / LoadModule jk_module modules/mod_jk.so JkWorkersFile /opt/web/apache_test/app/ered/conf/workers.properties JkLogFile /opt/web/apache_test/app/ered/logs/mod_jk.log JkLogLevel debug JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " #JkOptions +ForwardURIEscaped +ForwardURICompatUnparsed JkRequestLogFormat "%w %V %T" JkMount /* worker1 JkMount /servlet/* worker1 On Tue, Mar 3, 2015 at 1:53 PM, Bremser, Kurt (AMOS Austria GmbH)
<Kurt.Bremser@xxxxxxxxxx> wrote:
AMOS Austria GmbH 1130 Wien, Hietzinger Kai 101-105 FN 365014k, Handelsgericht Wien UID: ATU 66614737 http://www.allianz.at ******************************************************** Dieses E-Mail und allfaellig daran angeschlossene Anhaenge enthalten Informationen, die vertraulich und ausschliesslich fuer den (die) bezeichneten Adressaten bestimmt sind. Wenn Sie nicht der genannte Adressat sind, darf dieses E-Mail samt allfaelliger Anhaenge von Ihnen weder anderen Personen zugaenglich gemacht noch in anderer Weise verwertet werden. Wenn Sie nicht der beabsichtigte Empfaenger sind, bitten wir Sie, dieses E-Mail und saemtliche angeschlossene Anhaenge zu loeschen. Please note: This email and any files transmitted with it is intended only for the named recipients and may contain confidential and/or privileged information. If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication to others and notify the sender immediately. Then please delete the email and any copies of it. Thank you. ******************************************************** |