I am using eclipse and I have a Dynamic Web Project .
To execute it I need apache tomcat 7.0.
But I have already installed XAMPP server that include both apache web server & apache tomcat server.
How can I mount my java web app to XAMPP's apache tomcat server?
There are 2 possibilities
Option 1
..XAMPP\tomcat\conf\server.xml
original
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
changed to
<Connector port="8090" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8444" />
disadvantage you have to deploy the Web application 2 times
..XAMPP\catalina_start.bat
..XAMPP\catalina_stop.bat
here Tomcat runs on 8090
Option 2 Change Eclipse settings.
....\XAMPP\tomcat
)Advantage
Disadvantage
..XAMPP\catalina_start.bat
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With