Tag: Linux

Does Ghost haunt you?


On January 27, 2015, a serious Linux operating system security vulnerability dubbed “Ghost” was announced concerning the glibc low level system library that can allow attackers to remotely take complete control of a victims system.  This issue does not affect ArcGIS web … Continue reading

Posted in Security | Tagged , , , | Leave a comment

Coming to a Beta near you: Native app development for everyone

Imagine you are 1 of 2 people running an entire department, and your boss says:

Get those interactive maps out there to our public. You have 2 days to make it happen. Oh, and put them in that app store thingy my family keeps talkin’ about.

You’ve never had a computer science course in your life. This is the 11th hat you need to start wearing. Continue reading

Posted in App Developers, Apps, Developer | Tagged , , , , , | Leave a comment

Esri Maps for SAP BusinessObjects supports Linux

We are pleased to announce that Esri Maps for SAP Business Objects v1.0 now supports Linux platforms. The Esri Maps for SAP BusinessObjects server-side component has been thoroughly tested and certified on Linux Red Hat Enterprise 6.5.

Visit the Esri Customer Care Portal to download and install Esri Maps for SAP BusinessObjects 1.0.

For product documentation and other information about Esri Maps for SAP BusinessObjects, see the Esri Maps for SAP BusinessObjects webhelp and be sure to visit the Esri Maps for SAP BusinessObjects forum to get help from the community.

~The Esri Maps for SAP BusinessObjects team

Posted in Location Analytics | Tagged , , , , | Leave a comment

ArcGIS Runtime SDK for Java: The Linux edition is here!

Esri is pleased to announce the release of the ArcGIS Runtime SDK 1.0 for Java and Linux developers.

The ArcGIS Runtime SDK for Java and Linux is a rich developer toolkit for quickly building focused ArcGIS client apps that integrate online and local maps, locators, geoprocessing models, and more, and will run on Linux laptop and desktop devices. Existing Java apps, whether spatial or non-spatial in nature, can also be extended with this toolkit to provide ArcGIS on-line or off-line mapping and analysis capabilities.

Continue reading

Posted in Developer | Tagged , , , | 2 Comments

Building a Map Cache using ArcGIS Server in UNIX

Map caching is a very effective way to serve map documents faster. When you create a map cache, the server draws the entire map at several different scales and stores copies of the map images. The server can then distribute these images whenever someone asks for a map. It’s much quicker for ArcGIS Server to hand out a cached image than to draw the map each time someone requests it. If you are unfamiliar with map caching, the What is map caching topic in the Server online help will help you get started.

 ArcGIS Server provides many out-of-the box utilities to create and manage map caches. These utilities are also available on the Unix platform. In Windows, the cache management utilities are available as geoprocessing tools which you can access through ArcCatalog. Whereas on Unix, these tools are available as shell scripts in the “/ArcGIS Server installation directory/java/tools/caching” folder. These scripts will help you generate, update and manage your map caches on Unix. Let me give you a quick overview on using these scripts:


Before running any scripts, it is good practice to verify the permission of the script files and cache output folders. I have put together a brief checklist for successfully running the cache scripts.

  1. Your user account must be a member of ‘agsadmin’ group and must have read and execute access to the cache scripts. Managing user accounts on Linux/Solaris provides a detailed description of the user accounts created during ArcGIS Server installation and the Adding administrative users to the agsadmin group describes how you can add new users to agsadmin account.
  2. Your account must have write access to the cache output location.
  3. If you will be running long cache jobs using 9.3.1 or earlier versions, you must stop the server and update the <enginecontexttime> parameter in “/ArcGIS installation directory/server/system/Server.dat” file to “360000″ seconds. (This step is not required for the latest ArcGIS 10.0 release.)
  4. If you are running cache scripts in a distributed setup, all the SOCs must have access to the map documents. Also, you will notice a marked increase in performance, if the map documents are available locally on all the SOC machines. You can also achieve optimum performance, if the number of SOC instances (S) that you created is at least one more than the no. of CPU cores. S = (no. of CPU cores) + 1. 

Running Scripts:

