Thanks BJ
I'm pretty sure I can overcome this problem...(I've been using OFBiz of
several years now.) Not to insult anyone - I just wanted to let you guys
know that the README instructions do not give the desired results. IMHO,
the project shouldn't be putting out pre-packaged code with instructions
that don't work as advertised. It's just not good for business. But
then, that is just my humble opinion.
Regards,
Ruth
BJ Freeman wrote:
try running
ant run
or
startofbiz.bat for windows
or
startofbiz.sh for linux
Ruth Hoffman sent the following on 6/11/2009 8:42 AM:
To Whomever May Be Minding the Store...
Yesterday I downloaded the most recent version from the Apache site
(the big "DOWNLOAD OFBIZ" button) and followed the directions in the
README file exactly as stated:
Welcome to Apache OFBiz!
If you have a release build all you need to run OFBiz is a 1.5 series
JDK (not just the JRE, the full J2SDK).
However if you have downloaded ofbiz from SVN then you should
load the demo data (strongly advised) with the following command
on the command line:
ant run-install
Once that is properly setup just run the executable jar file
that comes with OFBiz, which is ofbiz.jar. To do this on the
command line you would run:
j_*ava -jar ofbiz.jar*_
There are also start scripts for Windows and Unix-based
operating systems, namely startofbiz.bat and startofbiz.sh.
Once OFBiz starts, you can look at the demo storefront at:
http://localhost:8080/ecommerce/
That is, I opened a command line and typed in: java -jar ofbiz.jar
I pointed my browser to "http://localhost:8080/ecommerce" with the
following result:
java.lang.OutOfMemoryError: Java heap space
java.lang.String.substring(String.java:1770)
java.lang.String.substring(String.java:1735)
org.apache.xerces.dom.DeferredAttrNSImpl.synchronizeData(Unknown Source)
org.apache.xerces.dom.AttrImpl.getSpecified(Unknown Source)
org.apache.xerces.dom.DeferredElementNSImpl.synchronizeData(Unknown
Source)
org.apache.xerces.dom.ElementImpl.getNodeName(Unknown Source)
org.ofbiz.base.util.UtilXml.firstChildElement(UtilXml.java:655)
org.ofbiz.base.util.UtilProperties.xmlToProperties(UtilProperties.java:779)
org.ofbiz.base.util.UtilProperties$ExtendedProperties.<init>(UtilProperties.java:921)
org.ofbiz.base.util.UtilProperties.getProperties(UtilProperties.java:539)
org.ofbiz.base.util.UtilProperties$UtilResourceBundle.getBundle(UtilProperties.java:850)
org.ofbiz.base.util.UtilProperties.getResourceBundle(UtilProperties.java:485)
...
FYI - I just wanted to see how well the distribution/download works.
This is just to let you know that its not working so well. At least not
for this instance/version.
Regards,
Ruth