cancel
Showing results for 
Search instead for 
Did you mean: 

Conflicts between Apache webserver and Apache Tomcat

vivektaneja
Champ in-the-making
Champ in-the-making
Hey Guys,

So I have a Windows server running Windows Server 2003 on it, and have a total of three open-source webapps I'm trying to run.  One of them (SugarCRM) runs on one version of Apache webserver, and the other two (Alfresco, OpenClinica) both utilize Apache Tomcat 5.x.  Now, the problem I'm seeing is that both instances of Apache can't run at the same time, meaning that all three apps can't function at the same time (I'm not able to get to the Alfresco login screen anyhow, and am trying to change up the ports).  Would I need to get a separate IP address to have Alfresco run?  Would I have to install the Apache Tomcat 5.x webserver somewhere else?  Any help would be greatly appreciated.  Thanks!

Cheers,
Vivek
3 REPLIES 3

sanjaykatiyar
Champ in-the-making
Champ in-the-making
Hi,
Althuogh its not neccessary to install 2 tomcat for 2 web applications but yes you can do this.
Let install another tomcat for alfresco and change the default port in the
conf/server.xml file, these lines

<Server port="8005" shutdown="SHUTDOWN">

<!– Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 –>
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8080" minProcessors="5" maxProcessors="75"

Change 8005 to some free port lets say 8006
and 8080 to 8081

Hope this will help.

vivektaneja
Champ in-the-making
Champ in-the-making
Okay so I was able to get my Tomcat Manager up and running on port 8081, so now that I have the alfresco.war file deployed, I receive this 404 Error message when I go to http://localhost:8081/alfreso.  Any reason for this?

Thanks,
Vivek

sanjaykatiyar
Champ in-the-making
Champ in-the-making
It means although your tamcat is running at port 8080 but its able to deploy the war alfresco file.
Check your log files and see the errors.

http://forums.alfresco.com/viewtopic.php?t=6164