Date: Wed, 8 Sep 2004 00:22:34 GMT From: Rainer Duffner <rainer@ultra-secure.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/71479: mod_jk2-apache2 - various issues Message-ID: <200409080022.i880MYx0038296@www.freebsd.org> Resent-Message-ID: <200409080030.i880UOm7087132@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 71479 >Category: ports >Synopsis: mod_jk2-apache2 - various issues >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 08 00:30:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Rainer Duffner >Release: 5.3-BETA3 >Organization: >Environment: FreeBSD freebsd5.example.net 5.3-BETA3 FreeBSD 5.3-BETA3 #13: Tue Sep 7 22:37:18 CEST 2004 root@freebsd5.example.net:/usr/obj/usr/src/sys/CURRENT i386 >Description: Hi, this port doesn't install the include-file for apache that is mentioned in the original documentation (mod_jk2.conf). Also, workers.properties and workers2.properties are missing. The workers2.properties needs to be adjusted to make the examples work, workers.properties, too (at least for tomcat-home and java-home). Additionally, it seems to look under /usr/local/conf for workers2.properties and wants to write to /usr/local/logs/ for some files. I don't know if messages like Wed Sep 08 02:05:15 2004] [error] env.createBean2(): Factory error creating channel.jni:jni ( channel.jni, jni) [Wed Sep 08 02:05:15 2004] [error] config.update(): Can't create channel.jni:jni [Wed Sep 08 02:05:15 2004] [error] env.createBean2(): Factory error creating vm: ( vm, ) [Wed Sep 08 02:05:15 2004] [error] config.update(): Can't create vm: [Wed Sep 08 02:05:15 2004] [error] env.createBean2(): Factory error creating worker.jni:onStartup ( worker.jni, onStartup) [Wed Sep 08 02:05:15 2004] [error] config.update(): Can't create worker.jni:onStartup [Wed Sep 08 02:05:15 2004] [error] env.createBean2(): Factory error creating worker.jni:onShutdown ( worker.jni, onShutdown) [Wed Sep 08 02:05:15 2004] [error] config.update(): Can't create worker.jni:onShutdown [Wed Sep 08 02:05:16 2004] [notice] Apache/2.0.50 (FreeBSD) mod_perl/1.99_16 Perl/v5.8.5 mod_jk2/2.0.2 PHP/4.3.8 configured -- resuming normal operations are normal or induced by the somehow faulty configuration I seem to have. And does one need to modifiy $TOMCAT/conf/jk2.properties ? >How-To-Repeat: Install apache2, install mod_jk2_apache2, try to get examples running. >Fix: I have sort-of fixed this for me (examples seem work) but I don't understand enough of this software to be able to judge if I did it correctly. Also, some problems still persist, like the conf- and logs-directory issue. Take this only as a hint. freebsd5# diff workers.properties /data/wrk/usr/ports/www/mod_jk2-apache2/work/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/conf/workers.properties 41c41 < workers.tomcat_home=/usr/local/jakarta-tomcat5.0/ --- > workers.tomcat_home=/var/tomcat3 47c47 < workers.java_home=/usr/local/jdk1.4.2/ --- > workers.java_home=/opt/IBMJava2-13 freebsd5# diff workers2.properties /data/wrk/usr/ports/www/mod_jk2-apache2/work/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/conf/workers2.properties 5,6c5 < #file=${serverRoot}/etc/apache2/Includes/workers2.properties < file=/usr/local/etc/apache2/Includes/workers2.properties --- > file=${serverRoot}/conf/workers2.properties 83c82 < # ARG=start --- > ARG=start 85c84 < ARG=stard --- > # ARG=stard 109c108 < [uri:/servlets-examples] --- > [uri:/examples] 125c124 < [uri:/servlets-examples/*] --- > [uri:/examples/*] >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409080022.i880MYx0038296>