apache   分发N个tomcat问题

apache   分发N个tomcat问题

环境:

同一部機,同一個IP,一個80   端口
一個apache

兩個tomcat   如下:
http://10.2.6.60:10020/aa/
http://10.2.6.60:10021/bb/

我現在想用80   端口
http://10.2.6.60/aa/     訪問到     http://10.2.6.60:10020/aa/
http://10.2.6.60/bb/     訪問到     http://10.2.6.60:10021/bb/


原因是已前一个Tomcat   上有几个应用在跑.有时,一个应用出错,tomcat   就死掉,影响到其它应用,所以想把应用分开,一个tomcat   对应一个应用...这种方法合理吗?


tomcat   老出现这个异常:
警告:   Error   sending   end   packet
java.net.SocketException:   Broken   pipe
at   java.net.SocketOutputStream.socketWrite0(Native   Method)
at   java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at   java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at   org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:531)
at   org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:112)
at   org.apache.jk.core.MsgContext.action(MsgContext.java:293)
at   org.apache.coyote.Response.action(Response.java:182)
at   org.apache.coyote.Response.finish(Response.java:304)
at   org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:204)
at   org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at   org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at   org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at   org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at   org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at   java.lang.Thread.run(Thread.java:595)
2007-4-17   17:04:41   org.apache.jk.common.ChannelSocket   processConnection
警告:   processCallbacks   status   2

也不知怎么解决.....

up...
up.....
up...