This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple instance of Tomcat  RSS feed

 
Tapan Thakkar
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey guys..

i want to run multiple instance of tomcat on my machine.

i have changed port nos in server.xml
<Server port="8005" shutdown="SHUTDOWN"> //changed to 8006

<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> //changed to 8081

<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /> //changed to 8010

now one server with 8080 port is running.when i run command root# wget http://localhost:8080 it gives output...

--2010-08-17 12:41:50-- http://localhost:8080/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:8080... connected.
HTTP request sent, awaiting response... 400 Bad Request
2010-08-17 12:41:50 ERROR 400: Bad Request.

and after when i start second instance ..its not starting.

please if you have solution then help me..

thank you

regards
Tapan Thakkar
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!