ArcGIS 9.2 Server Enterprise for Windows的安裝與開發環境搭建
Posted on 2007-01-05 15:23 帥子 閱讀(2603) 評論(3) 編輯 收藏 所屬分類: j2se技術專區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 指定SOM、SOC帳戶:ArcGISSOM、ArcGISSOC
? ?? ?? ?? ???l 指定 ArcGIS manager 帳戶,將被加入ArcGIS Server Administrators Group(agsadmin)和
? ?? ?? ? ArcGIS Server User Group(agsusers)用戶組:arcgismanager
? ?? ?? ?? ???l 指定ArcGIS Server的工作目錄
? ?? ?? ? 2>Authorize GIS Server
3.安裝中的幾個問題:
? ?? ?? ? 1> 如果在Windows XP + Sp2的環境下要注意:
? ?? ?? ?? ???l 關掉“文件夾選項”中的“簡單文件共享”(見附件),簡單文件共享會啟用特別的WINDOWS認證方式,該認證方式與AGS Server的不兼容。參見:http://support.microsoft.com/kb/307874/zh-cn
? ?? ?? ?
? ?? ?? ? 2>
二、開發環境搭建:(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\tools\eclipse_plugin\readme.html
注意:選擇Local update site是應選:
#{安裝目錄}\ArcGIS\java\tools\eclipse_plugin\arcgis_update_site\server
4.這里要注意一點,JDK必須是1.5,安裝低于此版本好像會在構建ArcGIS Server Project時會出錯。
裝了多個Java版本的話,可以在 菜單Window->Preferences->左邊面板中選Java->Installed JREs,在這里進行調整。
三、幫助系統
系統安裝完畢后,在安裝光盤的\ArcGISSDKJavaHelp 目錄下的setup.exe,可以安裝完整的幫助系統。
一、安裝:
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 指定SOM、SOC帳戶:ArcGISSOM、ArcGISSOC
? ?? ?? ?? ???l 指定 ArcGIS manager 帳戶,將被加入ArcGIS Server Administrators Group(agsadmin)和
? ?? ?? ? ArcGIS Server User Group(agsusers)用戶組:arcgismanager
? ?? ?? ?? ???l 指定ArcGIS Server的工作目錄
? ?? ?? ? 2>Authorize GIS Server
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:
<ArcGIS Install Directory>\bin\ArcSOM.exe for example:
C:\Program Files\ArcGIS\bin\ArcSOM.exe
Click OK. - Click Add Program to add an exception for ArcSOC.exe.
- Click 'Browse' and navigate to:
<ArcGIS Install Directory>\bin\ArcSOC.exe for example:
C:\Program Files\ArcGIS\bin\ArcSOC.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.
? ?? ?? ?
? ?? ?? ? 2>
二、開發環境搭建:(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\tools\eclipse_plugin\readme.html
注意:選擇Local update site是應選:
#{安裝目錄}\ArcGIS\java\tools\eclipse_plugin\arcgis_update_site\server
4.這里要注意一點,JDK必須是1.5,安裝低于此版本好像會在構建ArcGIS Server Project時會出錯。
裝了多個Java版本的話,可以在 菜單Window->Preferences->左邊面板中選Java->Installed JREs,在這里進行調整。
三、幫助系統
系統安裝完畢后,在安裝光盤的\ArcGISSDKJavaHelp 目錄下的setup.exe,可以安裝完整的幫助系統。