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.log 5) 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 |
what version of the java
JDK to you have? Farakh sent the following on 12/29/2009 6:00 AM: > 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 > http://n4.nabble.com/file/n990291/error.log error.log > 5) 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 |
How did you start ofbiz? Did you use startofbiz.bat file?
D. On Tue, Dec 29, 2009 at 4:15 PM, BJ Freeman <[hidden email]> wrote: > what version of the java > JDK to you have? > > Farakh sent the following on 12/29/2009 6:00 AM: >> 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 >> http://n4.nabble.com/file/n990291/error.log error.log >> 5) 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 > > |
Thanks a lot for whole replies
I started and the problem was that I installed tomcat separately and it was also listening on port 8080. I changed the ports and now its working Thanks & profound regards
|
Free forum by Nabble | Edit this page |