• 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
Re: fetchspec problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fetchspec problem


  • Subject: Re: fetchspec problem
  • From: Farrukh Ijaz <email@hidden>
  • Date: Thu, 24 Jun 2010 12:07:01 +0300

If the deployment is based on WAR file then I would suggest you to switch to SSDD and check if you face the same issue. Also in the web.xml set the deployment mode to development. Setting up the application for production requires a lot of other configurations.

If you don't get the same issue then chances are you need to adjust permissions using the java security policy for catalina. 

Farrukh

Sent from my iPad

On 24-Jun-2010, at 11:34 AM, "Cros Laurent" <email@hidden> wrote:

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

 

<image001.gif>

 

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: "Cros Laurent" <email@hidden>
References: 
 >fetchspec problem (From: "Cros Laurent" <email@hidden>)

  • Prev by Date: fetchspec problem
  • Next by Date: RE: fetchspec problem
  • Previous by thread: fetchspec problem
  • Next by thread: RE: fetchspec problem
  • Index(es):
    • Date
    • Thread