WOLips and jMechanic

From: Brendan Duddridge (brenda..lickspace.com)
Date: Tue Sep 07 2004 - 14:30:16 EDT

  • Next message: Ulrich Köster: "Re: Ant problem in WOLips"

    Hi,

    Has anyone managed to get WOLips working with jMechanic? I installed
    jMechanic and WOLips Profiling, but when I run my profiled WO application, I
    get the following in my output:

    HPROF ERROR: unable to resolve a method id
    HPROF ERROR : got a NULL trace in class_load
    HPROF ERROR: unable to map JVMPI obj ID to hprof obj ID in globalref_alloc
    HPROF ERROR: unable to map JVMPI obj ID to hprof obj ID in globalref_alloc
    HPROF ERROR: class ID already in use

    [2004-09-07 12:24:05 MDT] <main> Created adaptor of class WODefaultAdaptor
    on port 63965 and address voyager.local/192.168.5.172 with WOWorkerThread
    minimum of 16 and maximum of 256
    [2004-09-07 12:24:08 MDT] <main> Application project found: Will locate
    resources in '/Users/brendan/Projects/DriveIt/DriveItAdmin' rather than
    '/Users/brendan/Projects/DriveIt/DriveItAdmin/build/DriveItAdmin.woa' .
    [2004-09-07 12:24:09 MDT] <main> Creating LifebeatThread now with:
    DriveItAdmin 63965 voyager.local/192.168.5.172 1085 30000
    *** DIApplication: WOSMTPHost: mail.clickspace.com
    *** DIApplication: SPAM_SMTP_HOST: saturn.clickspace.com
    *** DIApplication: NO_SPAM_SMTP_HOST: krypton.clickspace.com
    In developer mode: true
    Welcome to DriveItAdmin !

    [2004-09-07 12:24:11 MDT] <main> Opening application's URL in browser:
    http://voyager.local:63965/cgi-bin/WebObjects/DriveItAdmin.woa
    [2004-09-07 12:24:11 MDT] <main> Waiting for requests...
    [2004-09-07 12:24:17 MDT] <WorkerThread0>
    WOBundle.lookForClassInAllBundles(CSLogin) failed!
    [2004-09-07 12:24:17 MDT] <WorkerThread0>
    <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception
    occurred while handling request:
    com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException:
    <com.webobjects.appserver.WOSession 0xa980fa> valueForKey(): lookup of
    unknown key: 'isLoggedIn'.
    This class does not have an instance variable of the name isLoggedIn or
    _isLoggedIn, nor a method of the name isLoggedIn, _isLoggedIn,
    getIsLoggedIn, or _getIsLoggedIn

    The first suspect information is at the top with all those HPROF ERRORs. The
    second suspect part is the fact that it can't find my isLoggedIn method,
    which does exist. It works fine if I run the application normally or even in
    the debugger. But when I run it with a Profiled WO App configuration, I get
    the above errors.

    I'm using Eclipse 3.0.1, WOLips beta 3, and jMechanic 0.60.

    Thanks,

    ___________________________

    Brendan Duddridge

    ClickSpace Interactive Inc.
    Suite L100
    239 - 10th Ave SE
    Calgary, AB T2G 0V9
    Canada
    (403) 277-5591
    http://www.clickspace.com/



    This archive was generated by hypermail 2.0.0 : Tue Sep 07 2004 - 14:30:30 EDT