Hi.
I solved this myself by placing the database resource tag in the server.xml
instead of in a separate context.xml file in the META-INF directory.
I don't know why that has to be that way.
KR.
Luke.
29Aug2005 @ 15:39 [EMAIL PROTECTED] thusly spake
Hi.
I have a domain resolving to a
Dennis Harris wrote:
I am setting up a Virtual Host in Tomcat, I've added the following entry
in my server.xml file.
Host name=q5aims.net debug=0 appBase=webapps unpackWARs=true/
Context path=/q5aims_net docBase=q5aims_net debug=0
reloadable=true/
/Host
However, when I test the link, it
Just trying to access
http://q5aims.net/index.html
-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 25, 2005 4:04 PM
To: Tomcat Users List
Subject: Re: Virtual Host Not Working Correctly
Dennis Harris wrote:
I am setting up a Virtual
Dennis Harris wrote:
Just trying to access
http://q5aims.net/index.html
Context path=/q5aims_net docBase=q5aims_net debug=0
Then you should have Context path= ...
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design === (+1) 408-938-0567 ===
Danico Lee wrote:
i got tomcat5, apache1.3 and jk1.2.14. i'm very confused with JkMount.
in my http.conf, i have:
VirtualHost our_server:80
ServerName our_server
DocumentRoot ${tomcat_home}/webapps/test1
JkAutoAlias ${tomcat_home}/webapps
JkMount /test1/* worker1
Danico Lee wrote:
i got tomcat5, apache1.3 and jk1.2.14. i'm very confused with
JkMount. in my http.conf, i have:
VirtualHost our_server:80
ServerName our_server
DocumentRoot ${tomcat_home}/webapps/test1
JkAutoAlias ${tomcat_home}/webapps
JkMount /test1/* worker1
Are you sure the ${tomcat_home} works in Apache. Try putting the full
path name there.
I've never thought the httpd.conf undergoes any substitution expansion
before parsing, let alone also have substitution expansion work within a
quoted string literal as well.
i'm sorry. i was too lazy to
PROTECTED]
Sent: Sunday, August 14, 2005 7:39 PM
To: Tomcat Users List
Subject: Re: virtual host memory usage
I am sorry, what do you mean by host class loader? From what
I understand
there are 3 ways to load classes, /common/lib (used by
tomcat), shared/lib
(used by all applications
.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From: Oleg [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 14, 2005 7:39 PM
To: Tomcat Users List
Subject: Re: virtual host memory usage
I am sorry, what do you mean by host
I am sorry, what do you mean by host class loader? From what I understand
there are 3 ways to load classes, /common/lib (used by tomcat), shared/lib
(used by all applications), webapp/web-inf/lib used by this one application.
Thank you
Oleg
On 8/13/05, George Sexton [EMAIL PROTECTED] wrote:
To my knowledge (sometimes limited but open to expansion) the answer is no.
I base this on the understanding that each host loaded by Tomcat takes up
memory space. Then add the application to that.
Doug
- Original Message -
From: Oleg [EMAIL PROTECTED]
To: Tomcat Users List
The obvious first guess is that you have a class that is in the host
classloader, and not the common classloader, and that class is consuming
large amounts of memory.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From: Oleg
Hi,
Not sure about this one. How are you routing requests to Tomcat? Are you using
the JK connector with a mapping of /*.do? Do you allow image to be handled by
Apache/IIS or is Tomcat doing it?
You may need to ensure your static resource uris like images reference the
context name, e.g
]
Sent: Friday, August 12, 2005 10:51 AM
To: Tomcat Users List
Subject: RE: Virtual Host Config Question
Hi,
Not sure about this one. How are you routing requests to Tomcat? Are you using
the JK connector with a mapping of /*.do? Do you allow image to be handled by
Apache/IIS or is Tomcat doing
Do you have a host entry in your server.xml with the name of localhost?
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 09, 2005 8:26 AM
To:
List'
Subject: RE: Virtual host, routing, problems with localhost
Do you have a host entry in your server.xml with the name of localhost?
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED
.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 09, 2005 10:43 AM
To: Tomcat Users List
Subject: RE: Virtual host, routing, problems with localhost
Sorry
Change
From DocumentRoot C:/tomcat/Tomcat_5.5.9/webapps/idm
To DocumentRoot c:/Apache/Apache2/htdocs
Regards
Guru
-Original Message-
From: Gessendorfer, Thomas [mailto:[EMAIL PROTECTED]
Sent: 07 June 2005 11:43
To: tomcat-user@jakarta.apache.org
Subject: Virtual
host, workers file and httpd.conf settings for SSL
Then I see the starting page of the Apache2 Installation...
Regards,
Tom
-Ursprüngliche Nachricht-
Von: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 7. Juni 2005 13:07
An: 'Tomcat Users List'
Betreff: RE: Virtual
Disregard... I think I've got it!
Darryl
__
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
-
To unsubscribe,
On Thu, 7 Apr 2005, Darryl Wilburn wrote:
Greetins all,
New to Tomcat/Apache Implemented Tomcat 4.1.29 to support an
application that required an application server. I'm migrating the
application from an existing NT 4.0 system and would like to implement it
as a virtual host on the
Do you want an alias (two domain names pointing to the same app) or a
virtual host (separate apps each with is own domain name hosted on the same
server and IP)?
Alias:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Host%20Name%20Aliases
Virtual Host:
Hello,
I know that what I missed for years when trying to get this working was that
Tomcat has to have virtual hosts set up also.
What to do is remove Apache from the equation altogether and get
www.virtual-host-1.com:8080 working on tomcat. This is done by copying the
Host section in server.xml
Hi all,
i need to configure virtual hosting on tomcat 5.0
what I would like to do, is when I enter http://localhost:8080 it
behaves
exactly like when I enter http://localhost:8080/myapp
can anyone give me some hints?
Thanx in advance and regards
Marco
T
-Original Message-
From: Marco Mistroni [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 29. Juli 2004 10:50
To: [EMAIL PROTECTED]
Subject: RE: Virtual Host configuration in Tomcat
Hi all,
i need to configure virtual hosting on tomcat 5.0
what I would like to do, is when I
please, I really need some explanation about this.. or some link to it...
thanks...
Emerson
Emerson Cargnin wrote:
I'm using tomcat 5.0.19, apache 2.0.47, mod_jk...
Tomcat generates a mod_jk.conf file with the following clause before the
jkmount clauses:
VirtualHost localhost
ServerName
No idea, never tried it.
--Angus
-Original Message-
From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 1:11 AM
To: Tomcat Users List
Subject: Re: Virtual Host, Locations and Mod_JK2
Angus Mezick wrote:
Use the uri property in workers2
Look at the tomcat configuration guide... The HOST element under
server.xml is what your looking for.
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html
-Original Message-
From: Yongsheng Yang [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 3:27 PM
To: [EMAIL
please, I really need some explanation about this.. or some link to it...
thanks...
Emerson
Emerson Cargnin wrote:
I'm using tomcat 5.0.19, apache 2.0.47, mod_jk...
Tomcat generates a mod_jk.conf file with the following clause before the
jkmount clauses:
VirtualHost localhost
ServerName
Use the uri property in workers2.properties instead of using JkUriSet.
I do it that way and have no such problems:
[uri:www.guidestar.org/*.jsp]
group=lbWWW
[uri:www.SITENAME.org/*.adp]
group=lbWWW
[uri:www.SITENAME.org/*.inc]
group=lbWWW
[uri:www.SITENAME.org/servlet/*]
group=lbWWW
Angus Mezick wrote:
Use the uri property in workers2.properties instead of using JkUriSet.
I do it that way and have no such problems:
[uri:www.guidestar.org/*.jsp]
group=lbWWW
I know, I have this, too. But, still, why is Location approach not working as
it should?
Nix.
On Tue, Apr 13, 2004 at 10:23:13AM +0200, Alexander F. Hartner wrote:
I host several websites on my apache2 (2.0.49) using virtual hosts. One
of the hosts I would like to forward fully to a web application
deployed on tomat via Mod_JK. What I have done is the following:
Installed the
I have found that if you do the following it works for me:
Location /*.jsp
JkUriSet worker ajp13:localhost:28009
/Location
Hope that this helps, I have found that by doing this I can redirect any file type to
be handled by Tomcat.
Dean
-Original Message-
From: Alexander F.
Followup
I commented out the original Apache VirtualHost... settting and
that finally allowed my Tomcat setting two work.. That still leaves me
trying to get the static pages to load from the Apache contexts...???
John B. Moore wrote:
Greetings,
Can't seem to get the dots connect
Hi
when the user types in www.myNewDomainName.com ...
they try to reach you server on port 80 (!!) which is blocked.
If you mean:
when the user types in https://www.myNewDomainName.com; they are
redirected to https://myServerName:8443/mySSLApp/index.jsp ?
This is possible. Simply have your
Solutions [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 09, 2004 8:09 AM
To: 'Tomcat Users List'
Subject: RE: virtual host in tomcat 4?
Hi
when the user types in www.myNewDomainName.com ...
they try to reach you server on port 80 (!!) which is blocked.
If you mean:
when the user types in https
Hi
Can I change the server.xml file to force http listening on 8443 instead
of 8080? Or will this cause a conflict with SSL listening on the same port?
No. 1 port 1 service.
If a user types in www.myNewDomainName.com is it port 80 that tomcat4
listens on or is it 8080?
No.
This has nothing
Solutions [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 09, 2004 8:42 AM
To: 'Tomcat Users List'
Subject: RE: virtual host in tomcat 4?
Hi
Can I change the server.xml file to force http listening on 8443 instead
of 8080? Or will this cause a conflict with SSL listening on the same port?
No. 1
Hi
So if I add the following somewhere in my server.xml file the user that
types www.aa.com will be pointed to
http://myipaddress:8080/webapps/aa/index.jsp?
No.
As I have already said, there is NOTHING, you can to to archieve this.
The whole point is, that browsers assume any website running
requests www.myDomainName.com they will be directed to
/webapps/myWebApp/index.jsp?
Is there anything else I need to do?
Thanks!
-Original Message-
From: SH Solutions [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 09, 2004 9:22 AM
To: 'Tomcat Users List'
Subject: RE: virtual host in tomcat 4
Hi
So if I get port 80 opened up ...
Okay, we are going the right way...
I can add the following entry to server.xml Host
name=www.myDomainName.com debug=0 appBase=webapps/myWebApp ...
No.
[The following is taken from manual, not tested myself.]
appBase just gives the folder name for all
SH Solutions wrote:
Hi
So if I add the following somewhere in my server.xml file the user that
types www.aa.com will be pointed to
http://myipaddress:8080/webapps/aa/index.jsp?
No.
As I have already said, there is NOTHING, you can to to archieve this.
Yes he can. If the hosting
Hi
Yes he can. If the hosting company for aa.com is kind enough to allow him
to URI forward his domain to http://myipaddress:8080 or 8443 (that is if
he has port 8443 visible from outside, which I think he said he does.),
he'll almost get what he wants.
Which would in fact be what I called to
, 2004 11:41 AM
To: Tomcat Users List
Subject: Re: virtual host in tomcat 4?
SH Solutions wrote:
Hi
So if I add the following somewhere in my server.xml file the user that
types www.aa.com will be pointed to
http://myipaddress:8080/webapps/aa/index.jsp?
No.
As I have already said
SH Solutions wrote:
Hi
Yes he can. If the hosting company for aa.com is kind enough to allow him
to URI forward his domain to http://myipaddress:8080 or 8443 (that is if
he has port 8443 visible from outside, which I think he said he does.),
he'll almost get what he wants.
Which would in
Forte, Graham wrote:
This is getting a little off-topic, but here goes:
I think I need to take baby steps.
My goal right now is to be able to access my development machine from
another machine on the LAN.
Right now I have to type the following to access my dev machine from another
LAN box:
Users List'
Subject: RE: virtual host in tomcat 4?
Hi
Yes he can. If the hosting company for aa.com is kind enough to allow him
to URI forward his domain to http://myipaddress:8080 or 8443 (that is if
he has port 8443 visible from outside, which I think he said he does.),
he'll almost get what
Hi
OK what if I register the domain to point to our companies proxy server ip
address and then have the proxy server URI forward to
https://myMachine:8443/mySSLApp/logon.jsp ?
Not exactly, but similar.
Main precondition: Your proxy must be reachable from the outside world -
which is usually not
Hi
I think I need to take baby steps.
My goal right now is to be able to access my development machine from
another machine on the LAN.
Right now I have to type the following to access my dev machine from
another LAN box:
http://myMachineName:8080/myWebApp/logon.jsp
So far so good.
I want
Is there away in http.conf to setup a Virtual Host for a domain and then it
only needs to know where to look for Tomcat
Is that a good way?
From: Didier McGillis [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Virtual Host
Date: Thu, 12 Feb 2004
You can see how to config multiple vhosts with apache mod_jk and tomcat here
:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html
From: Didier McGillis [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Virtual Host
Date: Thu
sorry need one for mod_jk 1.2
From: Anthony Gray [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Virtual Host
Date: Fri, 13 Feb 2004 07:03:10 +1000
You can see how to config multiple vhosts with apache mod_jk and tomcat
here :
http
What is the vailue of UseCanonicalName in your apache conf?
[EMAIL PROTECTED] 01/16/04 08:36AM
I have setup apache/tomcat/ with Vhost and everything works great!
However, I am not able to use the IP alone with the server name to
access the system i.e.
http://server_name
Hi,
It is set to Off.
Should it be On?
-Original Message-
From: Howard Watson [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 11:12 AM
To: [EMAIL PROTECTED]
Subject: Re: Virtual Host newbie question ?
What is the vailue of UseCanonicalName in your apache conf?
[EMAIL
: Re: Virtual Host newbie question ?
What is the vailue of UseCanonicalName in your apache conf?
[EMAIL PROTECTED] 01/16/04 08:36AM
I have setup apache/tomcat/ with Vhost and everything works great!
However, I am not able to use the IP alone with the server name to
access the system i.e
Hi,
As far as
I know, we can do it in both workers2.properties and httpd.conf (virtual
hosts). It seems some problem in apache side virtual host configuration
for the same uri for example
VirtualHost
ServerName
www.abc.com
DocumentRoot
Location
/eng/*
JkUriSet
worker
Hi,
As far as
I know, we can do it in both workers2.properties and httpd.conf (virtual
hosts). It seems some problem in apache side virtual host configuration
for the same uri for example
VirtualHost
ServerName
www.abc.com
DocumentRoot
Location
/eng/*
JkUriSet
worker
apache 2. This might
solve both our problems.
Dennis
-Original Message-
From: Boemio, Neil (GEI, FGI) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2003 12:36 AM
To: Tomcat Users List
Subject: RE: Virtual Host to Redirect
I need for the url address in the client's
Why don't you just set the DNS so that all hosts resolve to the same
machine, and then set the default virtual host to have the files you
want in it?
George Sexton
MH Software, Inc.
Home of Connect Daily Web Calendar Software
http://www.mhsoftware.com/connectdaily.htm
Voice: 303 438 9585
PROTECTED]
Sent: Wednesday, November 19, 2003 12:05 AM
To: 'Tomcat Users List'
Subject: RE: Virtual Host to Redirect
Why don't you just set the DNS so that all hosts resolve to the same
machine, and then set the default virtual host to have the files you
want in it?
George Sexton
MH Software, Inc.
Home
You need a Context node in your Host for the default context.
Javier [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi
I'm new to Tomcat 5 and I trying to get my first virtual host working.
Then I tried to make a test by simply make a HelloWorld servlet deployed
in
PruebaJavier
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 11:41 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Virtual Host Alias Problem
Yes, I just duplicated the host entry and changed the second one from domain
to ip. Now both work fine. There should be a better solution but I am happly
, 2003 11:41 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Virtual Host Alias Problem
Yes, I just duplicated the host entry and changed the second one from domain
to ip. Now both work fine. There should be a better solution but I am happly
with it.
Wade Chandler [EMAIL PROTECTED
Yes, I just duplicated the host entry and changed the second one from domain to ip.
Now both work fine. There should be a better solution but I am happly with it.
Wade Chandler [EMAIL PROTECTED] wrote:Yeah the ipaddress tag. Also, you'll notice
that you'll
have to create extra Host tags if you
On Mon, October 6, 2003 at 9:20 am, Lawence sent the following
I have a problem setting the name value for the virtual host entry.
Suppose my domain name is my.company.net and the ip is 233.333.333.33. If
I set the virtual host as my domain name, I can not access the website
using the ip. And
Yeah the Aliasipaddress/Alias tag. Also, you'll notice that you'll
have to create extra Host tags if you use anything other than www. As
the prefix for your domain name. I have yet to figure that one out.
But, am planning on looking at the Alias source code. Has anyone else
had this type of a
Hi all tomcat guru,
After mess around. I found out what the problem was. it was the web.xml. all
the servlet tags has to place before the servlet-mapping tags. I assume
that the tags in web.xml has to be put in a certain order.
But another problem.
I can access all the *.jsp file with no
I have set up a virtual host so that when you browse http://virtual.host.com
it goes to index.html in test dir by putting host info in server.xml and a
context.xml in WEB-INF/META-INF.
However this only works when I create the war and drop it into webapps and
tomcat unpacks it. What I would like
I have set up Tomcat as a 'web farm'.
Basically, it does not matter whos DNS nameserver www.mycompany.com is
registered with, as long as the ip address that nameserver resolves it to is
the ip of the machine you have tomcat/yourapp on. You do not need to run
your own nameservers.
What matters
.
-Original Message-
From: JD Daniels [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 6:00 PM
To: Tomcat Users List
Subject: RE: Virtual Host - IIS and DNS
I have set up Tomcat as a 'web farm'.
Basically, it does not matter whos DNS nameserver www.mycompany.com is
registered with, as long
I am not sure, but I believe you need a different ip address for each
one -- This is dependant on your OS, and I have not ever had the guts to
use MS servers :) I made no other changes than this:
The only other thing that may be a tomcat issue is making sure you have the
default host set:
Engine
then I'll go with the others.
-Original Message-
From: JD Daniels [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 6:00 PM
To: Tomcat Users List
Subject: RE: Virtual Host - IIS and DNS
I have set up Tomcat as a 'web farm'.
Basically, it does not matter whos DNS nameserver
Seriously, you'll probably get the response you keep looking for if you move
this thread to tomcat-dev instead of tomcat-user. The people who
participate on this list aren't typically the developers, and the developers
who do participate here do so rarely because of time constraints and the
index.html doesn't go to Tomcat, so you would need to set the DocumentRoot
in httpd.conf for Apache to find that file.
Can you add your second host, start Tomcat, and then post the resulting
mod_jk.conf file? That would give us an idea of what Apache is being told.
John
-Original
Actually I would just as soon pull index.jsp instead. I tried setting
Document Roots myself,
including my own mod_jk.conf from another directory and it works for the
first, and the
second ignores its DocumentRoot.
Here is my mod_jk.conf
Turner, John wrote:
index.html doesn't go to Tomcat, so
Nick,
you may need something like
Directory /usr/local/tomcat/webapps/examples
Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp
Order allow,deny
Allow from all
/Directory
in order tell apache that people our allow into this directory
Are you getting a Forbidden message from Apache server? I ran into that
problem as well, and Bill Barker was kind enough to respond. This was his
post:
You need 775 (or at least 5 on the last digit). Apache requires x
permissions (which, for a directory means list rather than execute on
*nix
It appears that this did the trick. I figured it was something like this
but wasn't sure what to look at. I didn't see this in the mod_jk.conf
file that was generated so I didn't think it needed it, but apparently
it does!
Thanks a lot for the info.
-Nick
On Mon, 2002-12-23 at 13:38,
Thanks for the info, I had checked on this earlier as I came across this
post in the archives, but all the directories were already set up with
the correct permissions. What I needed was the info supplied in the
other response to my question.
Thanks for your time though, its greatly appreciated.
No problem, glad to help.
John
-Original Message-
From: Hari Venkatesan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 10:05 PM
To: Tomcat Users List
Subject: Virtual Host
John,
Thanks for all your help on Virtual host setup. I got it setup and works
really good.
Hari
i have seen a lot of controversy on this ml
about WarpConnector.
If you read the CVS for mod_webapp, you'll find that the author deprecates
its current use: Lately there have been some improvements on [alternatives
to WebApp], and probably, if you're wondering why you want to try out
WebApp,
http://www.codesta.com/knowledge/technical/tomcat_warp_apache/index.jsp
FYI - WARP is deprecated, or at least no longer actively developed. If you
want to be guaranteed support in the future, you might want to consider
moving to JK/JK2.
John
-Original Message-
From:
karthikeyan.balasubramanian writes:
Hi All,
I have sucessfully integarated Apache with Tomcat using WarpConnecter. But how do i go about from here to implement lots of Virtual Host for our clients. I need to setup atleast 5 virtual hosts. I couldnt actually figure a way to host 5 real
.
Thanks once again.
karthikeyan.
- Original Message -
From: David Brown [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, December 03, 2002 10:49 PM
Subject: Re: VIRTUAL HOST CONFIGURATION
karthikeyan.balasubramanian writes:
Hi All,
I have sucessfully
xyber writes:
I have a HP-UX server with Tomcat 4.0.4, and I want to host 30+ virtual
host.
I fill up the server.xml, start catalina, and the Tomcat's java process
allocate gigabytes(1+) of memory!!!
When i remove virtual hosts from server.xml, the memory usage go lower.
Is the 1g+ allocation
Assuming that you are using Apache + mod_jk and you want to use SSL you
can try this.
# Configure mod_jk
#
JkWorkersFile /usr/local/jakarta-tomcat/conf/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevelwarn
# First Virtual Host.
#
Hi
I am trying to get virtual hosts working too and am having problems. I have
however got further than you (I think) thanks to help from people in this
group (notably John Turner). If you look back in the archives (the last few
weeks) for a thread called URL mapping with mod_jk, you will
Hi -
That Apache warning message means that you have multiple Apache Virtual
Hosts assigned to the same IP address. The correct way to do this in
Apache's configuration is to use the NameVirtualHost directive instead of
VirtualHost directive. That's all that warning is saying. Each
Assuming your Apache virtual hosting configuration is correct, this should
help:
http://mailman.real-time.com/pipermail/tomcat-users/2002-July/071108.html
John Turner
[EMAIL PROTECTED]
http://www.aas.com
-Original Message-
From: Mark Hutchinson [mailto:[EMAIL PROTECTED]]
Sent:
OK.
Here is my virtual host:
NameVirtualHost 111.111.111.111:80
VirtualHost 111.111.111.111:80
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /web/mydomainconent.mydomain.com/web
ServerName gohere.mydomain.com
ErrorLog logs/mydomain-error_log
CustomLog logs/mydomain-access_log
Message-
From: Mark Hutchinson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 2:45 PM
To: [EMAIL PROTECTED]
Subject: RE: Virtual host question for all
OK.
Here is my virtual host:
NameVirtualHost 111.111.111.111:80
VirtualHost 111.111.111.111:80
ServerAdmin [EMAIL PROTECTED
/ajp.html
John Turner
[EMAIL PROTECTED]
http://www.aas.com
-Original Message-
From: Mark Hutchinson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 2:45 PM
To: [EMAIL PROTECTED]
Subject: RE: Virtual host question for all
OK.
Here is my virtual host:
NameVirtualHost 111.111.111.111
Hutchinson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 3:14 PM
To: [EMAIL PROTECTED]
Subject: RE: Virtual host question for all
Fantastic. One last question
Where in the server.xml should I insert this in server.xml?
Under the AJP 1.3 connector? Where is a suitable place?
Mark
I put this:
Host name=www.site.com debug=0 appBase=webapps unpackWARs=true
Logger className=org.apache.catalina.logger.FileLogger
directory=logs prefix=localhost_www_site_com_log.
suffix=.txt timestamp=true/
Context path= docBase=/web/mydomainconent.mydomain.com/web
]
Subject: RE: Virtual host question for all
I put this:
Host name=www.site.com debug=0 appBase=webapps unpackWARs=true
Logger className=org.apache.catalina.logger.FileLogger
directory=logs prefix=localhost_www_site_com_log.
suffix=.txt timestamp=true/
Context path
: Turner, John [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Virtual host question for all
Date: Wed, 3 Jul 2002 15:35:06 -0400
Connection Refused when starting tomcat usually means that tomcat didn't
actually stop when you
If you're using Netscape 4.x try IE 5.5. There's a known issue with Apache
2.0.36 and Netscape 4.x (don't know if it's fixed in 2.0.39).
-Original Message-
From: Mark Hutchinson [mailto:[EMAIL PROTECTED]]
Sent: July 03, 2002 12:56 PM
To: [EMAIL PROTECTED]
Subject: RE: Virtual host
for all the help.
Mark
From: Turner, John [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Virtual host question for all
Date: Wed, 3 Jul 2002 15:35:06 -0400
Connection Refused when starting tomcat usually means that tomcat
sesnd
them my server.xml and have a look at it to see what the problem is?
Any takers? It would be much appreciated...
From: Short, Dave [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Virtual host question
You can post your (sanitized) server.xml to the list. Log files would also
be helpful.
John Turner
-Original Message-
From: Mark Hutchinson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 4:10 PM
To: [EMAIL PROTECTED]
Subject: RE: Virtual host question for all
Too bad
1 - 100 of 118 matches
Mail list logo