Hello everyone,
I manage and maintain two PB applications A and B, A being quite complex and B a tool to manage accesses to A, linked to several Oracle i9 databases.
They are developped in PB2017R3 #1915, which will soon become obsolete so we are is the process of migration to a newer version.
The migration towards PB2022R3 #3391 went without issue for both softwares, as well as full builds and generation of the exe. Then I deployed them as usual with their libraries, dependencies, ressources and runtime dependencies onto a test environment and executed them. But only B could start, nothing would happen when launching the executable for A, no log created, no error message, and this is prior to any attent to connect with any database.
In doubt, I tried the same with PB2019R3 #2803 which went just as well, except that none of the softwares would execute once deployed onto the test server.
Nothing changed on the test environment that I'm aware, elder deployments generated with PB2017 still work perfectly for both softwares.
Has there been similar issues upon migrating to these versions from PB2017R3, or a specific fix to implement ?
B used the SoapClient library which has been replaced by HTTPClient, and works in PB2017 as well as PB2022. I consulted the doc for migrating but none of the other cases apply.
Thanks in advance,
The runtimes were installed in the machine at the same time as the updates. Both runtime folders are located at C:\Program Files (x86)\Appeon\Common\PowerBuilder and each IDE points to it's own runtime folder in the menu Tools>System Options.
As for the deployment folder, the content of the runtime folders of the same version as the IDE's used to compile it is copy pasted in it to ensure that the executable has all the depedencies it requires, and the exe_name.xml file contains the absolute path of the deployment's location.
But should the runtime dependencies be installed somewhere else in the target server, other than beside the executable ?
Nicolas
As of PB 2019 R3 & higher versions / releases ...
1) The PB Runtime(s) should be packaged using the PB Packager utility that then creates an MSI install.
2) The MSI needs to be run on the deployment machine(s) and you should take note of its install location.
3) Only the PB App EXE, PBD's and its related external files should then be copied to the deployment machine(s).
4) The newer PB version compiles will now generate an <AppName>.XML file. This XML file needs to be copied to the deployment machine(s) into the same folder as the App EXE.
5) The <AppName>.XML file should now be edited to make sure that it points to the *same* folder where the PB Runtime was installed as per Step # 2.
HTH
Regards .. Chris\