Re: Apache and remote tomcat server

2001-05-27 Thread Y Toshiko
Thank you, Lawson.
I'll try.


- Original Message -
From: "Lawson, Israel H." [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, May 24, 2001 12:43 AM
Subject: RE: Apache and remote tomcat server


 We got this working by replicating the tomcat directory structure on the
 apache box.
 the reason for this lies somewhere in the way MOD_DIR and AUTO_INDEXING
 work.  A good example of what i mean follows

 for the below to work you would have to have a /test directory on you
apache
 server.
 even if you did not have any data in it.  When mod_dir checks to see if a
 directory
 exists it does not for some reason transverse accross the plugin but only
 the
 local filesystem based upon your DOC_ROOT directory.

 On you tomcat server you would create a directory called test inside the
 ROOT
 directory of jakarta-tomcat /usr/local/jakarta-tomcat/webapps/ROOT/test
 This is where you JSP's would go.

 You will also need to modify you workers.properties file and put a copy of
 it
 on the apache server.  the particular line that is important for this is
the
 host line.  It is set by default to be "localhost" change it to the
machine
 that
 is your tomcat server.

 IfModule mod_jk.c

 JkWorkersFile /usr/local/apache/conf/workers.properties
 JkLogFile  logs/jk.log
 JkLogLevel warn
 JkMount /*.jsp ajpB12
 JkMount /test/servlet/* ajpB12
 JkMount /test/*.jsp ajpB12

 Alias /test "/usr/local/jakarta-tomcat/webapps/test"
 Directory "/usr/local/jakarta-tomcat/webXpps/test"
 Options Indexes FollowSymLinks
 /Directory

 Alias /test "/usr/local/jakarta-tomcat/webapps/ROOT/test"

 Directory "/usr/local/jakarta-tomcat/webXpps/ROOT"
 Options Indexes FollowSymLinks
 /Directory

 /IfModule


 This is the only way we have found that allow mod_jk to work
 correctly with tomcat and apache.  if some else on this list
 has gotten this to work, possibly a more correct way please
 post it to the list.  If this is the correct way please let me know
 i have not been able to find ANY documentation pertaining to
 the setup of mod_jk using remote workers.

 Good luck with this,

 Israel

 -Original Message-
 From: Y Toshiko [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 22, 2001 10:46 PM
 To: [EMAIL PROTECTED]
 Subject: Apache and remote tomcat server


 I've going through the archives
 and discovered many messages
 relating to this problem.

 As in "mod_jk and remote tomcat server"
 (25 Apr 2001), Jserv enables Apache to
 access remote tomcat.

 Is it possible to do the same thing with mod_jk?
 Any advise or information is appreciated.

 Toshiko







 --

 Note:  The information contained in this message may be privileged and
confidential
 and protected from disclosure.  If the reader of this message is not the
intended recipient,
 or an employee or agent responsible for delivering this message to the
intended recipient,
 you are hereby notified that any dissemination, distribution or copying of
this communication
 is strictly prohibited.  If you have received this communication in error,
please notify us
 immediately by replying to the message and deleting it from your computer.
Thank you.
 --





Re: Stop Apache ..

2001-05-24 Thread Y Toshiko
On what platform is your Apache working ?
If it's Solaris
# /usr/local/apache/bin/apachect stop
will stop Apache.

# /usr/local/apache/bin/apachect start 
will start Apache.

You can find an article about apachectl in:
http://httpd.apache.org/docs/programs/apachectl.html

Hope this helps.
  
- Original Message - 
From: "Venkatesh Sangam" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 25, 2001 5:28 AM
Subject: Stop Apache ..


 Hi
 Can anyone please tell me how to stop Apache Server (other than Ctrl C)
 Thanks
 Venkatesh
 _
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
 
 


Re: Stop Apache ..

2001-05-24 Thread Y Toshiko
Sorry, made a mistake in my previous mail.
"apachectl" is right.
I wrote "apachect" instead.

input
# /usr/local/apache/bin/apachectl stop

- Original Message -----
From: "Y Toshiko" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 25, 2001 12:26 PM
Subject: Re: Stop Apache ..


 On what platform is your Apache working ?
 If it's Solaris
 # /usr/local/apache/bin/apachect stop
 will stop Apache.

 # /usr/local/apache/bin/apachect start
 will start Apache.

 You can find an article about apachectl in:
 http://httpd.apache.org/docs/programs/apachectl.html

 Hope this helps.

 - Original Message -
 From: "Venkatesh Sangam" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, May 25, 2001 5:28 AM
 Subject: Stop Apache ..


  Hi
  Can anyone please tell me how to stop Apache Server (other than Ctrl C)
  Thanks
  Venkatesh
 
_
  Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.
 
 



Apache and remote tomcat server

2001-05-22 Thread Y Toshiko
I've going through the archives 
and discovered many messages 
relating to this problem.

As in "mod_jk and remote tomcat server"
(25 Apr 2001), Jserv enables Apache to
access remote tomcat.

Is it possible to do the same thing with mod_jk?
Any advise or information is appreciated.

Toshiko