Virtual Hosting with Tomcat 4.1, Apache 2.0, and mod_jk2
Is there any way to specify context mappings in the httpd.conf file? Something similar to JkUriSet? I have successfully mapped *.jsp to my mod_jk2 worker, but I'm having an issues mapping virtual hosts with the correct Tomcat context? Using uri in the workers2.properties will prove cumbersome as I have many virtual hosts, with many more ServerAliases. Recommendations on how to best handle a single Apache 2.0./Tomcat 4.1 Server instance doing a large amount of virtual hosting for several sites, and hostnames? __ James C. Montz RHCE Hosting Services Engineer James Tower http://www.jamestower.com http://www.jamestower.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Virtual Hosting with Tomcat 4.1, Apache 2.0, and mod_jk2
Hi James, You actually can use JkUriSet in httpd.conf file. For example, to map all .jsp files to tomcat, Location /*.jsp JkUriSet worker ajp13:localhost:8009 /Location This is a global mapping. Check http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html for a more in-depth example. hth, Adrian Lanning From: Montz, James C. (James Tower) [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Virtual Hosting with Tomcat 4.1, Apache 2.0, and mod_jk2 Date: Tue, 16 Mar 2004 09:59:38 -0600 Is there any way to specify context mappings in the httpd.conf file? Something similar to JkUriSet? I have successfully mapped *.jsp to my mod_jk2 worker, but I'm having an issues mapping virtual hosts with the correct Tomcat context? Using uri in the workers2.properties will prove cumbersome as I have many virtual hosts, with many more ServerAliases. Recommendations on how to best handle a single Apache 2.0./Tomcat 4.1 Server instance doing a large amount of virtual hosting for several sites, and hostnames? __ James C. Montz RHCE Hosting Services Engineer James Tower http://www.jamestower.com http://www.jamestower.com _ Frustrated with dial-up? Lightning-fast Internet access for as low as $29.95/month. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: virtual hosting and tomcat wt Apache 2 and JK2
You probably have this bug(different than the other one posted) http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22045 The only solution I have found is to map each virtualhost/dir in your workers2.properties that should go to tomcat. While a PITA(at least for me), it does work. See this link for an example. http://www.aexx.net/arcane/article.jsp?article=tomcat4-apache2-jk2 These are the only 2 things that I have found about this issue. Charlie -Original Message- From: Brennon Obst [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 1:02 AM To: 'Tomcat Users List' Subject: RE: virtual hosting and tomcat wt Apache 2 and JK2 Thank you Martina, I will check my version and report back =/ /Brennon -Original Message- From: Frankl Martina [mailto:[EMAIL PROTECTED] Sent: Friday, 16 January 2004 10:23 PM To: Brennon Obst; 'Tomcat Users List' Subject: AW: virtual hosting and tomcat wt Apache 2 and JK2 Maybe your jk2 version still has this bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18472 hth Martina -Ursprüngliche Nachricht- Von: Brennon Obst [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 16. Januar 2004 05:43 An: 'Tomcat Users List' Betreff: virtual hosting and tomcat wt Apache 2 and JK2 Dear usergroup, When I activated the following in my Apache 2 config within the VirtualHost block for x.xxx.net: Location / JkUriSet worker ajp13:localhost:8009 /Location ALL of my virtual hosts stopped working and started complaining of not being able to find /index.jsp It is like the Location / wasn't confined to the VirtualHost but rather became a server wide configuration. When I activated the apache--tomcat connection it took over ALL of the virtual hosts and was routing them through Tomcat, does anyone know how to stop that? Is it my Apache 2 and JK2 connectors, where do I turn now? Thank you in advance, Brennon Obst Java Security Programmer iEnergy Main Branch 39 Melbourne St. / Brisbane p. (617) 3846- [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: virtual hosting and tomcat wt Apache 2 and JK2
Yes that looks like the bug, I cant find a later version of mod_jk2 though. I am running tomcat-4.1.27-8.ent.1 with mod_jk2-4.1.27-8.ent.1 rpms sourced from http://people.redhat.com/gbenson/naoko I looked at the http://apache.mirrors.ilisys.com.au/jakarta/tomcat-connectors/jk2/binari es however there is only w32 and solaris there. I dont know where to get jk2 for linux anywhere and I have been looking. Thanks in advance, Brennon Obst -Original Message- From: Frankl Martina [mailto:[EMAIL PROTECTED] Sent: Friday, 16 January 2004 10:23 PM To: Brennon Obst; 'Tomcat Users List' Subject: AW: virtual hosting and tomcat wt Apache 2 and JK2 Maybe your jk2 version still has this bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18472 hth Martina -Ursprüngliche Nachricht- Von: Brennon Obst [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 16. Januar 2004 05:43 An: 'Tomcat Users List' Betreff: virtual hosting and tomcat wt Apache 2 and JK2 Dear usergroup, When I activated the following in my Apache 2 config within the VirtualHost block for x.xxx.net: Location / JkUriSet worker ajp13:localhost:8009 /Location ALL of my virtual hosts stopped working and started complaining of not being able to find /index.jsp It is like the Location / wasn't confined to the VirtualHost but rather became a server wide configuration. When I activated the apache--tomcat connection it took over ALL of the virtual hosts and was routing them through Tomcat, does anyone know how to stop that? Is it my Apache 2 and JK2 connectors, where do I turn now? Thank you in advance, Brennon Obst Java Security Programmer iEnergy Main Branch 39 Melbourne St. / Brisbane p. (617) 3846- [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: virtual hosting and tomcat wt Apache 2 and JK2
Thank you Charlie, I missed this email in my last response. I will follow that tutorial and report back. Cheers mate! /Brennon -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED] Sent: Tuesday, 20 January 2004 3:30 AM To: 'Tomcat Users List' Subject: RE: virtual hosting and tomcat wt Apache 2 and JK2 You probably have this bug(different than the other one posted) http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22045 The only solution I have found is to map each virtualhost/dir in your workers2.properties that should go to tomcat. While a PITA(at least for me), it does work. See this link for an example. http://www.aexx.net/arcane/article.jsp?article=tomcat4-apache2-jk2 These are the only 2 things that I have found about this issue. Charlie -Original Message- From: Brennon Obst [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 1:02 AM To: 'Tomcat Users List' Subject: RE: virtual hosting and tomcat wt Apache 2 and JK2 Thank you Martina, I will check my version and report back =/ /Brennon -Original Message- From: Frankl Martina [mailto:[EMAIL PROTECTED] Sent: Friday, 16 January 2004 10:23 PM To: Brennon Obst; 'Tomcat Users List' Subject: AW: virtual hosting and tomcat wt Apache 2 and JK2 Maybe your jk2 version still has this bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18472 hth Martina -Ursprüngliche Nachricht- Von: Brennon Obst [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 16. Januar 2004 05:43 An: 'Tomcat Users List' Betreff: virtual hosting and tomcat wt Apache 2 and JK2 Dear usergroup, When I activated the following in my Apache 2 config within the VirtualHost block for x.xxx.net: Location / JkUriSet worker ajp13:localhost:8009 /Location ALL of my virtual hosts stopped working and started complaining of not being able to find /index.jsp It is like the Location / wasn't confined to the VirtualHost but rather became a server wide configuration. When I activated the apache--tomcat connection it took over ALL of the virtual hosts and was routing them through Tomcat, does anyone know how to stop that? Is it my Apache 2 and JK2 connectors, where do I turn now? Thank you in advance, Brennon Obst Java Security Programmer iEnergy Main Branch 39 Melbourne St. / Brisbane p. (617) 3846- [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: virtual hosting and tomcat wt Apache 2 and JK2
Thank you Martina, I will check my version and report back =/ /Brennon -Original Message- From: Frankl Martina [mailto:[EMAIL PROTECTED] Sent: Friday, 16 January 2004 10:23 PM To: Brennon Obst; 'Tomcat Users List' Subject: AW: virtual hosting and tomcat wt Apache 2 and JK2 Maybe your jk2 version still has this bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18472 hth Martina -Ursprüngliche Nachricht- Von: Brennon Obst [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 16. Januar 2004 05:43 An: 'Tomcat Users List' Betreff: virtual hosting and tomcat wt Apache 2 and JK2 Dear usergroup, When I activated the following in my Apache 2 config within the VirtualHost block for x.xxx.net: Location / JkUriSet worker ajp13:localhost:8009 /Location ALL of my virtual hosts stopped working and started complaining of not being able to find /index.jsp It is like the Location / wasn't confined to the VirtualHost but rather became a server wide configuration. When I activated the apache--tomcat connection it took over ALL of the virtual hosts and was routing them through Tomcat, does anyone know how to stop that? Is it my Apache 2 and JK2 connectors, where do I turn now? Thank you in advance, Brennon Obst Java Security Programmer iEnergy Main Branch 39 Melbourne St. / Brisbane p. (617) 3846- [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: virtual hosting and tomcat wt Apache 2 and JK2
Maybe your jk2 version still has this bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18472 hth Martina -Ursprüngliche Nachricht- Von: Brennon Obst [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 16. Januar 2004 05:43 An: 'Tomcat Users List' Betreff: virtual hosting and tomcat wt Apache 2 and JK2 Dear usergroup, When I activated the following in my Apache 2 config within the VirtualHost block for x.xxx.net: Location / JkUriSet worker ajp13:localhost:8009 /Location ALL of my virtual hosts stopped working and started complaining of not being able to find /index.jsp It is like the Location / wasn't confined to the VirtualHost but rather became a server wide configuration. When I activated the apache--tomcat connection it took over ALL of the virtual hosts and was routing them through Tomcat, does anyone know how to stop that? Is it my Apache 2 and JK2 connectors, where do I turn now? Thank you in advance, Brennon Obst Java Security Programmer iEnergy Main Branch 39 Melbourne St. / Brisbane p. (617) 3846- [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: virtual hosting and tomcat wt Apache 2 and JK2
Brennon Obst wrote: Dear usergroup, ... When I activated the apache--tomcat connection it took over ALL of the virtual hosts and was routing them through Tomcat, does anyone know how to stop that? Is it my Apache 2 and JK2 connectors, where do I turn now? Thank you in advance, I saw this link outside the thread. Posted by Frankl Martina. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18472 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
virtual hosting and tomcat wt Apache 2 and JK2
Dear usergroup, When I activated the following in my Apache 2 config within the VirtualHost block for x.xxx.net: Location / JkUriSet worker ajp13:localhost:8009 /Location ALL of my virtual hosts stopped working and started complaining of not being able to find /index.jsp It is like the Location / wasn't confined to the VirtualHost but rather became a server wide configuration. When I activated the apache--tomcat connection it took over ALL of the virtual hosts and was routing them through Tomcat, does anyone know how to stop that? Is it my Apache 2 and JK2 connectors, where do I turn now? Thank you in advance, Brennon Obst Java Security Programmer iEnergy Main Branch 39 Melbourne St. / Brisbane p. (617) 3846- [EMAIL PROTECTED]
Re: virtual hosting and tomcat wt Apache 2 and JK2
Are the Apache connector properties set to match the connector you defined in server.xml? And is a Location the right place to set a worker property? [EMAIL PROTECTED] 01/15/04 21:56 PM Dear usergroup, When I activated the following in my Apache 2 config within the VirtualHost block for x.xxx.net: Location / JkUriSet worker ajp13:localhost:8009 /Location ALL of my virtual hosts stopped working and started complaining of not being able to find /index.jsp It is like the Location / wasn't confined to the VirtualHost but rather became a server wide configuration. When I activated the apache--tomcat connection it took over ALL of the virtual hosts and was routing them through Tomcat, does anyone know how to stop that? Is it my Apache 2 and JK2 connectors, where do I turn now? Thank you in advance, Brennon Obst Java Security Programmer iEnergy Main Branch 39 Melbourne St. / Brisbane p. (617) 3846- [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Virtual Hosting with Tomcat
Hi there, Many thanks for the info. I am still having the following problems I hope you can help with. A) Our domain name is seewithin.stc.com. The application is in a folder called webtop. I would like the default location to be the webtop folder. However no matter what I do, when I type in seewithin.stc.com:8080, it goes to the default Tomcat page. B) I would like to leave out the port number in the address. Is there a way to configure this? Many many thanks for all your help! Mike -Original Message- From: Robert Abbate [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 9:42 AM To: Tomcat Users List Cc: Mike Rixford Subject: RE: Virtual Hosting with Tomcat I'd say to just send requests directly to Tomcat on it's port..usually 8180 or 8080 http://yoursite.com:8180 then edit the server.xml file to point to where you want it to serve your webpages. Here's an example config: Host name=yoursite.com Context path= docBase=/home/mydirectory/public_html debug=0/ Aliaswww.yoursite.com/Alias /Host you'll put that in your server.xml file in between: Service name=Tomcat-Standalone !-- Define the top level container in our container hierarchy -- Engine name=Standalone defaultHost=localhost debug=0 Host name=yoursite.com Context path= docBase=/home/mydirectory/public_html debug=0/ Aliaswww.yoursite.com/Alias /Host /Engine /Service -Original Message- From: Mike Rixford [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 11:31 AM To: Tomcat Users List Subject: Virtual Hosting with Tomcat Hi there, I need to setup virtual hosting with Tomcat. We are not running the full Apache server, just Tomcat and its web piece. Can this be done? Everything I have found so far refers to Apache not Tomcat on its own. Any help would be greatly appreciated. Thanks, Mike -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Virtual Hosting with Tomcat
Mike, in server.xml file in conf folder find connector tag (in new version it's coyteconnector, in old version it's httpconnector) (or just search for 8080) and replace 8080 with 80. that will eliminate need for :8080. also in server.xml, for the webtop context, make path= and webtop's index.htm(l) will become default page. it will be something like this.. Context path= docBase=webtop debug=0 reloadable=false/ Cheers Vlad At 12:27 PM 12/31/2002, you wrote: Hi there, Many thanks for the info. I am still having the following problems I hope you can help with. A) Our domain name is seewithin.stc.com. The application is in a folder called webtop. I would like the default location to be the webtop folder. However no matter what I do, when I type in seewithin.stc.com:8080, it goes to the default Tomcat page. B) I would like to leave out the port number in the address. Is there a way to configure this? Many many thanks for all your help! Mike -Original Message- From: Robert Abbate [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 9:42 AM To: Tomcat Users List Cc: Mike Rixford Subject: RE: Virtual Hosting with Tomcat I'd say to just send requests directly to Tomcat on it's port..usually 8180 or 8080 http://yoursite.com:8180 then edit the server.xml file to point to where you want it to serve your webpages. Here's an example config: Host name=yoursite.com Context path= docBase=/home/mydirectory/public_html debug=0/ Aliaswww.yoursite.com/Alias /Host you'll put that in your server.xml file in between: Service name=Tomcat-Standalone !-- Define the top level container in our container hierarchy -- Engine name=Standalone defaultHost=localhost debug=0 Host name=yoursite.com Context path= docBase=/home/mydirectory/public_html debug=0/ Aliaswww.yoursite.com/Alias /Host /Engine /Service -Original Message- From: Mike Rixford [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 11:31 AM To: Tomcat Users List Subject: Virtual Hosting with Tomcat Hi there, I need to setup virtual hosting with Tomcat. We are not running the full Apache server, just Tomcat and its web piece. Can this be done? Everything I have found so far refers to Apache not Tomcat on its own. Any help would be greatly appreciated. Thanks, Mike -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Virtual Hosting with Tomcat
Many thanks! I was able to get rid of the port number in the address with your info. However the other issue exists. I have tried different variations of the context path but none seem to work. Still hammering at it. Thanks, Mike -Original Message- From: Vladimer Shioshvili [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 31, 2002 9:45 AM To: Tomcat Users List Subject: RE: Virtual Hosting with Tomcat Mike, in server.xml file in conf folder find connector tag (in new version it's coyteconnector, in old version it's httpconnector) (or just search for 8080) and replace 8080 with 80. that will eliminate need for :8080. also in server.xml, for the webtop context, make path= and webtop's index.htm(l) will become default page. it will be something like this.. Context path= docBase=webtop debug=0 reloadable=false/ Cheers Vlad At 12:27 PM 12/31/2002, you wrote: Hi there, Many thanks for the info. I am still having the following problems I hope you can help with. A) Our domain name is seewithin.stc.com. The application is in a folder called webtop. I would like the default location to be the webtop folder. However no matter what I do, when I type in seewithin.stc.com:8080, it goes to the default Tomcat page. B) I would like to leave out the port number in the address. Is there a way to configure this? Many many thanks for all your help! Mike -Original Message- From: Robert Abbate [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 9:42 AM To: Tomcat Users List Cc: Mike Rixford Subject: RE: Virtual Hosting with Tomcat I'd say to just send requests directly to Tomcat on it's port..usually 8180 or 8080 http://yoursite.com:8180 then edit the server.xml file to point to where you want it to serve your webpages. Here's an example config: Host name=yoursite.com Context path= docBase=/home/mydirectory/public_html debug=0/ Aliaswww.yoursite.com/Alias /Host you'll put that in your server.xml file in between: Service name=Tomcat-Standalone !-- Define the top level container in our container hierarchy -- Engine name=Standalone defaultHost=localhost debug=0 Host name=yoursite.com Context path= docBase=/home/mydirectory/public_html debug=0/ Aliaswww.yoursite.com/Alias /Host /Engine /Service -Original Message- From: Mike Rixford [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 11:31 AM To: Tomcat Users List Subject: Virtual Hosting with Tomcat Hi there, I need to setup virtual hosting with Tomcat. We are not running the full Apache server, just Tomcat and its web piece. Can this be done? Everything I have found so far refers to Apache not Tomcat on its own. Any help would be greatly appreciated. Thanks, Mike -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Virtual Hosting with Tomcat
address with your info. However the other issue exists. I have tried different variations of the context path but none seem to work. Still hammering at it. Not yet struggled with virtual hosts, but... Do you have a ROOT.WAR or ROOT directory in your webapps dir? Maybe this could conflict with your context path setting as the ROOT application is mapped by default to /. I bet you have a ROOT already because you mentioned before to see the Tomcat intro pages... And/or try to set: Context path=/ docBase=webtop debug=0 reloadable=false/ Michael P.S. BTW you could instead of setting a context path simple rename your webtop directory to ROOT. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Virtual Hosting with Tomcat
Hi there, I need to setup virtual hosting with Tomcat. We are not running the full Apache server, just Tomcat and its web piece. Can this be done? Everything I have found so far refers to Apache not Tomcat on its own. Any help would be greatly appreciated. Thanks, Mike -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Virtual Hosting with Tomcat
I'd say to just send requests directly to Tomcat on it's port..usually 8180 or 8080 http://yoursite.com:8180 then edit the server.xml file to point to where you want it to serve your webpages. Here's an example config: Host name=yoursite.com Context path= docBase=/home/mydirectory/public_html debug=0/ Aliaswww.yoursite.com/Alias /Host you'll put that in your server.xml file in between: Service name=Tomcat-Standalone !-- Define the top level container in our container hierarchy -- Engine name=Standalone defaultHost=localhost debug=0 Host name=yoursite.com Context path= docBase=/home/mydirectory/public_html debug=0/ Aliaswww.yoursite.com/Alias /Host /Engine /Service -Original Message- From: Mike Rixford [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 11:31 AM To: Tomcat Users List Subject: Virtual Hosting with Tomcat Hi there, I need to setup virtual hosting with Tomcat. We are not running the full Apache server, just Tomcat and its web piece. Can this be done? Everything I have found so far refers to Apache not Tomcat on its own. Any help would be greatly appreciated. Thanks, Mike -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Virtual Hosting with Tomcat
Virtual hosting in Tomcat can be achieved using the Host element (see server.xml). Also for this to work, the host name must be registered in the DNS server. See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html for details. Also see Host name Aliases (referred in the above doc). RS Mike Rixford mrixford@SeeBeyoTo: Tomcat Users List nd.com [EMAIL PROTECTED] cc: 12/30/02 11:30 AMSubject: Virtual Hosting with Tomcat Please respond to Tomcat Users List Hi there, I need to setup virtual hosting with Tomcat. We are not running the full Apache server, just Tomcat and its web piece. Can this be done? Everything I have found so far refers to Apache not Tomcat on its own. Any help would be greatly appreciated. Thanks, Mike -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] This transmission is intended to be strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: virtual hosting on tomcat
Not true. Tomcat virtual hosting can be done, you simply setup a Host element in server.xml for each virtual host. Tomcat server.xml Host element = Apache VirtualHost (roughly speaking) John -Original Message- From: Stephen Riek [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 6:02 AM To: Tomcat Users List Subject: Re: virtual hosting on tomcat I think you can't do virtual hosting on Tomcat standalone. You need Apache in front of it. See the following which may help, http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html?page=1 Sherif D Mohamad [EMAIL PROTECTED] wrote:I am trying to add a virtual host on tomcat, I added this lines to server.xml file: appBase=/home/username/webapps/ROOT unpackWARs=true mysite.mydom.net directory=logs prefix=menanet.net. suffix=.log timestamp=true/ and copied all $CATALINE_HOME/webapps to /home/username/webapps , I can get the default index.jsp of tomcat, but when I click on manager application it says status 404, not available , so how can I install an application on the new site ? or how can I run the manager on the new site, is there other things that I need to copy other than $CATALINE_HOME/webapps ? -- To unsubscribe, e-mail: For additional commands, e-mail: - With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: virtual hosting on tomcat
I think you can't do virtual hosting on Tomcat standalone. You need Apache in front of it. See the following which may help, http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html?page=1 Sherif D Mohamad [EMAIL PROTECTED] wrote:I am trying to add a virtual host on tomcat, I added this lines to server.xml file: appBase=/home/username/webapps/ROOT unpackWARs=true mysite.mydom.net directory=logs prefix=menanet.net. suffix=.log timestamp=true/ and copied all $CATALINE_HOME/webapps to /home/username/webapps , I can get the default index.jsp of tomcat, but when I click on manager application it says status 404, not available , so how can I install an application on the new site ? or how can I run the manager on the new site, is there other things that I need to copy other than $CATALINE_HOME/webapps ? -- To unsubscribe, e-mail: For additional commands, e-mail: - With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
virtual hosting on tomcat
I am trying to add a virtual host on tomcat, I added this lines to server.xml file: Host name=mydom.net debug=0 appBase=/home/username/webapps/ROOT unpackWARs=true Aliasmysite.mydom.net/Alias Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=menanet.net. suffix=.log timestamp=true/ Context path= docBase= debug=0 reloadable=true/ Context path=/test docBase= debug=0 reloadable=true/ /Host and copied all $CATALINE_HOME/webapps to /home/username/webapps , I can get the default index.jsp of tomcat, but when I click on manager application it says status 404, not available , so how can I install an application on the new site ? or how can I run the manager on the new site, is there other things that I need to copy other than $CATALINE_HOME/webapps ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: virtual hosting on tomcat
you sure that the references to the manager application is in place? and is it actually there where it is referring to? Gerrit -Original Message- From: Sherif D Mohamad [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 01:53 To: [EMAIL PROTECTED] Subject: virtual hosting on tomcat I am trying to add a virtual host on tomcat, I added this lines to server.xml file: Host name=mydom.net debug=0 appBase=/home/username/webapps/ROOT unpackWARs=true Aliasmysite.mydom.net/Alias Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=menanet.net. suffix=.log timestamp=true/ Context path= docBase= debug=0 reloadable=true/ Context path=/test docBase= debug=0 reloadable=true/ /Host and copied all $CATALINE_HOME/webapps to /home/username/webapps , I can get the default index.jsp of tomcat, but when I click on manager application it says status 404, not available , so how can I install an application on the new site ? or how can I run the manager on the new site, is there other things that I need to copy other than $CATALINE_HOME/webapps ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: virtual hosting on tomcat
At 15:52 12/12/2002 -0800, you wrote: I am trying to add a virtual host on tomcat, I added this lines to server.xml file: Host name=mydom.net debug=0 appBase=/home/username/webapps/ROOT unpackWARs=true Aliasmysite.mydom.net/Alias Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=menanet.net. suffix=.log timestamp=true/ Context path= docBase= debug=0 reloadable=true/ Context path=/test docBase= debug=0 reloadable=true/ /Host and copied all $CATALINE_HOME/webapps to /home/username/webapps , I can get the default index.jsp of tomcat, but when I click on manager application it says status 404, not available , so how can I install an application on the new site ? or how can I run the manager on the new site, is there other things that I need to copy other than $CATALINE_HOME/webapps ? did you try to add !-- Tomcat Manager Context -- Context path=/manager docBase=manager debug=0 privileged=true/ in mydom.net Host definition part ? Luc -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Virtual hosting in Tomcat
How can I do virtual hosting in tomcat. Do I have to make change in server.xml only or do I have to make any other change in apache or tomcat folder. Please let me know if anyone has done it successfully. :) __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
problem with virtual hosting with tomcat
Hi, I'm using Apache 1.3.9, Tomcat 3.2 , Linux I want to setup a virtual host (let's say vh1.test.com) so that I will be able to call servlets from http://vh1.test.com/servlets/ What should I put in httpd.conf , mod_jk and server.xml? I will really appreciate any helpful advice on this problem. I tried different things but I can't make it work. Nick Stoianov
Re: problem with virtual hosting with tomcat
What I've done is taken a copy of the mod_jk.conf-auto and extracted the LoadModule etc (global info) from it into one file. I include this file (using the Include directive) in the httpd.conf. I then insert into each VirtualHost directive the JkMount directives. I'm not sure if its possible to do virtual hosts with the auto generated stuff but this works fine. I've put an example below. cheers dim example: start httpd.conf snippet Include conf/mod_jk.conf-coxless VirtualHost *:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot /projects/coxless/live/htdocs ServerName coxless.com ServerAlias www.coxless.com ErrorLog logs/coxless.com-error_log CustomLog logs/coxless.com-access_log common JkMount /*.jsp ajp12 JkMount /servlet/* ajp12 /VirtualHost end httpd.conf snippet start conf/mod_jk.conf-coxless snippet LoadModule jk_module libexec/mod_jk.so JkWorkersFile /packages/jakarta-tomcat-3.2.1/conf/workers.properties JkLogFile /packages/jakarta-tomcat-3.2.1/logs/mod_jk.log JkLogLevel debug end conf/mod_jk.conf-coxless snippet start server.xml snippet Host name=coxless.com Context path=/ docBase=/projects/coxless/live/webapps/coxless crossContext=false debug=20 reloadable=true /Context /Host end server.xml snippet hope that helps (o: On Thu, 21 Jun 2001 09:07, Nick Stoianov wrote: Hi, I'm using Apache 1.3.9, Tomcat 3.2 , Linux I want to setup a virtual host (let's say vh1.test.com) so that I will be able to call servlets from http://vh1.test.com/servlets/ What should I put in httpd.conf , mod_jk and server.xml? I will really appreciate any helpful advice on this problem. I tried different things but I can't make it work. Nick Stoianov Content-Type: text/html; charset=iso-8859-1; name=Attachment: 1 Content-Transfer-Encoding: quoted-printable Content-Description:
apache virtual Hosting with tomcat
Hi, I am using unix apache to do virtual hosting. I have recently added tomcat and trying to configure virtual hosting. Is there anybody on the list setup a virtual site with tomcat successfully? I am failing to load servlet from virtual site. Thanks C.M. Rahman Network Engineer CCS Internet 13740 Research Blvd. Suite O-4 Austin, TX 78758 [EMAIL PROTECTED]
RE: apache virtual Hosting with tomcat
You may want to check out http://www.luminas.co.uk/technology/servlet/tomcat_virtual.html and http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-apache-howto. html#virtual_hosting -Original Message- From: C.M. Rahman (jr.) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 9:41 AM To: [EMAIL PROTECTED] Subject: apache virtual Hosting with tomcat Hi, I am using unix apache to do virtual hosting. I have recently added tomcat and trying to configure virtual hosting. Is there anybody on the list setup a virtual site with tomcat successfully? I am failing to load servlet from virtual site. Thanks C.M. Rahman Network Engineer CCS Internet 13740 Research Blvd. Suite O-4 Austin, TX 78758 [EMAIL PROTECTED]
RE: virtual hosting with tomcat and apache
There have been plenty of replies on this, please search through the archives. -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]] Sent: Friday, April 06, 2001 3:48 AM To: [EMAIL PROTECTED] Subject: virtual hosting with tomcat and apache I sent a message a while ago, but don't think it went though. Basically, I am using Tomcat as a servlet/jsp engine for a site that uses Apache as the webserver. Only problem is that I am on one server with several virtual host directories. I want to be able to put .jsp files into each vhost directory. Has anyone done anything like this with either tomcat or some other product that can plug into apache and serve jsp's and servlets? Any help or tips would be greatly appreciated!!! Thanks! Brandon
RE: virtual hosting with tomcat and apache
Thanks saurabh, I was having problems last friday because the binary version of mod_jk wasn't working. I've got it all figured out now though. Brandon -Original Message- From: Saurabh Shukla [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 3:41 AM To: [EMAIL PROTECTED] Subject: RE: virtual hosting with tomcat and apache There have been plenty of replies on this, please search through the archives. -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]] Sent: Friday, April 06, 2001 3:48 AM To: [EMAIL PROTECTED] Subject: virtual hosting with tomcat and apache I sent a message a while ago, but don't think it went though. Basically, I am using Tomcat as a servlet/jsp engine for a site that uses Apache as the webserver. Only problem is that I am on one server with several virtual host directories. I want to be able to put .jsp files into each vhost directory. Has anyone done anything like this with either tomcat or some other product that can plug into apache and serve jsp's and servlets? Any help or tips would be greatly appreciated!!! Thanks! Brandon
Virtual Hosting with Tomcat
I am hosting several sites on a linux machine with an apache webserver. I want to use tomcat as a servlet/JSP engine. Upon reading some documentation, I have found that their suggested way of linking to virtual hosts on apache is to create a separate instance of a JVM for each virtual host. Can this be correct, and has anyone done anything similar to this that can provide me with some knowledge on how well it works and any other alternatives I may have if it doesn't work well? Thanks! Brandon
virtual hosting with tomcat and apache
I sent a message a while ago, but don't think it went though. Basically, I am using Tomcat as a servlet/jsp engine for a site that uses Apache as the webserver. Only problem is that I am on one server with several virtual host directories. I want to be able to put .jsp files into each vhost directory. Has anyone done anything like this with either tomcat or some other product that can plug into apache and serve jsp's and servlets? Any help or tips would be greatly appreciated!!! Thanks! Brandon
Re: virtual hosting with tomcat and apache
Your first message went through. Tomcat can do exactly what you need. It can be configured to run several vhosts, each as their own application. Normally you give each vhost its own Tomcat instance, to provide a clean separation of runtime enviroments between sites. It also gives you the ability to restart one Tomcat instance without having to bring them all down (at least, with ajp12). I believe that you can also run them all under one Tomcat instance. I have done this before with Tomcat standalone, I assume it also works connected to Apache, but I recommend going the separate VM route if you are running vhosts. I recommend the latest version of Apache (currently 1.3.19) and Tomcat 3.2.1. I think 3.2.2 will be out in the next couple of weeks, it would be a good choice as well. You should use mod_jk, and not mod_jserv. I recommend getting both the binary and source versions of 3.2.1. Use the binary version for Tomcat itself, and use the source version just for compiling mod_jk. Configuring Apache+Tomcat+mod_jk+vhosts is not a trivial task for sure, and there's not a concise resource for setting it all up. The documentation that comes with Tomcat has a lot of information, but the pieces you need are spread across several documents. Be sure to read the mod_jk howto, as well as the workers howto. As far as configuration goes, don't use the automatically generated config files - they aren't going to have what you want for vhosts. Just create them from scratch. With the aforementioned setup, the important config files are server.xml, workers.properties, uriworkermap.properties, and mod_jk.conf. A few other files (web.xml, web.dtd, tomcat-users.xml, tomcat.policy) are also important, just not usually for initial setup. When you find the section in the documentation that talks about creating a separate server.xml file for each vhost, you are looking in the right place. In order to do separate VM's that is the route you need to go. Also, watch out for the dreaded CPU loop, which is easy to do with virtual hosts. See the 3.2.1 release notes, section 6.11 for that. I've had some interesting experiences with that issue in the past couple of days, and I'm going to make a separate post to the group with some insights I haven't seen posted yet. Tomcat is well suited for what you want to do, but I can assure you it's going to take a couple of hours minimum figuring out how to configure it the way you want it. So grab your favorite drink and have a seat. If you encounter any snags along the way (which you will) mail to the group or to me personally, preferably to the group. I will respond either way. :) (now that I have caught up on my 1500 message backlog, ugh) Good luck! -Scott -- Scott Tatum | [EMAIL PROTECTED] Senior Applications Developer, Special Projects WorldCom | http://www.wcom.com/ Brandon Cruz wrote: I sent a message a while ago, but don't think it went though. Basically, I am using Tomcat as a servlet/jsp engine for a site that uses Apache as the webserver. Only problem is that I am on one server with several virtual host directories. I want to be able to put .jsp files into each vhost directory. Has anyone done anything like this with either tomcat or some other product that can plug into apache and serve jsp's and servlets? Any help or tips would be greatly appreciated!!! Thanks! Brandon
Re: virtual hosting with tomcat and apache
Hi Brandon, I'm doing a lot of virtual hosting with Apache + Tomcat, but in my case only one of my Vhosts needs Tomcat. So, I'm setting mine up with the "one JVM for all hosts" config. It's actually pretty simple. Use the Host directive in your server.xml file: Host name="your.vhost.domain" Context path="" docBase="/path/to/your/docBase" crossContext="false" debug="0" reloadable="true" /Context /Host In either your httpd.conf or mod_jk.conf, add your Vhost: (can be name-based or ip-based) VirtualHost 111.222.333.444 ServerName your.vhost.domain ServerAdmin your_admin@domain DocumentRoot "/path/to/your/normal/html" JkMount /servlet/* ajp13 JkMount /*.jsp ajp13 Alias /alias_dir "/path/to/your/docBase" Directory "/path/to/your/docBase" allow from all /Directory Location "/alias_dir/WEB-INF" AllowOverride None deny from all /Location Location "/alias_dir/META-INF" AllowOverride None deny from all /Location /VirtualHost This simple config works for me. You can add several Vhosts this way, as long as you don't mind running them in the same JVM. Check out the mod_jk Howto. That's where I got most of this info. Thanks, --jeff - Original Message - From: "Scott Tatum" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 05, 2001 4:00 PM Subject: Re: virtual hosting with tomcat and apache Your first message went through. Tomcat can do exactly what you need. It can be configured to run several vhosts, each as their own application. Normally you give each vhost its own Tomcat instance, to provide a clean separation of runtime enviroments between sites. It also gives you the ability to restart one Tomcat instance without having to bring them all down (at least, with ajp12). I believe that you can also run them all under one Tomcat instance. I have done this before with Tomcat standalone, I assume it also works connected to Apache, but I recommend going the separate VM route if you are running vhosts. I recommend the latest version of Apache (currently 1.3.19) and Tomcat 3.2.1. I think 3.2.2 will be out in the next couple of weeks, it would be a good choice as well. You should use mod_jk, and not mod_jserv. I recommend getting both the binary and source versions of 3.2.1. Use the binary version for Tomcat itself, and use the source version just for compiling mod_jk. Configuring Apache+Tomcat+mod_jk+vhosts is not a trivial task for sure, and there's not a concise resource for setting it all up. The documentation that comes with Tomcat has a lot of information, but the pieces you need are spread across several documents. Be sure to read the mod_jk howto, as well as the workers howto. As far as configuration goes, don't use the automatically generated config files - they aren't going to have what you want for vhosts. Just create them from scratch. With the aforementioned setup, the important config files are server.xml, workers.properties, uriworkermap.properties, and mod_jk.conf. A few other files (web.xml, web.dtd, tomcat-users.xml, tomcat.policy) are also important, just not usually for initial setup. When you find the section in the documentation that talks about creating a separate server.xml file for each vhost, you are looking in the right place. In order to do separate VM's that is the route you need to go. Also, watch out for the dreaded CPU loop, which is easy to do with virtual hosts. See the 3.2.1 release notes, section 6.11 for that. I've had some interesting experiences with that issue in the past couple of days, and I'm going to make a separate post to the group with some insights I haven't seen posted yet. Tomcat is well suited for what you want to do, but I can assure you it's going to take a couple of hours minimum figuring out how to configure it the way you want it. So grab your favorite drink and have a seat. If you encounter any snags along the way (which you will) mail to the group or to me personally, preferably to the group. I will respond either way. :) (now that I have caught up on my 1500 message backlog, ugh) Good luck! -Scott -- Scott Tatum | [EMAIL PROTECTED] Senior Applications Developer, Special Projects WorldCom | http://www.wcom.com/ Brandon Cruz wrote: I sent a message a while ago, but don't think it went though. Basically, I am using Tomcat as a servlet/jsp engine for a site that uses Apache as the webserver. Only problem is that I am on one server with several virtual host directories. I want to be able to put .jsp files into each vhost directory. Has anyone done anything like this with either tomc
Re: i'm in trouble with configuring virtual hosting of tomcat 3.2
th # a load balancing worker. # Note: # lbfactor must be 0 # Low lbfactor means less work done by the worker. worker.ajp13rhoderunner.lbfactor=1 Edit your apache httpd.conf file Here is how I defined 2 virtual hosts: # Load mod_jk # LoadModulejk_module libexec/apache/mod_jk.so AddModule mod_jk.c # Configure mod_jk # JkWorkersFile /usr/local/jakarta-tomcat-3.2.1/conf/workers.properties JkLogFile /usr/local/etc/apache/mod_jk.log JkLogLevelerror VirtualHost 216.55.177.74 DocumentRoot /usr/local/www/rhoderunner ServerName www.rhoderunner.com JkMount /*.jsp ajp13rhoderunner JkMount /servlet/* ajp13rhoderunner /VirtualHost VirtualHost 216.55.177.27 DocumentRoot /usr/local/www/klaver4.com ServerName www.klaver4.com JkMount /*.jsp ajp13klaver4 JkMount /servlet/* ajp13klaver4 /VirtualHost Start apache and tomcat JAVA_HOME=/usr/local/jdk1.2.2 bin/tomcat.sh start -f tomcat1/conf/server.xml bin/tomcat.sh start -f tomcat2/conf/server.xml bin/tomcat.sh start -f tomcat3/conf/server.xml - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 04, 2001 8:02 PM Subject: Howto: mod_jk + tomcat 3.2.1 + apache 1.3.14 + virtual host I can successfully create two virtual hosts ( mod_jk + tomcat 3.2.1 + apache 1.3.14 ) with ONE instance of tomcat. I would like to be able to let the tow virtual hosts' owner to start their instance of tomcat. In that case, tomcat's instance will own by them instead of NOBODY. the currently HOWTO only tell us how to setup two virtual hosts with one tomcat instance using mod_jk. ( I know there are lot of document tell you how to do this with mod_jserv. ) If anyone has successfully doing this, can you post your configuration. I pretty sure a lot of people will need that too.. thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] 박영훈 wegaia@hoollTo: [EMAIL PROTECTED] a.com cc: Subject: i'm in trouble with configuring virtual hosting of 01/05/2001 tomcat 3.2 09:44 PM Please respond to tomcat-user i'm running two site with defferent domain names so i set up tomcat with virtual hosting function one site is good(servlet, jsp both ok) but the only servlet works at the ohter site when i request .jsp files by my browser the server didn't respond how can i solve it? two sites have the nearly same configuration.. thanks..
i'm in trouble with configuring virtual hosting of tomcat 3.2
i'm running two site with defferent domain names so i set up tomcat with virtual hosting function one site is good(servlet, jsp both ok) but the only servlet works at the ohter site when i request .jsp files by my browser the server didn't respond how can i solve it? two sites have the nearly same configuration.. thanks..
Virtual Hosting (Apache + Tomcat + mod_jk)
I have two named virtual hosts in Apache using pretty much the common named host example from the apache site. I have tomcat and mod_jk setup pretty much as installed and working. Now, I really want Tomcat for only one of the virtual hosts (I will run a second VM for the other virtual host if and when needed). I think I need to create a location and use JKMounts and remove the others, but this specifics are a little hard to come by. I have the "mount copy" on, but I am not sure what my directory spec location should look like (Absolute path to the where the virtual host is served from?). I am just not sure what to put in my mod_jk.conf and/or tomcat conf to get this to work. I only want this one running tomcat VM to serve JSP and servlets under the document root of one of the virtual hosts. Any help is appreciated and specifically: 1. Where is the FAQ for this list? 2. Where is an archive location for this list (number one I guess would answer two)? 3. Just like Apache has the sample virtual host examples, does anyone know where a simple Apache/Tomcat/Mod_jk example for named virtual hosting exists? I think I saw it on this list a week or two ago but lost it. thanks, dt
beans with Virtual Hosting (Apache + Tomcat + mod_jk)
I success doing Virtual Hosting on Apache + Tomcat + mod_jk but I have another question. How to make each virtual host have they own *private* bean ?? I need set the CLASSPATH to each virtual host's directory ? Thanks = The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If it has been wrongly sent to you, please delete immediately and notify us. Thank you. =
Help with virtual hosting and Tomcat 3.1
Hi all: I need to validate our configuration, and i need your help! Apache 1.2.13 Tomcat 3.1 When we load apache, its send a message about recompile mod_jserv, where i find the source code for this... and what is the command line, please :-) (I'm only a project manager) We have 4 domain, running under apache 1.3.12 with Virtual host, and each host working with an instance of Tomcat. Each instance of tomcat is loaded with the following command: ./startup.sh -f ../conf/site1.xml ./startup.sh -f ../conf/site2.xml ./startup.sh -f ../conf/site3.xml ./startup.sh -f ../conf/site4.xml Our directory structure is aprox the following : tomcat/bin tomcat/conf tomcat/webapps/site1 tomcat/webapps/site2 tomcat/webapps/site3 tomcat/webapps/site4 When i run site1, the script load also site2,3 and 4 , but no is the behavior we are seeking. It is an error in our configuration? Must i create 4 different tomcat directories? Thanxs, It's lot of question, but i'm very complicated, and actually i am under high pression. My brain is tired :-( Mauricio P.S: My english skill is very weak I'm learning. Sorry.