hi mike

here is my workers2.properties [ apache 2.0.43 jetty/JBOSS3.2.0RC3/4/5]
maybe it helps ;)

cheers
lothar

##**********************
[logger]
level=INFO

[config:]
file=/usr/local/apache2/conf/workers2.properties
debug=0
debugEnv=0

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

# Alternate file logger
[logger.file:0]
level=INFO
file=/usr/local/apache2/logs/jk2.log

[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess
servers
file=/var/run/jk2.shm
size=1000000
debug=0
disabled=0

[workerEnv:]
info=Global server options
timing=1
debug=0
# Default Native Logger (apache2 or win32 ) 
# can be overriden to a file logger, useful 
# when tracing win32 related issues
#logger=logger.file:0


[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009

#[channel.socket:localhost:8019]
#info=A second tomcat instance. 
#debug=0
#tomcatId=localhost:8019
#lb_factor=1
#group=lb
#group=lb_1
#disabled=0

#[channel.un:/var/run/jk2.socket]
#info=A second channel connecting to localhost:8019 via unix socket
#tomcatId=localhost:8019
#lb_factor=1
#debug=0


[status:]
info=Status worker, displays runtime informations



#[uri:127.0.0.1:8003]
#info=Example virtual host. Make sure myVirtualHost is in /etc/hosts to test
it
#alias=myVirtualHost:8003

#[uri:127.0.0.1:8003/ex]
#info=Example webapp in the virtual host. It'll go to lb_1 ( i.e.
localhost:8019 )
#context=/ex
#group=lb_1


[uri:/admin/servlet/*]
debug=0

#[uri:/something_private*]
#debug=0
###************




-----Original Message-----
From: Finn, Michael [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 25, 2003 2:56 PM
To: '[EMAIL PROTECTED]'
Subject: [JBoss-user] mod_jk2 and Jetty


Sorry, I left the subject off.
-----Original Message-----
From: Finn, Michael [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 8:07 AM
To: Jboss-User (E-mail) (E-mail)
Subject: [JBoss-user] (no subject)


I seem to be unable to get mod_jk2 talking to Jetty. I built mod_jk2 from
source (jakarta-tomcat-connectors-4.1.18), and have it config'd on Apache
2.0.44 (RH 7.2). JBoss 3.2.0 built from JBoss 3.2 branch running on W2K. I
have workers2.properties config'd. In the docs, I saw reference to
jk.properties on the Tomcat side, but see no analog to it in Jetty. One of
the errors I get is what looks to be missing shared mem file (even though I
am not using UNIX domain sockets, so I am not sure how that applies), which
is config'd in jk2.properties - makes me wonder if I'm missing something.

When I access a mapped application, I get below in error_log (startup log
stuff is included as well). Browser gets a 500. workers2.properties is below
as well.
No mod_jk log. Jetty AJP is listening on 8009.

TIA,
Mike

error_log
[Mon Mar 24 09:12:08 2003] [notice] Apache/2.0.44 (Unix) DAV/2
mod_jk2/2.0.3-dev configured -- resuming normal operations
[Mon Mar 24 09:12:08 2003] [error] shm.init(): No file
[Mon Mar 24 09:12:14 2003] [error] workerEnv.init() create slot epStat.0
failed
[Mon Mar 24 09:12:14 2003] [error] mod_jk.handler() Error connecting to
tomcat 120000

workers2.properties:

[channel.socket:mjf860-1:8009]
port=8009
host=10.160.73.98

[ajp13:mjf860-1:8009]
channel=channel.socket:mjf860-1:8009

[uri:/apps/*]
worker=ajp13:mjf860-1:8009




----------------------- 
Mike Finn                               
Frontier Communications      
Rochester, NY                    
V: 585-777-8202 
E: mailto:[EMAIL PROTECTED] 


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to