I try to develop with jar frameworks only (even system frameworks). That works fine when generate bundles but not at all with bundless build.
[2013-1-23 14:17:49 CET] <main> Initialized : er.extensions.ERXExtensions
[2013-1-23 14:17:50 CET] <main> A fatal exception occurred: null
[2013-1-23 14:17:50 CET] <main> java.lang.ExceptionInInitializerError
at com.webobjects.appserver.WOResourceManager.__getJavaWebObjectsResourceAsStream(WOResourceManager.java:116)
at com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOProperties.java:317)
at com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:5743)
at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:779)
at er.extensions.appserver.ajax.ERXAjaxApplication.<init>(ERXAjaxApplication.java:24)
at er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:1094)
at org.cocktail.fwkcktlwebapp.server.CktlWebApplication.<init>(CktlWebApplication.java:124)
at org.cocktail.fwkcktlajaxwebext.serveur.CocktailAjaxApplication.<init>(CocktailAjaxApplication.java:39)
at org.cocktail.coriandre.serveur.Application.<init>(Application.java:138)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
at er.extensions.appserver.ERXApplication.main(ERXApplication.java:826)
at org.cocktail.coriandre.serveur.Application.main(Application.java:134)
Caused by: java.lang.IllegalStateException: Main bundle 'Properties' file can't be read. Did you run as a Java Application instead of a WOApplication in WOLips?
Please post your deployment configuration in the Wonder mailing list.
at er.extensions.appserver.ERXApplication$Loader.collectMainProps(ERXApplication.java:745)
at er.extensions.appserver.ERXApplication$Loader.bundleDidLoad(ERXApplication.java:642)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122)
at com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNotificationCenter.java:588)
at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:532)
at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:562)
at com.webobjects.foundation.NSBundle.postNotification(NSBundle.java:2546)
at com.webobjects.foundation.NSBundle.LoadBundlesFromJars(NSBundle.java:735)
at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:345)
... 18 more
I also put ERFoundation in the classpath before everything else. It looks like WO can't find the main bundle name with this setup...
Has anybody stumble across this one ? I've seen a similar message from Andrew a while ago…