Mysql – Error in configuring tomcat in XAMPP

apacheMySQLtomcatxampp

I have Windows 7 installed on my PC.I have downloaded XAMPP server and installed it with it's default options. However, I noticed that Tomcat does not work (while MySQL, Apache does work!). I am trying to configure Tomcat in XAMPP but getting the error below.

11:47:40 AM [Tomcat] Problem detected!
11:47:40 AM [Tomcat] Port 8080 in use by "C:\oraclexe\app\oracle\product\10.2.0\server\BIN\tnslsnr.exe"!
11:47:40 AM [Tomcat] Tomcat WILL NOT start without the configured ports free!
11:47:40 AM [Tomcat] You need to uninstall/disable/reconfigure the blocking application
11:47:40 AM [Tomcat] or reconfigure Tomcat and the Control Panel to listen on a different port .

How can I reconfigure Tomcat and the control panel to listen on a diffrent port ?

Best Answer

The error message is self explanatory that Tomcat by default listening on prot 8080 but presently port 8080 is used by tnslsnr.exe

Go to $T0MCAT_HOME/conf/server.xml and change <Connector port="8080" to any port that you want for example <Connector port="7070" and restart tomcat

Related Topic