But when you say its working, is it
http://domain/webappname/action.do
or what i'm trying to with
http://domain/action.do
unless its the root webapp i think its always going to need the nasty context path after the domain. Which could me being fussy but I think is a pretty poor show. The only way i can think of is to have a different server.xml for each webapp. But the administration will be again worse with a zillion files to edit..
But I'm sure somebody would have thought this through between mod_jserv and now jk2.. Or perhaps i'm just a hopeless optimist.
Thanks for your reply
Mark
On Wednesday, October 1, 2003, at 04:32 PM, Walker Chris wrote:
Yes, I'm using virtual hosts and so far it's running OK. I'll check on the
sources I'm using.
I suspect that my configuration has a major problem with unclaimed resources
if you shut down and restart httpd and Tomcat (MySql is implicated, but I
didn't restart that). After two disastrous days struggling to keep the site
up I discovered that rebooting the server and leaving it alone works fine.
Chris
-----Original Message----- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 01 October 2003 13:43 To: Tomcat Users List Subject: Re: connectors documents
If you have mod_webapp running with virtual hosts then i'd be interested to know.. Webapp is an option, i'm using tc4.1.27 with apache2.0.47
I compiled from the accompanying connectors src.
mod_jk/1.2.3-dev or mod_jk2/2.0.3-dev or mod_webapp/1.2.0-dev
at this stage i really dont mind which i use. but I cant believe that this vhost issue is uncommon.
Cheers Mark
On Wednesday, October 1, 2003, at 11:20 AM, Walker Chris wrote:
Sadly, I have to agree with Mark.
Last week Tim Funk suggested I RTFAQ to find out why not to use mod_webapp. Though well-meant, this suggestion was regrettable from my point of view as I was 24 hours from a go-live with webapp (having read in a highly-recommended Tomcat book that webapp is the only way to go). So I spent a day trying to get mod_jk(2) to work on my server (Sun Cobalt Raq550, Apache 1.3, Tomcat 4.1), followed by a night putting webapp back.
Unless I've missed an important part, the JK section on the Tomcat
site is
frustratingly vague. There are lots of snippets from config files, but
there's no hard specification of what the elements in these files do
and how
they inter-relate. Examples are useful, but examples alone are like
giving
a hungry man a fish rather than a rod.
I know this stuff is all produced by magnificent voluntary effort, and I also know that documentation is the armpit (to be polite) of software development. But if the software isn't well-documented then the effort that went into producing it is largely wasted...
Regards
Chris
-----Original Message----- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 01 October 2003 10:13 To: Tomcat Developers List Cc: [EMAIL PROTECTED] Subject: Re: connectors documents
Yeah i know, I did.. and now i'm trying a cheeky question to the dev list..
They seem to be more interested in other stuff on the user list..
Given that both tomcat and apache are so great i'm surprised that they continue to be plagued by this connector business. How many years now? , I'm not sure, but if there was reason not to use these technologies then connectors would be it..
I thought a mail to the folks who are involved with this stuff could be
the way forward. Its great to see an example on jk2 and vhosts , it
would be even better if it worked.
So to repeat my question on both lists..
Is there any documentation, on jk, jk2 or mod_webapp that explains configuring vhosts in a sensible manner that doesn't just go as far as http://domain/webappname .. because frankly that bit is easy, and suffers from chocolate fire-guard syndrome in terms of it utility.
If not i would be eternally grateful if anyone could take me through this, especially if you have a real server in the real world , really doing this.. I dont care which connector, protocol whatever. If this does work and if i'm being a dofuss then feedback would be useful..
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
does this work? Looks like there are 3 files that need amending just to
administer it, but i'll live with it.. So far apache cant find the
workers2.properties.. I have no idea why or how to find out why..
Many thanks in advance
Mark
On Wednesday, October 1, 2003, at 09:47 AM, David Rees wrote:
On Wed, October 1, 2003 at 1:18 am, Mark Lowe sent the following<snip>
Despite using tomcat for 3-4 years jakarta connectors has remained the moving goal post. I dont usually have the pleasure of having to get tomcat and apache talking to one another, but i do now.
Subject is really for tomcat-users list. Post the question there and I'll try to answer.
-Dave
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]