Get the Appserver Propath

Pavan Yadav

Member
I am on client machine & don't have access to server.
Is there any way to checkout the Appserver Propath....

Because some of my codes got compiled over there & so i have to put my r-code in Appserver Propath.
So please let me know if there is some commnad or way to check the Appserver propath while at client machine.
 
You don't say anything 'bout your Progress/OpenEdge version ...

In an ideal world the PROPATH on the AppServer equals the PROPATH on the client (development and runtime) ...

AFAIK, there is no attribute or methond on a session hanlde which would provide this information. You can retrieve the PROPATH of the current session using the PROPATH function. Therefore you could run a procedure on the AppServer which would return the results from the PROPATH function executed on the AppServera agent.

Why don't you know the PROPATH on the AppServer, do the admins over there refuse to give you that information?

Regards, RealHeavyDude.
 
Hi Dude,
Thanks for this info. Actually i am using OE 10.2A, & if ever i need to get the PROPATH of any DB , I nede to catch the admin ppl evry time. So i just want to Confirm if there is any way so that i need not to depend on those people evrytime & no need to bug them everytime for different different DB. Because we are using DBs in many different regions & each having different propath.
So that was my only concern.
 
Ask them to publish the propath for each AppServer on a wiki and then you won't be bugging them :)
 
You should understand, the PROPATH is not relevant for the database. Even the database triggers are executed in an ABL client session context - therefore that client session's PROPATH is relevant. But, the AppServer or WebSpeed agent is such a ABL client session to the database.

Best regards, RealHeavyDude.
 
Why try to connect using ProgressExplorerTool ? or take a look direct on
$DLC/properties/ubroker.properties ?

On 10.2A you have a new tool: "OpenEdgeExplorer".
If is not installed by default you can download it from progress website, is free.
try: http://yourHostIP:9090
if if works, and you have all you need, this replace the Progress Explorer Tool:
 
Thanks All,
Hey rstanciu,
I don't have OE Explorer & not possible for me to install that too, because i am using client's machine.

After that i will try to have a look for $DLC/properties/ubroker.properties.......
But please let me know how to navigate for that.... May be that can provide what i needs.
 
Thnks man.....
But i din't get the appserver propath here...

I got the solution now with consultation over here in team as:
Just add your server in progress Explorer Tool & then from client you can access your server properties for the same.

Let me know is it the right approach or something else there too??
 
The bad thing with the PROPATH is that, even if it's supplied to the runtime session it's possible to change it within the session. One would just need to ASSIGN the PROPATH a new value - there you go ...

You wouldn't believe what funny things I have seen applications do to the PROPATH ...

The only reliable source as to what a session's PROPATH is, is the output of the PROPATH function.

But probably I am just paranoid and I am hearing the grass grow ...

Regards, RealHeavyDude.
 
Very useful for debugging though - I have a script that adds my working directory to the start of the propath so I can debug issues in the live environment easily. Naughty but very useful when you can't replicate an issue!! :-)
 
Hey Cringer...
I guess, the script you arwe talking about adds ur wrking directory path in ur propath.
But i want to add my working directory propath in appserver propath.....

Can you help me out in that??
 
Not without being able to run code on the appserver. But if you can do that, then the same code run on the appserver would work IMO.
 
Usually the PROPATH of the AppServer is defined in the ubroker.properties file. Most probably you'll find the file in the OpenEdge installation. There is a folder called properties beneath the installation directory in which the ubroker.properties file resides.

Search for the PROPATH entry in the [UBroker.AS.<yourAppServerName>] section.

HTH, RealHeavyDude.
 
Back
Top