Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Testexec issue. No valid Java JRE was specified
Testexec issue. No valid Java JRE was specified [message #1731674] Mon, 09 May 2016 08:01 Go to next message
Gabriel Budau is currently offline Gabriel BudauFriend
Messages: 6
Registered: March 2016
Junior Member
Hi,

I'm having issues when I start the testing suite using testexec.exe. I get the error "AUT could not be started, because no valid Java JRE was specified", it only occurs when using testexec.exe, in jubula ITE it works perfectly. There was an option in AUT configuration to specify the JRE but is disabled, i don't know why. It's worth mentioning that my system variables are up to date (JRE_HOME, Path).

Bellow is the command itself

C:\>C:/"Program Files"/jubula_8.2.2.055/jubula/testexec.exe -project rcp_app -ve
rsion 1.0 -testsuite "TreeTest" -server localhost -port 60000 -dbscheme 'Default
Embedded (H2)' -dbuser sa -dbpw '' -autconfig rcp_app_aut@localhost -resultdir
C:\jubula_tests_reports\
5/9/16 7:45:13 AM - AUT Agent: Connecting to "localhost:60000" ...
5/9/16 7:45:14 AM - AUT Agent: connection established.
5/9/16 7:45:14 AM - Database: Connecting as "sa" to "jdbc:h2:~/.jubula/databas
e/embedded;MVCC=TRUE;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE"...
5/9/16 7:45:17 AM - Database: Connection established.
5/9/16 7:45:17 AM - Database: Loading project "rcp_app" in version "1.0"...
5/9/16 7:45:18 AM - Database: Project loading completed.
5/9/16 7:45:18 AM - Project: Checking completeness
5/9/16 7:45:18 AM - Checking completeness of Test Suite "TreeTest"...
5/9/16 7:45:18 AM - ... passed.
5/9/16 7:45:18 AM - AUT: Starting AUT: "rcp_app_aut" via configur
ation "rcp_app_aut@localhost"...
!!Error occurred !!
AUT could not be started, because no valid Java JRE was specified
5/9/16 7:45:24 AM - AUT Agent: connection closed.
5/9/16 7:45:25 AM - Exit: Code 1

Thanks in advance.
Re: Testexec issue. No valid Java JRE was specified [message #1731678 is a reply to message #1731674] Mon, 09 May 2016 08:27 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hello,

Are you starting exactly the same version of the AUT that you start when you start it via the ITE? Does the application have a splash screen, or take very long to start? Can you attach the rc_rcp log and the autagent log (from your home directory)?

Best regards
Alex
Re: Testexec issue. No valid Java JRE was specified [message #1731684 is a reply to message #1731678] Mon, 09 May 2016 08:50 Go to previous messageGo to next message
Gabriel Budau is currently offline Gabriel BudauFriend
Messages: 6
Registered: March 2016
Junior Member
Hi, thanks for the quick response...

The same AUT configuration is used both for Jubula ITE and testexec.

Hope the logs help Smile
  • Attachment: aut_agent.log
    (Size: 5.87MB, Downloaded 104 times)
  • Attachment: rc_rcp.log
    (Size: 106.23KB, Downloaded 90 times)
Re: Testexec issue. No valid Java JRE was specified [message #1731706 is a reply to message #1731684] Mon, 09 May 2016 12:22 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Thanks for the logs. Since thy have quite a lot of info in them, could you delete the current logs, reproduce the problem and then send me the new ones? Then I'll be able to quickly find which logs are relevant.

If you can also describe what you observe when you try to start the AUT in this way, that would be good - does it start at all that you can see?

Best regards,
Alex
Previous Topic:JavaFX
Next Topic:Check that a specific string is not in a text
Goto Forum:
  


Current Time: Fri Apr 26 19:42:24 GMT 2024

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

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

Back to the top