View Full Version : Tomcat Running: How can I make it take over?
eztee
2008-05-22, 16:15 PM
Still learning my way around Windows Server. I've got a Tomcat web application running. I can access it on the server via localhost. How do I make this webserver take over for IIS at the IP level.
Obviously, I don't want to RDC to the computer access the app locally ... I just don't where to go to recongif the server to let this application be the main website.
TheHeartSmasher
2008-05-23, 03:11 AM
What I used on a local machine at home. Make sure the ip address you are setting tomcat to run on is not an ip address already in use by IIS. If so stop IIS and change the IP Address
Stop Tomcat
Navigate to tomcatinstallationfolder\conf\server.xml
Step 1
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
Change to
<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
Step 2 (optional, not required)
<Engine name="Catalina" defaultHost="localhost">
Change to
<Engine name="Catalina" defaultHost="mysiteiphere">
Step 3 (optional)
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
Change to
<Host name="mysiteiphere" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
Start Tomcat
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.