This may not make a difference, but many people have found that they have
problems with JK (and probably JK2) when dealing with pathnames that have
spaces. The Apache installer does install Apache into a pathname with
spaces, but the Apache dev team and install team is separate from the
connector team, and there is no guarantee that they are coordinating.
One thing I would do as a process of elimination is install Apache to
someplace like c:\apache and Tomcat to someplace like c:\tomcat, then see if
you continue to get the error.
John
-Original Message-
From: Vjeran Marcinko [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 18, 2002 12:56 AM
To: [EMAIL PROTECTED]
Subject: JK2 and Apache1.3 win
Hi.
I'm having problem instaling jk2 connector on my Apache 1.3 win...
I downloaded 'mod_jk2-1.3.27.dll' and used basic
configuration, that meaning 'workers2.properties' as follows :
[shm]
file=${serverRoot}/logs/shm.file
size=1048576
# Example socket channel, override port and host.
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
# Uri mapping
[uri:/examples/*]
worker=ajp13:localhost:8009
I didn't chage anything in jk2.properties file on Tomcat
since it starts default channelSocket on port 8009.
And now I get following errors in jk2.log during initialization :
[Wed Oct 16 13:24:02 2002] (error) [jk_shm.c (358)]:
shm.create(): error mmapping c:/program files/apache
group/apache/logs/shm.file
[Wed Oct 16 13:24:02 2002] (error) [jk_shm.c (358)]:
shm.create(): error mmapping c:/program files/apache
group/apache/logs/shm.file
[Wed Oct 16 13:24:02 2002] (error) [jk_shm.c (358)]:
shm.create(): error mmapping c:/program files/apache
group/apache/logs/shm.file
[Wed Oct 16 13:24:02 2002] (error) [jk_shm.c (358)]:
shm.create(): error mmapping c:/program files/apache
group/apache/logs/shm.file
[Wed Oct 16 13:24:02 2002] (error) [jk_shm.c (358)]:
shm.create(): error mmapping c:/program files/apache
group/apache/logs/shm.file
And following during some request on /examples web app:
[Wed Oct 16 13:25:03 2002] (error) [jk_endpoint.c (90)]:
workerEnv.init() create slot epStat.0 failed
[Wed Oct 16 13:25:03 2002] (error) [mod_jk2.c (427)]:
mod_jk.handler() Error connecting to tomcat 21000
Can you tell me something more, because this verbosity above
doesn't help me much...
regards,
Vjeran
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]