Mladen Turk wrote:
> The JTC will be tagged as JK2_2_0_0_BETA at 18:00 GMT.
> 
> 
> Until then we need as much work on the docs, anyone can spare ;), or
> perhaps it doesn't mater for the tag?
> 
> Regards,
> MT.
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> 
jk2 still didn't works on Apache 1.3 (something broken on) :

#0  0x401e0f3a in strcmp () from /lib/i686/libc.so.6
#1  0x404335dc in jk2_signal_factory () from /etc/httpd/modules/mod_jk2.so
#2  0x4042bcad in jk2_config_setProperty () from 
/etc/httpd/modules/mod_jk2.so
#3  0x4042c2cd in jk2_config_processNode () from 
/etc/httpd/modules/mod_jk2.so
#4  0x4042c0d0 in jk2_config_processConfigData () from 
/etc/httpd/modules/mod_jk2.so
#5  0x4042cac7 in jk2_config_file_read () from /etc/httpd/modules/mod_jk2.so
#6  0x4042bcad in jk2_config_setProperty () from 
/etc/httpd/modules/mod_jk2.so
#7  0x4042be52 in jk2_config_setPropertyString () from 
/etc/httpd/modules/mod_jk2.so
#8  0x40436f24 in jk2_worker_ajp13_factory () from 
/etc/httpd/modules/mod_jk2.so
#9  0x4043a878 in jk2_service_apache13_init () from 
/etc/httpd/modules/mod_jk2.so
#10 0x08056881 in ap_init_modules ()
#11 0x080608b1 in main ()
#12 0x40177627 in __libc_start_main (main=0x8060440 <main>, argc=2, 
ubp_av=0xbfffe8b4, init=0x804f344 <_init>, fini=0x8074b20 <_fini>,
     rtld_fini=0x4000dcc4 <_dl_fini>, stack_end=0xbfffe8ac) at 
../sysdeps/generic/libc-start.c:129


A different error when rebuild using -g, show me the error in
non APR part of jk2_uriEnv_parserName ...

I made a correction, (commited) andapache 1.3 now start.

But apache 1.3 and 2.0 still failed to process requests, even
non tomcat related uris :

Apache 1.3.22-6 + mod_ssl

[Thu Sep 26 11:55:28 2002] [notice] Apache/1.3.22 (Unix) 
(Red-Hat/Linux) mod_jk2/2.0.0 mod_jk/1.2.0 mod_ssl/2.8.5 OpenSSL/0.9.6b 
DAV/1.0.2 PHP/4.1.2 mod_perl/1.26 configured -- resuming normal operations
[Thu Sep 26 11:55:28 2002] [notice] suEXEC mechanism enabled (wrapper: 
/usr/sbin/suexec)
[Thu Sep 26 11:55:28 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Thu Sep 26 09:55:42 2002]  (debug) [jk_env.c (157)]: env:Create child 
env 0x80cfa18 0x81c3db0
[Thu Sep 26 09:55:42 2002]  (debug) [jk_uriMap.c (516)]: uriMap.mapUri() 
hostname (null) port 0 uri /
[Thu Sep 26 09:55:42 2002]  (debug) [jk_env.c (157)]: env:Create child 
env 0x80cfa18 0x81c3db0
[Thu Sep 26 09:55:42 2002]  (debug) [jk_uriMap.c (516)]: uriMap.mapUri() 
hostname (null) port 0 uri /
[Thu Sep 26 09:55:42 2002]  (debug) [jk_env.c (157)]: env:Create child 
env 0x80cfa18 0x81c3db0
[Thu Sep 26 09:55:42 2002]  (debug) [jk_uriMap.c (516)]: uriMap.mapUri() 
hostname (null) port 0 uri /
[Thu Sep 26 09:55:42 2002]  (debug) [jk_env.c (157)]: env:Create child 
env 0x80cfa18 0x81c3db0
[Thu Sep 26 09:55:42 2002]  (debug) [jk_uriMap.c (516)]: uriMap.mapUri() 
hostname (null) port 0 uri /
[Thu Sep 26 09:55:42 2002]  (debug) [jk_env.c (157)]: env:Create child 
env 0x80cfa18 0x81c3db0
[Thu Sep 26 09:55:42 2002]  (debug) [jk_uriMap.c (516)]: uriMap.mapUri() 
hostname (null) port 0 uri /
[Thu Sep 26 09:55:42 2002]  (debug) [jk_env.c (157)]: env:Create child 
env 0x80cfa18 0x81c3db0
[Thu Sep 26 09:55:42 2002]  (debug) [jk_uriMap.c (516)]: uriMap.mapUri() 
hostname (null) port 0 uri /
[Thu Sep 26 09:55:42 2002]  (debug) [jk_env.c (157)]: env:Create child 
env 0x80cfa18 0x81c3db0
[Thu Sep 26 09:55:42 2002]  (debug) [jk_uriMap.c (516)]: uriMap.mapUri() 
hostname (null) port 0 uri /
[Thu Sep 26 09:55:42 2002]  (debug) [jk_env.c (157)]: env:Create child 
env 0x80cfa18 0x81c3db0
[Thu Sep 26 09:55:42 2002]  (debug) [jk_uriMap.c (516)]: uriMap.mapUri() 
hostname (null) port 0 uri /
[Thu Sep 26 11:55:42 2002] [notice] child pid 1036 exit signal 
Segmentation fault (11)
[Thu Sep 26 11:55:42 2002] [notice] child pid 1035 exit signal 
Segmentation fault (11)
[Thu Sep 26 11:55:42 2002] [notice] child pid 1034 exit signal 
Segmentation fault (11)
[Thu Sep 26 11:55:42 2002] [notice] child pid 1033 exit signal 
Segmentation fault (11)
[Thu Sep 26 11:55:42 2002] [notice] child pid 1032 exit signal 
Segmentation fault (11)
[Thu Sep 26 11:55:42 2002] [notice] child pid 1031 exit signal 
Segmentation fault (11)
[Thu Sep 26 11:55:42 2002] [notice] child pid 1030 exit signal 
Segmentation fault (11)
[Thu Sep 26 11:55:42 2002] [notice] child pid 1029 exit signal 
Segmentation fault (11)
[Thu Sep 26 09:55:42 2002]  (debug) [jk_env.c (157)]: env:Create child 
env 0x80cfa18 0x81c3db0
[Thu Sep 26 09:55:42 2002]  (debug) [jk_uriMap.c (516)]: uriMap.mapUri() 
hostname (null) port 0 uri /
[Thu Sep 26 11:55:43 2002] [notice] child pid 1039 exit signal 
Segmentation fault (11)
[Thu Sep 26 09:55:43 2002]  (debug) [jk_env.c (157)]: env:Create child 
env 0x80cfa18 0x81c3db0
[Thu Sep 26 09:55:43 2002]  (debug) [jk_uriMap.c (516)]: uriMap.mapUri() 
hostname (null) port 0 uri /
[Thu Sep 26 11:55:44 2002] [notice] child pid 1040 exit signal 
Segmentation fault (11)

