You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by MShah <mo...@yahoo.com> on 2007/10/30 00:50:34 UTC

Integrating Apache Web server with Geronimo

Has anyone integrated Apache web server with geronimo and if so can you
please let me know any issues you faced and also if you can please provide a
sample entry in the workers.properties file I would appreciated it.  I am
very new to all this and we have decided to move from IIS to Apache web
server.

Thanks,
Manisha
-- 
View this message in context: http://www.nabble.com/Integrating-Apache-Web-server-with-Geronimo-tf4715417s134.html#a13479347
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Integrating Apache Web server with Geronimo

Posted by Jarek Gawor <jg...@gmail.com>.
Yes.

Jarek

On 10/30/07, MShah <mo...@yahoo.com> wrote:
>
> By Apache Configuration file do you mean the http.conf file?  Please clarify.
>
> Thanks
> Manisha
>
>
>
>
> Jarek Gawor-2 wrote:
> >
> > Yes, I just set this up:
> >
> > The workers.properties file:
> >
> > worker.list=geronimo_ajp13
> > worker.geronimo_ajp13.port=8009
> > worker.geronimo_ajp13.host=localhost
> > worker.geronimo_ajp13.type=ajp13
> >
> > Settings added to Apache configuration file:
> >
> > <IfModule mod_jk.c>
> >     JkWorkersFile
> > /home/jgawor/geronimo-jetty6-javaee5-2.1-SNAPSHOT/var/config/workers.properties
> >     JkLogFile
> > /home/jgawor/geronimo-jetty6-javaee5-2.1-SNAPSHOT/var/log/apache_mod_jk.log
> >     JkLogLevel error
> >
> >     JkMount /console/* geronimo_ajp13
> > </IfModule>
> >
> > Please also see
> > http://cwiki.apache.org/GMOxDOC20/configure-apache-httpd-with-jakarta-tomcat-connector-modjk.html
> > for more info.
> >
> > Jarek
> >
> > On 10/29/07, MShah <mo...@yahoo.com> wrote:
> >>
> >> Has anyone integrated Apache web server with geronimo and if so can you
> >> please let me know any issues you faced and also if you can please
> >> provide a
> >> sample entry in the workers.properties file I would appreciated it.  I am
> >> very new to all this and we have decided to move from IIS to Apache web
> >> server.
> >>
> >> Thanks,
> >> Manisha
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Integrating-Apache-Web-server-with-Geronimo-tf4715417s134.html#a13479347
> >> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Integrating-Apache-Web-server-with-Geronimo-tf4715417s134.html#a13492389
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>

Re: Integrating Apache Web server with Geronimo

Posted by Jarek Gawor <jg...@gmail.com>.
If you worker.properties is:

worker.list=geronimo_ajp13
worker.geronimo_ajp13.port=8009
worker.geronimo_ajp13.host=localhost
worker.geronimo_ajp13.type=ajp13

then you must have:

JkMount /p2k6PortalApp/* geronimo_ajp13

The second argument to JkMount is the worker name. That should match
the name specified in the worker.properties.

Jarek

On 10/30/07, MShah <mo...@yahoo.com> wrote:
>
> Adding to the httpd.conf worked.  Now I have deployed a couple of web app
> wars on Geronimo.  I added the following to the httpd.conf file for the apps
> I have deloyed:
>
> JkMount /p2k6App/* p2k6App
> JkMount /p2k6PortalApp/* p2k6PortalApp
>
> I can access them perfectly using port 8080 in the url but not using the url
> for apache httpd server.  Any inputs on resolving this will be much
> appreciated.
>
> Thanks,
> Manisha
>
>
>
>
> MShah wrote:
> >
> > By Apache Configuration file do you mean the http.conf file?  Please
> > clarify.
> >
> > Thanks
> > Manisha
> >
> >
> >
> >
> > Jarek Gawor-2 wrote:
> >>
> >> Yes, I just set this up:
> >>
> >> The workers.properties file:
> >>
> >> worker.list=geronimo_ajp13
> >> worker.geronimo_ajp13.port=8009
> >> worker.geronimo_ajp13.host=localhost
> >> worker.geronimo_ajp13.type=ajp13
> >>
> >> Settings added to Apache configuration file:
> >>
> >> <IfModule mod_jk.c>
> >>     JkWorkersFile
> >> /home/jgawor/geronimo-jetty6-javaee5-2.1-SNAPSHOT/var/config/workers.properties
> >>     JkLogFile
> >> /home/jgawor/geronimo-jetty6-javaee5-2.1-SNAPSHOT/var/log/apache_mod_jk.log
> >>     JkLogLevel error
> >>
> >>     JkMount /console/* geronimo_ajp13
> >> </IfModule>
> >>
> >> Please also see
> >> http://cwiki.apache.org/GMOxDOC20/configure-apache-httpd-with-jakarta-tomcat-connector-modjk.html
> >> for more info.
> >>
> >> Jarek
> >>
> >> On 10/29/07, MShah <mo...@yahoo.com> wrote:
> >>>
> >>> Has anyone integrated Apache web server with geronimo and if so can you
> >>> please let me know any issues you faced and also if you can please
> >>> provide a
> >>> sample entry in the workers.properties file I would appreciated it.  I
> >>> am
> >>> very new to all this and we have decided to move from IIS to Apache web
> >>> server.
> >>>
> >>> Thanks,
> >>> Manisha
> >>> --
> >>> View this message in context:
> >>> http://www.nabble.com/Integrating-Apache-Web-server-with-Geronimo-tf4715417s134.html#a13479347
> >>> Sent from the Apache Geronimo - Users mailing list archive at
> >>> Nabble.com.
> >>>
> >>>
> >>
> >>
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Integrating-Apache-Web-server-with-Geronimo-tf4715417s134.html#a13492801
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>

Re: Integrating Apache Web server with Geronimo

Posted by MShah <mo...@yahoo.com>.
Adding to the httpd.conf worked.  Now I have deployed a couple of web app
wars on Geronimo.  I added the following to the httpd.conf file for the apps
I have deloyed:

JkMount /p2k6App/* p2k6App
JkMount /p2k6PortalApp/* p2k6PortalApp

I can access them perfectly using port 8080 in the url but not using the url
for apache httpd server.  Any inputs on resolving this will be much
appreciated.

Thanks,
Manisha




MShah wrote:
> 
> By Apache Configuration file do you mean the http.conf file?  Please
> clarify.
> 
> Thanks
> Manisha
> 
> 
> 
> 
> Jarek Gawor-2 wrote:
>> 
>> Yes, I just set this up:
>> 
>> The workers.properties file:
>> 
>> worker.list=geronimo_ajp13
>> worker.geronimo_ajp13.port=8009
>> worker.geronimo_ajp13.host=localhost
>> worker.geronimo_ajp13.type=ajp13
>> 
>> Settings added to Apache configuration file:
>> 
>> <IfModule mod_jk.c>
>>     JkWorkersFile
>> /home/jgawor/geronimo-jetty6-javaee5-2.1-SNAPSHOT/var/config/workers.properties
>>     JkLogFile
>> /home/jgawor/geronimo-jetty6-javaee5-2.1-SNAPSHOT/var/log/apache_mod_jk.log
>>     JkLogLevel error
>> 
>>     JkMount /console/* geronimo_ajp13
>> </IfModule>
>> 
>> Please also see
>> http://cwiki.apache.org/GMOxDOC20/configure-apache-httpd-with-jakarta-tomcat-connector-modjk.html
>> for more info.
>> 
>> Jarek
>> 
>> On 10/29/07, MShah <mo...@yahoo.com> wrote:
>>>
>>> Has anyone integrated Apache web server with geronimo and if so can you
>>> please let me know any issues you faced and also if you can please
>>> provide a
>>> sample entry in the workers.properties file I would appreciated it.  I
>>> am
>>> very new to all this and we have decided to move from IIS to Apache web
>>> server.
>>>
>>> Thanks,
>>> Manisha
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Integrating-Apache-Web-server-with-Geronimo-tf4715417s134.html#a13479347
>>> Sent from the Apache Geronimo - Users mailing list archive at
>>> Nabble.com.
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Integrating-Apache-Web-server-with-Geronimo-tf4715417s134.html#a13492801
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Integrating Apache Web server with Geronimo

Posted by MShah <mo...@yahoo.com>.
By Apache Configuration file do you mean the http.conf file?  Please clarify.

Thanks
Manisha




Jarek Gawor-2 wrote:
> 
> Yes, I just set this up:
> 
> The workers.properties file:
> 
> worker.list=geronimo_ajp13
> worker.geronimo_ajp13.port=8009
> worker.geronimo_ajp13.host=localhost
> worker.geronimo_ajp13.type=ajp13
> 
> Settings added to Apache configuration file:
> 
> <IfModule mod_jk.c>
>     JkWorkersFile
> /home/jgawor/geronimo-jetty6-javaee5-2.1-SNAPSHOT/var/config/workers.properties
>     JkLogFile
> /home/jgawor/geronimo-jetty6-javaee5-2.1-SNAPSHOT/var/log/apache_mod_jk.log
>     JkLogLevel error
> 
>     JkMount /console/* geronimo_ajp13
> </IfModule>
> 
> Please also see
> http://cwiki.apache.org/GMOxDOC20/configure-apache-httpd-with-jakarta-tomcat-connector-modjk.html
> for more info.
> 
> Jarek
> 
> On 10/29/07, MShah <mo...@yahoo.com> wrote:
>>
>> Has anyone integrated Apache web server with geronimo and if so can you
>> please let me know any issues you faced and also if you can please
>> provide a
>> sample entry in the workers.properties file I would appreciated it.  I am
>> very new to all this and we have decided to move from IIS to Apache web
>> server.
>>
>> Thanks,
>> Manisha
>> --
>> View this message in context:
>> http://www.nabble.com/Integrating-Apache-Web-server-with-Geronimo-tf4715417s134.html#a13479347
>> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Integrating-Apache-Web-server-with-Geronimo-tf4715417s134.html#a13492389
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Integrating Apache Web server with Geronimo

Posted by Jarek Gawor <jg...@gmail.com>.
Yes, I just set this up:

The workers.properties file:

worker.list=geronimo_ajp13
worker.geronimo_ajp13.port=8009
worker.geronimo_ajp13.host=localhost
worker.geronimo_ajp13.type=ajp13

Settings added to Apache configuration file:

<IfModule mod_jk.c>
    JkWorkersFile
/home/jgawor/geronimo-jetty6-javaee5-2.1-SNAPSHOT/var/config/workers.properties
    JkLogFile /home/jgawor/geronimo-jetty6-javaee5-2.1-SNAPSHOT/var/log/apache_mod_jk.log
    JkLogLevel error

    JkMount /console/* geronimo_ajp13
</IfModule>

Please also see
http://cwiki.apache.org/GMOxDOC20/configure-apache-httpd-with-jakarta-tomcat-connector-modjk.html
for more info.

Jarek

On 10/29/07, MShah <mo...@yahoo.com> wrote:
>
> Has anyone integrated Apache web server with geronimo and if so can you
> please let me know any issues you faced and also if you can please provide a
> sample entry in the workers.properties file I would appreciated it.  I am
> very new to all this and we have decided to move from IIS to Apache web
> server.
>
> Thanks,
> Manisha
> --
> View this message in context: http://www.nabble.com/Integrating-Apache-Web-server-with-Geronimo-tf4715417s134.html#a13479347
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>