Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » ANT integration database problem
ANT integration database problem [message #732302] Tue, 04 October 2011 13:17 Go to next message
Missing name Missing name is currently offline Missing name Missing nameFriend
Messages: 4
Registered: August 2011
Junior Member
I try to write an ANT-script, that automatically runs a test suite. I did it in the console via the "testexec"-command. When I use ANt, I just get the following Error:

No suitable driver found for jdbc:h2:~/.jubula/database/embedded;MVCC=TRUE;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE
[exec] Error Code: 0
[exec] at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:324)
[exec] at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:319)
[exec] at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:138)
[exec] at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
[exec] at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:592)
[exec] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:233)
[exec] at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:394)
[exec] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:185)
[exec] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:242)
[exec] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:230)
[exec] at org.eclipse.jubula.client.core.persistence.Hibernator.buildSessionFactoryWithLoginData(Hibernator.java:283)
[exec] at org.eclipse.jubula.client.core.persistence.Hibernator.<init>(Hibernator.java:159)
[exec] at org.eclipse.jubula.client.core.persistence.Hibernator.instance(Hibernator.java:591)
[exec] at org.eclipse.jubula.client.core.persistence.Hibernator.access$4(Hibernator.java:586)
[exec] at org.eclipse.jubula.client.core.persistence.Hibernator$2.run(Hibernator.java:194)
[exec] at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
[exec] Caused by: java.sql.SQLException: No suitable driver found for jdbc:h2:~/.jubula/database/embedded;MVCC=TRUE;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE
[exec] at java.sql.DriverManager.getConnection(Unknown Source)
[exec] at java.sql.DriverManager.getConnection(Unknown Source)
[exec] at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:98)
[exec] ... 13 more
[exec] !!Error occurred !!
[exec] Database connection failed because of invalid or missing database detail

Can please someone help me to solve this problem?
Thanks
Re: ANT integration database problem [message #734223 is a reply to message #732302] Fri, 07 October 2011 07:10 Go to previous messageGo to next message
Niklaus Giger is currently offline Niklaus GigerFriend
Messages: 30
Registered: August 2011
Member
Hi

I used the same switches in my ruby script and they worked. Are you sure that the corresponding h2*.jar file can be found in the classpath?


Re: ANT integration database problem [message #875337 is a reply to message #734223] Tue, 22 May 2012 14:44 Go to previous messageGo to next message
Mujibur Rahman is currently offline Mujibur RahmanFriend
Messages: 3
Registered: April 2012
Location: Bangalore
Junior Member
Hi

getting the same problem with ant. Any solution?

Thanks
Re: ANT integration database problem [message #875351 is a reply to message #875337] Tue, 22 May 2012 15:17 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi,

This sounds like a problem other people have had. Have a look at these forum threads to see if they help at all:

http://www.eclipse.org/forums/index.php/t/263140/

http://www.eclipse.org/forums/index.php/t/262213/

HTH,
Alex
Previous Topic:Cannot capture in tabbed pane
Next Topic:Problem Running jubula tests with ant. No suitable driver found error
Goto Forum:
  


Current Time: Thu Apr 18 06:24:37 GMT 2024

Powered by FUDForum. Page generated in 0.01703 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top