Cannot connect to internal H2 database [message #1016752] |
Thu, 07 March 2013 10:07  |
Eclipse User |
|
|
|
I was trying to run Jubula inside Eclipse Juno but I am facing troubles connecting to the internal H2 database.
I started with a plain Juno for RCP developers release, installed Jubula into it and tried to connect to the H2 database.
I get an error message: "Database connection failed: Please enter a valid username and password and try again"
which might be misleading as I can see an SQLException "No suitable driver found for jdbc:h2:C:\data\Jubula\database;MUCC=TRUE;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE" on the console.
I was playing around with different file URIs, but without any luck.
The problem is reproducible on win32, the same setup on a linux machine works out of the box.
|
|
|
|
|
|
|
|
|
|
|
|
Re: Cannot connect to internal H2 database [message #1219736 is a reply to message #1219725] |
Thu, 05 December 2013 10:27   |
Eclipse User |
|
|
|
I am using Jubula version 7.1 on Windows 7.
Yes. I had a very good access to the H2-Database yesterday, and today once I started to open Jubula and continue working on my project, it does not open at all my project.
No one has deleted the Database. I am the only guy, who is working on this System.
And I do not even know, where this database located.If you know, let me know. Thanks.
I did now a stuped thing--I uninstalled Jubula, so I lost my Test cases, which I created...
But before removing Jubula I made a copy of the installation folder(jubula_7.1.00054) from the Program folder (C:\Program Files (x86)), in case I can recover my project later on.
Then I installed Jubula again and start now from scratch my Test cases again, which I have a spent few weeks working on that.
Above This I got an advice from a friend to export the project every day or every week and then I can import it easily in case of problem like that.
I made some intial Tests and then export the project as XML file.
The question is now , how can I import this file to jubula!
I tried from Menu, Test---import, it started to importing the project but error said, it is already in the database.
Connection to Database successful.
Importing projects...
Reading projects...
Reading project file /C:/Users/Louis/Desktop/BASEP/BASE2_6.0_Complete/CD/Software/BASE2_6.0.0/BASE2_6.0.0/Test_ESABASE2_RCP_1.0_Test.xml.
Project "ESABASE2_RCP" in version 1.0 requires the following project(s):
- project "unbound_modules_rcp" in version 7.1
- project "unbound_modules_concrete" in version 7.1
- project "unbound_modules_swt" in version 7.1
Finished reading projects.
Importing ESABASE2_RCP_1.0...
The import of project "ESABASE2_RCP" failed.
There is already a project "ESABASE2_RCP" in version 1.0 in the Database.
Finished importing ESABASE2_RCP_1.0.
Finished importing projects.
I hope You can help on this occasion.
Thanks a lot.
Cheers
Louis
|
|
|
|
|
|
|
|
|
Re: Cannot connect to internal H2 database [message #1229773 is a reply to message #1228975] |
Fri, 10 January 2014 02:22  |
Eclipse User |
|
|
|
Hello,
If you are using '.*', then you must be using the OPERATOR "matches". If you are using '*', then you will probably need the OPERATOR "simple match" (also, in your second example, you use a small 's' for software, whereas the text you pasted had a capital 'S'). It would help if you could post test results showing the failed test step (and since this is very off topic to the original post, I'd recommend opening another thread).
As for programs, I've personally never used one so I can't help you there.
Best regards,
Alex
|
|
|
Powered by
FUDForum. Page generated in 0.29757 seconds