Provide a default jk.conf file

Bug #118649 reported by Nicolas Ternisien
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu Server papercuts
Invalid
Undecided
Unassigned
libapache-mod-jk (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: libapache2-mod-jk

Could you please provide a default jk.conf configuration file for mod_jk apache module.

This file should be found in default module configuration folder : /etc/apache2/mods-available/

This is for example a good start :

JkWorkerProperty worker.list=ajp13
JkWorkerProperty worker.ajp13.type=ajp13
JkWorkerProperty worker.ajp13.host=localhost
JkWorkerProperty worker.ajp13.port=8009

JkLogFile "|/usr/sbin/rotatelogs /var/log/httpd/mod_jk-%d-%m-%Y.log 86400"
JkLogLevel info

JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories

JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkRequestLogFormat "%w %V %m %U %s %B %T"

Revision history for this message
Stefan Kleineikenscheidt (stefan-tech) wrote :

I second this. It is confusing that every other mod is installed with a default config file and mod_jk is not.

my 2 cents,
-Stefan

Revision history for this message
slashdevnull (al-runlevel7) wrote :

Just spent hours trying to get mod_jk to work on a new Ubuntu box, when it worked fine on an old Debian server. I guess I just assumed that the packaged version of mod_jk had all the right files in all the right places. And you know what they say about assuming...

Please fix.

Revision history for this message
slashdevnull (al-runlevel7) wrote :

This makes my system work:

# cat /etc/apache2/mods-available/jk.conf
<IfModule mod_jk.c>
 JkWorkersFile /etc/libapache2-mod-jk/workers.properties
 JkLogFile /var/log/apache2/mod_jk.log
 JkLogLevel error
</IfModule>

Revision history for this message
Yi-Shu Tu (georgetu) wrote :

This package has provided example jk.conf file at /usr/share/doc/libapache2-mod-jk/httpd_example_apache2.conf
But I also think it would be better to have a copy in /etc/apache2/mods-available

Revision history for this message
Rainer Jung (rainer-jung-kippdata) wrote :

Release 1.2.31 of mod_jk contains a nice default configuration in its source tarball. You can copy that one into your distribution. Oler releases of mod_jk didn't contain a useful default config.

Revision history for this message
Sérgio Faria (sergio91pt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu - Oneiric Ocelot.

This is a significant bug in Ubuntu. If you need a fix for the bug in previous versions of Ubuntu, please do steps 1 and 2 of the SRU Procedure [1] to bring the need to a developer's attention.

[1]: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Changed in libapache-mod-jk (Ubuntu):
status: New → Fix Released
Changed in server-papercuts:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.