The problem of AUT on AIX [message #1004432] |
Wed, 23 January 2013 03:16  |
Eclipse User |
|
|
|
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 #1005372 is a reply to message #1005147] |
Fri, 25 January 2013 02:29   |
Eclipse User |
|
|
|
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 #1005643 is a reply to message #1005387] |
Sun, 27 January 2013 21:47  |
Eclipse User |
|
|
|
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 03:11] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.05092 seconds