Hi All,
I am trying to run a .gpk package with result map service (raster is an output). When I start my app, the Windows 7 window pops-up, telling me that the LocalServer instance has stopped working, and let me decide to stop or debug application. When I click stop, no service is going to be up and running. When I click debug and continue debugging in Visual Studio, another pop-up shows up informing me that it is unable to get stack info. Next, I check Server REST endpoint and see that the services are started (Geoprocessing service and associated Map Service). Any ideas, what is going wrong?
I use Eclipse LUNA and Java 1.8.0_20 on win7 Professional. Below, you find basic syntax of my geoprocessing task.
gpService= new LocalGeoprocessingService("path to gpk");
gpService
.setServiceType(GPServiceType.SUBMIT_JOB_WITH_MAP_SERVER_RESULT);
gpService.startAsync();
Any suggestions are much appreciated,
Best Regards,
Adam