You will need to set the ofbiz.home JVM argument. Something like
-Dofbiz.home=<Name of ofbiz folder>
Thanks,
Raj
Abhijeet Pandey wrote:
Hi All,
what could be reason for following ?
i want to run ofbiz through eclipse. I am able to run it from outside. i am
getting following error while i am trying to Run ofbiz from eclipse.i just
checked out ofbiz through SVN and tried to run it as java application.
it is throwing below error.
Set OFBIZ_HOME to - F:/workspace/ofbiz
Admin socket not configured; set to port 0
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.ofbiz.base.util.Debug.<clinit>(Debug.java:101)
at
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:57)
at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
at org.ofbiz.base.start.Start.init(Start.java:96)
at org.ofbiz.base.start.Start.main(Start.java:412)
Caused by: java.util.MissingResourceException: Can't find bundle for base
name cache, locale en_US
at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:715)
at
org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:226)
at
org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:222)
at org.ofbiz.base.util.cache.UtilCache.<init>(UtilCache.java:181)
at org.ofbiz.base.util.UtilProperties.<clinit>(UtilProperties.java:61)
... 5 more
Please guide.
Thanks