Hi;
C:\Documents and Settings\subash>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:/ofbiz
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: BJ Freeman [mailto:[email protected]]
Sent: Wednesday, August 12, 2009 3:33 PM
To: [email protected]
Subject: Re: can we host this application inside webapps in tomacat server
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:[email protected]]
> Sent: Wednesday, August 12, 2009 2:14 PM
> To: [email protected]
> 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.