License issue for Jade and .NET

For questions and postings not covered by the other forums
robfrancis
Posts: 6
Joined: Thu Sep 22, 2016 10:18 am

License issue for Jade and .NET

Postby robfrancis » Wed Oct 26, 2016 2:56 pm

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

User avatar
BeeJay
Posts: 312
Joined: Tue Jun 30, 2009 2:42 pm
Location: Christchurch, NZ

Re: License issue for Jade and .NET

Postby BeeJay » Wed Oct 26, 2016 3:46 pm

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.

robfrancis
Posts: 6
Joined: Thu Sep 22, 2016 10:18 am

Re: License issue for Jade and .NET

Postby robfrancis » Wed Oct 26, 2016 3:52 pm

*** 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!

User avatar
BeeJay
Posts: 312
Joined: Tue Jun 30, 2009 2:42 pm
Location: Christchurch, NZ

Re: License issue for Jade and .NET

Postby BeeJay » Thu Oct 27, 2016 8:19 pm

No worries. Looks like I may have plenty of spare time to answer forum posts soon... unfortunately. :(

Cheers,
BeeJay.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 15 guests