Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: Apache2, mod_jk2, Jetty on Linux Redhat 9

Daniel Gibby

2004-05-06

Replies:

And this has something to do with tomcat because......... ?

Mike Batting wrote:

>I am running a load-balanced apache/jetty architecture using the mod_jk2 connector. I have been able to successfully set this architecture up with two Jetty instances on the same box as the apache server. Now I am trying to transfer one of the Jetty instances to a seperate Linux box. This is where I have reached my roadblock.
>
>The apache front end can still successfully communicate with the first Jetty instance running on the same box, but I get the following Java error (found below) when apache tries to communicate with the second instance on the seperate server:
>
>Is it possoble to run an architecture like this with Apache, mod_jk2, and Jetty ? If so, is there anything special that must be done to enable it ?
>
>java.net.UnknownHostException: jetty at java.net.PlainSocketImpl.connect (PlainSocketImpl.java:153) at java.net.Socket.connect (Socket.java:426) at java.net.Socket.connect (Socket.java:376) at sun.net.NetworkClient.doConnect (NetworkClient.java:139) at sun.net.www.http.HttpClient.openServer (HttpClient.java:386) at sun.net.www.http.HttpClient.openServer (HttpClient.java:602) at sun.net.www.http.HttpClient.(HttpClient.java:303) at sun.net.www.http.HttpClient.(HttpClient.java:264) at sun.net.www.http.HttpClient.New (HttpClient.java:336) at sun.net.www.http.HttpClient.New (HttpClient.java:317) at sun.net.www.http.HttpClient.New (HttpClient.java:312) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:481) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:472) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:574) at java.net.URL.openStream (URL.java:960) at com.trxn.servlet.TTrip.mergeUrl(TTrip.java:258) at com.trxn.servlet.TTrip.mergeUrl(TTrip.java:248) at Login.doGet(Login.java:48) at com.trxn.servlet.THttpServlet.doTServletGet(THttpServlet.java:142) at com.trxn.servlet.THttpServlet.doGet(THttpServlet.java:136) at javax.servlet.http.HttpServlet.service (HttpServlet.java:740) at javax.servlet.http.HttpServlet.service (HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle (ServletHolder.java:354) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch (WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle (ServletHandler.java:567) at org.mortbay.http.HttpContext.handle (HttpContext.java:1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle (WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle (HttpContext.java:1757) at org.mortbay.http.HttpServer.service (HttpServer.java:879) at org.mortbay.http.HttpConnection.service (HttpConnection.java:790) at org.mortbay.http.ajp.AJP13Connection.handleNext (AJP13Connection.java:273) at org.mortbay.http.HttpConnection.handle (HttpConnection.java:807) at org.mortbay.http.ajp.AJP13Listener.handleConnection (AJP13Listener.java:199) at org.mortbay.util.ThreadedServer.handle (ThreadedServer.java:276) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.