Looks like your heap size JVM argument is not passed correctly to JVM. try including it inside the double quotes.

Thanks,

Raj

manish wrote:
Hi Ahmed;

I got this error after doing the required setup as mentioned in the link, but I 
am getting this error when I run Catalina.

C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin>catalina run
Using CATALINA_BASE:   C:\Program Files\Apache Software Foundation\Tomcat 6.0
Using CATALINA_HOME:   C:\Program Files\Apache Software Foundation\Tomcat 6.0
Using CATALINA_TMPDIR: C:\Program Files\Apache Software Foundation\Tomcat 
6.0\temp
Using JRE_HOME:        C:\Program Files\Java\jre6
Invalid initial heap size: -Xms256m -Xmx512m -Dofbiz.home=E:/ofbiz
Could not create the Java virtual machine.
With Regards,
Manish.K
www.cevalsoft.com
 Go Green
  Print only when necessary.

-----Original Message-----
From: Ahmed Dini [mailto:[email protected]] Sent: Wednesday, August 05, 2009 10:01 PM
To: [email protected]
Subject: Re: can we host this application inside webapps in tomacat server


http://docs.ofbiz.org/display/OFBTECH/Tomcat
http://docs.ofbiz.org/display/OFBTECH/Tomcat
I followed the instructions on the link above, and managed to successfully
setup Ofbiz to run under external Tomcat, however this does not answer your
question. Ofbiz will not be under Tomcat's webapp directory, but it will run
Ok.



BJ Freeman wrote:
http://docs.ofbiz.org/display/OFBTECH/Run+OFBiz+under+outside+Application+Servers
check out the Tomcat link.


manish sent the following on 8/5/2009 8:00 AM:
Hi;

can we host this application inside webapps in tomcat server

With Regards,
Manish.K
www.cevalsoft.com
 Go Green
  Print only when necessary.




--
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.





Reply via email to