The problem above was solved when I replaced the file geodatabase with an enterprise GDB (on postgresql) and left the resulting feature class not being a model parameter. There's a new problem, but I'll start from the beginning:
Environment: ArcGIS for Server 10.1 Prerelease running on Red Hat Linux 6, and ArcGIS for Desktop 10.1 running on Win XP. All data in a geodatabase, Postgresql 9.0.5 running on the same Linux server.
The goal: a GP service that would create a new line feature from selected point features, and append the newly created line feature into an existing line feature class.
What�??s been done:
- I�??ve created a model in Desktop, using Points To Line and Append tools. The point layer is used as a Model parameter, and I�??ve tried datatypes Feature Layer and Feature Set in the Properties window.
[ATTACH=CONFIG]13550[/ATTACH]
- I�??ve run the model successfully in Desktop �?? a new line feature was created and appended into the feature class.
- I�??ve shared the result as a Geoprocessing Service successfully �?? the service is created
The problem: When the GP service is run, a new line feature is created and appended into the feature class, but at the same time all other features become �??invisible�?�. This is NOT a symbology issue as I can change the symbology of the layer to Single Symbol and still won�??t see the features. Selecting features in the Attribute Table highlights the (invisible) features on the map in cyan, but selecting them on the map with Select Features by Rectangle from the very same area does not select anything. Deleting the newly created feature doesn�??t bring the others visible, but instead I have to copy an old version and overwrite the new one in order to test more.
Sometimes I get an error message "One or more layers failed to draw: Chains: The given coordinate references are incompatible", although everything has been done in WGS_1984_Web_Mercator_Auxiliary_Sphere from the beginning. There's nothing in the ArcGIS Server Manager logs about this.
--Jarkko