Skip to main content
mxcolin's user avatar
mxcolin's user avatar
mxcolin's user avatar
mxcolin
  • Member for 11 years, 10 months
  • Last seen more than 8 years ago
  • California
awarded
comment
Using PostGIS functions in ArcGIS Desktop for Layer Definition Query?
That was it. Add an oid field that is not null, unique and hey presto it works.
comment
Using PostGIS functions in ArcGIS Desktop for Layer Definition Query?
OK so I added an oid column but it still doesn't think it's an ObjectID. I need to find out how to register that column as an ObjectID.
comment
Using PostGIS functions in ArcGIS Desktop for Layer Definition Query?
I'm using a Postgres table but it doesn't have an oid field. Now that I think about it I think I got around this by specifically creating an OID field. I'll have another look thanks.
Loading…
comment
Using Query Layers with ArcGIS Server 10.0 for Java on Linux
In a last desperate attempt I updated everything to service pack 5. Same exact issue :-(
comment
Using Query Layers with ArcGIS Server 10.0 for Java on Linux
So I've managed to get so far but the query layer won't render, it just sits there and I think it's crashing the server.
awarded
comment
Using Query Layers with ArcGIS Server 10.0 for Java on Linux
[arcuser@machinename log]$ *** glibc detected *** /opt/arcgis/server10.0/bin/arcsoc.exe: free(): invalid next size (fast): 0xf3710cd0 *** ======= Backtrace: ========= /lib/libc.so.6[0x9e64a5] /lib/libc.so.6(cfree+0x59)[0x9e68e9] /opt/arcgis/server10.0/bin/arcsoc.exe(_ZdaPv+0x24)[0x8057dd0‌​]
comment
Using Query Layers with ArcGIS Server 10.0 for Java on Linux
Looks like it's crashing the server. I get a stack trace on the command line when I try to access the service via REST.
comment
Using Query Layers with ArcGIS Server 10.0 for Java on Linux
So at present it takes ArcGIS Server on Windows and ArcGIS Desktop just over a second to render the map with the Query layer. Under Linux the ArcGIS Server Manager just sits there forever failing to render the preview.
comment
Using Query Layers with ArcGIS Server 10.0 for Java on Linux
Looks like it's maxing out the Oracle process.
comment
Using Query Layers with ArcGIS Server 10.0 for Java on Linux
So this has helped. By installing the 32 bit Oracle Client drivers the errors go away. The last message in the log is INFO3 Beginning of layer draw: XXXXXXXX however it seems to be taking an awful long time to draw the layer. I will mess around with the layer and see if I can fix it. This article was the golden nugget however.
comment
Using Query Layers with ArcGIS Server 10.0 for Java on Linux
I'm following all of what is being said here but no luck. I wonder if it is related to the 32 bit vs 64 bit versions of the Oracle client software.
comment
Using Query Layers with ArcGIS Server 10.0 for Java on Linux
Also, note I'm on 10.0 not 10.1 which might be the issue?
awarded
comment
Using Query Layers with ArcGIS Server 10.0 for Java on Linux
I'm not using direct connections I'm using a Query Layer and it works first time on Windows so there must be something missing in my Linux configuration. Or the Linux ArcGIS server doesn't support this.
comment
Using Query Layers with ArcGIS Server 10.0 for Java on Linux
What a shock, works in Windows first time :-(
comment
Using Query Layers with ArcGIS Server 10.0 for Java on Linux
I'm not using SDE at all and I'm assuming I don't need to because I'm using a Query Layer? The layer works perfectly in ArcMap but not in ArcGIS Server. I'm pretty new at this so not sure how this works exactly. From what I've read using Query Layers allows you to get round using ArcSDE so I'm not sure why the error message comes up. I'm going to try it on ArcGIS Server for Windows as it wouldn't surprise me if this was a Linux issue.