wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Deploying on a specified port Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Deploying on a specified port" Watch "Deploying on a specified port" New topic
Author

Deploying on a specified port

Jason Kwok
Ranch Hand

Joined: Mar 31, 2005
Posts: 126
Hi,

I have two small web applications, one serves a front-end site for students and the other is the admin back-end to manage the front.

For security of the backend, my administrator wants to run the front through port 80, as usual, but wants to restrict the admin side to another port.

Is this possible with both applications running on the same machine, using Tomcat 4.1?

Secondly, what is needed? Do I have to do something to configure tomcat? Would it also involve something added/changed in the deployment descriptor?

Any help would be greatly appreciated!!
Thanks,
Jason
[ February 26, 2007: Message edited by: Jason Kwok ]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12760
    
    5
If this was my problem I would experiment by adding a second <Connector element right after the one for port="80" in server.xml.
Since it would not handle many requests you could give it fewer threads etc.

Let us know what happens.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying on a specified port
 
Similar Threads
Problem while deploying Web Service on Tomcat (in netbeans)
a centralized application to control all websphere consoles
Getting Jakarta Tomcat to run on Port 80
How to change application url?
Configuring admin console with tomcat 5.5