Skip to main content



      Home
Home » Archived » Jubula » Connection to AUT could not be established(Mapping do not start in Jubula )
Connection to AUT could not be established [message #1849598] Wed, 26 January 2022 09:09 Go to next message
Eclipse UserFriend
Hello,
I am sorry, i know almost nothing about java and Eclipse and i am new to Jubula.


i have a Windows swing java program (that use Eclipse Adoptium Temurin-11.0.13+8 JDK) , that i need to test, and i can start it from Jubula AUT (local or embedded) without issues. The problem is that when i click on "Start object mapping Mode" in Jubula I instantly get an error:

2022-01-26 15:36:27.160 [Awaiting command: class org.eclipse.jubula.client.internal.commands.ConnectToAutResponseCommand] WARN o.e.j.c.i.c.ConnectToAutResponseCommand - org.eclipse.jubula.client.internal.commands.ConnectToAutResponseCommandtimeout() called
2022-01-26 15:36:37.127 [Worker-127: Start Object Mapping Mode] ERROR o.e.j.c.c.c.AUTConnection - Connection to AUT could not be established.

If i start mapping from local AUT icon - then mapping works, i can get object name but full object details is not appearing in Jubula Test case Object Editor, so it is kind of useless.

I have tried to start AUT with autagent.exe -om option but it makes no difference.

Adder example object mapping works fine, so it must be something with my program, any thoughts?

My program has many start parameters that rings no bell to me, maybe i can change something here to make mapping work?

program start.bat file.
"C:\PEC\java64\jre\bin\javaw.exe" -DNODB2IGNORE -DDB2INSTANCE=DB2 -DDB2V9MIN=9.0.0.0 -DDB2OSCMIN=1.1.4.0 -DDB2OEMIN=1.2.1.0 -DDB2PEJVMOPTIONS="-Djava.util.prefs.syncInterval=2000000 -Dsun.java2d.noddraw=true -Djava.util.Arrays.useLegacyMergeSort=true" -DPECLASSPATH=db2.jar;pecommon.jar;fpesrv.jar;ITLMToolkit.jar;db2jcc4.jar;db2jcc_license_cisuz.jar;jlog.jar;images.jar;com.ibm.datatools.perf.repository.api.basicprofile_531.0.8523.jar;com.ibm.datatools.perf.repository.api.config_531.0.8523.jar;com.ibm.datatools.perf.repository.api.access_531.0.8523.jar;ext/ibmjsse.jar;ext/jhall.jar;ext/jhtools.jar;ext/mail.jar;ext/smtp.jar;ext/IBMJCEfw.jar;ext/activation.jar;ext/imap.jar;ext/jh.jar;ext/jhbasic.jar;ext/jsearch.jar;ext/local_policy.jar;ext/mailapi.jar;ext/pop3.jar;ext/US_export_policy.jar -DPEMAINCLASS=com.ibm.db2pm.sysovw.main.SysOvwLauncher -jar launcher.jar

  • Attachment: pec.png
    (Size: 55.12KB, Downloaded 171 times)
  • Attachment: pec2.PNG
    (Size: 110.27KB, Downloaded 160 times)
Re: Connection to AUT could not be established [message #1849912 is a reply to message #1849598] Tue, 08 February 2022 07:37 Go to previous message
Eclipse UserFriend
I have noticed that on Jubula 8.8.1 application starts on a new thread while on 8.1 it starts under parent AUT thread. Could this be the reason why AUT is not connecting?
  • Attachment: Aut.png
    (Size: 50.18KB, Downloaded 158 times)
Previous Topic:Extension wizard throw exception about JAXB
Next Topic:BeforeTest, AfterTest hooks not present in Jubula
Goto Forum:
  


Current Time: Fri May 16 18:13:04 EDT 2025

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

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

Back to the top