tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leong Hong Wai <...@icom.edu.my>
Subject Re: Mod_jk & apache
Date Mon, 20 Jan 2003 02:20:06 GMT
Hi John,


After tried for every possibility that I can think of, finally I manage 
to get it work, the problem was, I can't used the mod_jk.conf that 
automatically generated by mod_jk, so what I did was write a simple 
mod_jk.conf file following the example I downloaded, and that it ... :)

Though I still can't figure out why it was like that, but I'm glad that 
I can get back to jsp development. And I had a feeling it must something 
to do with virtual host.

Thanks for your HOWTOs, it really help me a lot in preparing all the 
necessary  files and steps to install.

Cheers

Wai


On Friday, January 17, 2003, at 10:19 PM, Turner, John wrote:

>
> Where's httpd.conf?  workers.properties?  What JkMount statements are 
> you
> using?
>
> My HOWTOs may help: http://www.johnturner.com/howto
>
> John
>
>
>> -----Original Message-----
>> From: Leong Hong Wai [mailto:wai@icom.edu.my]
>> Sent: Thursday, January 16, 2003 10:46 PM
>> To: tomcat-user@jakarta.apache.org
>> Subject: Mod_jk & apache
>>
>>
>> Hi,
>>
>> I just upgraded my connector from webapp to jk since almost
>> everyone is
>> telling that webapp will die soon.
>>
>> But after I installed all the components for mod_jk, my
>> apache seems not
>> talking to tomcat anymore. Every time I browse to a jsp page, it will
>> said 404 error , and I also found that the jsp was served under port
>> 16080, but I remember I didn't configure apache to do that.
>>
>> If I run tomcat from port 8080, it will function well, same goes to
>> apache, so I guess they are ok by their own, but not together.
>>
>> Anyway, I attached all the logs that I can find in my machine, the
>> mod_jk.log was empty so I guess the connector was never been
>> triggered
>> at all.
>>
>> Hope somebody can give me a big me on this.
>>
>> Thanks in advance.
>>
>> Wai
>>
>>
>> I running on :-
>> OS X 10.1.4
>> Apache 1.3.26
>> Tomcat 4.0.6 with mod_jk
>>
>> catalina_log :-
>> ==============================================================
>> ============
>> =====
>> 2003-01-17 09:12:30 HttpProcessor[8080][4] Starting background thread
>> 2003-01-17 09:41:12 HttpConnector Opening server socket on
>> all host IP
>> addresses
>> 2003-01-17 09:41:19 HttpConnector[8080] Starting background thread
>> 2003-01-17 09:41:20 HttpProcessor[8080][0] Starting background thread
>> 2003-01-17 09:41:20 HttpProcessor[8080][1] Starting background thread
>> 2003-01-17 09:41:20 HttpProcessor[8080][2] Starting background thread
>> 2003-01-17 09:41:20 HttpProcessor[8080][3] Starting background thread
>> 2003-01-17 09:41:20 HttpProcessor[8080][4] Starting background thread
>> 2003-01-17 09:41:20 Ajp13Connector[8009] Opening server socket on all
>> host IP addresses
>> 2003-01-17 09:41:20 Ajp13Connector[8009] Starting background thread
>> 2003-01-17 09:41:20 Ajp13Connector[8009] accepting socket...
>> 2003-01-17 09:41:20 Ajp13Processor[8009][0] Starting background thread
>> 2003-01-17 09:41:20 Ajp13Processor[8009][0]  Background
>> thread has been
>> started
>> 2003-01-17 09:41:20 Ajp13Connector[8009] added processor to available
>> processors, available=0
>> 2003-01-17 09:41:20 Ajp13Processor[8009][1] Starting background thread
>> 2003-01-17 09:41:20 Ajp13Processor[8009][0] waiting for next
>> socket to
>> be assigned...
>> 2003-01-17 09:41:20 Ajp13Processor[8009][1]  Background
>> thread has been
>> started
>> 2003-01-17 09:41:20 Ajp13Connector[8009] added processor to available
>> processors, available=1
>> 2003-01-17 09:41:20 Ajp13Processor[8009][2] Starting background thread
>> 2003-01-17 09:41:20 Ajp13Processor[8009][1] waiting for next
>> socket to
>> be assigned...
>> 2003-01-17 09:41:20 Ajp13Processor[8009][2]  Background
>> thread has been
>> started
>> 2003-01-17 09:41:20 Ajp13Connector[8009] added processor to available
>> processors, available=2
>> 2003-01-17 09:41:20 Ajp13Processor[8009][2] waiting for next
>> socket to
>> be assigned...
>> 2003-01-17 09:41:20 Ajp13Processor[8009][3] Starting background thread
>> 2003-01-17 09:41:20 Ajp13Processor[8009][3]  Background
>> thread has been
>> started
>> 2003-01-17 09:41:20 Ajp13Connector[8009] added processor to available
>> processors, available=3
>> 2003-01-17 09:41:20 Ajp13Processor[8009][4] Starting background thread
>> 2003-01-17 09:41:20 Ajp13Processor[8009][3] waiting for next
>> socket to
>> be assigned...
>> 2003-01-17 09:41:20 Ajp13Processor[8009][4]  Background
>> thread has been
>> started
>> 2003-01-17 09:41:20 Ajp13Connector[8009] added processor to available
>> processors, available=4
>> 2003-01-17 09:41:20 Ajp13Processor[8009][4] waiting for next
>> socket to
>> be assigned...
>> 2003-01-17 09:42:20 Ajp13Connector[8009] active threads=6
>> 2003-01-17 09:43:20 Ajp13Connector[8009] active threads=6
>> 2003-01-17 09:44:20 Ajp13Connector[8009] active threads=6
>> 2003-01-17 09:45:20 Ajp13Connector[8009] active threads=6
>> 2003-01-17 09:46:20 Ajp13Connector[8009] active threads=6
>> 2003-01-17 09:47:20 Ajp13Connector[8009] active threads=6
>>
>> error_log :-
>> [Fri Jan 17 09:38:28 2003] [notice] Apache/1.3.26 (Darwin)
>> configured --
>> resuming normal operations
>> [Fri Jan 17 09:38:28 2003] [notice] Accept mutex: flock
>> (Default: flock)
>> [Fri Jan 17 09:41:53 2003] [notice] SIGHUP received.  Attempting to
>> restart
>> [Fri Jan 17 09:41:53 2003] [warn] module mod_hfs_apple.c is already
>> added, skipping
>> [Fri Jan 17 09:41:53 2003] [warn] module mod_redirectacgi_apple.c is
>> already added, skipping
>> [Fri Jan 17 09:41:54 2003] [error] (2)No such file or
>> directory: Error
>> while opening the workers, jk will not work
>>
>> [Fri Jan 17 09:41:54 2003] [notice] Apache/1.3.26 (Darwin)
>> configured --
>> resuming normal operations
>> [Fri Jan 17 09:41:54 2003] [notice] Accept mutex: flock
>> (Default: flock)
>> [Fri Jan 17 09:42:15 2003] [error] [client 192.168.1.9] File does not
>> exist: /Library/WebServer/Documents/wai/hello.jsp
>> [Fri Jan 17 09:42:25 2003] [error] [client 192.168.1.9] File does not
>> exist: /Library/WebServer/Documents/manager
>> [Fri Jan 17 09:43:18 2003] [error] [client 192.168.1.9] File does not
>> exist: /Library/WebServer/Documents/examples/jsp/index.html
>>
>> catalina.out :-
>
> --
> 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