Hi,
Tomcat doesn't need to find mod_jk - Tomcat listens for mod_jk on port
8007(ajp12) or 8009(ajp13). Mod_jk uses the configuration file included in
apache's file (mod_jk.conf.auto) to determine which to use when handed a JSP
file.
Tomcat tends to recreate the mod_jk.conf.auto file on each start. What I did
was copy this file to something like mod_jk.conf.correct and include this
file in apache. This way you can set up tomcat for your own specific needs.
You could simply make a symbolic link from www/tomcat-conf to wherever
tomcat is. E.g.:-
ln -s /web/tomcat-conf /path/to/tomcat/conf
Of course, if you still used the file mod_jk.conf.auto then it would be
overwritten on each start.
I'm not sure about NFC chat server - I've never heard of it, sorry! 8o)
If its an apache program then include it in apaches config file. If its a
Java program then you should be able to add its location to the classpath in
order for tomcat to find it and allow your java programs to use it
functions.
I hope this all helps, keep persevering!
Regards,
Adam.
----
Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"
----
-----Original Message-----
From: Juan Alberto Cirez [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 03, 2001 3:46 AM
To: [EMAIL PROTECTED]
Subject: Tomcat Mod_jk and NFC Chat
Importance: High
Hello to all.
I am new to this list and to tomcat as well (I come from an apache
background).
I have the following questions:
I am trying to setup Apache to work with TomCat w/mod_jk to work with
NFC Chat Server.
My apache configuration files are located on /web/apache-conf
I start the server with the following command
/path/to/binary/httpd -f /web/apache-conf/httpd.conf
I have include directive so apache includes the tomcat-apache-conf-auto
file in its configuration.
By the way, how do I tell tomcat to look for mod_jk.so in
/path/to/apache/libexec rather than the server's root?
I want to include the configuration for Tomcat in /web/tomcat-conf
How do I start TomCat so it uses this location for all its configuration
file?
I also wat to include the configuration for the NFC Server in
/web/nfc_chat-conf
How do I start the chat server so it uses this configuration file...?
Help, please
-------------------------------------------------------
Juan Alberto Cirez - Chief Creative Officer
[EMAIL PROTECTED] - [EMAIL PROTECTED]
------ hip2linux Professional Services, Inc.-----------
- Fortalezza VPN/Firewall
- Commandante Remote Network Management
- Network Security
- Intranet & Extranet Management
-------------------------------------------------------
www.hip2linux.com www.micanno.com
www.dominicanarmy.com www.basementsuite.com
www.micanno.com www.fortalezza.com
-------------------------------------------------------
Sunny and Beautiful Vancouver, Canada.
-------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]