File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts with Apache and Tomcat Combination?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts with Apache and Tomcat Combination??" Watch "Struts with Apache and Tomcat Combination??" New topic

Struts with Apache and Tomcat Combination??


Joined: Oct 04, 2005
Posts: 6

Is there anybody experienced with struts on apache and tomcat combination.

I've two webservers, apache on port 80 and tomcat on port 8080.

I used apache for every web app on my site including php.

also i used tomcat for java web app for background process.

Normally it is working very well. it means all of my java web app (jsp and servlet) on apache.

But I can't call my struts from my apache server.

Could you please help me?

Thanks in advanced

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Hello "Dennis"-

You may have missed that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name and a last name. Since yours does not conform with it, please take a moment to change it, which you can do right here.

As to your question, one doesn't "call struts from my apache server" - httpd couldn't care less about what kind of frameworks Tomcat uses. Can you access other Tomcat URLs through httpd? Can you access the URLs handled by Struts directly, without going through httpd? Are there any error messages in either the httpd or Tomcat logs?
I agree. Here's the link:
subject: Struts with Apache and Tomcat Combination??
It's not a secret anymore!