Hi
I didn't send the original question, but I've tried out your suggestion for
what I'm trying to do and it seems to work pretty well!
I do want to try the cacheing option you talked about in your response,
which Apache directive do I need to accomplish this (ie. in the mod_proxy
section or in the VirtualHost section, and which directive?)?
Thanks,
Colin Payne
JBoss-User wrote:
>"Arnaud" <[EMAIL PROTECTED]> wrote:
>
>> Hi from france...
>> i've just download Jboss+Tomcat on my computer and i would like to know
>how
>> jboss and tomcat are linked ?
>> What i mean is,
>> there is a relation between tomcat and apache with tomcat.conf and
>> httpd.conf (inclusion)
>> but when i look at the run_with_tomcat in the jboss_final2.0/bin folder
>> there is just a run tomcat ?
>>
>> 1/ so where is the connection with JBoss ??
>
>Tomcat is completely embedded into JBoss. It doesn't use the
>configuration files in the tomcat directory anymore, JBoss does
>everything automatically for you.
>
>
>> 2/ to use apache+tomcat+jboss
>> I must configure tomcat+apache and then "how can i tell to apache or
>tomcat
>> that i 've got an EJB container :-)
>
>Well, as I said, you don't have to tell tomcat enything. The problem
>is just, that this tomcat is started without apj.
>
>What I did is the following:
>
>I had a whole website in a single EAR, which should be accessible via
>http://www.somedomain.com. Using tomcat alone gave me a URL to access
>the web like http://www.somedomain.com/my_app. So I just used the
>proxy module of Apache for a name virtual server:
>
><VirtualHost *>
> ServerName www.somedomain.com
> DocumentRoot /pub/httpd/htdocs
>
> ProxyRequests on
> ProxyPass / http://localhost:8080/my_app/
> ProxyPassReverse / http://localhost:8080/my_app/
></VirtualHost>
>
>You can also make this proxy caching, so that not every request gets
>forwarded to tomcat, if you like.
>
>
>Hope this helps...
>
>
>--
> (o_ Raffael Herzog
> //\ [EMAIL PROTECTED]
> V_/_
>May the penguin be with you!
>
>
>--
>--------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
--
Colin Payne -- [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]