Hi,

"I'm a researcher not an administrator." ;) Thanks for the hint with the virtual hosts, chris. I never did anything with this technique (didn't even know apache is capable of such things) but now it works.

Regards
   Klemens

Christopher Schultz schrieb:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Klemens,

On 4/23/2010 11:21 AM, Klemens Muthmann wrote:
However now I need to make the tomcat applications
available over port 80 so I tried to configure mod_jk but it does not
work.

[...]

Currently the configuration looks like:
- There is a symbolic link to jk.load file in /etc/apache2/mods-enabled
with content:
   LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so

Does that file exist? Probably, because you have errors coming from
mod_jk below...

- httpd.conf is loaded in apache2.conf (after jk.load) via: "Include
/etc/apache2/httpd.conf" and has the following content:
   JkWorkersFile   /etc/libapache2-mod-jk/workers.properties
   JkLogFile       /var/log/apache2/mod_jk.log
   JkLogLevel      debug
   JkMount /nexus/* ajp13_worker

Where do the above lines fall in terms of VirtualHosts? Most Debian-like
packages have a main VirtualHost defined somewhere like
/etc/apache2/sites-enabled.

mod_jk allows separate mounts for each virtual host, including the
top-level one, and they don't inherit from each other by default.

Try moving the JkMount like (specifically) from where it is now into
your default VirtualHost definition.

Here's the hint that you have no JkMounts defined for your virtual host:

   [Fri Apr 23 15:20:05.210 2010] [23365:3585353520] [debug]
jk_translate::mod_jk.c (3038): missing uri map for 127.0.1.1:/nexus/

It's the "missing uri map" that tells the story. Your workers.properties
file looks fine (though the workers.tomcat_hom, workers.java_home, and
ps properties are no longer relevant and should be removed, and you
aren't actually using that loadbalancer so unless you're just testing in
non-lb mode, remove it).

Hope that helps,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvV02kACgkQ9CaO5/Lv0PDYGwCgj2mTQWirkmmUqCQwsP+ZJgUL
FjAAnRvketJTpIebGHFR8k+h6tGglqyj
=NBB0
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to