Home » Archived » Jubula » Jubula and MySQL(Problems creating a new project using MySQL db as backend)
Jubula and MySQL [message #868870] |
Wed, 02 May 2012 12:52  |
Eclipse User |
|
|
|
I am relatively new to Jubula and my company is trying to do a POC. I installed the standalone version of Jubula and worked extensively with the embedded H2 database. It worked great. I created projects, suites, etc. Now, as we look at using Jubula in a multi-user environment, we decided to go with using a MySQL database and we are running into a lot of issues. We worked through all the firewall/permissions issues. I am able to successfully connect to the database and the user I am using has full access to the MySQL database. My problem comes when I try to create a new project. Within Jubula, I get the message "Reason 2043: Creation of a new project failed." That's it. No details. We turned on all the logging we could and added a sniffer to try and debug our issue. We could see there was traffic between our Jubula PC and the MySQL database. We could also see that there were numerous inserts/selects that were successful when I tried to create a new project. However, there was one insert in particular that failed and we don't know why. Here is the statement that is failing:
"INSERT INTO NODE (ID, IS_ACTIVE, CONF_MAJ_VERS, IS_GENERATED, GUID, COMM_TXT, NAME, PARENT_PROJ, TIMESTAMP, VERSION, FK_PARAM_INTERFACE, AUT_CONT, EXECOBJ_CONT, SPECOBJ_CONT, TDC_CONT, PROJECT_PROPERTIES, CLASS_ID) VALUES (702, 1, 6, 0, '4e1c5435975a4560b20dc869d552021d', null, null, null, 0, 1, 703, 705, 713, 714, 715, 716, 'P')"
Can someone help us out? Is there a table called node? When does the node table get created? Is there any documentation of the H2 embedded databases so we can see the table structure and see if it matches our MySQL databases? Jubula does so many things behind the scenes, it makes it difficult to diagnose problems. Is there anyone who has used a MySQL database as the backend that I could communicate with? Any help would be appreciated? Thanks.
|
|
| | | | | | |
Re: Jubula and MySQL [message #1743305 is a reply to message #871080] |
Wed, 14 September 2016 05:00  |
Eclipse User |
|
|
|
In fact I found the problem.
There is a limitation of size per table in Mysql.
When the NODE table is created, if the myql database used UTF8, the NODE table is too large for mysql (Every table (regardless of storage engine) has a maximum row size of 65,535 bytes)
So a solution is to create a database with Latin1, the jubula tables are then correctly created.
Regards
Jim20100
|
|
|
Goto Forum:
Current Time: Wed Jul 23 11:55:09 EDT 2025
Powered by FUDForum. Page generated in 0.10377 seconds
|