Apache with Trust and Keystore files

2005-09-07 Thread James R. Marcus
How does Apache2 work with Trust and Key store files that Tomcat is
using for SSL?  
Does any one know of a good doc?  I'm using SSL mod_jk apache2 and
tomcat 5

Thanks,
James


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Apache httpd Tomcat 5 and SSL

2005-09-06 Thread James R. Marcus
I'm using mod_jk to connect httpd and two Tomcat servers running on
different ports.  Apache httpd is acting as the front end and mod_jk is
setup to failover to the second tomcat instance in the event that the
first one goes down.  Tomcat is running our own application servlet.
Before I post all my configurations and detailed explanation, I'll just
ask are there any good How-Tos or examples of dealing with SSL in this
situation.

Should SSL even be turned on in Apache httpd?

All I need Apache httpd to do is pass the client traffic to Tomcat and
back.

James



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



mod_jk Tomcat and Apache httpd two different machines?

2003-12-17 Thread James R. Marcus
I want to run tomcat on our build machine and apache with the Jk
connector on another is this possible?
Are there any good tutorial docs available to do this?

Thanks,
James

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: mod_jk Tomcat and Apache httpd two different machines?

2003-12-17 Thread James R. Marcus
Thanks this helped a lot.  I can now get to main.jsp. I also used this
as reference:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg32735.html

Here are my settings

cvs machine (apache)-
httpd.conf:

# Added for the mod_jk connector
#
# Load mod_jk
#
LoadModule jk_module modules/mod_jk.so
#
# Configure mod_jk
#
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel info
JkMount /cruisecontrol/* cruise
End cvs machine (apache)-

cvs machine workers.properties
# workers.properties 
#

# In Unix, we use forward slashes:
ps=/

# list the workers by name

worker.list=cruise

# 
# tomcat server
# 
worker.cruise.port=8009
worker.cruise.host=cruise.domainname.com
worker.cruise.type=ajp13

#
# END workers.properties
#
End cvs machine workers.properties

On the Tomcat machine I didn't make this entry but this came in the
default server.xml
  !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector port=8009
   enableLookups=false redirectPort=8443 debug=0
   protocol=AJP/1.3 /
I also have a workers.properties file under conf/jk/ I'm not sure if I
need this?

---Cruise workers.properties (Tomcat)---
#BEGIN workers.properties 
worker.list=ajp13 
worker.ajp13.port=8009 
worker.ajp13.host=cvs.domainname.com
worker.ajp13.type=ajp13 
#END workers.properties
---End Cruise workers.properties (Tomcat)---

-Original Message-
From: Asif Chowdhary [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 17, 2003 5:12 PM
To: Tomcat Users List
Subject: RE: mod_jk Tomcat and Apache httpd two different machines?


Yes its possible.

I installed the mod_jk2-2.0.43.dll in apache/modules. Here is what I put

into the diffrent config files:

httpd.conf: just one single row like this:
LoadModule jk2_module modules/mod_jk2-2.0.43.dll

Then I added a worker2.properties in Apache/conf/ like this:

[logger]
level=DEBUG
file=c:/programme/apache group/apache2/logs/jk2.log
[config]
file=c:/programme/apache group/apache2/conf/workers2.properties
debug=0
debugEnv=0
# Shared memory handling. Needs to be set.
[shm]
file=c:/programme/apache group/apache2/logs/shm.file
size=1048576
debug=0
#disabled=0

[channel.socket:localhost:8010]
port=8010
host=127.0.0.1
debug=0

# Example socket channel, explicitly set port and host.
# [channel.socket:localhost:8009]
# port=8009
# host=127.0.0.1
# Example UNIX domain socket
# [channel.un:/usr/local/tomcat/work/jk2.socket]
# tomcatId=localhost:8009
# debug=0
# define the worker
[ajp13:localhost:8010]
#channel=channel.un:/usr/local/pds/tomcat/work/jk2.socket
# To use the TCP/IP socket instead, just comment out the above
# line, and uncomment the one below
channel=channel.socket:localhost:8010

# define the worker
# Announce a status worker
# Uri mapping


[uri:/examples/*]
worker=ajp13:localhost:8010

[uri:/javaroom/*]
worker=ajp13:localhost:8010


[status:status]

[status:]
info=Status worker,displays run time informations

[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
worker=status:status

[uri:/status/*]
worker=status:status

# end of workers2.properties

Finally, I configured this Connector in the Tomcat server.xml:
---
 Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8010
minProcessors=5 maxProcessors=250
acceptCount=10 debug=0
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler
/


I hope this helps you get it running.



-Original Message-
From: James R. Marcus [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 3:17 PM
To: [EMAIL PROTECTED]
Subject: mod_jk Tomcat and Apache httpd two different machines?


I want to run tomcat on our build machine and apache with the Jk
connector on another is this possible?
Are there any good tutorial docs available to do this?

Thanks,
James

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



MemoryRealm

2003-02-06 Thread James R. Marcus
Besides the Realm Configuration HOW-TO on the tomcat documentation page,
where can I find a verbose document with an example of using
MemoryRealm?  I only have one user that needs to authenticate.
 
Thanks,
James
 



RE: MemoryRealm

2003-02-06 Thread James R. Marcus
I am trying it with this example.
http://c2.com/w4/cc/wiki.cgi?PasswordAuthenticatingThe

Thanks,
James
 


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 06, 2003 4:55 PM
To: Tomcat Users List
Subject: RE: MemoryRealm

take a look at conf/tomcat-users.xml

Filip

-Original Message-
From: James R. Marcus [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 06, 2003 1:53 PM
To: [EMAIL PROTECTED]
Subject: MemoryRealm


Besides the Realm Configuration HOW-TO on the tomcat documentation page,
where can I find a verbose document with an example of using
MemoryRealm?  I only have one user that needs to authenticate.
 
Thanks,
James
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]