I am facing a problem with installing tomcat. I have a xampp server which already installed my windows 7 pc. Now I want to install tomcat server. Xampp and Tomcat both are apache server. I get many tutorials which show me how to integrate tomcat and xampp together. But actually I want to install the tomcat separately in a different folder. Is it possible? If possible then what I have to do? And how will I be able to run the both server? If not possible then please suggest me what should I do.
Share
Just install Tomcat ( Don’t worry about the xampp installation.Keep it as it is )
Modify the file
server.xml(located intomcat_installation_path\conf\) as follows– Change the default port number i.e 8080
ex:
Connector port=”8080″toConnector port=”8081″because 8080 is used by xampp
read more about changing default port number
Now when you start xamp you go to
localhost:8080\and whenever you run tomcat you go to
localhost:8081\Or you can do it in other-way round as well ( keep the default port number of Tomcat and change the Xampp’s port number )