Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » The problem of AUT on AIX
The problem of AUT on AIX [message #1004432] Wed, 23 January 2013 08:16 Go to next message
posia han is currently offline posia hanFriend
Messages: 43
Registered: December 2012
Member
I deploied jubula server edition of 1.3.0 on AIX like this way:
step1 I installed jubula 1.3.0 on windows XP;
step2 I got enviorment file with AIX ppc64 from eclipse-platform-3.7.2-aix-gtk-ppc64.zip such as launcher for AIX ppc64 ,and named it autagent ,and also copied one more launcher named for stopautagent and plugin files for aix;
step3 I got an valid jdk ,and replaced the javaw path for autagent.ini and stopautagent.ini.like this:
-consolelog
--launcher.suppressErrors
-vm
/autotest/jdk/jdk/aix/bin/javaw-vmargs
-server
-Xms128m
-Xmx1024m
-client
-XX:MaxPermSize=256m
step4 I start autagent on aix,and it turned on successfully;
step5 I uploaded SimpleAdder.jar to aix at directory "/home/test/SimpleAdder.jar", and configurated AUT for it and then I used tesexec command to test it,and it works.
step6 I create an excutable .sh file, and configurated another AUT fo it ,but this time failed when i used testexec command to test it,the AUT couldn't start. And there is no valid log for it.(The detail is showd in the attachment file)
Re: The problem of AUT on AIX [message #1005147 is a reply to message #1004432] Thu, 24 January 2013 14:57 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1193
Registered: July 2009
Senior Member
Hi,

I'm afraid I can't follow the steps you did entirely, but if you have managed to get a jar working and can't get an sh to run then it sounds like the configuration for the sh or the sh itself is wrong. Can you start the sh:

- manually?
- via the ITE by pressing "play"

As I mentioned in the other thread, you should just have to transfer the correct start information to the AUT configuration.

HTH,
Alex
Re: The problem of AUT on AIX [message #1005372 is a reply to message #1005147] Fri, 25 January 2013 07:29 Go to previous messageGo to next message
posia han is currently offline posia hanFriend
Messages: 43
Registered: December 2012
Member
Hi Alex,

- manually? ---success
- via the ITE by pressing "play" ----failed

As you mentioned that my AUT is too big,I think that maybe it's a problem.And now I want to start it with autrun locally and use testexec remoutely to run the whole project.And this method is worked on Linux.

But on AIX, the .sh file just has one line "java -jar /home/test/SimpleAdder.jar", so this AUT is not big, when i run the .sh file manually, the caculator is opened. when i used testexec and ITE by pressing "play", the caculator is opened too, but the AUT haven't started successfully.

The Aut configuration for .sh file is offered in the attachment file when i creat the topic.

Best regards,
Posia
Re: The problem of AUT on AIX [message #1005387 is a reply to message #1005372] Fri, 25 January 2013 08:22 Go to previous messageGo to next message
Achim Loerke is currently offline Achim LoerkeFriend
Messages: 357
Registered: July 2009
Location: Braunschweig, Germany
Senior Member

Which Java version are you using for your tests? The support for starting with an executable (like a shell script) relies on the JAVA_OPTIONS environment variable and on the availability of java agents. This is only tested on current Oracle VMs.

- Achim
Re: The problem of AUT on AIX [message #1005643 is a reply to message #1005387] Mon, 28 January 2013 02:47 Go to previous message
posia han is currently offline posia hanFriend
Messages: 43
Registered: December 2012
Member
Hi Achim,
Do you mean the enviroment "_JAVA_OPTION"?

The java version:
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap6460sr11-20120806_01(SR11))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr11-20120801_118201 (JIT enabled, AOT enabled)
J9VM - 20120801_118201
JIT - r9_20120608_24176ifx1
GC - 20120516_AA)
JCL - 20120713_01

I got _java_option from AUT:
AUT:_JAVA_OPTIONS="-javaagent:/home/test/autagentaix/plugins/org.eclipse.jubula.rc.common.agent_1.3.0.201210161256.jar" -Duser.country=CN -Duser.language=zh

And add it to .sh file:
java -javaagent:/home/test/autagentaix/plugins/org.eclipse.jubula.rc.common.agen
t_1.3.0.201210161256.jar -Duser.country=CN -Duser.language=zh -jar /home/test/Si
mpleAdder.jar

And the cilent.log shows the error massage:
ERROR o.e.j.c.c.c.StartAUTServerStateCommand - AUTServer could not start: Error while starting AUT!

[Updated on: Mon, 28 January 2013 08:11]

Report message to a moderator

Previous Topic:Error "Timeout received before confirming the posted event" while testing by remote deskto
Next Topic:AUT starts but not recognized by Jubula
Goto Forum:
  


Current Time: Fri Dec 19 23:32:16 GMT 2014

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

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