tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MURAT BALKAS" <murat.bal...@o2.net.tr>
Subject mod_jk + tomcat on Solaris 8 ( about Turner's HOWTO )
Date Mon, 28 Oct 2002 18:22:27 GMT

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"                                                     
                                             
                      <JTurner@AAS.com>        To:       'Tomcat Users List' <tomcat-user@jakarta.apache.org>
                         
                                               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"
>
>
>                       <JTurner@AAS.com>        To:
> 'Tomcat Users List' <tomcat-user@jakarta.apache.org>
>
>                                                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: tomcat-user@jakarta.apache.org
> > 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>


Mime
View raw message