Hi,

I am trying to connect my OpenSA server (which is baiscally an Apache
1.3.27 httpd) with my Tomcat 5.0 using jk2 and Java 1.4.2 on a Windows
XP machine.

I thought I were following the documentation, but I get this error which
most probably prevents the servers from being connected:
#### > tomcat stdout.log 
16.12.2003 14:00:12 org.apache.jk.server.JkMain start
INFO: APR not loaded, disabling jni components: java.io.IOException:
java.lang.UnsatisfiedLinkError:
C:\Programme\Internet\jk2\mod_jk2-1.3.27-jni.dll: Can't find dependent
libraries
16.12.2003 14:00:12 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
#### <

If I understand right, it does not complain about the jk2-library but
about *other* libraries not being present. If so, how can I find out,
which ones and how do I solve my problem?

My jk2 libraries (mod_jk2-1.3.27-jni.dll and mod_jk2-1.3.27.dll) live in
C:\Programme\Internet\jk2 (as seen above).

The jk2.properties looks like:
#### > jk2.properties
handler.list=apr,channelSocket,request
channelSocket.port=8009
apr.NativeSo=C:/Programme/Internet/jk2/mod_jk2-1.3.27-jni.dll
#### <

My httpd.conf has the follwing line appended:
LoadModule jk2_module "C:/Programme/Internet/jk2/mod_jk2-1.3.27.dll"

The workers2.properties looks like:
#### > workers2.properties
[shm]
file=${serverRoot}/logs/shm.file
size=1048576

[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[uri:/mellibase/*]
worker=ajp13:localhost:8009
#### <

Trying to go to http://localhost/mellibase gives me an http 500 error:
"The server encountered an internal error or misconfiguration and was
unable to complete your request."

This produces some lines in the OpenSA's jk2.log:
### > jk2.log
[Tue Dec 16 12:39:29 2003]  (error) [jk_shm.c (358)]: shm.create():
error mmapping c:/opensa/apache/logs/shm.file
[Tue Dec 16 12:41:53 2003]  (error) [jk_endpoint.c (90)]:
workerEnv.init() create slot epStat.0 failed
[Tue Dec 16 12:41:53 2003]  (error) [mod_jk2.c (427)]: mod_jk.handler()
Error connecting to tomcat 21000
### <

If you have any idea what happens, I'll be thankful!

Bye,
Till

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

Reply via email to