So you actually got a coredump on the file system?

Don't know about AIX, but usually there are tools included that enable you to write out the stack in which the process died. If there is no AIX specific tool, gdb will do (load the core into gdb like

gdb /path/to/my/bin/httpd COREFILE

and then enter "bt" fopr backtrace. This will print a stack in which we will be interested.

Does the coredump also occur, if you set JkLogLevel to info or error?

You config looks OK, there are a lot of things you can delete, but nothing harmfull. See comments below.

Blumlein,Richard wrote:
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'
#

You can remove the next three lines. They are useless.

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

lbfactor is only needed, in case you want to do non-symmetric loadbalancing.

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]

See above, check if the dump only occcurs with debug and not with info or error. Your config shouldn't crash, but sometimes the crashes are within the debug log statements.

Do you get any results in the JkLogFile before the crash happens?

JkLogLevel debug
# Select the log format

You should better stick to the default and delete this.

JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

You should at least delete the option +ForwardURICompat, because newer jk versions have a better default. Use the other two options only, if you have a specific reason.

# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format

You don't need a jk request log for modrn versions, because you can include all jk specific log information in the usual access log.

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

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to