Return-Path: Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: (qmail 87075 invoked from network); 12 Aug 2009 10:03:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Aug 2009 10:03:39 -0000 Received: (qmail 35292 invoked by uid 500); 12 Aug 2009 10:03:45 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 35222 invoked by uid 500); 12 Aug 2009 10:03:45 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 35212 invoked by uid 99); 12 Aug 2009 10:03:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 10:03:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bjfree@free-man.net designates 69.94.133.32 as permitted sender) Received: from [69.94.133.32] (HELO smtp.free-man.net) (69.94.133.32) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 10:03:33 +0000 Message-ID: <27809169.424291250071391362.JavaMail.root@free-man.net> MIME-Version: 1.0 SPF-test: passed Received: from 49.sub-70-192-236.myvzw.com ([70.192.236.49]) by the Bomb MailServer (JAMES SMTP Server 2.3.1) with SMTP ID 866 for ; Wed, 12 Aug 2009 03:03:11 -0700 (PDT) Date: Wed, 12 Aug 2009 03:03:04 -0700 From: BJ Freeman User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) To: user@ofbiz.apache.org Subject: Re: can we host this application inside webapps in tomacat server References: <007c01ca1a84$ccb32c20$0e2c5b0a@systemd4> <008001ca1a8a$ed1cb110$0e2c5b0a@systemd4> <008401ca1a90$eef09f00$0e2c5b0a@systemd4> <4274883.423301250061185434.JavaMail.root@free-man.net> <21578404.423341250061840901.JavaMail.root@free-man.net> <001701ca1b27$6a724a70$0e2c5b0a@systemd4> <4A8280DB.1070402@gmail.com> <14996993.424191250069794609.JavaMail.root@free-man.net> In-Reply-To: <14996993.424191250069794609.JavaMail.root@free-man.net> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Dofbiz/home=E should specify the path to where the ofbiz.jar is located. manish sent the following on 8/12/2009 2:35 AM: > Hi; > > What I got a new error: > > C:\>catalina run > Using CATALINA_BASE: E:\apache-tomcat-6.0.18 > Using CATALINA_HOME: E:\apache-tomcat-6.0.18 > Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp > Using JRE_HOME: C:\Java\jre6 > Exception in thread "main" java.lang.NoClassDefFoundError: -Dofbiz/home=E > Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:.ofbiz > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClassInternal(Unknown Source) > > > With Regards, > Manish.K > www.cevalsoft.com > >  Go Green > Print only when necessary. > > > -----Original Message----- > From: Raj Saini [mailto:rajsaini@gmail.com] > Sent: Wednesday, August 12, 2009 2:14 PM > To: user@ofbiz.apache.org > Subject: Re: can we host this application inside webapps in tomacat server > > As I pointed out before, log clearly tells about the problem i.e. > "Invalid initial heap size". I am not sure what is wrong there but > certainly this is the cause of the problem as reported by Java > executable. Does your system have enough RAM? Try removing the -Xms and > -Xmx VM arguments all together, run Tomcat and if it goes beyond this > point add them correctly. Also paste the part of the script where these > two are defined. > >> Could not create the Java virtual machine. >> Invalid initial heap size: -Xms256m -Xmx512m -Dofbiz.home=E:/ofbiz >> >> Fatal error: >> Target VM failed to initialize. >> > > > -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro Systems Integrator.