Hi André, The $ is because the line is too long and my putty end it up with a $. Sorry for that problem. The "Js-Server-Ubuntu.gateway.2wire.net" is rdns for my server ip address of 192.168.1.68. My router automatically reverse it. Previously I used the default setting of my virtual host (/etc/apache2/sites-available/default). I changed the virtual host file, adding JkMount /examples tomcat1 JkMount /examples/* tomcat1 after the line "ServerAdmin webmas...@localhost" And IT WORK! Also noting that after I restart my server, apache2 copied the conf from /etc/apache2/sites-available/default to /etc/apache2/sites-enabled/000-default
Sorry for all the little thing and Thanks André for guiding me so far. You made me learn alot. Thanks everyone for helping. Hope this will help other later. Thanks and Best Regards Jie Sheng On Mon, May 3, 2010 at 4:14 AM, André Warnier <a...@ice-sa.com> wrote: > Hi. > > First of all, I get all the messages posted to the list, so you do not need > to send me a copy as a "cc", because that makes me get every message twice. > Thanks. > > Next, do not change too many things at a time, that just confuses things > for now. So let's stick to the JkMount syntax for now. > > The log that you sent shows what happens when you restart Apache : the > initialisation of mod_jk etc.. > > It also seems that the log lines are all truncated to some length, ending > up in a "$" sign. Is that something to do with your email program ? > Example : > > > uri_worker_map_add::jk_uri_worker_map.c (720): wildchar rule > > '/examples/*=tomcat1' source 'JkMou$ > > The last part of that line should at least have 'JkMount' complete. > > Anyway, it means that apparently the JkMount directives are being read and > understood,somewhere. > > What puzzles me is this part, at the end of the log : > > > > [Mon May 03 02:27:18 2010] [3389:4042901264] [debug] > jk_translate::mod_jk.c > > (3419): missing uri map for Js-Server-Ubuntu.gateway.2wire.net: > /examples/ > > [Mon May 03 02:27:18 2010] [3389:4042901264] [debug] > > jk_map_to_storage::mod_jk.c (3579): missing uri map for > > Js-Server-Ubuntu.gateway.2wire.net:/exam$ > > Where does this "Js-Server-Ubuntu.gateway.2wire.net" come from ? > > You have not answered my question about VirtualHost's in Apache. > I have a suspicion that this is where your problems come from. > Re-read the end of my previous post. > > What it looks like to me, is that you have an Apache configuration using > VirtualHost sections, and that the JkMount's are not in that VirtualHost > section, nor are you using JkMountCopy. > > Basically and roughly what it means, is that the VirtualHost does have the > mod_jk module loaded and active, but it does not know about your > JkMount /examples > directives. > So it gets the request from Apache and looks at the URL, but does not > recognise it as something it should handle. So it gives it back to Apache > and tells it "not for me, do it yourself". > > Do you understand what VirtualHost means, and where this is configured > under Ubuntu ? > Hava look at the httpd.conf for "Include" directives naming stuff like > "vhosts.d" or "sites-enabled". > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Jie Sheng, Chua (+65) 97520245 chuajiesh...@gmail.com The contents of this email are confidential to the intended recipient and may not be disclosed. Although it is believed that this email and any attachments are virus free, it is the responsibility of the recipient to confirm this.