Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Cannot connect to internal H2 database
Cannot connect to internal H2 database [message #1016752] Thu, 07 March 2013 10:07 Go to next message
Christian Pontesegger is currently offline Christian Pontesegger
Messages: 36
Registered: July 2009
Location: Graz, Austria
Member
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 #1016909 is a reply to message #1016752] Fri, 08 March 2013 03:02 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 875
Registered: July 2009
Senior Member
Hi,

If the setup works on another machine, then my first suspicion is write access or firewall. Could it be one of those two things?

HTH,
Alex
Re: Cannot connect to internal H2 database [message #1017065 is a reply to message #1016909] Fri, 08 March 2013 14:26 Go to previous messageGo to next message
Christian Pontesegger is currently offline Christian Pontesegger
Messages: 36
Registered: July 2009
Location: Graz, Austria
Member
Gave it another try today and it worked as expected. Might be that installing Jubula in eclipse needs a windows reboot to work? Might be the jdbc drivers...

anyway, it works right now Smile
Re: Cannot connect to internal H2 database [message #1017100 is a reply to message #1017065] Sat, 09 March 2013 04:30 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 875
Registered: July 2009
Senior Member
Hi,

thanks for the update. A required reboot would be new to me, but I'm glad it works now, whatever the reason Smile
Re: Cannot connect to internal H2 database [message #1097273 is a reply to message #1017100] Thu, 29 August 2013 09:25 Go to previous messageGo to next message
James Ball is currently offline James Ball
Messages: 5
Registered: June 2013
Junior Member
Hi,

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,
James.

[Updated on: Thu, 29 August 2013 09:26]

Report message to a moderator

Re: Cannot connect to internal H2 database [message #1097788 is a reply to message #1097273] Fri, 30 August 2013 02:48 Go to previous message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 875
Registered: July 2009
Senior Member
Hi,

There may be a lock on the H2 database - it sounds like something I've seen once or twice. Unfortunately, I'm not a database expert, so I wouldn't want to recommend how to get rid of the lock, but maybe this information helps you further.

Best regards,
Alex
Previous Topic:Building an extension for a custom component
Next Topic:How to loop through a data which is generated on the fly
Goto Forum:
  


Current Time: Mon Oct 07 19:49:23 EDT 2013

Powered by FUDForum. Page generated in 0.01651 seconds