viewConfFile - Display the Profile

This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
Post Reply
Stefan
Posts: 5
Joined: Tue Jul 31, 2018 10:55 am

viewConfFile - Display the Profile

Post by Stefan »

Dear PTV Team,

we used to gain some information out of the following http request:

Code: Select all

http://<IP>:50030/pages/viewConfFile.jsp?name=xroute-AUFTRAG.properties
this request now leads into a 404 error. Is there an other way to display one specific profile directly (like AUFTRAG in the mentioned example)?
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: viewConfFile - Display the Profile

Post by Bernd Welter »

Hello Stefan,

I was surprised, too. Looks like the page you refer to is no longer part of our development output.
I therefore recommend to access the server via it's management console (if enabled) to gather that info.

In the meantime I'll forward your statement to DEV. Not sure whether removing the file was a concious decision or by mistake.

Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: viewConfFile - Display the Profile

Post by Bernd Welter »

Hello Stefan,

looks like this piece of implementation has changed through the years. And this s not a stable definition (and never was).
Check the following syntax of the corresponding URL:

http://127.0.0.1:50030/pages/serverCommand.jsp
https://xroute-eu-n-test.cloud.ptvgroup ... efault.xml
http://127.0.0.1:50030/pages/serverComm ... efault.xml

serverCommand.jsp Parameters
This servlet and its parameters are for internal use only and may change between releases without explicit notice. Use at your own risk.
  • systemInfo=json
    Returns an application/json system information description
  • listConfigurations=json
    Returns an overview of the server-sided settings files and profiles
  • ?readSettings=<filename>
    Returns the content of the server settings file with the given filename, or a 500 error message. The filename may not contain a path but must include the proper suffix (.properties or .conf).
  • ?readProfile=<filename>
    Returns the content of the server profile with the given name, or a 500 error message. The filename may not contain a path but must include the proper suffix (.xml).
  • ?readLicense
    Returns the content of the server license file.
  • ?restartServer
    Does not return
  • ?shutdownServer
    Does not return
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply