Hi Alexis,

By bundleless build you mean running the application with the 
NSProjectBundleEnabled property active? I don't think Wonder is capable of 
handling jar frameworks in this mode yet.

Cheers,

Henrique

On 23/01/2013, at 11:47, Alexis Tual <alexis.t...@gmail.com> wrote:

> Hi list,
> 
> I try to develop with jar frameworks only (even system frameworks). That 
> works fine when generate bundles but not at all with bundless build.
> I get this error on startup : 
> 
> [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
> 
> Wonder version : 5.5.0 (same thing with 5.8.2)
> 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…
> 
> Thanks for your help
> 
> -- 
> Alexis Tual
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com
> 
> This email sent to hpra...@gmail.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to