1. Xavier Catteau
  2. PowerBuilder
  3. Thursday, 11 April 2024 13:17 PM UTC

Hello,

We are currently using third party solutions to use some of our PowerBuilder apps as a service in Windows.

However, we are in the middle of a Windows Server 2012 to Windows Server 2022 migration and we struggle to get one them running ok.

This situation really brings to the light the lack of PB app as a service functionality from Appeon. Third party solution are often the fruit of a development from a small crew with limited support capacity and they can decide to stop development for any reason anytime.

So is Appeon planning one day to provide PB app as a service functionality ?

 

Regards. 

Who is viewing this page
Richard Donagrandi Accepted Answer Pending Moderation
  1. Tuesday, 3 September 2024 16:28 PM UTC
  2. PowerBuilder
  3. # 1

We've used PBService for years. However, right now, we seem to have an issue where when run as a service, the program fails to load a necessary .NET dll, but runs fine when not run as a service... Having Powerbuilder handle this natively instead of relying on third party tools would be fantastic!

Comment
  1. Christopher Craft
  2. Monday, 14 October 2024 16:28 PM UTC
What PB release/runtime are you using? I am on 2022/1900 and have had no issues with PBService. And what .NET dll is it complaining about?



Chris
  1. Helpful
There are no comments made yet.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Thursday, 18 April 2024 08:22 AM UTC
  2. PowerBuilder
  3. # 2

I would suggest all those who do want this feature, vote for this thread. I've already done it.

Also it would be nice to have an enhancement request at standard support.

Andreas.

Comment
There are no comments made yet.
Xavier Catteau Accepted Answer Pending Moderation
  1. Thursday, 18 April 2024 07:49 AM UTC
  2. PowerBuilder
  3. # 3

Everyday new people are joining this thread ! Can we make this request come true this way ?

Appeon could listen and propose something. Please stop hiding behind free tools and small companies for PB app as a service. This feature is key to several commercial companies out there. wink

Comment
  1. John Fauss
  2. Tuesday, 7 May 2024 13:49 PM UTC
Open a new bug ticket: https://www.appeon.com/standardsupport/newbug

Be sure to make it public, and include the word "enhancement" in the title so that it is clearly identifiable to all.
  1. Helpful
  1. Xavier Catteau
  2. Tuesday, 7 May 2024 14:00 PM UTC
  1. Helpful
  1. David Peace (Powersoft)
  2. Wednesday, 4 September 2024 09:01 AM UTC
Can I add our weight to this request. We currently use PBNISERV from TopWiz which is great (plug for Roland), it would be really nice to have a run as service option.
  1. Helpful
There are no comments made yet.
John Vanleeuwe Accepted Answer Pending Moderation
  1. Thursday, 18 April 2024 07:39 AM UTC
  2. PowerBuilder
  3. # 4

My 2 cents....

 

We are also using external tools to run our pb apps as a service.

there are good working solutions out there which can be purchased for about 50 USD for a server  , we are using http://www.firedaemon.com at some customers servers.  other customers have implemented the nssm free tool succesfully.

dont get me wrong , we also would love to see it integrated in PB !

 

kindest regards

John

 

 

 

 

 
Comment
There are no comments made yet.
Narayana Bhat P Accepted Answer Pending Moderation
  1. Wednesday, 17 April 2024 09:17 AM UTC
  2. PowerBuilder
  3. # 5

Count me in, We also planing host PB as service for our application core feautures

Comment
There are no comments made yet.
Christopher Craft Accepted Answer Pending Moderation
  1. Tuesday, 16 April 2024 22:27 PM UTC
  2. PowerBuilder
  3. # 6

I had asked the same question awhile ago and it seemed like not many developers run their PB apps as a service.  I have used PBService for years and it runs flawlessly.  It also supports SharedObjects which PBNIServ doers not.  The unfortunate thing is Ecrane does not offer this anymore - which seems to validate my question above.   

I would love for Appeon to look into taking over PBService (or atleast offer a built-in solution).  We just need more developers out there saying they would like this feature added!

Chris Craft

 

Comment
  1. Sivaprakash BKR
  2. Wednesday, 17 April 2024 05:43 AM UTC
Count me in. We have started installing PB applications as a service, to send SMS, Email. We currently us NSSM without any issues so far.
  1. Helpful 1
  1. Andreas Mykonios
  2. Wednesday, 17 April 2024 06:30 AM UTC
I also agree. In previous jobs we used a lot of services. At that time, we were on PB 11.x and PB 12.x, so we had the alternative of creating .net assemblies, with PB, that were used in windows services created using c#. Now that .net assemblies are not available, this isn't possible anymore. The only alternative would be to create window services using one of the third party tools (which isn't 100% the same), or build them on a different language...

Andreas.
  1. Helpful 2
  1. Xavier Catteau
  2. Wednesday, 17 April 2024 07:02 AM UTC
