|Cannot connect to internal H2 database [message #1016752]
||Thu, 07 March 2013 10:07
| Christian Pontesegger
Registered: July 2009
Location: Graz, Austria
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 #1097273 is a reply to message #1017100]
||Thu, 29 August 2013 09:25
| James Ball
Registered: June 2013
We are experiencing the same problem as stated. GUIDancer was working ok, I experienced a problem connecting to my remote client (which I have received on and off). This caused me to reboot the GUIDancer client. On restarting GUIDancer I received the same message, I am left with a database login prompt requesting me to enter a valid username and password and the specified connection being the 'Default Embedded (H2)'. Clicking OK on the prompt only repeats the problem.
I have rebooted both machines and there is still the same problem.
Any thoughts gratefully received,
[Updated on: Thu, 29 August 2013 09:26]
Report message to a moderator
|Re: Cannot connect to internal H2 database [message #1219736 is a reply to message #1219725]
||Thu, 05 December 2013 10:27
| louy koko
Registered: October 2013
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.
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.
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.
Powered by FUDForum
. Page generated in 0.02240 seconds