Hello Rainer and group,

I copied mod_jk.so.0 from the apache-1.3/.libs directory  to the apache 1.3 
libexec directory as mod_jk.so    and gave it 755.
I created a workers.properties file in /etc/opt/freeware/apache   I placed 
workers.properties with the Apache Web Server files instead of with
the tomcat file since I believe it is part of the Apache Web Server, not Tomcat?

When I run a apachectl configtest command or try to start Apache it takes a 
core dump.
> apachectl configtest
/usr/sbin/apachectl[172]: 2146456 Segmentation fault(coredump)

> apachectl start
/usr/sbin/apachectl[86]: 2703490 Segmentation fault(coredump)
/usr/sbin/apachectl start: httpd could not be started

If I remove the Jk* statements from httpd.conf, apache configtest and starts ok.

I am running out of ideas real fast on this one?

This is my workers.properties file.

# This file provides minimal jk configuration properties needed to
# connect to Tomcat.
#
# We define a worker named 'worker1'
#
workers.tomcat_home=/opt/freeware/apache-tomcat
workers.java_home=/usr/local/bin/java
ps=/
worker.list=worker1
worker.worker1.port=8009
worker.worker1.host=localhost
worker.worker1.type=ajp13
worker.worker1.lbfactor=1

This is my httpd.conf file. I placed the Jk* statements right before the 
section 3 area.
#
# CSU Modification for Single Sign On
#
# Mod_jk settings
#
# Load mod_jk module
LoadModule jk_module libexec/mod_jk.so
# Where to find workers.properties
JkWorkersFile /etc/opt/freeware/apache/workers.properties
# Where to put jk logs
JkLogFile logs/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel debug
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"
# Send JSPs for context /jsp-examples to worker named worker1
JkMount /jsp-examples/*.jsp worker1
# Send servlets-examples to worker named worker1
JkMount /servlets-examples/* worker1
# Send vp_web to worker named worker1
JkMount /vp_web/* worker1


I added the Alias directives as the CSU Modifications for Single Sign On.

</VirtualHost>

</IfDefine>

ScriptAlias /tng/scripts /cau/browser/scripts
ScriptAlias /tngfw/scripts /cau/browser/scripts
Alias /tng /cau/browser
Alias /tngfw /cau/browser
#
# CSU Modification for Single Sign On
#
Alias /jsp-examples /opt/freeware/apache-tomcat/webapps/jsp-examples/
Alias /servlets-example /opt/freeware/apache-tomcat/webapps/servlets-examples/
Alias /vp_web /opt/freeware/apache-tomcat/webapps/vp_web/
PassEnv LANG
<Directory /cau/browser>
Options FollowSymLinks
AllowOverride None
</Directory>
#
# CSU Modification for Single Sign On
#
<Directory /jsp-examples>
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /servlets-examples>
Options FollowSymLinks
AllowOverride None
Allow from all
</Directory>
<Directory /vp_web>
Options FollowSymLinks
AllowOverride None
</Directory>



Thanks you,
Rich







Reply via email to