Where is your mod_jk.so installed?

And secondly what does your mod_jk.conf look like
(CATALINA_HOME/conf/auto/mod_jk.conf)

I'd say between those two we'll find the culprit.

cheers

------------------------------------------------------
Tref Gare
Development Consultant
Areeba
Level 19/114 William St, Melbourne VIC 3000
email: [EMAIL PROTECTED]
phone: +61 3 9642 5553
fax: +61 3 9642 1335
website: http://www.areeba.com.au
------------------------------------------------------
"This email is intended only for the use of the individual or entity
named above and contains information that is confidential. No
confidentiality is waived or lost by any mis-transmission. If you
received this correspondence in error, please notify the sender and
immediately delete it from your system. You must not disclose, copy or
rely on any part of this correspondence if you are not the intended
recipient. Any communication directed to clients via this message is
subject to our Agreement and relevant Project Schedule. Any information
that is transmitted via email which may offend may have been sent
without knowledge or the consent of Areeba."
------------------------------------------------------

-----Original Message-----
From: MURAT BALKAS [mailto:murat.balkas@;o2.net.tr] 
Sent: Tuesday, 29 October 2002 9:28 PM
To: Tomcat Users List
Subject: RE: mod_jk + tomcat on Solaris 8 ( about Turner's HOWTO )


Thanks. I've downloaded it from the link below, and followed the other
instructions.

When I start tomcat I get :

mod_jk location: libexec/mod_jk.so
Make sure it is installed corectly or  set the config location
Using <ApacheConfig modJk="PATH_TO_MOD_JK.SO_OR_DLL" />

And If I try to open examples directory I get :

[Tue Oct 29 12:15:11 2002]  [jk_uri_worker_map.c (477)]: Attempting to
map
URI '/examples/jsp/num/numguess.jsp'
[Tue Oct 29 12:15:11 2002]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match

INFO : I've used localhost on tomcat's Host directive, apache's
ServerName
and worker.ajp13.host.

      What's the problem?

Murat



 

                      "Turner, John"

                      <[EMAIL PROTECTED]>        To:       'Tomcat Users
List' <[EMAIL PROTECTED]>                          
                                               cc:

                      10/28/2002 10:08         Subject:  RE: mod_jk +
tomcat on Solaris 8 ( about Turner's HOWTO )                     
                      PM

                      Please respond to

                      "Tomcat Users

                      List"

 

 






There's no need to build the connectors from source unless you want to.

You can get Solaris 8 JK binaries here:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.0

/bin/solaris8/

There aren't any JK2 binaries yet, but I'm sure someone on the list has
them.

John

> -----Original Message-----
> From: MURAT BALKAS [mailto:murat.balkas@;o2.net.tr]
> Sent: Monday, October 28, 2002 2:30 PM
> To: Tomcat Users List
> Subject: Re: mod_jk + tomcat on Solaris 8 ( about Turner's HOWTO )
>
>
>
> MORE INFO :
>
>       after realising that I will not be able to find the file
> Makefile.linux I tried the second method which is traditional
> configure
> method. But, after installing every required package and running
> ./buildconf.sh I get :
>
> libtoolize --force --automake --copy
> aclocal
> automake -a --foreign -i --copy
> autom4te: need GNU m4 1.4 or later: /usr/ccs/bin/m4
> configure.in: `AM_INIT_AUTOMAKE' must be used
> automake: your implementation of AM_INIT_AUTOMAKE comes from an
> automake: old Automake version.  You should recreate aclocal.m4
> automake: with aclocal and run automake again.
> configure.in: installing `./install-sh'
> configure.in: installing `./mkinstalldirs'
> configure.in: installing `./missing'
> automake: no `Makefile.am' found or specified
> autoconf
> autom4te: need GNU m4 1.4 or later: /usr/ccs/bin/m4
>
>       I get /usr/local/bin/m4 when I do 'which m4' but I can
> not force my
> system to use /usr/local/bin/m4.
>
> Murat BALKAS
>
>
>
>
>
>
>                       "MURAT BALKAS"
>
>
>                       <murat.balkas@o2.        To:
> "Tomcat Users List" <[EMAIL PROTECTED]>
>
>                       net.tr>                  cc:
>
>
>                                                Subject:
> mod_jk + tomcat on Solaris 8 ( about Turner's HOWTO )
>
>                       10/28/2002 08:22
>
>
>                       PM
>
>
>                       Please respond to
>
>
>                       "Tomcat Users
>
>
>                       List"
>
>
>
>
>
>
>
>
>
>
>
>
>
> Hi,
>
>       I've read your HOWTO and followed the instructions.
> Until the item
> "f" I didn't have any difficulty. But, on the time f I couldn't find
> Makefile.linux to change it to suite for my system.
>
>       Did I forget anything?
>
>       Thanks for the HOWTO. It's what I was looking for.
>
> Murat
>
>
>
>
>                       "Turner, John"
>
>                       <[EMAIL PROTECTED]>        To:       'Tomcat Users
> List' <[EMAIL PROTECTED]>
>                                                cc:
>
>                       10/28/2002 06:32         Subject:  RE:
> mod_jk runs
> but doesnt process
>                       PM
>
>                       Please respond to
>
>                       "Tomcat Users
>
>                       List"
>
>
>
>
>
>
>
>
> http://www.johnturner.com/howto
>
> workers.properties is a file used by mod_jk.  Mod_jk is used
> by Apache to
> connect to Tomcat to serve JSP and servlet requests.  If you
> do not have
> Apache or use Apache, you do not need mod_jk.so or workers.properties.
>
> mod_jk.conf-auto is also known as mod_jk.conf.  This file is
> created by
> Tomcat on startup if Tomcat is configured to create it.  It
> contains the
> Apache directives that belong in httpd.conf in order to use
> mod_jk.so to
> connect to Tomcat.
>
> Tomcat supports virtual hosts out of the box.  In the default
> server.xml,
> there is already a virtual host configured, it is called "localhost".
>
> If you could be more clear what you want to do, plenty of
> people here can
> help.  You might also want to start a new thread instead of
> hijacking this
> one.
>
> John
>
> > -----Original Message-----
> > From: MURAT BALKAS [mailto:murat.balkas@;o2.net.tr]
> > Sent: Monday, October 28, 2002 10:52 AM
> > To: Tomcat Users List
> > Subject: RE: mod_jk runs but doesnt process
> >
> >
> >
> > I need some help about apache + tomcat + virtual hosts.
> >
> > I'm using jakarta-tomcat-4.0.4 and I've a working system. I
> > need to make
> > the working system support virtual hosting.
> > When looking at the documentation I always see some config
> > files which I do
> > not have. e.g. : workers.properties,  mod_jk.conf-auto, ...
> > I'm really confused.
> >
> > Is there any step by step HOWTO which explains mod_jk
> installation for
> > binary tomcat releases.
> >
> > Any help would be greatly appreciated.
> >
> > Murat BALKAS
> >
> >
> >
> >
> >
> >
> >                       "Turner, John"
> >
> >
> >                       <[EMAIL PROTECTED]>        To:
> > 'Tomcat Users List' <[EMAIL PROTECTED]>
> >
> >                                                cc:
> >
> >
> >                       10/28/2002 03:09         Subject:  RE:
> > mod_jk runs but doesnt process
> >
> >                       PM
> >
> >
> >                       Please respond to
> >
> >
> >                       "Tomcat Users
> >
> >
> >                       List"
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Does the request ever get to Tomcat?  What's in Tomcat's logs?
> >
> > John
> >
> >
> > > -----Original Message-----
> > > From: Benjamin Charles Tehan [mailto:benjamin@;evolutionism.org]
> > > Sent: Monday, October 28, 2002 5:50 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: mod_jk runs but doesnt process
> > >
> > >
> > > I have a small problem with mod_jk
> > >
> > > It loads with apache ok, and when I goto
> > > http://localhost/index.jsp it runs
> > > but I get no result back from the web server, though I can
> > > see the connection
> > > in mod_jk.log (attached below)
> > >
> > > Once it gets to "Into ajpv12_handle_response" it stops and
> > > the browser stays
> > > connected with no responce, i tried a simple hello word
> jsp script.
> > >
> > > I'm Running linux (debian 3.0)
> > > I'm Running jakarta-tomcat-4.1.12 binary version
> > > I'm Running jakarta-tomcat-connectors-4.1.12-src compiled
> > from source
> > > apxs -o /usr/lib/apache/mod_jk.so -I../common/
> > > -I${JAVA_HOME}/include/ \
> > > -I${JAVA_HOME}/include/linux -c *.c ../common/*.c
> > >
> > > This has previously worked, I'm sure missed something small
> > > in the config
> > > files some where
> > >
> > > ---------------------
> > > httpd.conf is simply
> > > ---------------------
> > >
> > > LoadModule jk_module        lib/apache/mod_jk.so
> > > AddModule mod_jk.c
> > >
> > > <IfModule mod_jk.c>
> > >   JkWorkersFile /usr/local/tomcat/conf/workers.properties
> > >   JkLogFile /usr/local/tomcat/logs/mod_jk.log
> > >   JkLogLevel debug
> > >   JkMount /*.jsp ajp13
> > >   JkMount /servlet/* ajp13
> > > </IfModule>
> > >
> > > ------------------------------
> > > workers.properties is simply
> > > ------------------------------
> > >
> > > workers.tomcat_home=/usr/local/tomcat
> > > workers.catalina_home=/usr/local/tomcat
> > > workers.java_home=/usr/local/j2sdk1.4.0_01
> > >
> > > ps=/
> > > worker.list=ajp12, ajp13
> > > worker.ajp13.port=8009
> > > worker.ajp13.host=127.0.0.1
> > > worker.ajp12.type=ajp13
> > >
> > > ------------------------
> > > Part of the mod_jk.log
> > > ------------------------
> > >
> > > [Tue Oct 29 06:45:47 2002]  [jk_uri_worker_map.c (460)]: Into
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Tue Oct 29 06:45:47 2002]  [jk_uri_worker_map.c (477)]:
> > > Attempting to map
> > > URI '/index.jsp'
> > > [Tue Oct 29 06:45:47 2002]  [jk_uri_worker_map.c (558)]:
> > > jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13
> > > -> *.jsp
> > > [Tue Oct 29 06:45:47 2002]  [jk_worker.c (132)]: Into
> > > wc_get_worker_for_name
> > > ajp13
> > > [Tue Oct 29 06:45:47 2002]  [jk_worker.c (136)]:
> > > wc_get_worker_for_name, done
> > >  found a worker
> > > [Tue Oct 29 06:45:47 2002]  [jk_ajp12_worker.c (242)]: Into
> > > jk_worker_t::get_endpoint
> > > [Tue Oct 29 06:45:47 2002]  [jk_ajp12_worker.c (137)]: Into
> > > jk_endpoint_t::service
> > > [Tue Oct 29 06:45:47 2002]  [jk_connect.c (132)]: Into
> > jk_open_socket
> > > [Tue Oct 29 06:45:47 2002]  [jk_connect.c (139)]:
> > > jk_open_socket, try to
> > > connect socket = 7
> > > [Tue Oct 29 06:45:47 2002]  [jk_connect.c (148)]:
> > > jk_open_socket, after
> > > connect ret = 0
> > > [Tue Oct 29 06:45:47 2002]  [jk_connect.c (157)]:
> > jk_open_socket, set
> > > TCP_NODELAY to on
> > > [Tue Oct 29 06:45:47 2002]  [jk_connect.c (174)]:
> > > jk_open_socket, return, sd
> > > = 7
> > > [Tue Oct 29 06:45:47 2002]  [jk_ajp12_worker.c (151)]: In
> > > jk_endpoint_t::service, sd = 7
> > > [Tue Oct 29 06:45:47 2002]  [jk_ajp12_worker.c (398)]: Into
> > > ajpv12_handle_request
> > > [Tue Oct 29 06:45:47 2002]  [jk_ajp12_worker.c (402)]:
> > > ajpv12_handle_request,
> > > sending the ajp12 start sequence
> > > [Tue Oct 29 06:45:47 2002]  [jk_ajp12_worker.c (466)]:
> > > ajpv12_handle_request,
> > > sending the headers
> > > [Tue Oct 29 06:45:47 2002]  [jk_ajp12_worker.c (485)]:
> > > ajpv12_handle_request,
> > > sending the terminating mark
> > > [Tue Oct 29 06:45:47 2002]  [jk_ajp12_worker.c (530)]:
> > > ajpv12_handle_request
> > > done
> > > [Tue Oct 29 06:45:47 2002]  [jk_ajp12_worker.c (165)]: In
> > > jk_endpoint_t::service, sent request
> > > [Tue Oct 29 06:45:47 2002]  [jk_ajp12_worker.c (546)]: Into
> > > ajpv12_handle_response
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:tomcat-user-help@;jakarta.apache.org>
> >
> > --
> > To unsubscribe, e-mail:   <
> > mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail: <
> > mailto:tomcat-user-help@;jakarta.apache.org>
> >
> >
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:   <
> mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <
> mailto:tomcat-user-help@;jakarta.apache.org>
>
>
>
>
>
>
>
> --
> To unsubscribe, e-mail:   <
> mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <
> mailto:tomcat-user-help@;jakarta.apache.org>
>
>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <
mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <
mailto:tomcat-user-help@;jakarta.apache.org>







--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to