Apache 2.0.42

[Thu Sep 26 11:56:26 2002] [warn] RSA server certificate CommonName (CN) 
`www.snakeoil.dom' does NOT match server name!?
[Thu Sep 26 11:56:26 2002] [notice] Digest: generating secret for digest 
authentication ...
[Thu Sep 26 11:56:27 2002] [notice] Digest: done
[Thu Sep 26 11:56:28 2002] [warn] RSA server certificate CommonName (CN) 
`www.snakeoil.dom' does NOT match server name!?
[Thu Sep 26 11:56:28 2002] [error] env.createBean2(): Factory error 
creating channel.jni:jni ( channel.jni, jni)
[Thu Sep 26 11:56:28 2002] [error] config.update(): Can't create 
channel.jni:jni
[Thu Sep 26 11:56:28 2002] [error] env.createBean2(): Factory error 
creating vm: ( vm, )
[Thu Sep 26 11:56:28 2002] [error] config.update(): Can't create vm:
[Thu Sep 26 11:56:28 2002] [error] env.createBean2(): Factory error 
creating worker.jni:onStartup ( worker.jni, onStartup)
[Thu Sep 26 11:56:28 2002] [error] config.update(): Can't create 
worker.jni:onStartup
[Thu Sep 26 11:56:28 2002] [error] env.createBean2(): Factory error 
creating worker.jni:onShutdown ( worker.jni, onShutdown)
[Thu Sep 26 11:56:28 2002] [error] config.update(): Can't create 
worker.jni:onShutdown
[Thu Sep 26 11:56:28 2002] [notice] workerEnv.init() ok 
/etc/httpd2/conf/workers2.properties
[Thu Sep 26 11:56:28 2002] [notice] mod_jk child init 1 -1
[Thu Sep 26 11:56:28 2002] [notice] workerEnv.init() ok 
/etc/httpd2/conf/workers2.properties
[Thu Sep 26 11:56:28 2002] [notice] mod_jk child init 1 -1
[Thu Sep 26 11:56:28 2002] [notice] Apache/2.0.42 (Unix) mod_ssl/2.0.42 
OpenSSL/0.9.6b DAV/2 mod_jk/1.2.0 mod_jk2/2.0.0 configured -- resuming 
normal operations
[Thu Sep 26 11:56:29 2002] [notice] child pid 1087 exit signal 
Segmentation fault (11)
[Thu Sep 26 11:56:31 2002] [notice] child pid 1086 exit signal 
Segmentation fault (11)
[Thu Sep 26 11:56:31 2002] [notice] workerEnv.init() ok 
/etc/httpd2/conf/workers2.properties
[Thu Sep 26 11:56:31 2002] [notice] mod_jk child init 1 -1
[Thu Sep 26 11:56:32 2002] [notice] child pid 1145 exit signal 
Segmentation fault (11)
[Thu Sep 26 11:56:32 2002] [notice] workerEnv.init() ok 
/etc/httpd2/conf/workers2.properties
[Thu Sep 26 11:56:32 2002] [notice] mod_jk child init 1 -1
[Thu Sep 26 11:56:32 2002] [notice] workerEnv.init() ok 
/etc/httpd2/conf/workers2.properties
[Thu Sep 26 11:56:32 2002] [notice] mod_jk child init 1 -1
[Thu Sep 26 11:56:34 2002] [notice] child pid 1176 exit signal 
Segmentation fault (11)
[Thu Sep 26 11:56:34 2002] [notice] child pid 1175 exit signal 
Segmentation fault (11)
[Thu Sep 26 11:56:35 2002] [notice] workerEnv.init() ok 
/etc/httpd2/conf/workers2.properties
[Thu Sep 26 11:56:35 2002] [notice] mod_jk child init 1 -1
[Thu Sep 26 11:56:36 2002] [notice] child pid 1235 exit signal 
Segmentation fault (11)
[Thu Sep 26 11:56:36 2002] [notice] workerEnv.init() ok 
/etc/httpd2/conf/workers2.properties
[Thu Sep 26 11:56:36 2002] [notice] mod_jk child init 1 -1
[Thu Sep 26 11:56:36 2002] [notice] workerEnv.init() ok 
/etc/httpd2/conf/workers2.properties
[Thu Sep 26 11:56:36 2002] [notice] mod_jk child init 1 -1
[Thu Sep 26 11:56:38 2002] [notice] child pid 1266 exit signal 
Segmentation fault (11)
[Thu Sep 26 11:56:38 2002] [notice] child pid 1265 exit signal 
Segmentation fault (11)
[Thu Sep 26 11:56:39 2002] [notice] workerEnv.init() ok 
/etc/httpd2/conf/workers2.properties
[Thu Sep 26 11:56:39 2002] [notice] mod_jk child init 1 -1
[Thu Sep 26 11:56:40 2002] [notice] child pid 1329 exit signal 
Segmentation fault (11)
[Thu Sep 26 11:56:40 2002] [notice] workerEnv.init() ok 
/etc/httpd2/conf/workers2.properties
[Thu Sep 26 11:56:40 2002] [notice] mod_jk child init 1 -1
[Thu Sep 26 11:56:40 2002] [notice] workerEnv.init() ok 
/etc/httpd2/conf/workers2.properties
[Thu Sep 26 11:56:40 2002] [notice] mod_jk child init 1 -1
[Thu Sep 26 11:56:42 2002] [notice] child pid 1365 exit signal 
Segmentation fault (11)


