You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Khadeeja Ismael <kh...@hotmail.com> on 2002/12/04 16:44:10 UTC

mod_jk.conf

I'm stuck again!
This is the mod_jk.conf file generated in the with the 'auto' folder in 
tomcat's conf.
===================================================================
########## Auto generated on Tue Dec 03 22:38:15 GMT 2002##########

<IfModule !mod_jk.c>
  LoadModule jk_module C:/Program Files/Apache 
Group/Apache2/modules/mod_jk.dll
</IfModule>


<VirtualHost localhost>
    ServerName localhost

    JkMount /admin ajp13
    JkMount /admin/* ajp13

    JkMount /webdav ajp13
    JkMount /webdav/* ajp13

    JkMount /examples ajp13
    JkMount /examples/* ajp13

    JkMount /tomcat-docs ajp13
    JkMount /tomcat-docs/* ajp13

    JkMount /manager ajp13
    JkMount /manager/* ajp13
</VirtualHost>
====================================================================
When I add the line
Include "C:/Program Files/tomcat/conf/auto/mod_jk.conf"
to the httpd file in apache, apache wouldn't start. it gives the error 
message "the requested operation has failed".
Can somebody please help me.

Thanking in advance,
Hajja


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: mod_jk.conf

Posted by Jacob Kjome <ho...@visi.com>.
Hello Khadeeja,

1.  Why is this on the Ant-user list?
2.  use:  LoadModule jk_module modules/mod_jk.dll
3.  Where is is your workers.properties file declaration?  You should
put, right below the </IfModule> something like the following...

JkWorkersFile "c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.12/conf/jk/workers.properties"
JkLogFile "c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.12/logs/mod_jk.log"
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

Also note that your app's will only be available at
http://localhost/....

If you want them available to all hosts through Apache, then remove
the <VirtualHost> stuff.

Jake

Wednesday, December 04, 2002, 9:44:10 AM, you wrote:

KI> I'm stuck again!
KI> This is the mod_jk.conf file generated in the with the 'auto' folder in 
KI> tomcat's conf.
KI> ===================================================================
KI> ########## Auto generated on Tue Dec 03 22:38:15 GMT 2002##########

KI> <IfModule !mod_jk.c>
KI>   LoadModule jk_module C:/Program Files/Apache 
KI> Group/Apache2/modules/mod_jk.dll
KI> </IfModule>


KI> <VirtualHost localhost>
KI>     ServerName localhost

KI>     JkMount /admin ajp13
KI>     JkMount /admin/* ajp13

KI>     JkMount /webdav ajp13
KI>     JkMount /webdav/* ajp13

KI>     JkMount /examples ajp13
KI>     JkMount /examples/* ajp13

KI>     JkMount /tomcat-docs ajp13
KI>     JkMount /tomcat-docs/* ajp13

KI>     JkMount /manager ajp13
KI>     JkMount /manager/* ajp13
KI> </VirtualHost>
KI> ====================================================================
KI> When I add the line
KI> Include "C:/Program Files/tomcat/conf/auto/mod_jk.conf"
KI> to the httpd file in apache, apache wouldn't start. it gives the error 
KI> message "the requested operation has failed".
KI> Can somebody please help me.

KI> Thanking in advance,
KI> Hajja


KI> _________________________________________________________________
KI> Add photos to your messages with MSN 8. Get 2 months FREE*. 
KI> http://join.msn.com/?page=features/featuredemail


KI> --
KI> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
KI> For additional commands, e-mail: <ma...@jakarta.apache.org>



-- 
Best regards,
 Jacob                            mailto:hoju@visi.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>