After preparation, you can execute the appropriate shell script from “/ArcGIS Server installation directory/java/tools/caching” directory. The Cache generation and updates on Linux/Solaris topic provides a detailed description of all the scripts, their parameters and when they should be used. When executing the scripts you might notice that some of the parameters are exclusive to Unix. Here is a brief description of those exclusive parameters.

  1. Context: In ArcGIS Server 9.3.1 and earlier versions, the user is prompted to choose between “engine” or “server” context. Choose “server” context to run the tool. This parameter is not required in ArcGIS Server 10.0. 
  2. Domain: Enter the fully qualified hostname of the machine where ArcGIS Server is installed.
  3. Username/Password: Type in the user name/password used to connect to ArcGIS Server Manager. 
  4. Server_name: Type in the name of the host machine where ArcGIS Server is installed or the ArcGIS SOM machine, hosting the service to be cached. 
  5. Object_name: This gives you a list of map services currently running that meet the requirements of the script being executed. For example, if the cache tiling schema for a map service is not configured, it will not be listed in the options for the ManageMapServerCacheTiles script, even if the service is running.

All other parameters are similar to caching tools on Windows and you can find more information on them in the Cache generation and updates on Linux/Solaris topic that I mentioned earlier.

Some Additional Tips on Caching:

Lastly, here’s a short list on caching tips that might help you in general.

  1. Create cache on demand for regions that are not accessed very often. It helps in shrinking the cost of creating, storing & maintaining cache.
  2. Divide cache jobs into smaller tasks using feature classes or extents.
  3. Follow best practices to avoid label overlaps and to design cache customized to user requirements.
  4. You can create a cache schema using ArcGIS Manger. However, to create cache tiles based on the schema you must run ManageMapServerCacheTiles script.
  5. Generate cache in staging environment and then copy the cache over to production environment since cache generation is a resource intensive process.
  6. If your source data tends to change and if you need to run the scripts very often, you can
    1. Create a Python script to automatically run the Manage Map Server Cache Tiles script on a regular basis to update all or selected areas of your cache. Before running caching scripts, you must execute the command source /arcgis/server10.0/servercore/.Server/init_server.sh as described in Step 2 of Viewing and Managing Network Ports on Linux/Solaris. See Automating cache creation and updates with geoprocessing for an example.
    2. Schedule the automated scripts to run at a particular time using “crontab” when trying to regularly update cache.

Hope these tips help you in getting started with map caching. Also, just as a fyi, we have added several new documents on caching and you can access them through online web help.

 Content contributed by Garima Tiwari, Product Engineer, ArcGIS Java Team.

Posted in Developer | Tagged , , | Leave a comment

ArcGIS 10 for Java and Linux developers

All of our teams have made a tremendous effort to make ArcGIS 10 a very special release. This week, the Java team posted some videos and demo code to highlight some of the changes they’re including.

Java Add-ins for ArcGIS Desktop

ArcGIS 10′s brand new Add-ins overhaul the way extensions to ArcGIS Desktop work and have garnered a lot of interest for their ease of use and deployment. The video “Add-ins for ArcGIS Desktop” shows you all you need to know to create and deploy a Java Add-in from scratch.

Server Object Extensions using Java

ArcGIS 10′s Server Object Extensions have been improved based on your feedback, allowing access via REST as well as SOAP. And you can now register and unregister SOEs via ArcGIS Server Manager, which will also auto-discover newly deployed SOE jar files. There are the usual documentation resources, but the Java team has put together a quick video walkthrough of deploying SOAP services for SOEs.

ArcGIS Server Web ADF

On the ADF side there are both performance and usability enhancements and there’s a video to show you how to best make use of these performance-tuning features at ArcGIS 10. There’s also a video and an accompanying sample that demo how to use the new Dojo Widgets and event hooks to make your JavaScript apps that much slicker.

Linux and ArcGIS Server

Lastly, let’s not forget all the work that’s gone into ArcGIS Server on Linux. There have been improvements in performance, stability and server management for ArcGIS Server 10 on Linux with some serious scalability work and testing going on. Check out the Java Blog’s post for more details on improved failover behavior and scripts to ease cache generation.

Additional Resources

There are more Java code samples and videos for you to check out over in the Java Resource Center, including their Java-specific “What’s coming in ArcGIS 10″ overview video.

– Nick

Posted in Developer | Tagged , , , , , , , | Leave a comment

ArcGIS Engine now supported on 32 bit RedHat Enterprise Linux 5

We’re happy to announce that ArcGIS Engine 9.3 as of Service Pack 1 is now officially supported on 32 bit  RedHat Enterprise Linux 5!  ArcGIS Engine has been supported on SUSE Enterprise Linux 10, Solaris 9, Solaris 10, RedHat Enterprise Linux 4, and of course Windows.  Please feel free to check out the knowledge base article for steps on installing and upgrading ArcGIS Engine on this new platform.

Red Hat





Posted in Developer | Tagged , , , | Leave a comment