You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Guernsey, Byron (GE Consumer & Industrial)" <BY...@GE.COM> on 2005/04/18 22:23:31 UTC

jk 1.2.10 + apache 1.3 issue

For a development environment of ours where we aren't yet running apache
2, I had to build jk1 for Solaris and apache 1.3.26.  Everything looked
ok, but none of the workers seem to be loading, not even the jkstatus
worker.  Loading the page returns a 500 error, and the jk log into debug
mode looks something like:

[Mon Apr 18 15:42:29 2005] [7034:0000] [debug] do_shm_open::jk_shm.c
(240): Truncated shared memory to 308224
[Mon Apr 18 15:42:29 2005] [7034:0000] [debug] do_shm_open::jk_shm.c
(272): Initialized shared memory size=308224 free=307200
 addr=0xeebf0000
[Mon Apr 18 15:42:29 2005] [7034:0000] [debug]
do_shm_open_lock::jk_shm.c (182): Opened shared memory lock
/usr/local/apache/
logs/jk1-ssodev.shm.lock
[Mon Apr 18 15:42:29 2005] [7034:0000] [debug] jk_init::mod_jk.c (1983):
Initialized shm:/usr/local/apache/logs/jk1-ssodev.sh
m
[Mon Apr 18 15:42:29 2005] [7034:0000] [debug]
uri_worker_map_open::jk_uri_worker_map.c (324): rule map size is 1
[Mon Apr 18 15:42:29 2005] [7034:0000] [debug]
uri_worker_map_add::jk_uri_worker_map.c (269): exact rule
/jkstatus/=jkstatus
was added
[Mon Apr 18 15:42:29 2005] [7034:0000] [debug]
uri_worker_map_open::jk_uri_worker_map.c (341): there are 1 rules
[Mon Apr 18 15:42:29 2005] [7034:0000] [debug]
build_worker_map::jk_worker.c (219): creating worker jkstatus
[Mon Apr 18 15:42:29 2005] [7034:0000] [debug]
wc_create_worker::jk_worker.c (125): about to create instance jkstatus
of stat
us
[Mon Apr 18 15:42:29 2005] [7034:0000] [debug]
wc_create_worker::jk_worker.c (138): about to validate and init jkstatus
[Mon Apr 18 15:42:29 2005] [7034:0000] [debug]
build_worker_map::jk_worker.c (231): removing old jkstatus worker
....
[Mon Apr 18 15:42:29 2005] [7034:0000] [debug]
build_worker_map::jk_worker.c (219): creating worker gealnx26:13633
[Mon Apr 18 15:42:29 2005] [7034:0000] [error]
wc_create_worker::jk_worker.c (118): NULL factory for ajp13*ajp13
[Mon Apr 18 15:42:29 2005] [7034:0000] [error]
build_worker_map::jk_worker.c (239): failed to create worker
gealnx26:13633
[Mon Apr 18 15:42:29 2005] [7034:0000] [debug]
close_workers::jk_worker.c (195): close_workers will destroy worker
jkstatus
...
[Mon Apr 18 15:46:11 2005] [7037:0000] [debug]
map_uri_to_worker::jk_uri_worker_map.c (455): Attempting to map URI
'/jkstatus
/' from 1 maps
[Mon Apr 18 15:46:11 2005] [7037:0000] [debug]
map_uri_to_worker::jk_uri_worker_map.c (467): Attempting to map context
URI '/
jkstatus/'
[Mon Apr 18 15:46:11 2005] [7037:0000] [debug]
map_uri_to_worker::jk_uri_worker_map.c (492): Found an exact match
jkstatus ->
 /jkstatus/
[Mon Apr 18 15:46:11 2005] [7037:0000] [debug]
wc_get_worker_for_name::jk_worker.c (94): did not find a worker jkstatus
[Mon Apr 18 15:46:11 2005] [7037:0000] [error] jk_handler::mod_jk.c
(1813): Could not init service for worker=jkstatus

I trimmed this log as there are many other workers which are
initialized, tested, and then closed.  Not a single one of them worked.
I configured mod_jk with:

./configure --with-apxs=/usr/local/apache/bin/apxs --enable-EAPI
--enable-prefork

The "NULL factory for ajp13*ajp13" looks odd to me...but that seems like
an error create 1 worker and I didn't expect it to cause no workers to
be available.  I don't really want to run this with Apache 1.3 long
term, but I understood it should work...

Thanks,
Byron



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: jk 1.2.10 + apache 1.3 issue

Posted by Mladen Turk <ml...@jboss.com>.
Guernsey, Byron (GE Consumer & Industrial) wrote:
> 
> The "NULL factory for ajp13*ajp13" looks odd to me...but that seems like
> an error create 1 worker and I didn't expect it to cause no workers to
> be available.  I don't really want to run this with Apache 1.3 long
> term, but I understood it should work...
>

It has nothing to do with Apache version, but rather with your
configuration.
It would be helpful (to you) if you send the workers.properties.

Regards,
Mladen.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org