The error you are seeing above (Failed to create a shared context) is due to the fact that your graphics card drivers are not supporting a very high version of OpenGL. I bet you only have 1.1 support! DirectX is usually most reliable in Windows, however as Vijay suggested it was worth a try switching to OpenGL! The fact that you can see the esri logo when running in DirectX suggests to me that you don't have a rendering issue with DirectX mode.
I'm thinking that your locked down environment is hurting you here. What I would suggest is creating a application which uses an online service like this:
map = new JMap();
window.getContentPane().add(map);
ArcGISTiledMapServiceLayer tiledLayer = new ArcGISTiledMapServiceLayer(
"http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer");
map.getLayers().add(tiledLayer);
You then need to configure Eclipse so you can capture the HTTP traffic in Fiddler. You need to set your JVM run options so you use this:
-Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8888
Then watch if anything gets captured in Fiddler!
One thing I am surprised about is that you couldn't run an application which used a local tiled package. This just uses basic file IO to read the the TPK file. This does not use the local server and hence does not rely on HTTP traffic.
Mark
Hi,
here are a couple of other things you could consider:
- The java 6 that you used appeared to be 32 bit (client). What is the java 7 version? It might be worth trying 64 bit server (though that should not matter).
- We are assuming you are not over remote desktop (again though that should not matter).
- Run dxdiag.exe, perhaps some of the DirectX acceleration features have been disabled. Consider using the 'Save All Information button' and attaching the results here.
Thanks,
Gayle