Hi,
I changed port 8080 to 80 and I get page not found error.  Please note that I 
have another website that is running on an older version of tomcat.  that 
website is already using port 80.  On that page, there is a link that connects 
to http://localhost/MyWebAPP/ .  If I use the older version of this site (4.1), 
it works.  However, using a 6.0 version only works with this URL:  
http://localhost:8080/MyWebAPP/ .  Please help

>>> Christopher Schultz <ch...@christopherschultz.net> 4/7/2009 4:56 PM >>>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rashid,

On 4/7/2009 4:45 PM, Rashid Malik wrote:
> To give you an example, the URL to get to the application in 4.1 is:
> 
> http://localhost/MyWebAPP/ 
> 
> However, after shutting down tomcat 4.1, installing and configuring
> tomcat 6.0, I can use the new web app only using the following URL.
>
> http://localhost:8080/MyWebAPP/ 

Your new 6.0 configuration does not match your old 4.1 configuration.
Check server.xml for an active (that is, not commented-out) <Connector>
element. It should have the port="8080" attribute. Just change this to
port="80" and you will no longer need to specify the port number.

> Taking out the port number 8080 from the following URL returns page
> not found.

That's because the port number is required if your server is not
listening on port 80 (the default port for HTTP).

> Please note that the 4.1 manager does not work for some reason.

You should use the 6.0 manager with Tomcat 6.0. The 4.1 manager will be
incompatible with Tomcat 6.0.

> P.s.  Also, is there a way to change the port from 8080 to something
> else?

See above.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ 

iEYEARECAAYFAknbveAACgkQ9CaO5/Lv0PAybgCgliNBGcU7ul+gA6kwat/KErci
XnoAn2v/4+a0hPAjDhcja9QrG+9DDumL
=k/AZ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org 
For additional commands, e-mail: users-h...@tomcat.apache.org 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to