• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
fetchspec problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fetchspec problem


  • Subject: fetchspec problem
  • From: "Cros Laurent" <email@hidden>
  • Date: Thu, 24 Jun 2010 10:34:04 +0200
  • Thread-topic: fetchspec problem

Hi guys,

 

 

  Now my application deployed on a windows tomcat  is responding wohooohoooo !!!!

 

But the application is unble to find a fectchspec

 

Application: jcommops-ptf
Error: com.webobjects.foundation.NSForwardException exception
Reason:
com.webobjects.foundation.NSForwardException [com.webobjects.eoaccess.EOObjectNotAvailableException] setFetchSpecificationByName -- com.webobjects.eoaccess.EODatabaseDataSource: Failed to find the fetch specification named wmo in the entity named Platform.:com.webobjects.eoaccess.EOObjectNotAvailableException: setFetchSpecificationByName -- com.webobjects.eoaccess.EODatabaseDataSource: Failed to find the fetch specification named wmo in the entity named Platform.

 

 

Here is my Platform.fspec file (file format : ansi), the fspec is located at the very end of the file :

 

{

    Active = {

        class = EOFetchSpecification;

        entityName = Platform;

        fetchLimit = 0;

        isDeep = YES;

        qualifier = {

            class = EOKeyValueQualifier;

            key = activ;

            selectorName = "isEqualTo:";

            value = {class = NSNumber; value = 1; };

        };

    };

    "DEAD PTF MODEL" = {

        class = EOFetchSpecification;

        entityName = Platform;

        fetchLimit = 0;

        isDeep = YES;

        qualifier = {

            class = EOAndQualifier;

            qualifiers = (

                {

                    class = EOKeyValueQualifier;

                    key = platformmodelId;

                    selectorName = "isEqualTo:";

                    value = {"_key" = platformmodelId; class = EOQualifierVariable; };

                },

                {

                    class = EOKeyValueQualifier;

                    key = dead;

                    selectorName = "isEqualTo:";

                    value = {class = NSNumber; value = 1; };

                }

            );

        };

    };

    Dead = {

        class = EOFetchSpecification;

        entityName = Platform;

        fetchLimit = 0;

        isDeep = YES;

        qualifier = {

            class = EOKeyValueQualifier;

            key = dead;

            selectorName = "isEqualTo:";

            value = {class = NSNumber; value = 1; };

        };

    };

    "Fetch Spec" = {

        class = EOFetchSpecification;

        entityName = Platform;

        fetchLimit = 0;

        isDeep = YES;

        qualifier = {

            class = EOKeyValueQualifier;

            key = "loc.date";

            selectorName = "isGreaterThan:";

            value = {"_key" = loc; class = EOQualifierVariable; };

        };

    };

    PROGS = {

        class = EOFetchSpecification;

        entityName = Platform;

        fetchLimit = 0;

        isDeep = YES;

        qualifier = {

            class = EOOrQualifier;

            qualifiers = (

                {

                    class = EOKeyValueQualifier;

                    key = "progPtfArray_program";

                    selectorName = "isEqualTo:";

                    value = {"_key" = program; class = EOQualifierVariable; };

                },

                {

                    class = EOKeyValueQualifier;

                    key = "progPtfArray_program.masterProgIdProgram";

                    selectorName = "isEqualTo:";

                    value = {"_key" = program; class = EOQualifierVariable; };

                }

            );

        };

    };

    "PTF MODEL" = {

        class = EOFetchSpecification;

        entityName = Platform;

        fetchLimit = 0;

        isDeep = YES;

        qualifier = {

            class = EOAndQualifier;

            qualifiers = (

                {

                    class = EOKeyValueQualifier;

                    key = platformmodelId;

                    selectorName = "isEqualTo:";

                    value = {"_key" = platformmodelId; class = EOQualifierVariable; };

                },

                {

                    class = EOKeyValueQualifier;

                    key = activ;

                    selectorName = "isEqualTo:";

                    value = {class = NSNumber; value = 1; };

                }

            );

        };

    };

    Retired = {

        class = EOFetchSpecification;

        entityName = Platform;

        fetchLimit = 0;

        isDeep = YES;

        qualifier = {

            class = EOKeyValueQualifier;

            key = retired;

            selectorName = "isEqualTo:";

            value = {class = NSNumber; value = 1; };

        };

    };

    argoAlive = {

        class = EOFetchSpecification;

        entityName = Platform;

        fetchLimit = 0;

        isDeep = YES;

        qualifier = {

            class = EOAndQualifier;

            qualifiers = (

                {

                    class = EOKeyValueQualifier;

                    key = argo;

                    selectorName = "isEqualTo:";

                    value = {class = NSNumber; value = 1; };

                },

                {

                    class = EOKeyValueQualifier;

                    key = activ;

                    selectorName = "isEqualTo:";

                    value = {class = NSNumber; value = 1; };

                }

            );

        };

    };

    argoDead = {

        class = EOFetchSpecification;

        entityName = Platform;

        fetchLimit = 0;

        isDeep = YES;

        qualifier = {

            class = EOAndQualifier;

            qualifiers = (

                {

                    class = EOKeyValueQualifier;

                    key = argo;

                    selectorName = "isEqualTo:";

                    value = {class = NSNumber; value = 1; };

                },

                {

                    class = EOKeyValueQualifier;

                    key = dead;

                    selectorName = "isEqualTo:";

                    value = {class = NSNumber; value = 1; };

                }

            );

        };

    };

    dbcpAlive = {

        class = EOFetchSpecification;

        entityName = Platform;

        fetchLimit = 0;

        isDeep = YES;

        qualifier = {

            class = EOAndQualifier;

            qualifiers = (

                {

                    class = EOKeyValueQualifier;

                    key = activ;

                    selectorName = "isEqualTo:";

                    value = {class = NSNumber; value = 1; };

                },

                {

                    class = EOKeyValueQualifier;

                    key = dbcp;

                    selectorName = "isEqualTo:";

                    value = {class = NSNumber; value = 1; };

                }

            );

        };

    };

    dbcpDead = {

        class = EOFetchSpecification;

        entityName = Platform;

        fetchLimit = 0;

        isDeep = YES;

        qualifier = {

            class = EOAndQualifier;

            qualifiers = (

                {

                    class = EOKeyValueQualifier;

                    key = dbcp;

                    selectorName = "isEqualTo:";

                    value = {class = NSNumber; value = 1; };

                },

                {

                    class = EOKeyValueQualifier;

                    key = dead;

                    selectorName = "isEqualTo:";

                    value = {class = NSNumber; value = 1; };

                }

            );

        };

    };

    "ptf display" = {

        class = EOFetchSpecification;

        entityName = Platform;

        fetchLimit = 0;

        isDeep = YES;

        qualifier = {

            class = EOOrQualifier;

            qualifiers = (

                {

                    class = EOKeyValueQualifier;

                    key = "telecom.num";

                    selectorName = "isEqualTo:";

                    value = {"_key" = telecom; class = EOQualifierVariable; };

                },

                {

                    class = EOKeyValueQualifier;

                    key = "argonotification.wmo";

                    selectorName = "isEqualTo:";

                    value = {"_key" = wmo; class = EOQualifierVariable; };

                }

            );

        };

    };

    ptfDisplay2 = {

        class = EOFetchSpecification;

        entityName = Platform;

        fetchLimit = 0;

        isDeep = YES;

        qualifier = {

            class = EOKeyValueQualifier;

            key = ref;

            selectorName = "isEqualTo:";

            value = {"_key" = ref; class = EOQualifierVariable; };

        };

    };

    vosAlive = {

        class = EOFetchSpecification;

        entityName = Platform;

        fetchLimit = 0;

        isDeep = YES;

        qualifier = {

            class = EOAndQualifier;

            qualifiers = (

                {

                    class = EOKeyValueQualifier;

                    key = activ;

                    selectorName = "isEqualTo:";

                    value = {class = NSNumber; value = 1; };

                },

                {

                    class = EOKeyValueQualifier;

                    key = vos;

                    selectorName = "isEqualTo:";

                    value = {class = NSNumber; value = 1; };

                }

            );

        };

    };

    vosDead = {

        class = EOFetchSpecification;

        entityName = Platform;

        fetchLimit = 0;

        isDeep = YES;

        qualifier = {

            class = EOAndQualifier;

            qualifiers = (

                {

                    class = EOKeyValueQualifier;

                    key = dbcp;

                    selectorName = "isEqualTo:";

                    value = {class = NSNumber; value = 1; };

                },

                {

                    class = EOKeyValueQualifier;

                    key = vos;

                    selectorName = "isEqualTo:";

                    value = {class = NSNumber; value = 1; };

                }

            );

        };

    };

    wmo = {

        class = EOFetchSpecification;

        entityName = Platform;

        prefetchingRelationshipKeyPaths = ();

        qualifier = {

            class = EOKeyValueQualifier;

            key = "argonotification.wmo";

            selectorName = "isEqualTo:";

            value = {"_key" = wmo; class = EOQualifierVariable; };

        };

    };

}

 

If someone has an idea ?

 

Thanks,

 

Laurent Cros

Software engineer

Société CLS
8-10rue Hermès, Parc technologique du canal
31560 Ramonville Saint-Agne France
Tel. +33 5 61 393 701
Fax +33 5 61 394 750

 

[]

 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: fetchspec problem
      • From: Henrique Prange <email@hidden>
    • Re: fetchspec problem
      • From: Farrukh Ijaz <email@hidden>
  • Prev by Date: Re: Login via DirectAction and the browser reload button
  • Next by Date: Re: fetchspec problem
  • Previous by thread: Re: Login via DirectAction and the browser reload button [SOLVED]
  • Next by thread: Re: fetchspec problem
  • Index(es):
    • Date
    • Thread