Startup seems to have ability fail more gracefully

Minor patch in https://issues.apache.org/jira/browse/OFBIZ-3323
could help

Failure with wrong sdk gives this:

Java Version - ... - is not supported by OFBiz.
Please install Java2 SDK 1.6

better than ugly stack trace


Harmeet


David E Jones wrote:
Which version of Java are you running this on?

From this message it looks like you are trying Java 5 (1.5), and now the trunk 
requires Java 6 based on a discussion, and then vote a week or so ago.

-David


On Dec 6, 2009, at 4:36 PM, Ruth Hoffman wrote:

FYI -
OOTB, current trunk, nightly build (ofbiz-trunk-current.zip)
unzip + ./startofbiz.sh
Gets me this in the log file....And that is as far as we go...What is up with 
this?

009-12-06 17:32:54,165 (main) [ ComponentContainer.java:126:INFO ] All 
components loaded
2009-12-06 17:32:54,363 (main) [ClassLoaderContainer.java:50 :INFO ] 
CachedClassLoader created
Exception in thread "main" java.lang.NoClassDefFoundError: 
java/util/concurrent/LinkedBlockingDeque
      at org.ofbiz.entity.GenericDelegator.<clinit>(GenericDelegator.java:121)
      at 
org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:34)
      at 
org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:25)
      at 
org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:181)
      at 
org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:31)
      at 
org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:174)
      at 
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:188)
      at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65)
      at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258)
      at org.ofbiz.base.start.Start.init(Start.java:96)
      at org.ofbiz.base.start.Start.main(Start.java:409)





Reply via email to