You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Choak Visavayodhin <ch...@scb.co.th> on 2001/03/02 10:48:45 UTC

How can I change PORT!!

hi all,
    I'm new user of TOMCAT, I wanna change jsp path from webapps to others. When I try it, I can't run my jsp files any more how can I create new port for my new site?
    thanks for advance.

choak

Re: How can I change PORT!!

Posted by Gerd Trautner <gt...@yuri.at>.
Hi Choak,
Friday, March 02, 2001, 10:48:45 AM, you wrote:

CV> hi all,
CV>     I'm new user of TOMCAT, I wanna change jsp path from webapps to others. When I try it, I can't run my jsp files any more how can I create new port for my new site?
CV>     thanks for advance.

CV> choak

server.xml
:

<!-- ==================== Connectors ==================== -->

        <!-- Normal HTTP -->
        
        <Connector className="org.apache.tomcat.service.PoolTcpConnector">
            <Parameter name="handler" 
                value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
            <Parameter name="port"
                value="80"/>
             <!-- for binding to specific ip: -->
             <!-- <Parameter name="inet" value="x.x.x.x"/> -->
        </Connector>

Gerd



RE: How can I change PORT!!

Posted by Saurabh Shukla <sa...@cysphere.com>.
1) Kindly read documentation. (for web apps)

2) For a new port you need to make change in serve.xml. (it lies in conf
directory).

Shuklix
  -----Original Message-----
  From: Choak Visavayodhin [mailto:choak@scb.co.th]
  Sent: Friday, March 02, 2001 3:19 PM
  To: tomcat-user@jakarta.apache.org
  Subject: How can I change PORT!!


  hi all,
      I'm new user of TOMCAT, I wanna change jsp path from webapps to
others. When I try it, I can't run my jsp files any more how can I create
new port for my new site?
      thanks for advance.

  choak