machine configuration Instructions
Database server
System:Linux
Software:Oracle 11G 64-bit
Arcgis Server server
System:Win7 Professional Edition
Software:ArcGIS Server 10.1,win64_11gr2_client
Client
System:Windows XP SP3
Software:Arcgis DeskTop 10.1,win32_11gr2_client
Oracle Client Configuration
environment variable Settings
Add to:
Oracle_home:D:\app\zqcpb\product\11.2.0\client_1
Nls_lang:simplified Chinese_china. Al32utf8 ( consistent with Oracle database)
Path Plus:%oracle_home%\lib;%o Racle_home%\bin
Arcgis Server server Settings
1. Shared Arcgisserver folder;
2. Open the ArcGIS Server Administrator directory (http://myserver:6080/arcgis/admin) and log on as the primary site administrator or as a user with administrative access.
Click System > Properties > Updates.
In the Property text box, enter the following JSON code:
{"Pushidentitytodatabase": "false"}
Click Update to save your changes.
Action steps to create a database connection file
Open Arctoolbox, data management tools, working space, double-click Open to create a database connection, as shown in:
Save the connection file to a shared directory on the ArcGIS server server.
Import vector data
Open the Catalog window in ArcMap, add the folder connection \\arcgis Server Ip\arcgisserver, navigate to the database connection file that you saved in the previous step, and double-click Connect to the database.
On the database connection, right-click, select Import, feature class, select the vector data to import, such as:
The spatial data type is selected as Sdo_geometry, which is an Oracle spatial data type that facilitates querying, modifying, deleting, and spatial analysis within Oracle.
Publish Data Services
Open ArcMap, open the database connection within the shared folder, and load the data you want to publish. Save as an mxd file, save the directory as a shared folder, and in the arcmap Start menu, click Share As, service.
In the open Share as Service dialog box , select [Publish Service ], click Next, create a new connection on first use, fill in the ArcGIS Server service address and password, fill in the service name, and click Next. Publish the service to a folder, select the root folder, or create a new folder, next. Open the service editor, such as:
Set parameters, functions, and so on. then click [Analyze ] to display warnings and errors in ArcMap. If the data is not registered to the server, you can right click to register to the server. Otherwise, publishing data copies the data to the server server.
Finally click Publish. Complete.
Other:
In the GIS server directory, click on the server connection, right-select [Server Properties ], in which the [data storage ] tab can be added to the registration database, such as:
You can also do this on the ArcGIS Server Administration page.
Another online search of an article, the release of their own data is also helpful. As follows:
Because ArcSDE10.1 is basically the default direct connection, we still need to pay attention to the relevant issues in releasing the direct-attached mxd.
1: Ensure both machines have access to shared storage information
2: Make sure that the UNC path holds the Arccatalog folder connection, and that the directly attached . sde file must also be saved in the shared storage folder.
3: the. SDE connection that we need to save in the shared store opens the associated feature class to ArcMap, and then saves it as an MXD instead of opening the data from the location of the data connection.
4: If the two machines do the cluster, then the two machines must install the database client (64Bit), because the ArcGISServer10.1 are 64Bit, so you must install 64Bit client.
5: If it is an Oracle database, make sure that the two machine configuration of the netservicename is identical, so as to ensure that you in a machine configuration of MXD,B machine can also read the same information.
6: Registering the database
This way we have no problem with the ArcGIS Server service that publishes the ARCSDE data source.
ArcGIS 10.1 Import data to Oracle publishing map service