It's not a secret anymore!
The moose likes Tomcat and the fly likes Integrating Apache2 with Tomcat4.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Integrating Apache2 with Tomcat4.1" Watch "Integrating Apache2 with Tomcat4.1" New topic

Integrating Apache2 with Tomcat4.1

Kim Kantola
Ranch Hand

Joined: May 17, 2001
Posts: 276
Hi All,
I have experience writing Tomcat webApplications, but now have to write a new Tomcat webApp that will be connected to an Apache Application. I have been reading a lot about the integration of Apache w/ Tomcat and am confused about something.

The web app will run under Tomcat on Port 8080, the Apache app will have a hyperlink that will point to the Tomcat app (http://localhost:8080/myApp).

My question is this, I am reading in an Apache book a paragraph titled "troublesome double authentication". It states that trying to communicate authentication between an Apache App and a Tomcat app can be
"tricky and may not be worth the effort".
Anyone Agree, Disagree with this statement?

What I want to do is this, the apache web app will require authentication, when they click on the hyperlink, I would like to pass the state of the session to the Tomcat Application, the particulars of the session that I am interested in are what the userID is of the user who was authenticated, and also if the session of the Apache Application has not timed out.

Any good techniques to advise?
Thanks very much for any reply!
I agree. Here's the link:
subject: Integrating Apache2 with Tomcat4.1
It's not a secret anymore!