Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » You have to enter a valid username or password error(I can not connect to the database)
You have to enter a valid username or password error [message #1738030] Fri, 15 July 2016 08:23 Go to next message
hilmi kumdakçı is currently offline hilmi kumdakçıFriend
Messages: 5
Registered: July 2016
Junior Member
Hello,

I am using Jubula in Linux Red Hat by using Virtual Box. I have rebooted program but still getting this type of error. What can be the solution ? It appears when I clicked Test-->New. So ı can not start using it.
Re: You have to enter a valid username or password error [message #1738325 is a reply to message #1738030] Tue, 19 July 2016 06:09 Go to previous messageGo to next message
Kevin Barbe is currently offline Kevin BarbeFriend
Messages: 64
Registered: July 2016
Member
Hello Hilmi,

were you able to create projects before or did this happen right after you installed Jubula and started it for the first time? Are you using the embedded database? If so, please close Jubula, try to delete the .jubula directory in your home directory ("~/.jubula") and start Jubula again. This way the embedded database will be deleted and recreated when you start Jubula the next time. Should the problem still occur after that, please post the client.log file that can be found in "~/.jubula/logs/client.log".

Best regards,
Kevin
Re: You have to enter a valid username or password error [message #1738337 is a reply to message #1738325] Tue, 19 July 2016 07:33 Go to previous messageGo to next message
hilmi kumdakçı is currently offline hilmi kumdakçıFriend
Messages: 5
Registered: July 2016
Junior Member
Yes, It has started at the first time and I was using embedded database. I will try that solution . Thanks a lot.
Re: You have to enter a valid username or password error [message #1738457 is a reply to message #1738325] Wed, 20 July 2016 06:07 Go to previous messageGo to next message
hilmi kumdakçı is currently offline hilmi kumdakçıFriend
Messages: 5
Registered: July 2016
Junior Member
I am copying the client log file.


2016-07-19 16:01:15.845 [main] ERROR o.e.j.client.core.utils.BundleUtils - Resource: /icons/globe.gif not found.
2016-07-19 16:01:51.981 [Worker-0] ERROR o.e.j.c.core.persistence.Persistor - no or wrong username or password
javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: org.h2.jdbc.JdbcSQLException: IO Exception: "java.net.UnknownHostException: STMGUITESTER: STMGUITESTER: unknown error" [90028-168]
Error Code: 90028
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:766) ~[eclipselink.jar:2.5.2.v20140319-9ad6abd]
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204) ~[eclipselink.jar:2.5.2.v20140319-9ad6abd]
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:304) ~[eclipselink.jar:2.5.2.v20140319-9ad6abd]
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:336) ~[eclipselink.jar:2.5.2.v20140319-9ad6abd]
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:302) ~[eclipselink.jar:2.5.2.v20140319-9ad6abd]
at org.eclipse.jubula.client.core.persistence.Persistor.buildSessionFactoryWithLoginData(Persistor.java:292) [org.eclipse.jubula.client.core_4.0.0.201603111021.jar:na]
at org.eclipse.jubula.client.core.persistence.Persistor.<init>(Persistor.java:162) [org.eclipse.jubula.client.core_4.0.0.201603111021.jar:na]
at org.eclipse.jubula.client.core.persistence.Persistor.instance(Persistor.java:610) [org.eclipse.jubula.client.core_4.0.0.201603111021.jar:na]
at org.eclipse.jubula.client.core.persistence.Persistor.access$4(Persistor.java:605) [org.eclipse.jubula.client.core_4.0.0.201603111021.jar:na]
at org.eclipse.jubula.client.core.persistence.Persistor$2.run(Persistor.java:196) [org.eclipse.jubula.client.core_4.0.0.201603111021.jar:na]
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) [org.eclipse.core.jobs_3.6.1.v20141014-1248.jar:na]
Caused by: org.eclipse.persistence.exceptions.DatabaseException:
Internal Exception: org.h2.jdbc.JdbcSQLException: IO Exception: "java.net.UnknownHostException: STMGUITESTER: STMGUITESTER: unknown error" [90028-168]
Error Code: 90028
at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:331) ~[eclipselink.jar:2.5.2.v20140319-9ad6abd]
at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:326) ~[eclipselink.jar:2.5.2.v20140319-9ad6abd]
at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:138) ~[eclipselink.jar:2.5.2.v20140319-9ad6abd]
at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162) ~[eclipselink.jar:2.5.2.v20140319-9ad6abd]
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:204) ~[eclipselink.jar:2.5.2.v20140319-9ad6abd]
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:741) ~[eclipselink.jar:2.5.2.v20140319-9ad6abd]
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:239) ~[eclipselink.jar:2.5.2.v20140319-9ad6abd]
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:685) ~[eclipselink.jar:2.5.2.v20140319-9ad6abd]
... 10 common frames omitted
Caused by: org.h2.jdbc.JdbcSQLException: IO Exception: "java.net.UnknownHostException: STMGUITESTER: STMGUITESTER: unknown error" [90028-168]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:329) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.message.DbException.get(DbException.java:158) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.message.DbException.convert(DbException.java:273) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.util.NetUtils.getLocalAddress(NetUtils.java:263) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.server.TcpServer.getURL(TcpServer.java:193) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.tools.Server.start(Server.java:456) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.engine.Database.startServer(Database.java:672) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.engine.Database.open(Database.java:544) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.engine.Database.openDatabase(Database.java:222) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.engine.Database.<init>(Database.java:217) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.engine.Engine.openSession(Engine.java:56) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.engine.Engine.openSession(Engine.java:159) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:138) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.engine.Engine.createSession(Engine.java:121) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.engine.Engine.createSession(Engine.java:28) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:305) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:108) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:92) ~[org.h2_1.3.168.v201212121212.jar:na]
at org.h2.Driver.connect(Driver.java:72) ~[org.h2_1.3.168.v201212121212.jar:na]
at java.sql.DriverManager.getConnection(DriverManager.java:664) ~[na:1.8.0_66]
at java.sql.DriverManager.getConnection(DriverManager.java:208) ~[na:1.8.0_66]
at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:98) ~[eclipselink.jar:2.5.2.v20140319-9ad6abd]
... 15 common frames omitted
Caused by: java.net.UnknownHostException: STMGUITESTER: STMGUITESTER: unknown error
at java.net.InetAddress.getLocalHost(InetAddress.java:1505) ~[na:1.8.0_66]
at org.h2.util.NetUtils.getLocalAddress(NetUtils.java:261) ~[org.h2_1.3.168.v201212121212.jar:na]
... 33 common frames omitted
Caused by: java.net.UnknownHostException: STMGUITESTER: unknown error
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[na:1.8.0_66]
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928) ~[na:1.8.0_66]
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323) ~[na:1.8.0_66]
at java.net.InetAddress.getLocalHost(InetAddress.java:1500) ~[na:1.8.0_66]
... 34 common frames omitted
Re: You have to enter a valid username or password error [message #1738458 is a reply to message #1738457] Wed, 20 July 2016 06:13 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi there,

a next suggestion: via the preferences (Window -> Preferences, then "Test / Database), configure your embedded database to be somewhere else where you know you have write access on the machine. Reconnect to the new database to try it out (via Test -> Select Database).

Best regards,
Alex
Previous Topic:How can someone use positional click on object based program
Next Topic:Support for efxclipse
Goto Forum:
  


Current Time: Tue Sep 25 23:21:49 GMT 2018

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

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

Back to the top