This indicates that you ran out of connections. Could you check the servoy-admin page in the database server section if there are connections available when the error occurs?
I have increased “Maximum connections active:” from 10 to 25. I hope that solves the problem.
I am not using it2be streaming plugin.
One other question is my servoy client seems to run slow. I am not sure why.
I am using two instances of mysql. One is for servoy repository and another is for holding my application databases.
Is it advisable to have servoy repository in mysql?
Using sybase will give increased speed?
Please shed some lights. The client is previously using Filemaker which used to run a bit quicker for normal tasks such going to list and list to detail etc. But my servoy solution is lacking speed in these basic things. I am not sure what I am doing wrong. One thing I am doing is showing the foundset count.
For long running tasks and reports servoy & jasper reports proved better.
Basically I need to improve the speed and that is my task now.
If you can shed some lights on this would be great!
To speed up your clients, try increasing the servoy.maxClientHeap using the web-admin screen. It’s on the main page. Default is 64. Try increasing to 128 or 256.
I ran into trouble with some clients not being able to run my solution when I set it to 256, so I dialed it down. I also had trouble if I put a number (64) in the servoy.initialClientHeap field. When I remove the value from that field, they could login again. Not sure about this behavior.
But when I increased from 64 to 128 on the maxClientHeap, clients really sped up.
faheemhameed:
Do you have an idea for using mysql for repository vs using sybase?
There is no problem to use MySQL to host the repository, just make sure you are using an InnoDB database cause the repo needs transactions support. You could also consider to increase the connection timeout in my.ini, if the connection expires Servoy will throw an error in the log and open a new one, not a big deal but it’s nice to have a clean log.
Have a look at my Servoy&MySQL mini HowTo, there are a lot of suggestions, you can download it from my website.