Maksim Nesterenko
Maksim Nesterenko

Reputation: 6213

Run two independent tomcat servers within IDEA

I need a tip about running two tomcat servers: how can I run two contexts from two different tomcat servers, using IDEA (or not using it though...)
How I should configure my tomcats and IDEA? Please, give a tip or some links on working manuals about that case.
I use Windows 7, Tomcat 6, IDEA 14 , Java 6 :'(

Upvotes: 2

Views: 2627

Answers (1)

Sezin Karli
Sezin Karli

Reputation: 2525

The only thing you must change is your run/debug config. Http port and jmx port must be different for two different tomcats. i.e.

first tomcat:
http port: 8081
jmx port: 1099

second tomcat:
http port: 8082
jmx port: 1100

Upvotes: 5

Related Questions