No problem,
There is no need for entering IP address anywhere.
Regards,
Marius
-----Original Message-----
From: Scott Purcell [mailto:spurcell@vertisinc.com]
Sent: Thursday, July 28, 2005 4:58 PM
To: Tomcat Users List
Subject: RE: Using Tomcat As Webserver Question
Thanks Marius,
I believe that the requests will be less than 5,000 per day as we begin.
I hate to ask, but do I need to enter the IP address anywhere in the
Tomcat configs?
Scott
-----Original Message-----
From: Marius Hanganu [mailto:mhanganu@blazent.com]
Sent: Thursday, July 28, 2005 8:47 AM
To: Tomcat Users List
Subject: RE: Using Tomcat As Webserver Question
Hello,
1. In $TOMCAT_HOME/conf/server.xml, inside the <Engine> element you have
to declare two virtual hosts. I have used a configuration like the
following:
<Host name="DNS_1" appBase="webapps/site1" unpackWARs="true"
autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="."/>
</Host>
<Host name="DNS_2" appBase="webapps/site2" unpackWARs="true"
autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="."/>
</Host>
2. What does low traffic mean? I've seen web apps in tomcat stress
tested with 20.000 requests per day (doing relatively complicated db
queries) and doing very well.
Regards,
Marius
-----Original Message-----
From: Scott Purcell [mailto:spurcell@vertisinc.com]
Sent: Thursday, July 28, 2005 4:31 PM
To: tomcat-user@jakarta.apache.org
Subject: Using Tomcat As Webserver Question
Hello,
I have created a web-site using Struts framework. I have created it on a
dev box, and I am finally ready to deploy it to the world.
My goal is to create 3-4 web sites, and I am going to have one static IP
address to the machine. I currently have two web sites, and dns names. I
am using charter static IP and have registered my dns names via
Register.com.
1) How, or where is the docs so I can use the one IP address and have it
use two different names? Like I said, I have to server contexts like so:
$TOMCAT_HOME/webapps/site1
$TOMCAT_HOME/webapps/site2
each has their own web.xml.
2) These are simple e-commerce sites, where I expect low traffic. Do I
need to wrap Tomcat around Apache? And if so, is there a how-to for
this?
I am going to run Microsoft Business Server for the OS on the server.
Any input would be appreciated.
Thanks,
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
|