<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>I installed apache v1.3.34 (CSWapache) and mod_jk2 v2.0.2
(CSWmodjk) and whenever I try to start it, I get the module error. OS
is Solaris 10 and has the latest patches. I can’t get this to work
at all. If I remove my mod_jk2.conf file line from httpd.conf, then it’s
fine. But, that defeats the purpose. I know I’m missing
something but just can seem to figure out what it is. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal> [Wed Aug 15 18:12:31 2007] ( info) [mod_jk2.c
(208)]: Set serverRoot /j2ee/apache<o:p></o:p></p>
<p class=MsoNormal>Create config for main host<o:p></o:p></p>
<p class=MsoNormal>Syntax error on line 6 of /j2ee/local/conf/mod_jk2.conf:<o:p></o:p></p>
<p class=MsoNormal>Invalid command 'JkWorkersFile', perhaps mis-spelled or
defined by a module not included in the server configuration<o:p></o:p></p>
<p class=MsoNormal>/j2ee/apache/bin/apachectl startssl: httpd could not be
started<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><b>cat /j2ee/local/conf/mod_jk2.conf<o:p></o:p></b></p>
<p class=MsoNormal><IfModule !mod_jk2.c><o:p></o:p></p>
<p class=MsoNormal> LoadModule
jk2_module /j2ee/apache/libexec/mod_jk2.so<o:p></o:p></p>
<p class=MsoNormal></IfModule><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><IfModule mod_jk2.c><o:p></o:p></p>
<p class=MsoNormal>JkWorkersFile
"/j2ee/apache/conf/workers2.properties"<o:p></o:p></p>
<p class=MsoNormal>JkLogFile "/j2ee/tomcat/logs/mod_jk.log"<o:p></o:p></p>
<p class=MsoNormal>JkLogLevel info<o:p></o:p></p>
<p class=MsoNormal>JkMount /*.jsp ajp13<o:p></o:p></p>
<p class=MsoNormal></ifModule><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><b>My httpd.conf (some of the lines that reflect mod_jk2)<o:p></o:p></b></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>LoadModule
jk2_module libexec/mod_jk2.so<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>#I have tried commenting out mod_jk2.c lines, and have added
the mod_jk2.conf settings as well. And both doesn’t to work.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal># For mod_jk2 support. Added by CSWmodjk2 <o:p></o:p></p>
<p class=MsoNormal><IfModule mod_jk2.c><o:p></o:p></p>
<p class=MsoNormal></IfModule><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Include /j2ee/local/conf/mod_jk2.conf<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><i><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:olive'>Maunir Shah</span></i><span style='font-size:12.0pt;font-family:
"Times New Roman","serif"'><o:p></o:p></span></p>
<p class=MsoNormal><i><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:olive'>630-285-5875 - desk</span></i><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
<p class=MsoNormal><i><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:olive'>630-550-6266 - cell</span></i><o:p></o:p></p>
</div>
</body>
</html>