Local Server on Red hat 7.1x64

4282
3
03-15-2016 08:34 AM
ValerioQuintarelli
New Contributor

Hello,

I'm using the esri QT Runtime 10.2.6 on Red Hat 7.1 x64, with the latest version of qt libraries(5.5). I was trying the example on esri site Dynamic map layer (https://developers.arcgis.com/qt/cpp/sample-code/dynamic_map_layer_sample.htm) and map control does not display anything, those are the results.

Immagine1.png

This is the log file

Starting server

Local server process started

'apppid' = '8433'

'cleanuponshutdown' = ''

'crashdump' = 'full'

'datadir' = '/tmp'

'enablehtmlviews' = ''

'logging' = ''

'onlinux' = ''

datadir does not exist, creating: "Z:\tmp\arcgisruntime_8"

Message : DataDir : Z:\tmp\arcgisruntime_8

Enabling logging

Message : Log file path : /tmp/ArcGISRuntimeLogs/arcgisruntime_8.log

Message : AppDataLocalDir : C:\users\valerio\LO~SSGOF\ArcGISRuntime

Message : AppDataRoamingDir : C:\users\valerio\LO~SSGOF\ArcGISRuntime\Roaming

Message : AppDataCommonDir : C:\users\valerio\LO~SSGOF\ArcGISRuntime\Common

Message : MyDocumentsDir : C:\users\valerio\LO~SSGOF\ArcGISRuntime\Documents

Message : CrashDumpPath : Z:\tmp\ArcGISRuntimeErrorReports

Message : Licensing level : demo:standard:0

2016-03-11 11:57:32,322: INFO  rid=    'server'  WebServer - Starting server on port 50000

2016-03-11 11:57:32,322: INFO  rid=    'server'  PionScheduler - Starting thread scheduler

2016-03-11 11:57:32,323: INFO  rid=    'server'  WebServer - Added request handler for HTTP resource: /ySbCq9/outputdir

2016-03-11 11:57:32,323: INFO  rid=    'server'  WebServer - Loaded static web service for resource (/ySbCq9/outputdir)

2016-03-11 11:57:32,323: INFO  rid=    'server'  AdminWebService - Creating.

2016-03-11 11:57:32,324: INFO  rid=    'server'  WebServer - Added request handler for HTTP resource: /ySbCq9/arcgis/rest

2016-03-11 11:57:32,324: INFO  rid=    'server'  WebServer - Loaded static web service for resource (/ySbCq9/arcgis/rest)

2016-03-11 11:57:32,324: INFO  rid=    'server'  WebServer - Added request handler for HTTP resource: /static

2016-03-11 11:57:32,325: INFO  rid=    'server'  WebServer - Loaded static web service for resource (/static)

Message : Server version : 10.2.6.4161

Message : Server listening on : http://127.0.0.1:50000/ySbCq9/arcgis/rest

2016-03-11 11:57:34,426: INFO  rid=1   'server'  AdminWebService - POST admin/createService?filePath=/home/valerio/arcgis/runtime_sdk/qt10.2.6/sdk/samples/data/mpks/USCitiesStates.mpk&maxRecords=1000&name=USCitiesStates.mpk&type=MapServer&f=json

2016-03-11 11:57:34,428: INFO  rid=1   'server'  mpk - Creating.

2016-03-11 11:57:34,428: INFO  rid=1   'server'  mpk - Create

2016-03-11 11:57:34,428: INFO  rid=1   'server'  mpk_host - Creating.

2016-03-11 11:57:34,432: INFO  rid=1   'server'  mpk_host - Launching.

2016-03-11 11:57:34,510: INFO  rid=1   'server'  mpk_host - Launched process 47

And thi is the local server REST pageImmagine2.png

what is the problem for you?

Thanks
0 Kudos
3 Replies
LucasDanzinger
Esri Frequent Contributor

Is the path to the MPK correct? It seems like it starts up the local server itself, but the service is not starting.

0 Kudos
ValerioQuintarelli
New Contributor

Hello Lucas,

Yes, the path is correct and the same example works in the red hat 6.6, I

tried to control of the RESTservice page, and I get this:

"crashed" : false,

"createParams" : {

"filePath" :

"/home/valerio/arcgis/runtime_sdk/qt10.2.6/sdk/samples/data/mpks/USCitiesStates.mpk",

"maxRecords" : "1000",

"name" : "USCitiesStates.mpk",

"outputDir" : "Z:/tmp/arcgisruntime_8/USCitiesStates.mpk",

"type" : "MapServer",

"virtualDir" : "

http://127.0.0.1:50000/bvRtc0/outputdir/USCitiesStates.mpk"

},

"endpoints" : [

],

"name" : "USCitiesStates.mpk",

"processId" : -1,

"socs" : [

{

"createParams" : {

"filePath" :

"/home/valerio/arcgis/runtime_sdk/qt10.2.6/sdk/samples/data/mpks/USCitiesStates.mpk",

"maxRecords" : "1000",

"name" : "USCitiesStates.mpk",

"outputDir" : "Z:/tmp/arcgisruntime_8/USCitiesStates.mpk",

"type" : "MapServer",

"virtualDir" : "

http://127.0.0.1:50000/bvRtc0/outputdir/USCitiesStates.mpk"

},

"description" : "REST handler",

"errorReports" : [

],

"id" : "host",

"pid" : 46,

"status" : "Starting"

}

],

"starting" : true,

"type" : "MapServer"

the service remains in the "starting" status.

Thanks

2016-03-15 18:36 GMT+01:00 Lucas Danzinger <geonet@esri.com>:

GeoNet <https://community.esri.com/?et=watches.email.thread>

Local Server on Red hat 7.1x64

reply from Lucas Danzinger

<https://community.esri.com/people/LDanzinger-esristaff?et=watches.email.thread>

in ArcGIS Runtime SDK for Qt - View the full discussion

<https://community.esri.com/message/595287?et=watches.email.thread#comment-595287>

0 Kudos
LucasDanzinger
Esri Frequent Contributor

I missed this in the original title of the post, but The issue is likely the version of red hat you are using. With our 10.2.x release, we support 6.2-6.6. Please see the system requirements here - System requirements—ArcGIS Runtime SDK for Qt | ArcGIS for Developers 

Red hat 7 has been known to work with our API in general, but not with local server, due to wine compatibility issues. We are planning on targeting red hat 7 for our Quartz release, which comes out later this year.

-Luke

0 Kudos