×
您的位置: 首页 > 编程笔记

ArcGIS Server安装与开发环境搭建

ArcGIS AR 时间:2010-12-26  查看:436   收藏
摘要:ArcGIS 9.2 Server Enterprise for Windows的安装与开发环境搭建 ArcGIS 9.2 Server Enterprise for Windows的安装与开发环境搭建

一、安装:
1.安装包括以下,两部分的安装:

1>GIS Server and Web Applications
l Server Object Manager(SOM)
l Server Object Container(SOC)
2>Application Developer Framework

2.安装完毕后,GIS Server Post Install也包括两步

1>Configure GIS Server
l 指定SOMSOC帐户:ArcGISSOMArcGISSOC
l 指定 ArcGIS manager 帐户,将被加入ArcGIS Server Administrators Group(agsadmin)

ArcGIS Server User Group(agsusers)用户组:arcgismanager
l 指定ArcGIS Server的工作目录
2>Authorize GIS Server


Post Install完毕后会发现,开始菜单项会包括:
  • GIS Server Post Install:功能如前;
  • Manager:管理、部署ArcGIS Server的工具,实际上也是一个Tomcat的Web Application;
  • Developer Help


3.安装中的几个问题

1> 如果在Windows XP + Sp2的环境下要注意:
l 关掉“文件夹选项”中的“简单文件共享”(见附件),简单文件共享会启用特别的WINDOWS认证方式,
该认证方式与AGS Server的不兼容。参见:http://support.microsoft.com/kb/307874/zh-cn
l 关掉杀毒软件的防火墙;
l 对于Windows自带的防火墙作如下调整,


  • Navigate to Windows Firewall.
    Start > Settings > Control Panel > Windows Firewall

    The firewall is On by default, the Recommended setting.
  • Click on the Exceptions tab.
  • Click Add Port.
  • Add the following information:
    Name: Web Port (http)
    Port Number: 80
    Type: TCP

    Click OK.
  • To add port 135, click Add Port.
  • Add the following information:

    Name: DCOM (ArcGIS Server)
    Port Number: 135
    Type: TCP

    Click OK.
  • Click Add Program to add an exception for ArcSOM.exe.
  • Click Browse and navigate to:
    inArcSOM.exe for example:
    C:Program FilesArcGISinArcSOM.exe
    Click OK.
  • Click Add Program to add an exception for ArcSOC.exe.
  • Click Browse and navigate to:
    inArcSOC.exe for example:
    C:Program FilesArcGISinArcSOC.exe
    Click OK.
  • The ports and programs entered should now appear in the list of Programs and Services. Verify check marks appear next to each component.
  • Close Windows Firewall.
  • (见:http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=28655)

    2> 如果你安装IIS时,有时 ArcGIS Server 的 Manager 程序无法启动,页面显示如下:

  • 该页必须通过安全通道查看
  • 您试图访问的页面使用安全套接字层 (SSL) 进行保护。
  • --------------------------------------------------------------------------------

  • 请尝试以下操作:

  • 在您要访问的地址前键入 https:// 并按 Enter。
  • HTTP 错误 403.4 - 禁止访问:需要使用 SSL 查看该资源。
  • Internet 信息服务 (IIS)
  • 复制代码解决办法是:在“服务”中检查IIS配置,是否启动了SSL(见图二)

    二、开发环境搭建:(Eclipse + Tomcat)

    1.下载Eclipse开发环境(和插件包):Lomboz for Eclipse 3.2.x
    http://forge.objectweb.org/project/showfiles.php?group_id=97
    最好下载:lomboz-all-in-one-S-3.2RC2-200608081203-win32.zip
    下载后,最好在解压前将zip文件名字改短,我用的是WinRAR,长文件名时解压会出错!

    2. 下载Visual Editor插件并安装
    http://download.eclipse.org/tools/ve/downloads/drops/R-1.2-200606280938/index.html
    下载Visual Editor Runtime VE-runtime-1.2.zip

    3.安装 ArcGIS Eclipse插件:
    这部分可以参见:#{安装目录}java oolseclipse_plugin eadme.html
    注意:选择Local update site是应选:
    #{安装目录}ArcGISjava oolseclipse_pluginarcgis_update_siteserver

    4.这里要注意一点,JDK必须是1.5,安装低于此版本好像会在构建ArcGIS Server Project时会出错。
    装了多个Java版本的话,可以在 菜单Window->Preferences->左边面板中选Java->Installed JREs,在这里进行调整。

    三、帮助系统
    系统安装完毕后,在安装光盘的ArcGISSDKJavaHelp 目录下的setup.exe,可以安装完整的帮助系统。


    谢谢xiaoyaohu与CJ的支持!

     

    0% (0)
    0% (0)