Re: Help: D2WModel trying to load

From: Anjo Krank (kran..ogicunited.com)
Date: Tue Mar 06 2007 - 19:21:11 EST

  • Next message: Lachlan Deck (JIRA): "[OS-JIRA] Created: (WOL-390) Customise framework, adding custom framework adds it twice to ant.frameworks.wo.wolocalroot (at the top and bottom of the file)"

    Am 07.03.2007 um 00:51 schrieb Lachlan Deck:

    > I don't want a D2W app. But I don't know where to look to find out
    > why this is happening.
    >
    > Any ideas?

    cat MyApp.woa/Contents/MacOS/MacOSClassPath.txt?

    However,

    >>> at com.webobjects.foundation.NSBundle.initPrincipalClass
    >>> (NSBundle.java:2554)

    Means that you have a f*cked up principal class somewhere, so check
    these.

    With Wonder, you could add some logging to ERXapp.

            public static void bundleDidLoad(NSNotification n) {
                    NSBundle bundle = (NSBundle) n.object();
                    // System.out.println(bundle.name() + ": " + allFrameworks);
                    allFrameworks.remove(bundle.name());

    and see where the wrong bundle is.

    Cheers, Anjo



    This archive was generated by hypermail 2.0.0 : Tue Mar 06 2007 - 19:21:23 EST