Re: WOLips and jMechanic

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Wed Sep 08 2004 - 03:43:21 EDT

  • Next message: Sako!: "Re: Ant problem in WOLips"

    Hi Brendan,

    Am 07.09.2004 um 20:30 schrieb Brendan Duddridge:

    > 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.
    >

    The HPROF Errors are okay. Are the working directories equal for both
    launch configs?

    Ulrich



    This archive was generated by hypermail 2.0.0 : Wed Sep 08 2004 - 07:20:22 EDT