Our system rely largely on PB services to shedules jobs. It's a very important feature that need to be supported with the appropriate care. From my point of view, I would be more confident if Appeon would provide a solution and support about it.
  1. Helpful 2
There are no comments made yet.
Xavier Catteau Accepted Answer Pending Moderation
  1. Friday, 12 April 2024 08:35 AM UTC
  2. PowerBuilder
  3. # 7

Topwiz / PBNIserv.exe

We got that type of crash after some time of usage (several times a day) : 

Faulting application name: pbniserv.exe, version: 2.11.0.0, time stamp: 0x60d1523a
Faulting module name: KERNELBASE.dll, version: 10.0.20348.2340, time stamp: 0x02d25a0b
Exception code: 0xc0000005
Fault offset: 0x00138e82
Faulting process id: 0x1ad8
Faulting application start time: 0x01da8659d2b2bf44
Faulting application path: D:\EISEC\ServiceOrchestration\pbniserv.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 3418ab68-cc72-4b5a-b6d3-aecae0cd9d82
Faulting package full name:
Faulting package-relative application ID:

The EISEC - Orchestration service terminated unexpectedly. It has done this 4 time(s).

 

We think that we managed to workaround the issue by using some older code and we have not yet found what were the modifications in our code that brought the service to crash.

Still, I really don't know what can be the cause of such behavior : the service PB wrapper PBNIserv ? the PBNI itself ? our application ?

Any help appreciated here :) 

 

 

Comment
  1. Steen Jakobsen
  2. Tuesday, 16 April 2024 05:49 AM UTC
I use PBNIserv.exe also and i'm currently havin similar issue where the service stops running randomly without any explanation.

I'm looking into using N.S.S.M. (open source) .. same as Chis.
  1. Helpful
  1. Steen Jakobsen
  2. Wednesday, 24 April 2024 07:31 AM UTC
UPDATE: My issues turned out to be my own bad. So No issue with PBNiServ. Sorry for the wrong feedback.
  1. Helpful 2
  1. Ludek Nesnidal
  2. Tuesday, 1 October 2024 15:26 PM UTC
We migrated our apps from PB17 to PB2022 and apps now crashing intermittently with same errors on multiple production and developer PCs.



See below:

*****

Faulting application name: pospiper.exe, version: 22.12.6.26, time stamp: 0x66051d05

Faulting module name: PBVM.dll, version: 22.2.0.3356, time stamp: 0x66051d7b

Exception code: 0xc0000005

Fault offset: 0x0033e2ca

Faulting process id: 0x578c

Faulting application start time: 0x01db1129768af0b1

Faulting application path: C:\PBAPPS\POS-22.11.4\pospiper.exe

Faulting module path: C:\PBRUN22(x86)\PBVM.dll

Report Id: 58d65ae8-331b-4f66-a12e-508ae5e574fa

Faulting package full name:

Faulting package-relative application ID:



or

****

Faulting application name: pospiper.exe, version: 22.12.6.26, time stamp: 0x66051d05

Faulting module name: KERNELBASE.dll, version: 10.0.19041.4780, time stamp: 0xc4a0381f

Exception code: 0xc0000005

Fault offset: 0x00141072

Faulting process id: 0x17f0

Faulting application start time: 0x01db112ae2fac826

Faulting application path: C:\PBAPPS\POS-22.11.4\pospiper.exe

Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll

Report Id: 08eed78f-f41b-43b2-be17-5e285e8c80c4

Faulting package full name:



  1. Helpful
There are no comments made yet.
Xavier Catteau Accepted Answer Pending Moderation
  1. Thursday, 11 April 2024 16:08 PM UTC
  2. PowerBuilder
  3. # 8

Topwiz / PBNIserv.exe

Comment
  1. Chris Pollach @Appeon
  2. Tuesday, 16 April 2024 11:59 AM UTC
Hi Steen;

I still use it on my W10, W11, & W2019 O/S's with no issues. I have not tried it on W2022 however. Otherwise, still works great. HTH

Regards ... Chris
  1. Helpful 1
  1. Steen Jakobsen
  2. Wednesday, 17 April 2024 08:33 AM UTC
Thanks for the feedback Chris :-)
  1. Helpful
  1. David Peace (Powersoft)
  2. Wednesday, 4 September 2024 09:10 AM UTC
We have no problems with PBNIServ, I think the issues reported on here turned out to be user coding issues.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 11 April 2024 15:39 PM UTC
  2. PowerBuilder
  3. # 9

Hi Xavier ;

  FYI: This feature is not on the PB 2025 features list.

What 3rd party "service" tool are you currently using?

Regards .. Chris

Comment
  1. David Peace
  2. Tuesday, 16 April 2024 13:30 PM UTC
What version of PB are you using for the runtime? We have a service running fine on W2022 but it is not PB2022R3 it's currently based on PB2019R3.
  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.