[EMAIL PROTECTED] wrote: > I assume it works fine if you take out mod_jk2 ?
yes ;-( > Can you turn debugging on > ( debug=1 in all [] sections ) ? done. > > What do you see in error.log ? It ends in: +++ [Thu Jun 06 17:13:58 2002] [warn] config.setAttribute() Error setting logger.apa che2: file /export/home2/apache20/apache20/logs/mod_jk.log [Thu Jun 06 17:20:53 2002] [warn] config.setAttribute() Error setting logger.apa che2: file /export/home2/apache20/apache20/logs/mod_jk.log [Thu Jun 06 17:25:42 2002] [warn] config.setAttribute() Error setting logger.apa che2: file /export/home/apache20/apache20/logs/mod_jk.log [Fri Jun 07 11:42:11 2002] [warn] config.setAttribute() 1 setting logger.apache2 : level DEBUG [Fri Jun 07 11:42:11 2002] [warn] config: set logger.apache2: / file / c4e68 / l ogger.apache2:.file = /export/home/apache20/apache20/logs/mod_jk.log [Fri Jun 07 11:42:11 2002] [warn] config.setAttribute() Error setting logger.apa che2: file /export/home/apache20/apache20/logs/mod_jk.log [Fri Jun 07 11:42:11 2002] [warn] config.setAttribute() 1 setting logger.apache2 : file /export/home/apache20/apache20/logs/mod_jk.log [Fri Jun 07 11:42:11 2002] [warn] config: set logger.apache2: / debug / c4e68 / logger.apache2:.debug = 1 [Fri Jun 07 11:42:11 2002] [warn] config.setConfig(): Creating channel.socket:l ocalhost:8019 [Fri Jun 07 11:42:11 2002] [warn] config: set channel.socket:localhost:8019 / po rt / e8f08 / channel.socket:localhost:8019.port = 8019 [Fri Jun 07 11:42:11 2002] [warn] config.setAttribute() 1 setting channel.socket :localhost:8019 port 8019 [Fri Jun 07 11:42:11 2002] [warn] config: set channel.socket:localhost:8019 / ho st / e8f08 / channel.socket:localhost:8019.host = 127.0.0.1 [Fri Jun 07 11:42:11 2002] [warn] config.setAttribute() 1 setting channel.socket :localhost:8019 host 127.0.0.1 [Fri Jun 07 11:42:11 2002] [warn] config: set channel.socket:localhost:8019 / de bug / e8f08 / channel.socket:localhost:8019.debug = 1 [Fri Jun 07 11:42:11 2002] [warn] config.setConfig(): Creating worker.status +++ I have commented out the status worker things and now it cores: +++ $ mdb bin/httpd core Loading modules: [ ] > $c libc.so.1`strlen+0x80(0, eef77, 0, 67601, 0, fe2ae792) libc.so.1`vsnprintf+0x5c(ffbed578, 7fffffff, fe2ae778, ffbef65c, 746a8, ffbed578) mod_jk2.so`jk2_logger_apache2_jkVLog+0x40(0, ffbed578, fe2ae6f8, 166, 1, fe2ae778) mod_jk2.so`jk2_logger_apache2_jkLog+0x20(bb698, c6ee8, fe2ae6f8, 166, 1, fe2ae778) mod_jk2.so`jk2_uriEnv_init+0x4a4(bb698, f0f08, fe2a1ce8, 103020, 4, fe29c5bc) mod_jk2.so`jk2_uriMap_init+0x268(bb698, 102fc0, 808, 83c, 808, c4ec8) mod_jk2.so`jk2_workerEnv_init+0x278(bb698, c8ef0, fe2a4350, 0, 0, 0) mod_jk2.so`jk2_init+0xc(bb698, 112f58, c8ef0, 746a8, 1, c8ef0) mod_jk2.so`jk2_child_init+0x68(112f58, 746a8, fe2ab364, 67a08, 0, 0) ap_run_child_init+0x3c(112f58, 746a8, 112f58, 0, 10, 0) child_main+0xd0(1, 1, fefbef98, fefcb228, 64400, 68400) make_child+0xf0(0, 1, a, 2c, 1, 1) perform_idle_server_maintenance+0x168(72958, 6, ffbefb58, 72958, 746a8, 4d398) ap_mpm_run+0x56c(0, 67800, 0, 64400, 64400, 4f000) main+0x4c0(746a8, 709d0, 4f0b8, 4f0c8, 0, 0) _start+0x5c(0, 0, 0, 0, 0, 0) +++ > > > On Thu, 6 Jun 2002, jean-frederic clere wrote: > >> [Thu Jun 06 17:20:53 2002] [warn] config.setAttribute() Error setting >> logger.apache2: file /export/home/apache20/apache20/logs/mod_jk.log >> +++ >> >> Any things wrong in my workers2.properties? > > > I'll remove the message. In jk2 we use the apache2 logger ( i.e. > everything goes to error.log, using the apache code for logging ). > The default is the file logger - where we use our own impl. > ( IIS can also use the windows event log ). > > > > Costin > > > ------------------------------------------------------------------------ > > # Comments will be lost when protocol-based config will be used > # ( at least in the first version ). In a future version we'll save > # the comments before every section and property and save ( maybe ) > > # Global options ( in addition to the pre-defined fs, ps, java_home > [config] > foo=bar > > # Logger options. For apache2 only level can be set ( it logs to error.log ) > # For apache1 the file must be specified too. > # XXX logger is an alias or shortcut to logger.file:"" > # Do we need shortcuts ? XXX Document shortcuts > [logger] > level=DEBUG > file=/export/home/apache20/apache20/logs/mod_jk.log > > # Default channel. Defaults are used > # XXX The name must be parsed and used automatically > # XXX Objects to be defined on-demand, using default values > #[channel.socket:localhost:8009] > > # Example socket channel, override port > [channel.socket:localhost:8019] > port=8019 > host=127.0.0.1 > > # Example unix socket > #[channel.apr:/tmp/tomcatUnixSocket] > > # The status worker. Only defaults. XXX in the final version, > # you shouldn't have to define the objects using defaults, they'll be > # created automatically, on demand. > [worker.status] > > # XXX document/implement a better way to 'disable' a worker. Remove disabled: > # if you want to play with in-process ( for example fix the remaining bugs :-) > [disabled:worker.jni] > tomcat_home=/opt/tomcat > > # XXX will go away, will use magic to configure. > #[worker.ajp13:localhost:8109] > #channel=channel.socket:localhost:8109 > > [worker.ajp13:localhost:8019] > channel=channel.socket:localhost:8019 > > # Again, the redundant info will disapear > [worker.ajp13:/tmp/tomcatUnixSocket] > channel=channel.apr:/tmp/tomcatUnixSocket > > # Note that we use separate lines instead of , separated values. > # It's cleaner and scales better. > # XXX The lb worker will get some magic properties to remove some workers > # and allow them to be added dynamically. > #[worker.lb] > #balanced_workers=worker.ajp13:localhost:8109 > #balanced_workers=worker.ajp13:/tmp/tomcatUnixSocket > > # Uri mapping. > # XXX Uris to be read from separate file, one per webapp. > [uri:/examples/*] > worker=worker.ajp13:localhost:8019 > > # Status worker. XXX protect it with <Location> and security settings, > # it'll display all properties - including eventual secrets. > [uri:/jkstatus/*] > worker=worker.status > > # Experiment with saving the properties. > # must be last in the config - this will go away, we'll save > # in the original file when the config changes with ajp14 or other method > [config] > save=/tmp/jk2.saved.properties > > > > ------------------------------------------------------------------------ > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>