Here it is: ########## Auto generated on Mon Nov 18 10:08:28 EST 2002##########
<IfModule !mod_jk.c> LoadModule jk_module /usr/local/apache2/modules/mod_jk.so </IfModule> JkWorkersFile "/usr/jakarta/tomcat/conf/jk/workers.properties" JkLogFile "/usr/jakarta/tomcat/logs/mod_jk.log" JkLogLevel emerg <VirtualHost localhost> ServerName localhost JkMount /examples ajp13 JkMount /examples/* ajp13 JkMount /webdav ajp13 JkMount /webdav/* ajp13 JkMount /tomcat-docs ajp13 JkMount /tomcat-docs/* ajp13 JkMount /admin ajp13 JkMount /admin/* ajp13 JkMount /manager ajp13 JkMount /manager/* ajp13 </VirtualHost> Jaimes -----Original Message----- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 10:46 AM To: 'Tomcat Users List' Subject: RE: [CONFIG] Apache2.0.40 + Tomcat4.1.12 + mod_jk - STILL HAVING PROBLEMS Nope. Can you post the contents of mod_jk.conf? John > -----Original Message----- > From: Jaimes Blunt [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 18, 2002 10:45 AM > To: Tomcat Users List > Subject: RE: [CONFIG] Apache2.0.40 + Tomcat4.1.12 + mod_jk - STILL > HAVING PROBLEMS > > > Hmmm > I tried remming out the Include file, and Apache starts up fine. > I then tried putting the data in the mod_jk.conf file into > the httpd.conf file in APACHE_HOME/conf and when i tried to > start I got the segmentation fault again. > Any ideas? > > Jaime > > -----Original Message----- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 18, 2002 10:30 AM > To: 'Tomcat Users List' > Subject: RE: [CONFIG] Apache2.0.40 + Tomcat4.1.12 + mod_jk - STILL > HAVING PROBLEMS > > > > Doesn't look Tomcat related. > > Remove the line from httpd.conf that says "Include > /my/mod_jk.conf/file". > > Then try /your/path/to/apache/bin/apachectl configtest. > > If you still get the same error, then there is something > wrong with your > Apache. > > You can also try starting Tomcat, letting it generate > mod_jk.conf, then just > append that to the end of httpd.conf instead of using the "Include" > directive, and try the same thing. > > Also, FYI, you can get rid of all of that stuff in your > workers.properties > file. The only lines you need are list, type, host, and port. > > John > > > > -----Original Message----- > > From: Jaimes Blunt [mailto:[EMAIL PROTECTED]] > > Sent: Monday, November 18, 2002 10:28 AM > > To: Tomcat Users List > > Subject: RE: [CONFIG] Apache2.0.40 + Tomcat4.1.12 + mod_jk - STILL > > HAVING PROBLEMS > > > > > > I installed Apache2.0.43 and am still getting a startup > > error. The exact error I am getting is as follows: > > apachectl: line 87: 26252 Segmentation Fault $HTTPD -t > > > > My httpd.conf file is including the > > $JAKART_HOME/conf/auto/mod_jk.conf file that is automatically > > generated by Tomcat. > > > > Here is the code for my server.xml file: > > <Server port="8005" shutdown="SHUTDOWN" debug="0"> > > <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" > > modJK="/usr/local/apache2/lib/mod_jk.so" > > workersConfig="/usr/jakarta/tomcat/conf/jk/workers.properties"/> > > > > <!-- Global JNDI resources --> > > <GlobalNamingResources> > > <!-- Test entry for demonstration purposes --> > > <Environment name="simpleValue" type="java.lang.Integer" > > value="30"/> > > > > <!-- Editable user database that can also be used by > > UserDatabaseRealm to authenticate users --> > > <Resource name="UserDatabase" auth="Container" > > type="org.apache.catalina.UserDatabase" > > description="User database that can be updated and saved"> > > </Resource> > > <ResourceParams name="UserDatabase"> > > <parameter> > > <name>factory</name> > > > > <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value> > > </parameter> > > <parameter> > > <name>pathname</name> > > <value>conf/tomcat-users.xml</value> > > </parameter> > > </ResourceParams> > > </GlobalNamingResources> > > > > <Service name="Tomcat-Standalone"> > > <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 --> > > <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" > > port="8080" minProcessors="5" maxProcessors="75" > > enableLookups="true" redirectPort="8443" > > acceptCount="10" debug="0" connectionTimeout="20000" > > useURIValidationHack="false" /> > > > > <!-- Define an AJP 1.3 Connector on port 8009 --> > > <Connector className="org.apache.ajp.tomcat4.Ajp13Connector" > > port="8009" minProcessors="5" maxProcessors="75" > > acceptCount="10" debug="0"/> > > > > <!-- Define the top level container in our container > hierarchy --> > > <Engine name="Standalone" defaultHost="localhost" debug="0"> > > <!-- Global logger unless overridden at lower levels --> > > <Logger className="org.apache.catalina.logger.FileLogger" > > prefix="catalina_log." suffix=".txt" > > timestamp="true"/> > > > > <Realm className="org.apache.catalina.realm.UserDatabaseRealm" > > debug="0" resourceName="UserDatabase"/> > > > > <!-- Define the default virtual host --> > > <Host name="localhost" debug="0" appBase="webapps" > > unpackWARs="true" autoDeploy="true"> > > > > <Listener > > className="org.apache.ajp.tomcat4.config.ApacheConfig" > > modJk="/usr/local/apache2/modules/mod_jk.so" > > > > workersConfig="/usr/jakarta/tomcat/conf/jk/workers.properties" > > append="true"/> > > > > <Logger className="org.apache.catalina.logger.FileLogger" > > directory="logs" prefix="localhost_log." > > suffix=".txt" > > timestamp="true"/> > > > > <!-- Tomcat Examples Context --> > > <Context path="/examples" docBase="examples" debug="0" > > reloadable="true" crossContext="true"> > > <Logger className="org.apache.catalina.logger.FileLogger" > > prefix="localhost_examples_log." suffix=".txt" > > timestamp="true"/> > > <Ejb name="ejb/EmplRecord" type="Entity" > > home="com.wombat.empl.EmployeeRecordHome" > > remote="com.wombat.empl.EmployeeRecord"/> > > > > <Environment name="maxExemptions" type="java.lang.Integer" > > value="15"/> > > <Parameter name="context.param.name" > > value="context.param.value" > > override="false"/> > > <Resource name="jdbc/EmployeeAppDb" auth="SERVLET" > > type="javax.sql.DataSource"/> > > <ResourceParams name="jdbc/EmployeeAppDb"> > > > > <parameter><name>username</name><value>sa</value></parameter> > > > > <parameter><name>password</name><value></value></parameter> > > <parameter><name>driverClassName</name> > > <value>org.hsql.jdbcDriver</value></parameter> > > <parameter><name>url</name> > > <value>jdbc:HypersonicSQL:database</value></parameter> > > </ResourceParams> > > <Resource name="mail/Session" auth="Container" > > type="javax.mail.Session"/> > > <ResourceParams name="mail/Session"> > > <parameter> > > <name>mail.smtp.host</name> > > <value>localhost</value> > > </parameter> > > </ResourceParams> > > <ResourceLink name="linkToGlobalResource" > > global="simpleValue" > > type="java.lang.Integer"/> > > </Context> > > </Host> > > </Engine> > > </Service> > > </Server> > > > > Here is my workers.properties file: > > workers.CATALINA_HOME=/usr/jakarta/tomcat > > workers.java_home=/usr/java/jdk1.3.1_03 > > ps=/ > > > > worker.list=ajp13 > > worker.ajp13.port=8009 > > worker.ajp13.host=localhost > > worker.ajp13.type=ajp13 > > worker.ajp13.lbfactor=1 > > > > worker.loadbalancer.type=lb > > worker.loadbalancer.balanced_workers=ajp13 > > worker.inprocess.type=jni > > worker.inprocess.class_path=$(workers.CATALINA_HOME)$(ps)lib$( > > ps)tomcat.jar > > worker.inprocess.cmd_line=start > > worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$ > > (ps)classic$(ps)libjvm.so > > worker.inprocess.stdout=$(workers.CATALINA_HOME)$(ps)logs$(ps) > > inprocess.stdout > > worker.inprocess.stderr=$(workers.CATALINA_HOME)$(ps)logs$(ps) > > inprocess.stderr > > > > ANY help would be greatly appreciated. > > > > Jaimes > > > > -----Original Message----- > > From: Turner, John [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, November 14, 2002 11:37 AM > > To: 'Tomcat Users List' > > Subject: RE: [CONFIG] Apache2.0.40 + Tomcat4.1.12 + mod_jk > > > > > > > > Yeah...reinstall Apache. Sorry, just a personal > > preference...there's really > > no telling what RH has done to the Apache that's in 8.0 (or > any other > > version of their OS). In any case, there are some security > > fixes between > > .40 and .43, you should consider upgrading. > > > > Just in case, the file is apachectl (that's a lowercase L on > > the end, not a > > one)...in your reply it looks like a one, it should be a > > lowercase "L", as > > in "control". > > > > Wish I could help more, but without knowing an exact error > > message, some log > > file snippets, or some config files, there's not much to do > > except guess. > > > > John > > > > > -----Original Message----- > > > From: Jaimes Blunt [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, November 14, 2002 11:33 AM > > > To: Tomcat Users List > > > Subject: RE: [CONFIG] Apache2.0.40 + Tomcat4.1.12 + mod_jk > > > > > > > > > I meant to say my Include points to > > $TOMCAT_HOME/conf/auto/mod_jk.conf > > > That conf file runs the Load Modules and what not as required > > > by apache. It is auto-generated as per the documentation. > > > > > > I am using the default apache install that comes with > > > RedHat8.0. The only log files are found in etc/httpd/logs > > > and I have the choice of an error_lof or an acccess log. The > > > error_log states: > > > [notice} Caught SIGTERM shuttinf down > > > > > > I am trying to run the apachect1 file but when I do a system > > > search, it does not find the file. > > > > > > Any thoughts? > > > > > > Jaimes > > > > > > -----Original Message----- > > > From: Turner, John [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, November 14, 2002 11:16 AM > > > To: 'Tomcat Users List' > > > Subject: RE: [CONFIG] Apache2.0.40 + Tomcat4.1.12 + mod_jk > > > > > > > > > > > > Did you mean to say that the Include line in your httpd.conf was > > > "/some/path/to/tomcat/conf/auto/mod_jk.conf" instead of what > > > you wrote? > > > > > > .so files aren't included in Apache with "Include", they are > > > loaded using a > > > "LoadModule" line. > > > > > > Can you provide the EXACT error message displayed by > > Apache? There's > > > usually more than "Start Failed". What does Apache's log say? > > > > > > Also, you can always check your httpd.conf by > > > "/some/path/to/apache/bin/apachectl configtest", there's no > > > reason to do a > > > full start. > > > > > > John > > > > > > > > > > -----Original Message----- > > > > From: Jaimes Blunt [mailto:[EMAIL PROTECTED]] > > > > Sent: Thursday, November 14, 2002 11:14 AM > > > > To: Tomcat Users (E-mail) > > > > Subject: [CONFIG] Apache2.0.40 + Tomcat4.1.12 + mod_jk > > > > > > > > > > > > Hey Guys, > > > > > > > > I know that this subject has been beaten to death, but I am > > > > at my wits end. I have tried about 8 different tutorials on > > > > the matter, and I always get the same appache message: Start > > > > Failed. I have setup Tomcat by modifying my server.xml file > > > > to use the mod_jk connector, not the Coyote JK2 (I remmed it > > > > out). I have also set up my listener under the as: > > > > <Listener > className="org.apache.ajp.tomcat4.config.ApacheConfig" > > > > modJk="/etc/httpd/modules/mod_jk.so"/> > > > > > > > > I have setup my listener under the Host as: > > > > <Listener > > > > className="org.apache.ajp.tomcat4.config.ApacheConfig" > > > append="true" > > > > modJk="/etc/httpd/modules/mod_jk.so" > > > > > > workersConfig="/usr/jakarta/tomcat/conf/jk/workers.properties"/> > > > > > > > > I have placed my workers.properties file in the > > > > $TOMCAT_HOME/conf/jk directory > > > > > > > > I have setup my apache config file with the following include > > > > at the bottom of the file: > > > > Include /etc/httpd/modules/mod_jk.so > > > > I have also checked to make sure that my apache servername > > > > and my tomcat host servername are the same. > > > > > > > > Tomcat starts up properly each time (No errors anyways) and > > > > the mod_jk.conf file is placed into the > > > > $TOMCAT_HOME/conf/auto directory. When I review this conf > > > > file all of the settings appear to be consistent. > > > > > > > > If anyone has ANY suggestions I would really apprecite it. > > > > > > > > Thanks > > > > > > > > Jaimes Blunt > > > > > > > > > > > > > > > > > > -- > > > 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]> > > > > -- > > 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]> > > -- > 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]> -- 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]>