Page 1 of 1

Failed to run the Broadleaf Commerce 1.5 Demo

Posted: Sun Jan 29, 2012 3:55 am
by mqyang
Dear all,

I tried to run BLC 1.5 demo through excuting following command according to this guide: http://www.broadleafcommerce.org/conflu ... plications. Below is the information.

C:\Software\broadleaf\BLC\demo>c:\jdk1.6.0_29\bin\java -jar broadleaf-demo-launcher-1.5.0-RC1.jar

start-db:
[echo] Starting Data Base...

jetty-start:
[echo] C:\Software\broadleaf\BLC\demo\libs\ant-1.7.1.jar;C:\Software\broadleaf\BLC\demo\libs\ant-launcher-1.7.1.jar
;C:\Software\broadleaf\BLC\demo\libs\core-3.1.1.jar;C:\Software\broadleaf\BLC\demo\libs\geronimo-annotation_1.0_spec-1.0
.jar;C:\Software\broadleaf\BLC\demo\libs\geronimo-spec-jta-1.0.1B-rc4.jar;C:\Software\broadleaf\BLC\demo\libs\hsqldb-2.2
.4.jar;C:\Software\broadleaf\BLC\demo\libs\jetty-6.1.22.jar;C:\Software\broadleaf\BLC\demo\libs\jetty-annotations-6.1.22
.jar;C:\Software\broadleaf\BLC\demo\libs\jetty-management-6.1.22.jar;C:\Software\broadleaf\BLC\demo\libs\jetty-naming-6.
1.22.jar;C:\Software\broadleaf\BLC\demo\libs\jetty-plus-6.1.22.jar;C:\Software\broadleaf\BLC\demo\libs\jetty-util-6.1.22
.jar;C:\Software\broadleaf\BLC\demo\libs\jsp-2.1-glassfish-9.1.1.B60.25.p2.jar;C:\Software\broadleaf\BLC\demo\libs\jsp-2
.1-jetty-6.1.22.jar;C:\Software\broadleaf\BLC\demo\libs\jsp-api-2.1-glassfish-9.1.1.B60.25.p2.jar;C:\Software\broadleaf\
BLC\demo\libs\mail-1.4.1.jar;C:\Software\broadleaf\BLC\demo\libs\servlet-api-2.5-20081211.jar;C:\Software\broadleaf\BLC\
demo\libs\start-6.1.22.jar
[java] Could not create the Java virtual machine.
[java] Error occurred during initialization of VM
[java] Could not reserve enough space for object heap
[java] Java Result: 1

How to fix this problem?

My OS: Windows XP sp2
Memory: 3G

Thanks a lot

Michael

Re: Failed to run the Broadleaf Commerce 1.5 Demo

Posted: Sun Jan 29, 2012 1:29 pm
by bpolster
[url][/url]The instructions referred to below are out of date. I've moved them to an archived section of the documentation. To run the demo locally, you'll need to build it first. This ensures that the demo is always up to date. I've added some brief instructions to the getting started page.(http://www.broadleafcommerce.org/confluence/display/BLC15/Getting+Started). Specifically, on the demo page (http://www.broadleafcommerce.org/confluence/display/BLC15/Broadleaf+Demo).