Re: Solved: Application doesnt run within eclipse

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Thu Sep 09 2004 - 14:22:45 EDT

  • Next message: Kaj Hejer: "cvs server: cannot open /root/.cvsignore: Permission denied"

    Moin Thomas,

    a fix for "Waiting for virtual machine to exit" is in the latest beta.
    And yes it's a beta.

    Ulrich

    Am 09.09.2004 um 14:07 schrieb Thomas Fritsche:

    > Hey Dirk,
    >
    > choosing the incremental builder for the frameworks was successful.
    >
    > I´d also prefer to use eclipse 3, but we are dealing with the "Waiting
    > for virtual machine to exit" Bug
    > (the fix is not in a WOLips release) and WOLips is still in beta
    > stadium, so we decided not to change...
    >
    > Thanks a lot,
    > -thomas-
    >
    >> Thomas,
    >>
    >> Are you using packages? Are you using incremental or ant builder?
    >> Does it work if you choose the other builder? Are the frameworks in
    >> the Java Build Path? These are only some suggestions because we
    >> don't use eclipse 2.x any more.
    >>
    >> Cheers,
    >> Dirk
    >>
    >> Am 09.09.2004 um 12:13 schrieb Thomas Fritsche:
    >>
    >>> Hi Dirk,
    >>>
    >>> the application and session classes are not in the frameworks, but
    >>> they extend classes from a framework.
    >>> The defaultAction is called properly, i think that WO dont find the
    >>> WOComponents in the framework, but
    >>> the NSProjectSearchPath is generated correctly.
    >>>
    >>> any ideas?
    >>>
    >>> thx for your answer,
    >>> -thomas-
    >>>
    >>>> Hi Thomas,
    >>>>
    >>>> Are the Application/Session classes in a framework? That is
    >>>> unsupported by WOLips (as far as I know).
    >>>>
    >>>> The stack trace only says there is a NullPointerException in your
    >>>> DirectAction class. Can you add a log statement to the
    >>>> defaultAction to see if the DirectAction is called?
    >>>>
    >>>> Hope that helps,
    >>>> Dirk
    >>>>
    >>>> Am 09.09.2004 um 10:13 schrieb Thomas Fritsche:
    >>>>
    >>>>> Hi,
    >>>>>
    >>>>> if i call our applications from command line all works fine,
    >>>>> now i defined a WOApplication in the Run dialog in eclipse and a
    >>>>> NullPointerException is thrown.
    >>>>>
    >>>>> It seems that WO cant find the main class (Application).
    >>>>> Also WOLips did not create a WOUserDirectory, so
    >>>>> i guess it is a problem with the PB.project file - but all looks
    >>>>> fine.
    >>>>> I've cleaned all projects and rebuilt, but without success.
    >>>>>
    >>>>> Configuration: Eclipse 2.1.3, WOLips 1.0.7.50, WO 5.2.3, Win2000
    >>>>>
    >>>>> Thanks,
    >>>>> -thomas-
    >>>>>
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOMaxIOBufferSize=8196
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOWorkerThreadCountMin=16
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOSocketMonitorSleepTime=50
    >>>>> [2004-09-09 09:39:41 CEST] <main> WODirectConnectEnabled=true
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOIncludeCommentsInResponse=false
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOWorkerThreadCount=8
    >>>>> [2004-09-09 09:39:41 CEST] <main>
    >>>>> WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOIDE=WOLips
    >>>>> [2004-09-09 09:39:41 CEST] <main> WODebuggingEnabled=true
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOListenQueueSize=128
    >>>>> [2004-09-09 09:39:41 CEST] <main>
    >>>>> WOMissingResourceSearchEnabled=true
    >>>>> [2004-09-09 09:39:41 CEST] <main>
    >>>>> WOApplicationClassName=Application
    >>>>> [2004-09-09 09:39:41 CEST] <main>
    >>>>> WOSessionStoreClassName=WOServerSessionStore
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOContextClassName=WOContext
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOCachingEnabled=false
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOAcceptMalformedCookies=false
    >>>>> [2004-09-09 09:39:41 CEST] <main>
    >>>>> NSProjectSearchPath=(..,../..,D:/project/work/secuSuite/src/
    >>>>> Frameworks/IASComponents,D:/project/work/secuSuite/src/Frameworks/
    >>>>> IASUserManagement,D:/project/work/secuSuite/src/Frameworks/
    >>>>> SRTEnterpriseObjects,D:/project/work/secuSuite/src/Frameworks/
    >>>>> SRTExportFramework)
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOMonitorEnabled=false
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOAllowRapidTurnaround=true
    >>>>> [2004-09-09 09:39:41 CEST] <main> WORootDirectory=C:/apple
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOGenerateWSDL=true
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOWorkerThreadCountMax=256
    >>>>> [2004-09-09 09:39:41 CEST] <main>
    >>>>> WOAllowsConcurrentRequestHandling=false
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOAdaptor=WODefaultAdaptor
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOSessionTimeOut=3600
    >>>>> [2004-09-09 09:39:41 CEST] <main> WORoot=C:/apple
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOMaxSocketIdleTime=180000
    >>>>> [2004-09-09 09:39:41 CEST] <main> WODefaultUndoStackLimit=10
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOAutoOpenClientApplication=true
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOAutoOpenInBrowser=true
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOApplicationBaseURL=/WebObjects
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOMaxHeaders=200
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOLifebeatEnabled=true
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOAllowsCacheControlHeader=true
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOSMTPHost=smtp
    >>>>> [2004-09-09 09:39:41 CEST] <main>
    >>>>> WOFrameworksBaseURL=/WebObjects/Frameworks
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOAdditionalAdaptors=()
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOLifebeatDestinationPort=1085
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOPort=-1
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOLifebeatInterval=30
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOSocketCacheSize=100
    >>>>> [2004-09-09 09:39:41 CEST] <main> WOUserDirectory=
    >>>>> [2004-09-09 09:39:41 CEST] <main> WODisplayExceptionPages=true
    >>>>> [2004-09-09 09:39:41 CEST] <main> ------------------------
    >>>>> ..
    >>>>> ..
    >>>>> [2004-09-09 09:39:50 CEST] <WorkerThread0>
    >>>>> <com.webobjects.appserver._private.WODirectActionRequestHandler>:
    >>>>> Exception while handling action named "default" on action class
    >>>>> "null" :java.lang.NullPointerException
    >>>>> [2004-09-09 09:39:50 CEST] <WorkerThread0>
    >>>>> java.lang.NullPointerException
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOComponentDefinition.<init>(WOCo
    >>>>> mp on entDefinition.java:84)
    >>>>> at
    >>>>> com.webobjects.appserver.WOApplication._componentDefinitionFromClas
    >>>>> sN am ed(WOApplication.java:2353)
    >>>>> at
    >>>>> com.webobjects.appserver.WOApplication._componentDefinition(WOAppli
    >>>>> ca ti on.java:2448)
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOHTMLWebObjectTag._componentRefe
    >>>>> re nc
    >>>>> eWithClassNameDeclarationAndTemplate(WOHTMLWebObjectTag.java:129)
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOHTMLWebObjectTag._elementWithDe
    >>>>> cl ar ation(WOHTMLWebObjectTag.java:196)
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOHTMLWebObjectTag.dynamicElement
    >>>>> (W OH TMLWebObjectTag.java:122)
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOHTMLTemplateParser.didParseClos
    >>>>> in gW ebObjectTag(WOHTMLTemplateParser.java:52)
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOHTMLParser.didParseClosingWebOb
    >>>>> je ct Tag(WOHTMLParser.java:183)
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOHTMLParser.endOfWebObjectTag(WO
    >>>>> HT ML Parser.java:150)
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOHTMLParser.parseHTML(WOHTMLPars
    >>>>> er .j ava:67)
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOHTMLTemplateParser.parseHTML(WO
    >>>>> HT ML TemplateParser.java:81)
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOHTMLTemplateParser.parse(WOHTML
    >>>>> Te mp lateParser.java:95)
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOParser.templateWithHTMLAndDecla
    >>>>> ra ti on(WOParser.java:71)
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOComponentDefinition.template(WO
    >>>>> Co mp onentDefinition.java:288)
    >>>>> at
    >>>>> com.webobjects.appserver.WOComponent.templateWithName(WOComponent.j
    >>>>> av a: 597)
    >>>>> at
    >>>>> com.webobjects.appserver.WOComponent.template(WOComponent.java:
    >>>>> 507)
    >>>>> at
    >>>>> com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.j
    >>>>> av a: 982)
    >>>>> at
    >>>>> com.webobjects.appserver.WOComponent._appendPageToResponse(WOCompon
    >>>>> en t. java:1388)
    >>>>> at
    >>>>> com.webobjects.appserver.WOComponent._generateResponseInContext(WOC
    >>>>> om po nent.java:1356)
    >>>>> at
    >>>>> com.webobjects.appserver.WOComponent.generateResponse(WOComponent.j
    >>>>> av a: 1351)
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOActionRequestHandler._handleReq
    >>>>> ue st (WOActionRequestHandler.java:259)
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOActionRequestHandler.handleRequ
    >>>>> es t( WOActionRequestHandler.java:142)
    >>>>> at
    >>>>> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplicatio
    >>>>> n. ja va:1306)
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerTh
    >>>>> re ad .java:173)
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread
    >>>>> .j av a:254)
    >>>>> at java.lang.Thread.run(Thread.java:534)
    >>>>>
    >>>>> --
    >>>>> Thomas Fritsche
    >>>>>
    >>>>>
    >>>
    >>>
    >>> --
    >>> Thomas Fritsche
    >>>
    >>>
    >>
    >>
    >
    >
    > --
    > Thomas Fritsche
    >



    This archive was generated by hypermail 2.0.0 : Thu Sep 09 2004 - 14:19:29 EDT