RE: mod_rewrite and mod_jk

2003-07-22 Thread Ori Tend
Simon, thanks, it did help. Looks like I missed it for some reason. 

Ori.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 22, 2003 6:34 PM
To: Tomcat Users List
Subject: RE: mod_rewrite and mod_jk


Did you try this?
http://www.mail-archive.com/[EMAIL PROTECTED]/msg97652.html

At 09:31 22.07.2003 +0200, you wrote:
>I've seen many posts on the subject, yet none helped me.
>I've got a tomcat 4.1.24 webapp, connected via mod_jk to apache 2.0.46.

>for some reason, mod_jk takes precedence over mod_rewrite, for all urls

>mapped to mod_jk with JkMount directives.
>
>I tried switching the order of the LoadModules (jk before rewrite and 
>vice versa), and tried moving around the mod_rewrite directives into 
>the virtual host / server config- but still, mod_rewrite works only for

>urls which aren't mapped to mod_jk.
>
>does anyone have any idea?
>
>thanks,
>ori.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: mod_rewrite and mod_jk

2003-07-21 Thread Ori Tend
I've seen many posts on the subject, yet none helped me.
I've got a tomcat 4.1.24 webapp, connected via mod_jk to apache 2.0.46.
for some reason, mod_jk takes precedence over mod_rewrite, for all urls
mapped to mod_jk with JkMount directives.
 
I tried switching the order of the LoadModules (jk before rewrite and
vice versa), and tried moving around the mod_rewrite directives into the
virtual host / server config- but still, mod_rewrite works only for urls
which aren't mapped to mod_jk.
 
does anyone have any idea?
 
thanks,
ori.


mod_jk2 throw these errors in apache error_log

2003-03-03 Thread Ori Tend
I'm getting tons of these errors in my apache2 error_log.
Is anyone familiar with that?

[error] channelSocket.receive(): Error receiving message body -1 11
[error] workerEnv.processCallbacks() Error reading reply
[error] ajp13.service() ajpGetReply recoverable error 12
[error] channelSocket.receive(): Error receiving message body -1 11
[error] workerEnv.processCallbacks() Error reading reply
[error] ajp13.service() ajpGetReply recoverable error 12
[error] channelSocket.receive(): Error receiving message body -1 11
[error] workerEnv.processCallbacks() Error reading reply
[error] ajp13.service() ajpGetReply recoverable error 12
[notice] Graceful restart requested, doing restart


It looks like apache keeps to gracefully restart, even though I don't
signal it.
I hope someone saw this before

Ori.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



mod_jk2 + apache2... almost there...

2003-02-27 Thread Ori Tend
Hi guys,
 
I've set up tomcat 4.1.18 with apache2, connected via mod_jk2.
everything seems to work fine- servlets, jsps and static content.
however, apache error log shows some suspicious activity... this keeps
showing every 5 minutes or so.
also, I never restart apache, yet every now and then I get a " [notice]
Graceful restart requested, doing restart" in the logs.
I'm kinda out of ideas what to do.. please.. any ideas will be
appreciated :-)
 
thanks,
Ori.
 
 
Here's apache error_log:
=
[Thu Feb 27 03:24:57 2003] [notice] Graceful restart requested, doing
restart
[Thu Feb 27 03:25:36 2003] [notice] Apache/2.0.44 (Unix)
mod_jk2/2.0.3-dev configured -- resuming normal operations
[Thu Feb 27 03:25:36 2003] [error] mod_jk child workerEnv in error state
1
[Thu Feb 27 03:25:36 2003] [error] mod_jk child init 1 0
[Thu Feb 27 03:25:36 2003] [error] mod_jk child workerEnv in error state
1
[Thu Feb 27 03:25:37 2003] [error] [client 127.0.0.1] File does not
exist: /usr/local/apache2/htdocs/whm-server-status
[Thu Feb 27 03:32:14 2003] [error] channelSocket.open() connect failed
127.0.0.1:8009 111 Connection refused 
[Thu Feb 27 03:32:14 2003] [error] ajp13.connect() failed
ajp13:localhost:8009
[Thu Feb 27 03:32:14 2003] [error] mod_jk.handler() Error connecting to
tomcat 12

Here's my  tag at tomcat's server.xml



 
(I dont have jk2.properties at cataline/conf, as Im using default
values)
 
Here's my worker2.properties (under {ServerRoot}/conf)
==
[config:]
file=${serverRoot}/conf/workers2.properties
debug=0
debugEnv=1
 
[uriMap:]
info=Maps the requests. Options: debug
debug=0

[shm:]
info=Scoreboard. Required for reconfiguration and status with
multiprocess servers
file=${serverRoot}/logs/jk2.shm
size=100
debug=0
disabled=0
 
[status:]
info=Status worker, displays runtime informations
[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:
 
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
 
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
 
# Uri mapping
[uri:/*.jsp]
worker=ajp13:localhost:8009
[uri:/*.do]