File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
How to get Tomcat to listen on port 80
Joined: Jul 18, 2006
Feb 09, 2009 16:09:18
I have an Apache +
web server. My web application is using
for the most part, but there are some pages that are also
. My PHP pages are currently powered on 80
Right now our web application has tomcat set to:
In addition, We are deploying our web application .war file in: /var/lib/tomcat5/webapps/MyWebApp
The problem is, when we need to access our web site, we have to go to:
to see work welcome page.
1) How can we change this, so when the user types: www.mydomain.com, it points straight to our .../MyWebApp/index.jsp file?
2) We currently access our PHP files via www.mydomain.com/upload.php. It is listening on port 80
Joined: Oct 08, 2006
Feb 09, 2009 16:12:05
Apache + Tomcat? Apache is a manfacturer name and Tomcat is a product name of Apache.
Do you mean Apache HTTP Server + Apache Tomcat Server?
If so, take a look for the mod_jk to route JSP/Servlet requests through Apache HTTP Server to Apache Tomcat Server:
Code depot of a Java EE / JSF developer
JSF / Eclipse / Tomcat kickoff tutorial
DAO kickoff tutorial
I ♥ Unicode
Joined: May 14, 2008
Feb 09, 2009 16:41:31
If you are just running Tomcat, you can change the port number in the Connector configuration in the server.xml file.
JBoss in Action
Joined: Oct 08, 2006
Feb 09, 2009 19:02:01
He mentioned that he is already using PHP on port 80, so I assume that he already runs Apache HTTP Server on that for PHP purposes and that he want to add JSP/Servlet access to that. In this case, use the mod_jk.
I agree. Here's the link:
- it saves me about five hours per week
subject: How to get Tomcat to listen on port 80
Eclipse - J2EE perspective - Tomcat question...
site transfer context path problem
where to map the domain name in Tomcat??
Integrating Tomcat and Apache - URL Problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013