Posted by
Farakh on
Dec 29, 2009; 2:00pm
URL: http://ofbiz.116.s1.nabble.com/I-tried-many-things-but-not-succeeded-to-install-it-tp990291.html
1) I unzipped the ofbiz-trunk as c:\OfBiz (Window XP Professional)
2) Copy pasted example folder from "framework" to hot-deploy
3) Typed on command prompt c:\OfBiz\startofbiz
4) But its throwing errors. The C:\OfBiz\runtime\logs is attached
error.log5) I read another article and ran the following commands:
ant clean-all
ant run-install
This process stopped by throwing the following error:
[code]
[java] Exception in thread "main" java.lang.NoClassDefFoundErro: org/apache/log4j/Priority
[java] at freemarker.log.Log4JLoggerFactory.getLogger(Log4JLoggerFactory.java:65)
and after many lines there was:
[java] ...20 more
[/code]
I checked C:\OfBiz\runtime\logs\* but there is no error reported by any log file
6) Then I tried with eClipse and its throwing following errors:
2009-12-29 00:08:16,312 (http-0.0.0.0-8080-1) [ControlEventListener.java:63 :INFO ] Creating session: C55C397C399237FEB3DB065C4F8C199E.jvm1
2009-12-29 00:08:16,312 (http-0.0.0.0-8080-1) [ ControlServlet.java:136:INFO ] [[[main] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2009-12-29 00:08:16,312 (http-0.0.0.0-8080-1) [ VisitHandler.java:223:INFO ] Found visitorId [null] in cookie
2009-12-29 00:08:35,625 (http-0.0.0.0-8080-1) [StandardWrapperValve.java:274:ERROR] Servlet.service() for servlet ControlServlet threw exception
java.lang.OutOfMemoryError: Java heap space
I searched and used this for Java heap space:
java -Xmx256M -jar ofbiz.jar
Error occurred during initializtion of VM
Incompatible minimum andmaximum heap sizes specified
I have 1GB RAM in my labtop
Thanks & best regards