This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat installation Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Tomcat installation" Watch "Tomcat installation" New topic
Author

Tomcat installation

Naveen Madarapu
Ranch Hand

Joined: May 24, 2011
Posts: 63

how can i change the port if i am using 8080 it opens oracle


OCPJP
Mick Knutson
author
Ranch Hand

Joined: Jul 10, 2007
Posts: 37
edit ./conf/server.xml to change:



to something like:



... Mick Knutson
http://baselogic.com - [Java EE6 Cookbook for securing, tuning, and extending enterprise applications (PACKT)] - [Java EE6 Cookbook (PACKT) (on Amazon)]
tanuj khare
author
Ranch Hand

Joined: May 02, 2012
Posts: 37

What Mick has said is completely true, we can change the port in server.xml and these changes will be only in effect after recycle.

But before selecting the port number, verify that system is not using this port using the following command
netstat -atnp |grep "port" number ---------------- linux
netstat -atnp |find "port" number ---------------- windows

Regards, Tanuj Khare
author of Apache Tomcat 7 Essentials
Naveen Madarapu
Ranch Hand

Joined: May 24, 2011
Posts: 63

Thanks Mick it's very helpful to me.
Mick Knutson
author
Ranch Hand

Joined: Jul 10, 2007
Posts: 37
Naveen Madarapu wrote:Thanks Mick it's very helpful to me.

YW.

BTW, another tool if you want to see the ports and http traffic if you are on Windows:

TCPViewer:
http://technet.microsoft.com/en-us/sysinternals/bb897437

HTTPDebugger: (my favorite)
http://www.httpdebugger.com/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat installation
 
Similar Threads
Cant use object from another class
Posting to bump up my count...
WA #1.....word association
The x900 effect ?
Text box value is not being completely filled with request attribute