Here is my workers2.properties


[logger]
level=DEBUG

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

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

# Alternate file logger
#[logger.file:0]
#level=DEBUG
#file=${serverRoot}/logs/jk2.log

[shm:]
info=Scoreboard. Required for reconfiguration and status with 
multiprocess servers
file=/var/run/jk2-ap20.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

[lb:lb]
info=Default load balancer.
debug=0

[lb:lb_1]
info=A second load balancer.
debug=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/httpd2/jk2.socket]
info=A second channel connecting to localhost:8019 via unix socket
tomcatId=localhost:8019
lb_factor=1
debug=0

[channel.jni:jni]
info=The jni channel, used if tomcat is started inprocess

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

[vm:]
info=Parameters used to load a JVM in the server process
#JVM=C:\jdk\jre\bin\hotspot\jvm.dll
OPT=-Djava.class.path=${TOMCAT_HOME}/lib/tomcat-jni.jar;${TOMCAT_HOME}/server/lib/commons-logging.jar
OPT=-Dtomcat.home=${TOMCAT_HOME}
OPT=-Dcatalina.home=${TOMCAT_HOME}
OPT=-Xmx128M
#OPT=-Djava.compiler=NONE
disabled=1

[worker.jni:onStartup]
info=Command to be executed by the VM on startup. This one will start 
tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=start
disabled=1
stdout=${serverRoot}/logs/stdout.log
stderr=${serverRoot}/logs/stderr.log

[worker.jni:onShutdown]
info=Command to be executed by the VM on shutdown. This one will stop 
tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=stop
disabled=1

[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:

[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:/examples]
info=Example webapp in the default context.
context=/examples
debug=0

[uri:/examples1/*]
info=A second webapp, this time going to the second tomcat only.
group=lb_1
debug=0

[uri:/examples/servlet/*]
info=Prefix mapping

[uri:/examples/*.jsp]
info=Extension mapping

[uri:/examples/*]
info=Map the whole webapp

[uri:/examples/servlet/HelloW]
info=Exampel with debug enabled.
debug=10




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to