cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <cocoonge...@yahoo.com>
Subject Re: Complicated setup
Date Wed, 04 Dec 2002 21:03:29 GMT
i'm currently in warp/jk/jk2 hades right now, so I can
tell you that you are correct that jk2 uses a totally
different syntax and mod_jk.so doesn't use it.

Here's what I'm picking up from the last two days of
not getting anything to connect:

- warp is now essentially (but not officially)
abandoned because there is a fatal flaw discovered
that affects windows.
- jk 1.2 corresponds to mod_jk.so and is pretty good
and stable but isn't as
flexible/fast/other-good-adjectives as the new
darling.  In my experience, can be very tempermental
to get working sometimes, but generally seems easy. 
It's the safe choice at moment.
- jk2 (called mod_jk2.so i think) is backwards
compatible, but geared at apache2.x (multithreaded
capability is the key issue, IIUC) BUT is still not
considered mature.  It is being called "early
production quality" so would probably do for the
brave.  Unfortunately, I can't use it because it
requires some other modules to have been compiled in
to apache (1.3.x) previously.  If you can't rebuild
apache for some reason, check into this before wasting
time.

The documentation that does exist always seems to be
about the last, or the next version of the syntax but
not the one you are working with.  Not sure how they
pull that off so effectively. ;)

Geoff

--- Jeremy Quinn <jeremy@media.demon.co.uk> wrote:
> 
> This is a different configuration syntax to the one
> I am using I think, 
> or are there two different syntaxes?
> 
> I am using mod_jk.so version 1.2.0, compiled
> locally.
> 
> I have an Apache .conf file, which loads the module,
> sets up 
> JkWorkersFile, JkMount etc. And a workers.properties
> file which sets up 
> one ajp13 worker.
> 
> There's a file like your sample below in my
> TomCat/conf called 
> jk2.properties, but I don't think I am using it.
> 
> Thanks for any help
> 
> regards Jeremy
> 
> On Wednesday, Dec 4, 2002, at 02:22 Europe/London,
> leo leonid wrote:
> 
> >> Do you mean this is where you differentiate
> between different 
> >> Servlets?
> >> Or do you do more than that in this file? I've
> never used one before,
> >> except probably the default.
> >
> > There you define hosts, ports, workers, uri
> mapping etc ... a sample
> >
> > [shm]
> > file=/usr/jakarta/catalina/work/jk2.shm
> > size=1048576
> >
> > # Example socket channel, override port and host.
> > [channel.socket:ministrant.leonid:8009]
> > port=8009
> > host=127.0.0.1
> >
> > # define the worker
> > [ajp13:ministrant.leonid:8009]
> > channel=channel.socket:ministrant.leonid:8009
> >
> > # Uri mapping
> > [uri:ministrant.leonid/*]
> > worker=ajp13:ministrant.leonid:8009
> > context=/cocoon
> >
> >
> 
> 
>
---------------------------------------------------------------------
> Please check that your question  has not already
> been answered in the
> FAQ before posting.    
> <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:    
> <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:  
> <cocoon-users-help@xml.apache.org>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message