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>