Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to deploy a WAR file into Apache 2.2

My server is an apache 2.2 who serves php applications, now I would like to configure it to serve J2EE applications as well.

I think there is an Apache module to deploy WAR files into it, Could anybody help me?

Thanks

like image 845
CraicFinder Avatar asked Sep 05 '10 16:09

CraicFinder


People also ask

Can Apache HTTP server deploy war files?

Apache2 is a web server not application, it can't run wars.


2 Answers

Apache is a web server. It doesn't have a servlet/JSP engine built into it.

You can install Tomcat, which is a servlet/JSP engine, and configure Apache to forward requests for servlets and JSPs to it.

You should also know that Tomcat is not a full Java EE app server. It's a servlet/JSP engine, just a subset of Java EE. It doesn't have capabilities for EJBs or JMS. You'll have to add OpenEJB and ActiveMQ to Tomcat to get those.

like image 196
duffymo Avatar answered Sep 28 '22 07:09

duffymo


Apache + mod_proxy + Java EE application server (tomcat + openejb, glassfish, jboss...)

like image 22
Kevin Yang Avatar answered Sep 28 '22 08:09

Kevin Yang