Page 1 of 1

License issue for Jade and .NET

Posted: Wed Oct 26, 2016 2:56 pm
by robfrancis
So I'm trying to run the demo from Introductory Tutorial to JADE .NET
https://www.jadeworld.com/docs/jade-70/ ... apter3.htm

I have a Jade demo license on a VM with Visual Studio. So .NET code and Jade are on the same dev box.

Running in MultiUser mode with JadRap running, I get the following error:
"You have exceeded the number of Process Licenses JOM exception code = '5504'"

Hmmm. Fair enough. I close JadRap. I modify jade.ini
[Jade]
Server=SingleUser
...

and I also modify App.config in VS.
connectionString="DataSource=C:/Jade71/system/;
ConfigFile=C:/Jade71/system/jade.ini;
SingleUser=True;
Schema=BankingViewSchema;
Application=DotNetConnection;
IntegratedSecurity=true"></add>

Running my C# app in SingleUser mode still gives:
"You have exceeded the number of Process Licenses JOM exception code = '5504'"

I have run Jade Monitor and looked at users. Nothing unusual. I can fire up JDE without problem in SingleUser mode. I am not running JDE or Monitor or JadRap when trying to run the C# app.

Any thoughts?
How many licenses minimum do I require to run the Jade .NET demo?

Thanks

Re: License issue for Jade and .NET

Posted: Wed Oct 26, 2016 3:46 pm
by BeeJay
What do you have set for the defaultPoolSize="nn" or, in other words, the "nn" number of processes that are spun up when you open your "JOOB Connection" to the Jade database?

https://www.jadeworld.com/docs/jade-71/ ... cesses.htm

Cheers,
BeeJay.

Re: License issue for Jade and .NET

Posted: Wed Oct 26, 2016 3:52 pm
by robfrancis
*** SOLVED ***

As per the example, it was...
<joob defaultConnection="myDefault">

which apparently uses a default of 10 processes. Changing it as follows:
<joob defaultConnection="myDefault" defaultPoolSize="2">

fixes the problem.

Thanks, BeeJay! Champion!

Re: License issue for Jade and .NET

Posted: Thu Oct 27, 2016 8:19 pm
by BeeJay
No worries. Looks like I may have plenty of spare time to answer forum posts soon... unfortunately. :(

Cheers,
BeeJay.