Giter Club home page Giter Club logo

Comments (4)

spitzerr avatar spitzerr commented on June 12, 2024

@shailesh91
Unfortunately it does not work.
on the one hand it might get the token twice or at least the log-file indicates so.
on the other Hand, even if the test is correct it goes to set the Directory again.
Please see the logfile:

[1060-303]: LCM:  [ Start  Test     ]  [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories]
[1060-303]:                            [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Fully Qualified Domain Name :- 1060-303.gis.lab
[1060-303]:                            [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Getting the Token for site 'http://1060-303.gis.lab:6080'
[1060-303]:                            [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Getting the Token for site 'http://1060-303.gis.lab:6080'
[1060-303]:                            [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] POST http://1060-303.gis.lab:6080/arcgis/admin/system/directories with 78-byte payload
[1060-303]:                            [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] received 3897-byte response of content type text/plain;charset=UTF-8
[1060-303]:                            [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Testing for Directory basemapcache
[1060-303]:                            [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Directory basemapcache already registered
[1060-303]: LCM:  [ End    Test     ]  [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories]  in 1.4190 seconds.
[1060-303]: LCM:  [ Start  Set      ]  [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories]
[1060-303]:                            [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Fully Qualified Domain Name :- 1060-303.gis.lab
[1060-303]:                            [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Waiting for Server 'http://1060-303.gis.lab:6080/arcgis/admin' to initialize
[1060-303]:                            [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Getting the Token for site 'http://1060-303.gis.lab:6080'
[1060-303]:                            [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] POST http://1060-303.gis.lab:6080/arcgis/admin/system/directories with 78-byte payload
[1060-303]:                            [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] received 3897-byte response of content type text/plain;charset=UTF-8
[1060-303]:                            [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Testing for Directory basemapcache
[1060-303]:                            [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Directory basemapcache already registered > no Action required
[1060-303]: LCM:  [ End    Set      ]  [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories]  in 2.9570 seconds.
[1060-303]: LCM:  [ End    Resource ]  [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories]

from arcgis-powershell-dsc.

shailesh91 avatar shailesh91 commented on June 12, 2024

@spitzerr Getting the token twice is it just printing it twice. Nothing more. I have found the result variable was not initialized correctly.

from arcgis-powershell-dsc.

shailesh91 avatar shailesh91 commented on June 12, 2024

Fixed #70

from arcgis-powershell-dsc.

spitzerr avatar spitzerr commented on June 12, 2024

@shailesh91 Works perfectly. Thanks

from arcgis-powershell-dsc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.