Jiwa Plugin Scheduler Service not doing anything

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Re: Jiwa Plugin Scheduler Service not doing anything

Postby DannyC » Fri Jan 25, 2019 5:15 pm

Done.

When the sevice starts I only get the "Service started successfully" but not the
Code: Select all
Checkpoint #1 - Service Started


I only get the
Code: Select all
Checkpoint #2 - Plugin executed.

each minute.

EDIT: Would it be a factor that the server I am running the service on is an Azure VM, and the database lives on Azure SQL? The thing is, it used to be running fine just a few days ago. No known changes.
Would it be useful for your diagnosis to have the login credentials to the Azure VM etc? I can email you (that's both Mike & Scott) direct with those deets. VS is installed.
User avatar
DannyC
Senpai
Senpai
 
Posts: 718
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 31

Re: Jiwa Plugin Scheduler Service not doing anything

Postby SBarnes » Sat Jan 26, 2019 8:03 am

Hi Guys

I might be able to shed some light on this mystery, if you look in the compile and run time directories for where the plugin ends up on two different servers under the directories where the plugins end up you get the following results:

1. Dev Server not present in compile directory and not in run time
2. Production Server present in compile directory but not present in run time

I will email all three of you the latest copy of the plugin from the development server to which I have added the following lines to the service start, execute and service stop methods none of which is being called because I believe the windows service is not getting a compiled version of the code question is why and I think the only way to work this out is going to be to step it through against the windows service itself and see what it does when trying to deploy it.

The only other light I could give at the moment is there is business logic code in the same plugin could that cause a problem?
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1696
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 191

Re: Jiwa Plugin Scheduler Service not doing anything

Postby Mike.Sheen » Tue Jan 29, 2019 10:06 am

Stop any running services on the machine then delete the folder under %ProgramData%\Jiwa Financials\Jiwa 7\ for the version, windows user, server and database.

Eg:

Code: Select all
C:\ProgramData\Jiwa Financials\Jiwa 7\7.2.0\mikes\localhost\JiwaDemoTest


would be the folder to delete if the version was 7.2.0, the Windows user was mikes, the SQL Server was localhost and the database was JiwaDemoTest.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807

Re: Jiwa Plugin Scheduler Service not doing anything

Postby DannyC » Tue Jan 29, 2019 1:09 pm

Mike,

That sorted it.
My next step was to delete the compile folder from ProgramData but just for the non-running plugin.
Instead I trashed the whole folder under that particular user account. The Plugin Scheduler Service is currently running under Local System, so I deleted the whole folder.
Code: Select all
C:\ProgramData\Jiwa Financials\Jiwa 7\7.2.0\SYSTEM\%servername%\


I needed to do it a couple of times as I also found that if I adjusted the code to fix a minor error & rem out some of the logging we put it as suggested earlier, then restarting the service didn't fire the schedule again.
Deleting the folders as above & restarting service & all is sweet for now.

As always, thx for your attention & suggestions. Really appreciated & hope it helps someone else out reading this!
User avatar
DannyC
Senpai
Senpai
 
Posts: 718
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 31

Previous

Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 4 guests