Re: Re : Unable to find framework named

From: Anjo Krank (kran..ogicunited.com)
Date: Thu Jan 24 2008 - 05:33:24 EST

  • Next message: Q: "Re: Uli's Groovy Example"

    The default values should be:

    resources.include.patternset=Components/**/*.api, Components/**/*.wo,
    Resources/**/*

    and NOTHING else. In this order, with these EXACT patterns. In
    particular Components/**/*.wo/**/* most likely won't work.

    If they are different, then log a bug with WOLips version and
    beforehand check if you modified the templates in any way.

    Cheers, Anjo

    Am 24.01.2008 um 09:55 schrieb ashenshugar62-w..ahoo.fr:

    > Re
    >
    > when I create a "new WebObjects Project" , the components are for
    > the default in the directory "Components"
    >
    > I see in the resources.includes.patern
    > the default values are
    > Components/**/*.wo/**/*
    >
    > Components/**/*.api
    >
    > Resources/**/*
    >
    > But it is not working, it don't find the component in the directory
    > "Components" and it don't move in the build.
    >
    > I'm modifying as
    >
    > **/*.wo/
    >
    > **/*.api
    >
    > Resources/**/*
    >
    > **/*.eomodeld/
    >
    >
    > It's working :-)
    >
    >
    > if you have a best configuration or if you can explain why
    > "Components/**/*.wo/**/*" not working, answer me....
    >
    >
    > thanks
    >
    >
    > Excuse me for my bad english.
    >
    >
    > Eric
    >
    >
    >
    >
    > ----- Message d'origine ----
    > De : David Avendasora <webobject..vendasora.com>
    > À : woproject-de..bjectstyle.org
    > Envoyé le : Mercredi, 23 Janvier 2008, 22h23mn 39s
    > Objet : Re: Unable to find framework named
    >
    > Look at: http://lists.apple.com/archives/webobjects-dev/2008/Jan/msg00474.html
    >
    > On Jan 23, 2008, at 8:28 AM, ashenshugar62-w..ahoo.fr wrote:
    >
    >> Hello
    >>
    >> I create a "new WebObjects Project" : NewProject in WOLIPS and
    >> execute the application with the default main page.
    >>
    >> I have this error when i open the application (http://134.206.2.15:2668/cgi-bin/WebObjects/NewProject.woa
    >> ) in the browser:
    >>
    >> Application: NewProject
    >> Error: java.lang.IllegalStateException exception
    >> Reason:
    >> java.lang.IllegalStateException: Unable to find framework named
    >> "NewProject".
    >> and in the console
    >>
    >> (...)
    >>
    >> Your application's URL is:
    >>
    >> http://134.206.2.15:2668/cgi-bin/WebObjects/NewProject.woa
    >>
    >> [2008-01-23 14:24:01 CET] <main> Waiting for requests...
    >>
    >> [2008-01-23 14:25:05 CET] <WorkerThread0>
    >> <com.webobjects.appserver._private.WOComponentDefinition> No
    >> template found for component Main at "file:/C:/projets/eclipse/
    >> WorkspaceSoutenance/NewProject/build/NewProject.woa/".
    >>
    >> [2008-01-23 14:25:05 CET] <WorkerThread0>
    >> <com.webobjects.appserver._private.WOComponentRequestHandler>:
    >> Exception occurred while handling request:
    >>
    >> java..lang.IllegalStateException: Unable to find framework named
    >> "NewProject".
    >>
    >> [2008-01-23 14:25:05 CET] <WorkerThread0>
    >> java.lang.IllegalStateException: Unable to find framework named
    >> "NewProject".
    >>
    >> at
    >> com
    >> ..webobjects
    >> .appserver
    >> ._private.WOComponentDefinition.<init>(WOComponentDefinition.java:
    >> 179)
    >>
    >> at
    >> com
    >> .webobjects
    >> .appserver
    >> .WOApplication
    >> ._componentDefinitionFromClassNamed(WOApplication.java:2353)
    >>
    >> at
    >> com
    >> .webobjects
    >> .appserver.WOApplication._componentDefinition(WOApplication.java:
    >> 2448)
    >>
    >> at
    >> com
    >> .webobjects.appserver.WOApplication.pageWithName(WOApplication.java:
    >> 1943)
    >>
    >> at
    >> com
    >> .webobjects
    >> .appserver
    >> ._private
    >> .WOComponentRequestHandler
    >> ._dispatchWithPreparedSession(WOComponentRequestHandler.java:273)
    >>
    >> at
    >> com
    >> ..webobjects
    >> .appserver
    >> ._private
    >> .WOComponentRequestHandler
    >> ._dispatchWithPreparedApplication(WOComponentRequestHandler.java:322)
    >>
    >> at
    >> com
    >> .webobjects
    >> ..appserver
    >> ._private
    >> .WOComponentRequestHandler
    >> ._handleRequest(WOComponentRequestHandler.java:358)
    >>
    >> at
    >> com
    >> .webobjects
    >> .appserver
    >> ._private
    >> .WOComponentRequestHandler
    >> .handleRequest(WOComponentRequestHandler.java:432)
    >>
    >> at
    >> com
    >> .webobjects
    >> .appserver.WOApplication.dispatchRequest(WOApplication.java:1306)
    >>
    >> at
    >> com
    >> .webobjects
    >> .appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:173)
    >>
    >> at
    >> com
    >> .webobjects
    >> .appserver.._private.WOWorkerThread.run(WOWorkerThread.java:254)
    >>
    >> at java.lang.Thread.run(Unknown Source)
    >>
    >>
    >>
    >> Have you an idea??
    >>
    >>
    >> Thanks
    >>
    >>
    >> Eric
    >>
    >>
    >>
    >>
    >> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers
    >> Yahoo! Mail
    >
    >
    >
    > Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers
    > Yahoo! Mail



    This archive was generated by hypermail 2.0.0 : Thu Jan 24 2008 - 05:34:15 EST