Soe-rest development in Java environment 3 (SOE debugging)

Source: Internet
Author: User

ArcGIS 10.1 no longer includes an independent Configuration Manager for debugging settings. Instead, it is used to set management debugging options in ArcGIS Server Manager, now I will introduce how to debug the Java SOE extension of ArcGIS Server 10.1.

1) log on to the arcgisserver manager and deploy the debugged SOE to the ArcGIS Server. Find the mapservice and check the SOE function options, switch to the site options, and select the debug Settings button.

2) Check the extension debugging check box. If you want to debug SOE extension lifecycle functions such as Init () and Shutdown (), check "Service Startup suspension" and set the waiting time ,, set to 6 minutes. After you start map service, ArcGIS Server will freeze the SOE initialization work within the specified time period. Therefore, the program can set breakpoints within the time period and the SOE runtime function Init, the IDE is used to control the running Progress of SOE in ArcGIS Server.

3) set the high port range. ArcGIS Server selects an available port in this port range and binds the debugging request sent from this port for map service and Soe debugging.

4) Save and restart map service to make it take effect.

5) Start Eclipse IDE to start SOE debugging, select "remote Java application debugging", and set the debugging server and the corresponding receiving and debugging port. As shown in.

6) Cancel debugging settings

Deselect the debug settings check box in the extended option, save and restart the map service.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.