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
 
jk2, Tomcat4, Apache1.3

jk2, Tomcat4, Apache1.3

2003-09-25       - By Blake Crosby

 Back
For some reason jk2 is trying to talk to Tomcat on port 8009, even though I
don�t specify that port in wokers2.properties file:

[uriMap:]
info=Maps the requests. Options: debug
debug

[config:]
file=${serverRoot}/conf/workers2.properties
debug
debugEnv

# SHM Stuff
[shm]
info=Scoreboard.
file=${serverRoot}/logs/jk2.shm
size48576

# Where is Tomcat Listening?
[channel.socket:localhost:38009]
port8009


# define the worker
[ajp13:localhost:38009]
channel=channel.socket:localhost:38009

[uri:/examples/*]
info=Example webapp in the default context.
context=/examples
worker=ajp13:localhost:38009
debug=1

#define the worker
[status:status]

# Uri mapping
[uri:/jkstatus/*]
worker=status:status


Loading /jkstatus works fine, but when I try to load /examples, I get these
errors in jk2.log:

[Thu Sep 25 20:25:05 2003]  (debug) [jk_env.c (157)]: env:Create child env
0x80de088 0x80f8f48
[Thu Sep 25 20:25:05 2003]  (debug) [jk_uriMap.c (638)]: uriMap.mapUri()
hostname (null) port 3000 uri /examples/
[Thu Sep 25 20:25:05 2003]  (debug) [jk_uriMap.c (652)]: uriMap.mapUri()
found host *
[Thu Sep 25 20:25:05 2003]  (debug) [jk_uriMap.c (677)]: uriMap.mapUri()
found ctx /examples
[Thu Sep 25 20:25:05 2003]  (debug) [jk_uriMap.c (707)]: uriMap.mapUri()
prefix match /examples/ ajp13:localhost:38009
[Thu Sep 25 20:25:05 2003]  ( info) [mod_jk2.c (469)]: mod_jk.translate():
uriMap /examples/ ajp13:localhost:38009
[Thu Sep 25 20:25:05 2003]  ( info) [mod_jk2.c (362)]: mod_jk.handler() per
dir worker for 0x80e60d8 0x80ea0f8
[Thu Sep 25 20:25:05 2003]  ( info) [mod_jk2.c (394)]: mod_jk.handler(): new
rpool
[Thu Sep 25 20:25:05 2003]  ( info) [mod_jk2.c (405)]: modjk.handler()
Calling ajp13:localhost:38009 0x80ea0f8
[Thu Sep 25 20:25:05 2003]  (debug) [jk_env.c (248)]: env.createBean2():
Create [endpoint] (null)
[Thu Sep 25 20:25:05 2003]  (debug) [jk_env.c (383)]: env.getByName(): Get
by name workerEnv 0x80e0130
[Thu Sep 25 20:25:05 2003]  (debug) [jk_env.c (312)]: env.createBean2():
register endpoint:10 0x810e228
[Thu Sep 25 20:25:05 2003]  ( info) [jk_shm.c (478)]: shm.createSlot()
Create 4 0x40688000 0x40690000
[Thu Sep 25 20:25:05 2003]  ( info) [jk_endpoint.c (95)]: workerEnv.init()
create slot epStat.4
[Thu Sep 25 20:25:05 2003]  (debug) [jk_requtil.c (723)]:
serialize.request() serialized /examples/
[Thu Sep 25 20:25:05 2003]  (error) [jk_channel_socket.c (340)]:
channelSocket.open() connect failed localhost:8009 111 Connection refused
[Thu Sep 25 20:25:05 2003]  (error) [jk_worker_ajp13.c (245)]:
ajp13.connect() failed ajp13:localhost:38009
[Thu Sep 25 20:25:05 2003]  (error) [jk_worker_ajp13.c (320)]:
ajp13.service() failed to connect endpoint errno1 Connection refused
[Thu Sep 25 20:25:05 2003]  (error) [jk_worker_ajp13.c (503)]:
ajp13.service() Error  forwarding ajp13:localhost:38009 1 1
[Thu Sep 25 20:25:05 2003]  ( info) [jk_worker_ajp13.c (543)]: ajp13.done()
close endpoint ajp13:localhost:38009 error_state 1
[Thu Sep 25 20:25:05 2003]  (error) [mod_jk2.c (427)]: mod_jk.handler()
Error connecting to tomcat 21000


Why is mod_jk2 trying to connect to port 8009?

Apache: 1.3.28
Tomcat: 1.2.27
Mod_jk: 2.1.0


--
Blake Crosby   -   CBC.ca Operations
Platform Administrator
voice://+1.416.205.3103  mobile://+1.416.884.5828
bcrosby@(protected)



-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
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.