Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A5C8610DCE for ; Tue, 3 Mar 2015 10:48:48 +0000 (UTC) Received: (qmail 92674 invoked by uid 500); 3 Mar 2015 10:48:36 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 92633 invoked by uid 500); 3 Mar 2015 10:48:36 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 92623 invoked by uid 99); 3 Mar 2015 10:48:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2015 10:48:36 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [194.127.3.34] (HELO mailgw.allianz.de) (194.127.3.34) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2015 10:48:32 +0000 Received: from naimuclc.wwg00m.rootdom.net (naimuclc.wwg00m.rootdom.net [10.108.24.32] (may be forged)) by mailgw.allianz.de with ESMTP id t23AlFId019811 for ; Tue, 3 Mar 2015 10:47:28 GMT Received: from wmucv161.wwg00m.rootdom.net ([fe80:0000:0000:0000:6158:ceb4:117.58.243.254]) by naimuclc.wwg00m.rootdom.net ([10.108.24.32]) with mapi; Tue, 3 Mar 2015 11:47:16 +0100 From: "Bremser, Kurt (AMOS Austria GmbH)" To: "users@httpd.apache.org" Date: Tue, 3 Mar 2015 11:44:29 +0100 Thread-Topic: [users@httpd] how to integrate mod_webapp to tomcat [wd-vc] Thread-Index: AdBVnAPLpoMFjMzSSb+sOvCAMoeQZwAAwLP7 Message-ID: References: , In-Reply-To: Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE Content-Type: multipart/alternative; boundary="_000_FAD9AF66CFB5614DA25DAC6694C2275FAAB7B14A8BWMUCV161wwg00_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Subject: AW: [users@httpd] how to integrate mod_webapp to tomcat [wd-vc] --_000_FAD9AF66CFB5614DA25DAC6694C2275FAAB7B14A8BWMUCV161wwg00_ Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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@gmail.com] Gesendet: Dienstag, 3. M=E4rz 2015 11:21 An: users@httpd.apache.org Betreff: Re: [users@httpd] how to integrate mod_webapp to tomcat [wd-vc] Hello Team, Thank you.. I have upgraded Apache as well. and the old apache configuration looks like= below: 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" Options -Indexes +FollowSymLinks -MultiViews +IncludesNoExec AllowOverride AuthConfig Order allow,deny Allow from all Alias /login /opt/app/ered/tomcat/webapps/ered/login AuthName "Please enter your local account and password" AuthType Basic AuthUserFile /opt/app/ered/etc/apache_web_passwords require valid-user ScriptAlias /cgi-bin/ "/opt/app/ered/cgi-bin/" AllowOverride AuthConfig Options None Order allow,deny Allow from all LoadModule webapp_module libexec/mod_webapp.so WebAppConnection warpConnection warp localhost:20508 WebAppDeploy examples warpConnection /examples/ WebAppDeploy ered warpConnection / Problem: After migrationg Apache, tomcat.. I have used mod_jk to integrate. below i= s the configuration 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 But the redirection is not happening. Tomcat home page is coming instead of= application home page. Please help Regards, Sailaja On Tue, Mar 3, 2015 at 1:53 PM, Bremser, Kurt (AMOS Austria GmbH) > wrote: Migrate to apache 2.4 (or at least 2.2) NOW. Really. We mean it. Only version 2.2 and 2.4 are being maintained. apache 2.4 with mod_jk works with tomcat and jboss. Kurt Bremser Newton was wrong. There is no gravity. The Earth sucks. ________________________________ Von: Sailaja Gadireddy [sailaja.gadireddy@gmail.com] Gesendet: Dienstag, 3. M=E4rz 2015 06:14 An: users@httpd.apache.org Betreff: [users@httpd] how to integrate mod_webapp to tomcat [wd-vc] Hello Team, Currently we have a setup of Apache 1.3.x to tomcat 4.x and mod_webapp is b= eing used to integrate to tomcat. There was a requirement to upgrade tomcat version to tomcat5. and I am unab= le to connect from apache 1.3.x and mod_webapp to tomcat 5. I would like to know is mod_webapp connector compatible to tomcat 5? If yes= , please suggest me the steps. Thanks & Regards, Sailaja 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. ******************************************************** AMOS Austria GmbH=20 1130 Wien, Hietzinger Kai 101-105=20 FN 365014k, Handelsgericht Wien=20 UID: ATU 66614737=20 http://www.allianz.at=20 ********************************************************=20 Dieses E-Mail und allfaellig daran angeschlossene Anhaenge=20 enthalten Informationen, die vertraulich und=20 ausschliesslich fuer den (die) bezeichneten Adressaten=20 bestimmt sind.=20 Wenn Sie nicht der genannte Adressat sind, darf dieses=20 E-Mail samt allfaelliger Anhaenge von Ihnen weder anderen=20 Personen zugaenglich gemacht noch in anderer Weise=20 verwertet werden. Wenn Sie nicht der beabsichtigte Empfaenger sind, bitten wir Sie, dieses E-Mail und saemtliche angeschlossene Anhaenge zu loeschen.=20 Please note: This email and any files transmitted with it is=20 intended only for the named recipients and may contain=20 confidential and/or privileged information. If you are not the=20 intended recipient, please do not read, copy, use or disclose=20 the contents of this communication to others and notify the=20 sender immediately. Then please delete the email and any=20 copies of it. Thank you. ******************************************************** --_000_FAD9AF66CFB5614DA25DAC6694C2275FAAB7B14A8BWMUCV161wwg00_ Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
In tomc= at, each webapp has its own directory tree.
I would drop the jkm= ount /* and instead have
jkmount /webappname worke= r1
jkmount /webappname/* wor= ker1
for each webapp.
That's what works for us.=
 
Kurt Bremser
 
Newton was wrong. There is = no gravity. The Earth sucks.

Von: Sailaja Gadi= reddy [sailaja.gadireddy@gmail.com]
Gesendet: Dienstag, 3. M=E4rz 2015 11:21
An: users@httpd.apache.org
Betreff: Re: [users@httpd] how to integrate mod_webapp to tomcat [wd= -vc]

Hello Team,

Thank you..

I have upgraded Apache as well. and the old apache configuration looks like= below:

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 +In= cludesNoExec
    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 passw= ord"
    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 /


Problem:
 After migrationg Apache, tomcat.. I have used mod_jk to integrate. be= low is the configuration

        LoadModule jk_module  mo= dules/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



But the redirection is not happening. Tomcat home page is coming instead of= application home page.

Please help

Regards,
Sailaja

On Tue, Mar 3, 2015 at 1:53 PM, Bremser, Kurt (A= MOS Austria GmbH) <Kurt.Brems= er@allianz.at> wrote:
Migrate to apache = 2.4 (or at least 2.2) NOW. Really. We mean it.
Only version 2.2 and 2.4 are being m= aintained.
 
apache 2.4 with mod_jk works with to= mcat and jboss.
 
Kurt Bremser
 
Newton was wrong. There is no gravity.= The Earth sucks.

Von: Sailaja Gadireddy [sailaja.gadireddy@gmail.com]=
Gesendet: Dienstag, 3. M=E4rz 2015 06:14
An: users@httpd.apache.org=
Betreff: [users@httpd] how to integrate mod_webapp to tomcat [wd-vc]=

Hello Team,

Currently we have a setup of Apache 1.3.x to tomcat 4.x and mod_webapp is b= eing used to integrate to tomcat.

There was a requirement to upgrade tomcat version to tomcat5. and I am unab= le to connect from apache 1.3.x and mod_webapp to tomcat 5.

I would like to know is mod_webapp connector compatible to tomcat 5? If yes= , please suggest me the steps.

Thanks & Regards,
Sailaja

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.
********************************************************


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.
******************************************************** --_000_FAD9AF66CFB5614DA25DAC6694C2275FAAB7B14A8BWMUCV161wwg00_--