maximum user error

Discussions relating to breakout scripting, .NET and COM programming with Jiwa objects.

maximum user error

Postby ted.nsw » Fri Jan 29, 2016 3:33 pm

I'm using JIWA 6.5.12 on Windows 2008 server.

The problem is, JIWA sometimes says we reach the maximum number of users, but it's not.
We have 20 user license, but in the Windows remote desktop manager, we have only 16 users.
Is there any monitoring tool to display current login user ? or any reset all login users tool ?

If anyone knows about this, please reply here.

Thanks in advance.

Ted Ahn
ted.nsw
Occasional Contributor
Occasional Contributor
 
Posts: 10
Joined: Wed Jul 01, 2015 6:15 pm

Re: maximum user error

Postby Mike.Sheen » Fri Jan 29, 2016 4:53 pm

To see the number of CALs Jiwa thinks is being used, you can run a query in SQL Server Management Studio identical to that which Jiwa uses:

Code: Select all
SELECT hostprocess, MAX(hostname) hostname, COUNT(DISTINCT hostprocess) CALs
FROM Master.Dbo.SysProcesses
WHERE Program_Name = 'Jiwa Financials'
GROUP BY hostprocess


You should see results something like this:
CalCount.PNG
SQL Management Studio


If you're finding you only have 16 users but 20 CALs used, then it may be a case of Jiwa running in the background, or connections failing to close. If you're using RDS then as an administrator, look at the running processes and count the number of jiwa.exe's running - if you see more than you expect, then in some users sessions they may have a jiwa running in the background (may happen if the application crashes) - terminate that process and run the above query again to see if that reclaimed the CAL.

Restarting SQL Server will always result in all CALs being freed - perhaps that's an option - like a daily SQL Server restart at 5am. Often we've seen this behaviour when users are logged in for extended periods, so a daily SQL server restart (Stop and restart of the SQL service, not a reboot) may help.

Mike
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: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756

Re: maximum user error

Postby ted.nsw » Tue Feb 02, 2016 2:27 pm

Dear Mike,

Thanks a lot.
I will keep in mind.

Cheers,

Ted Ahn
ted.nsw
Occasional Contributor
Occasional Contributor
 
Posts: 10
Joined: Wed Jul 01, 2015 6:15 pm


Return to Technical / Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron