Jahia in English > Difference between...

0 (0 Good)
0 (0 Bad)

Difference between JAR and WAR

by  helenv »  2014/06/05 15:40

my isp says they can provide tomcat to run WAR files - what is the difference between a WAR file and a JAR file?  Jahia is compiling to a JAR file - do I have to do something to this to make it a WAR file? or can I run a JAR file on a server that can run a WAR file? if so how?

  (helenv)

Number of messages  15
Registration date
0 (0 Good)
0 (0 Bad)

Re: Difference between JAR and WAR

by  fpral »  2014/07/11 21:56

Hello,

The jar file is the Jahia installer. To install Jahia as a war on an existing Tomcat, launch your Jahia jar file (java -jar Jahia_xCM_v6.6.2.0_r47118.jar), select the custom install, then uncheck  the box "Add Apache Tomcat...", and proceed to the other steps of the installation. At the end, a war file that can be deployed on a tomcat is generated, and you will have a "How-to-install" document in your installation folder which will give you the steps to install Jahia on your Tomcat.

If you want to test Jahia on your own machine, just run the installer and do the "Express install" or check the box "Add Apache Tomcat..." in the custom install.

Regards

Francois Pral (fpral)

Number of messages  21
Registration date
Contact
Share
Feedback

Get in touch

Whether you are a current user or if you are just evaluating Jahia, we are here to help.

Contact us

Share this page