You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Renato <we...@cienciapura.com.br> on 2001/12/12 15:47:09 UTC

Re: Strange problem with mod_jk (desperate for help)

If you are using a different version, you should definitely try to 
recompile, specially if glibc version is diferent.


> 
> 	I have installed mod_jk to connect Apache to Tomcat.  This was a
> module obtained from jakarta's web site.  Apache and Tomcat will both 
start
> up with no problem, but I am getting a 404 error when trying to access a
> *.jsp page.
> 
> 	1)I have this exact same configuration with Tomcat 3.2.1, all I am
> trying to do is put Tomcat 3.2.4 into the same environment on a new 
machine
> (newer version of Linux also).  
> 
> 	2)My mod_jk.log is telling me that it finds a match for a worker,
> here is the output when I try to access the page...
> 	[jk_uri_worker_map.c (344)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> 	[jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker,
> Found a match ajp12
> 	[jk_worker.c (123)]: Into wc_get_worker_for_name ajp12
> 	[jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker
> 
> 	3)My apache error_log is telling me something about a segmentation
> fault, which my properly working environment spits out sometimes (doesn't
> ever cause any problems that I know of).  Here is the output...
> 	[Wed Dec 12 23:56:02 2001] [notice] child pid 7385 exit signal
> Segmentation fault (11)
> 
> 	4)Apache appears to be loading the mod_jk correctly on startup based
> on the information provided in the apache error_log provided below...
> 	[Wed Dec 12 23:07:47 2001] [notice] Apache/1.3.19 (Unix) mod_jk
> mod_perl/1.24_01 mod_throttle/2.11 PHP/4.0.6 FrontPage/4.0.4.3 
mod_ssl/2.8.3
> OpenSSL/0.9.6b configured -- resuming normal operations
> 
> 	5)To me, this appears to be a problem with specifying a wrong path
> for a context or something in server.xml, but I have checked that over and
> over and it all is correct, but here is the path to my vhost in case I am
> missing something.
> 	<Host name="www.cheapshotz.com">
> 	         <Context path=""
> 	
> docBase="/usr/local/psa/home/vhosts/cheapshotz.com/httpdocs">
> 	         crossContext="false"
> 	         debug="0"
> 	         reloadable="true"
> 	         </Context>
> 	  </Host>
> 
> 
> 
> 	I know this is long, but if anyone can point me in the right
> direction, I would REALLY appreciate it!  I have been working on this
> configuration for 2 days now, am so close to completion, but have come to 
a
> dead end.  Should I try to compile mod_jk on my machine?  Every attempt at
> that has resulted in apache not starting up.
> 
> 
> 	Brandon
> 
> 
> 

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: Strange problem with mod_jk (desperate for help)

Posted by Brandon Cruz <bc...@norvax.com>.
OK, that's what I was afraid you would say...I was hoping that if Apache
started, that meant I had a good mod_jk.

Brandon

-----Original Message-----
From: Renato [mailto:webmaster@cienciapura.com.br]
Sent: Wednesday, December 12, 2001 2:47 PM
To: Tomcat Users List
Subject: Re: Strange problem with mod_jk (desperate for help)


If you are using a different version, you should definitely try to
recompile, specially if glibc version is diferent.


>
> 	I have installed mod_jk to connect Apache to Tomcat.  This was a
> module obtained from jakarta's web site.  Apache and Tomcat will both
start
> up with no problem, but I am getting a 404 error when trying to access a
> *.jsp page.
>
> 	1)I have this exact same configuration with Tomcat 3.2.1, all I am
> trying to do is put Tomcat 3.2.4 into the same environment on a new
machine
> (newer version of Linux also).
>
> 	2)My mod_jk.log is telling me that it finds a match for a worker,
> here is the output when I try to access the page...
> 	[jk_uri_worker_map.c (344)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> 	[jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker,
> Found a match ajp12
> 	[jk_worker.c (123)]: Into wc_get_worker_for_name ajp12
> 	[jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker
>
> 	3)My apache error_log is telling me something about a segmentation
> fault, which my properly working environment spits out sometimes (doesn't
> ever cause any problems that I know of).  Here is the output...
> 	[Wed Dec 12 23:56:02 2001] [notice] child pid 7385 exit signal
> Segmentation fault (11)
>
> 	4)Apache appears to be loading the mod_jk correctly on startup based
> on the information provided in the apache error_log provided below...
> 	[Wed Dec 12 23:07:47 2001] [notice] Apache/1.3.19 (Unix) mod_jk
> mod_perl/1.24_01 mod_throttle/2.11 PHP/4.0.6 FrontPage/4.0.4.3
mod_ssl/2.8.3
> OpenSSL/0.9.6b configured -- resuming normal operations
>
> 	5)To me, this appears to be a problem with specifying a wrong path
> for a context or something in server.xml, but I have checked that over and
> over and it all is correct, but here is the path to my vhost in case I am
> missing something.
> 	<Host name="www.cheapshotz.com">
> 	         <Context path=""
>
> docBase="/usr/local/psa/home/vhosts/cheapshotz.com/httpdocs">
> 	         crossContext="false"
> 	         debug="0"
> 	         reloadable="true"
> 	         </Context>
> 	  </Host>
>
>
>
> 	I know this is long, but if anyone can point me in the right
> direction, I would REALLY appreciate it!  I have been working on this
> configuration for 2 days now, am so close to completion, but have come to
a
> dead end.  Should I try to compile mod_jk on my machine?  Every attempt at
> that has resulted in apache not starting up.
>
>
> 	Brandon
>
>
>

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>