Page 1 of 1

Deploy BLC Demo to Production on Tomcat

Posted: Fri Apr 11, 2014 9:30 am
by jstaff107
Hi all,

I'm new to Broadleaf Commerce, but I've had a bit of experience before with JavaEE/Tomcat. After looking through other answers on the forums here and StackOverflow, I was still unable to find an answer.

I was under the impression that I could run `mvn clean install` to generate a .war, copy the .war to the /webapps/ directory in Tomcat, and after restarting Tomcat, it would be deployed. What am I missing here? I've tried:
- removing ROOT and renaming my .war to ROOT.war; this results in a blank white page
- different urls (/mycompany, /heatclinic, etc); this results in a 404
- HTTP and HTTPS

I haven't edited any of the Tomcat conf files (maybe I should have). Any help here would be greatly appreciated! Thanks!

Re: Deploy BLC Demo to Production on Tomcat

Posted: Tue Apr 15, 2014 9:30 am
by phillipuniverse
You are right, that is all that you have to do. What version of Tomcat are you doing? I do exactly what you described on Tomcat 7.0.47 regularly without issue. Are you using Tomcat 8, perhaps? We have not tested Broadleaf on Tomcat 8 yet.