Why I fail to launch Demo - version 4.0
Posted: Wed Sep 09, 2015 8:03 am
===========================================================
Problem description
after run tomcat Ant task for the site, on IE, by http://localhost:8080/, only got tomcat page but not site page of broadleaf
tomcat itself works well since
when I put my war file to apache-tomcat-7.0.34\webapps, then start tomcat; from IE, I can get the page in the war file
===========================================================
what I have done
Follow instruction of http://www.broadleafcommerce.com/docs/c ... ng-started
1) setup IDE(eclipse LUNA, Maven ...)
2) download source code
Broadleaf 4.0 workspace Download Link: Broadleaf Eclipse Workspace
3) import Broadleaf 4.0 into eclipse and run add/run associated Ant task
4) Run As -> Maven Install // successful until this step
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ecommerce .......................................... SUCCESS [ 0.499 s]
[INFO] core ............................................... SUCCESS [ 4.682 s]
[INFO] admin .............................................. SUCCESS [ 11.964 s]
[INFO] site ............................................... SUCCESS [ 10.479 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.797 s
[INFO] Finished at: 2015-09-09T20:58:19+08:00
[INFO] Final Memory: 23M/263M
[INFO] ------------------------------------------------------------------------
5) Run tomcat Ant task // log is different from the instruction, and only get tomcat page on IE by http://localhost:8080/
Buildfile: C:\data_for_work\JAVA\JavaTools\DemoSite-4.0.0-GA-eclipse-workspace\eclipse-workspace\DemoSite\site\build.xml
start-db:
[echo] Starting Data Base...
tomcat:
[artifact:mvn] Listening for transport dt_socket at address: 8000
[artifact:mvn] -Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match.
[artifact:mvn] Java Result: 1
BUILD SUCCESSFUL
Total time: 3 seconds
===========================================================
broadleaf commerce
version: 4.0
instruction: http://www.broadleafcommerce.com/docs/c ... ng-started
===========================================================
tomcat
Apache Tomcat/7.0.34
===========================================================
maven
apache-maven-3.3.3
===========================================================
jre
C:\Users\egulian>java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
===========================================================
eclipse
Eclipse Java EE IDE for Web Developers.
Version: Luna Service Release 2 (4.4.2)
Build id: 20150219-0600
===========================================================
OS
windows 7, 64bit
===========================================================
Problem description
after run tomcat Ant task for the site, on IE, by http://localhost:8080/, only got tomcat page but not site page of broadleaf
tomcat itself works well since
when I put my war file to apache-tomcat-7.0.34\webapps, then start tomcat; from IE, I can get the page in the war file
===========================================================
what I have done
Follow instruction of http://www.broadleafcommerce.com/docs/c ... ng-started
1) setup IDE(eclipse LUNA, Maven ...)
2) download source code
Broadleaf 4.0 workspace Download Link: Broadleaf Eclipse Workspace
3) import Broadleaf 4.0 into eclipse and run add/run associated Ant task
4) Run As -> Maven Install // successful until this step
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ecommerce .......................................... SUCCESS [ 0.499 s]
[INFO] core ............................................... SUCCESS [ 4.682 s]
[INFO] admin .............................................. SUCCESS [ 11.964 s]
[INFO] site ............................................... SUCCESS [ 10.479 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.797 s
[INFO] Finished at: 2015-09-09T20:58:19+08:00
[INFO] Final Memory: 23M/263M
[INFO] ------------------------------------------------------------------------
5) Run tomcat Ant task // log is different from the instruction, and only get tomcat page on IE by http://localhost:8080/
Buildfile: C:\data_for_work\JAVA\JavaTools\DemoSite-4.0.0-GA-eclipse-workspace\eclipse-workspace\DemoSite\site\build.xml
start-db:
[echo] Starting Data Base...
tomcat:
[artifact:mvn] Listening for transport dt_socket at address: 8000
[artifact:mvn] -Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match.
[artifact:mvn] Java Result: 1
BUILD SUCCESSFUL
Total time: 3 seconds
===========================================================
broadleaf commerce
version: 4.0
instruction: http://www.broadleafcommerce.com/docs/c ... ng-started
===========================================================
tomcat
Apache Tomcat/7.0.34
===========================================================
maven
apache-maven-3.3.3
===========================================================
jre
C:\Users\egulian>java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
===========================================================
eclipse
Eclipse Java EE IDE for Web Developers.
Version: Luna Service Release 2 (4.4.2)
Build id: 20150219-0600
===========================================================
OS
windows 7, 64bit
===========================================================