You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sailaja Gadireddy <sa...@gmail.com> on 2015/03/03 06:14:10 UTC
[users@httpd] how to integrate mod_webapp to tomcat
Hello Team,
Currently we have a setup of Apache 1.3.x to tomcat 4.x and mod_webapp is
being used to integrate to tomcat.
There was a requirement to upgrade tomcat version to tomcat5. and I am
unable 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
AW: [users@httpd] how to integrate mod_webapp to tomcat [wd-vc]
Posted by "Bremser, Kurt (AMOS Austria GmbH)" <Ku...@allianz.at>.
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ärz 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 +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 /
Problem:
After migrationg Apache, tomcat.. I have used mod_jk to integrate. below is 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) <Ku...@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 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<ma...@gmail.com>]
Gesendet: Dienstag, 3. März 2015 06:14
An: users@httpd.apache.org<ma...@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 being used to integrate to tomcat.
There was a requirement to upgrade tomcat version to tomcat5. and I am unable 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.
********************************************************
Re: [users@httpd] how to integrate mod_webapp to tomcat [wd-vc]
Posted by Sailaja Gadireddy <sa...@gmail.com>.
Hello Team,
Thank you..
I have upgraded Apache as well. and the old apache configuration looks like
below:
*AddType text/html .shtmlAddHandler server-parsed .shtmlDirectoryIndex
index.html index.php index.shtml index.htm index.jspDocumentRoot
"/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.soWebAppConnection warpConnection warp
localhost:20508WebAppDeploy examples warpConnection /examples/WebAppDeploy
ered warpConnection /*
*Problem:*
After migrationg Apache, tomcat.. I have used mod_jk to integrate. below
is the configuration
* LoadModule jk_module modules/mod_jk.soJkWorkersFile
/opt/web/apache_test/app/ered/conf/workers.propertiesJkLogFile
/opt/web/apache_test/app/ered/logs/mod_jk.logJkLogLevel
debugJkLogStampFormat "[%a %b %d %H:%M:%S %Y] "#JkOptions
+ForwardURIEscaped +ForwardURICompatUnparsedJkRequestLogFormat "%w %V
%T"JkMount /* worker1JkMount /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) <
Kurt.Bremser@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 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ärz 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
> being used to integrate to tomcat.
>
> There was a requirement to upgrade tomcat version to tomcat5. and I am
> unable 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.
> ********************************************************
>
AW: [users@httpd] how to integrate mod_webapp to tomcat [wd-vc]
Posted by "Bremser, Kurt (AMOS Austria GmbH)" <Ku...@allianz.at>.
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ärz 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 being used to integrate to tomcat.
There was a requirement to upgrade tomcat version to tomcat5. and I am unable 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.
********************************************************