1. Luis Pesaressi
  2. PowerBuilder
  3. Tuesday, 1 February 2022 18:37 PM UTC

Hi

I Try the install two application CSS in same PC and the second installation not work, not install the application in the PC can Powerclient install more than one app CS in the same PC ..????

 

Luis

 

Luis Pesaressi Accepted Answer Pending Moderation
  1. Tuesday, 8 February 2022 08:46 AM UTC
  2. PowerBuilder
  3. # 1

Hi all

 

with patch  (build 1506)  I install  today, is Fix

 

thanks 

 

Luis

Comment
  1. Miguel Leeuwe
  2. Tuesday, 8 February 2022 08:56 AM UTC
Thanks for sharing Luis!
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 1 February 2022 21:04 PM UTC
  2. PowerBuilder
  3. # 2

Hi Luis;

   Yes & No ....

Yes .. but, you will need to make sure that the App deployment names are unique. For example OrderEntry1, OrderEntry2, etc.

No... if the App deployment names are the same, then the 2nd, third, etc App with the same name will not deploy as it sees the name there already as "deployed.

   Multiple Instance App crashes  ....

No... as long as instance #1 vs #2, #3, etc do not use any common resources - then they should run OK as Armeen mentioned.

Yes... If multiple instances use the same external file(s) especially for write access, then a conflict will occur and this could easily lead to an App crash (ie: using a "Control" file for example). I just tested this with my STD framework's OrderEntry PB App deployed as both a 32bit and 64bit PowerClient App. For two 32bit apps, the 2nd instance crashes, for two 64bit app instances the 2nd instance crashes, for one 32bit App instance & one 64bit app instance they run OK (separate deployment names). The reason that the 2nd instance of either bitness crashes is because the STD framework opens for write an App log. The 2nd instance then gets locked out of the log file. In order for this to work, I would have to allocate a unique log file instance  per App instance in order to avoid this collision.

Note: the same considerations would be for multiple PowerServer App instances as well. As long as there are no resource clashes between instances, then multiple instances of any App should work OK.

PS: I had to override the STD framework behaviour in order to test the above as the framework always stops the 2nd instance from starting using the O/S Mutex feature and then informs the app user that the App is already running. This feature works not only for 2 32bit & 2 64bit Apps but one 32 and one 64bit App instance as well.

So in conclusion, it could be because your PC App is using a resource that the 2nd instance is then being locked out from. Food for thought.

Regards ... Chris

Comment
  1. Luis Pesaressi
  2. Tuesday, 1 February 2022 21:19 PM UTC
yes the app have name difrent, the library is the same but NO the same file each app have a only directory with all fles necesary,both are 32bit, the name of app are different appuno/ appdos

I try in VM and the same problem but this time installe de second app first, when isntalle de first app later NO installin,

all this problem is in the client CS, try the isntall app in the suer PC,



the CloudAppLauncher_Installer make all procees but not install in cliente directory just apper the first instalation



thanks

Luis
  1. Helpful
  1. Chris Pollach @Appeon
  2. Tuesday, 1 February 2022 21:31 PM UTC
Hi Luis ... I tried to replicate your scenario but I could not. If this is a repeatable issue, then please create a simple test case and then open a Support Ticket for Appeon to study further. Regards ... Chris
  1. Helpful
  1. Luis Pesaressi
  2. Tuesday, 1 February 2022 21:43 PM UTC
OK

Thaks



Luis
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 1 February 2022 18:57 PM UTC
  2. PowerBuilder
  3. # 3

Yes, you can.  In fact, you can even have the apps compiled with different versions of PowerBuilder and still deploy to same user.  You would need to provide a screenshot of the error message as first step to better understand the problem.

Comment
  1. Armeen Mazda @Appeon
  2. Tuesday, 1 February 2022 20:50 PM UTC
I asked several other questions that you did not answer. For sure there is some mistake you made that it is not working, but hard to pinpoint the problem just by posting Q&A here. It is probably good idea you get some consulting services from our partner in Latin America https://www.dorasistemas.com/servicios/consultoria-powerbuilder
  1. Helpful
  1. Luis Pesaressi
  2. Tuesday, 1 February 2022 21:02 PM UTC
sorry

but all is the same, same PB , same PC, same librarys.. just is other app

thanks



Luis
  1. Helpful
  1. Chris Pollach @Appeon
  2. Tuesday, 1 February 2022 21:08 PM UTC
Note on Armeen's reply ... Same App that uses uses different instances of the PBVM on the same PC would only work if the same App's deployment name was unique. For example: App1_B1311 vs App1_B1506 as each deployment needs a different CAL (Cloud App Launcher). Just an FYI
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.