Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Apache2, mod_jk2, Jetty on Linux Redhat 9

Apache2, mod_jk2, Jetty on Linux Redhat 9

2004-05-06       - By Mike Batting

 Back
Reply:     1     2     3  

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 Source code of java.net.UnknownHostException: jetty at java.net.PlainSocketImpl Source code of java.net.PlainSocketImpl
(PlainSocketImpl.java:153) at java.net.Socket Source code of java.net.Socket(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 Source code of java.net.URL(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 Source code of javax.servlet.http.HttpServlet(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 Source code of org.mortbay.http.HttpConnection
.service(HttpConnection.java:790) at org.mortbay.http.ajp.AJP13Connection Source code of org.mortbay.http.ajp.AJP13Connection
.handleNext(AJP13Connection.java:273) at org.mortbay.http.HttpConnection Source code of org.mortbay.http.HttpConnection.handle
(HttpConnection.java:807) at org.mortbay.http.ajp.AJP13Listener Source code of org.mortbay.http.ajp.AJP13Listener
(AJP13Listener.java:199) at org.mortbay.util.ThreadedServer Source code of org.mortbay.util.ThreadedServer
(ThreadedServer.java:276) at org.mortbay.util.ThreadPool Source code of org.mortbay.util.ThreadPool$PoolThread.run
(ThreadPool.java:511)

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