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
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=8888Then 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
Before you go down the Fiddler route can you try this code:ArcGISTiledMapServiceLayer tiledLayer = new ArcGISTiledMapServiceLayer("http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"); tiledLayer.addLayerInitializeCompleteListener(new LayerInitializeCompleteListener() { @Override public void layerInitializeComplete(LayerInitializeCompleteEvent e) { System.out.println(e.getLayer().getInitializationError()); // print out any layer init error } });map.getLayers().add(tiledLayer);It might just give some more information.Mark
Could you also trying changing the rendering engine. By default, ArcGIS Runtime uses DirectX on Windows. You could switch to OpenGL -using API (when application starts): ArcGISRuntime.setRenderEngine(RenderEngine.OpenGL), or using command line (also works with samples jar): -Dcom.esri.runtime.renderEngine=openglOpenGL has to be at least 2.1 or 3.3 based on graphics card (https://developers.arcgis.com/en/java/info/arcgis-runtime-sdk-for-java-system-requirements.htm)Vijay
- What JDK/ JRE version are you using?
- What platform are you running on?
- Is it a real machine or a virtual one?
- When you run your application via eclipse, what console output do you see. On my Windows machine I see the following for example:[INDENT]Java version : 1.7.0_40 (Oracle Corporation) amd64Rendering engine : DirectX[/INDENT]
- Have you ever managed to get runtime applications working on older releases?
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.