1. Jay Madren
  2. Valentina Reports ADK
  3. Monday, May 07 2018, 08:31 PM
  4.  Subscribe via email
Is there anything that would prevent the Reports ADK from working correctly when used in multiple Xojo apps running at the same time on the same computer?

I have a list of reports that I was processing in a loop, and it worked fine but took a long time to complete. Since Xojo is single-threaded (runs on a single CPU core), I created a helper app to run each report and launch them from the main app so that each helper could run on its own CPU core (if available). Using the same exact reports and data as before, I now get crashes with Valentina exception 23 (but no message/explanation).

I have verified that the issue seems to be with multiple parallel processes, because I can change the main app to only run one helper app at a time (waiting for the previous one to finish) and it runs without any problems.

Any ideas? (I already searched here and in Mantis and couldn't find anything related)
Comment
There are no comments made yet.
Jay Madren Accepted Answer
Forgot to mention that this is while running on Windows. I haven't tried in on Mac as this project is for a client that only runs Windows. If I have time I may try compiling it for Mac (including the helper app), but that will take a while.

This is using Xojo 2017R3 with V4RB 7.5.7.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 1
Ruslan Zasukhin Accepted Answer
Hi Jay,

* this not uses Valentina Server? As report Server?
* any reasons to not use Report Server?

Valentina Reports Benchmarks (quite old still good): https://goo.gl/upthS6
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 2
Jay Madren Accepted Answer
Well, I've never used Valentina Server. Don't know what would be involved with setting that up, both at the client and here for testing.

What additional licensing would it require?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 3
Ruslan Zasukhin Accepted Answer
Hi Jay,

Are you going deploy your solution to N users?

Assuming yes, I think best choice can be our Valentina Embedded Server (on our site also named often as VDN). Starting price 599$. For most cases this is enough.

Valentina Embedded Server license works for 3 OS, btw.

Installing of Valentina Server is a few mouse clicks on each OS.

Valentina Server also has REST API, which allows working with Valentina DB and Valentina Reports from any platform, e.g. Android.

Up to v8.2, we have provided separate archives of MT VServer. Right now we finishing 8.3 build, where we remove that separate archives, and regular VServer will be always MT. This means it will have even better multi-threading.

In the article I have shown in prev post, there was mention of MT Server.


Using Valentina Server, its easy make your VProject with reports (and now with Forms and JavaScript) to be multi-user. Just drop that vproject into folder vserver/projects.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 4
Scott Accepted Answer
+1 for using VServer. I had tried basically the same thing and wound up having issues. I purchased a VDN Embedded VServer license and haven't had a deployment issue since.

There is so much functionality when VReports are served via VServer versus an instance running on the ADK.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.