• 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: Henrique Prange <email@hidden>
  • Date: Thu, 24 Jun 2010 18:01:27 -0300

Hi Laurent,

Could you provide the complete stack trace of the error?

Cheers,

Henrique

On 24/06/2010, at 05:34, Cros Laurent 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

 _______________________________________________
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

References: 
 >fetchspec problem (From: "Cros Laurent" <email@hidden>)

  • Prev by Date: Re: Optimistic locking failure due to string trimming?
  • Next by Date: Re: Optimistic locking failure due to string trimming?
  • Previous by thread: Re: fetchspec problem
  • Next by thread: Optimistic locking failure due to string trimming?
  • Index(es):
    • Date
    • Thread