I am using Xaamp server for php development..Now I have installed Apache and Eclipse to do jsp .Now if I try to execute the jsp page , the Apache server gives error that several ports 8080,8086etc which are needed is busy even though if I shut down the xaamp server. Is it possible to run both php and jsp page on my same machine?
I am using Xaamp server for php development..Now I have installed Apache and Eclipse
Share
“Apache” is the name of a big software company which offers many products. I’ll assume that you actually mean its product “Tomcat“.
Given that you’re using XAMPP, you’re most likely using Windows. Given that you’re a PHP guy using Windows, you’ve most likely downloaded the Tomcat Windows installer as
.exefile instead of the Tomcat library as.zipfile. The Windows installer, which is intented for Windows production environments (and thus not for development environments), will install Tomcat as a Windows service which is automatically started everytime you start Windows (and thus already occupy those ports).You don’t want to use the Tomcat Windows service if you’re just developing and want to control Tomcat from inside Eclipse.
Stop the Tomcat service in Windows service manager (start > run > services.msc) and/or uninstall Tomcat Windows service. You just need the Tomcat library as
.zipfile. All you need to do was to extract it into the desired location. Once stopped/uninstalled, then you’ll be able to start the one in Eclipse without hassle.