Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » 64 bit Problem
64 bit Problem [message #1111584] Wed, 18 September 2013 08:17 Go to next message
Heinz Christoph Dau-Schmidt is currently offline Heinz Christoph Dau-Schmidt
Messages: 14
Registered: July 2013
Junior Member
Hi,
I have installed Jubula 7.1.00055 64 bit (respectively Autagent) on my Linux (Ubuntu 64bit) Server. 32 Bit Librarys were succesfully installed too (apt-get install ia32-libs).

But if I want to start Autagent, the following error message appears:
root@jenkins:/usr/local/jubula_7.1.00055/server# ./autagent -v

Autagent-lin:
JVM terminated. Exit code=13
/usr/local/jubula_7.1.00055/server//../jre/bin/java
-server
-Xms128m
-Xmx1024m
-client
-XX:MaxPermSize=256m
-jar /usr/local/jubula_7.1.00055/server/plugins/org.eclipse.equinox.launcher_1.3                                                                                        .0.v20120522-1813.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /usr/local/jubula_7.1.00055/server/autagent-lin
-name Autagent-lin
--launcher.library /usr/local/jubula_7.1.00055/server/plugins/org.eclipse.equino                                                                                        x.launcher.gtk.linux.x86_1.1.200.v20120913-144807/eclipse_1502.so
-startup /usr/local/jubula_7.1.00055/server/plugins/org.eclipse.equinox.launcher                                                                                        _1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 38005
-v
-vm /usr/local/jubula_7.1.00055/server//../jre/bin/java
-vmargs
-server
-Xms128m
-Xmx1024m
-client
-XX:MaxPermSize=256m
-jar /usr/local/jubula_7.1.00055/server/plugins/org.eclipse.equinox.launcher_1.3                                                                                        .0.v20120522-1813.jar



How can I solve this?

[Updated on: Wed, 18 September 2013 08:23]

Report message to a moderator

Re: 64 bit Problem [message #1111590 is a reply to message #1111584] Wed, 18 September 2013 08:28 Go to previous messageGo to next message
Heinz Christoph Dau-Schmidt is currently offline Heinz Christoph Dau-Schmidt
Messages: 14
Registered: July 2013
Junior Member
Can it be, that this problem occurs, because of different java versions?

JRE Version on my Server (java -version):
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

JRE Version in jubula_7.1.00055/jre/bin:
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

##Edit##
Okay I solved this issue now. The 32bit version of Jubula works.
But now, if I start AUtAgent on Ubuntu via Putty (SSH Client) a new issue occurs:
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it. 


I can't find any informations in Jubula Documentation about this.

Because of this, is it neccessary to use X11 Server to start AUTAgent?
Or can I use XframeBuffer (http://packages.ubuntu.com/de/lucid/xvfb) too?
Is somewhere here who has experience with it?

[Updated on: Wed, 18 September 2013 16:20]

Report message to a moderator

Re: 64 bit Problem [message #1112782 is a reply to message #1111590] Fri, 20 September 2013 02:50 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 1048
Registered: July 2009
Senior Member
Hi,

For the original problem you were running into, I think it was this bug.

For the second question, I'm afraid I'm at a loss Wink

Best regards,
Alex
Re: 64 bit Problem [message #1112910 is a reply to message #1112782] Fri, 20 September 2013 06:50 Go to previous messageGo to next message
Heinz Christoph Dau-Schmidt is currently offline Heinz Christoph Dau-Schmidt
Messages: 14
Registered: July 2013
Junior Member
Thanks for you answer Alex.
I can start the AUTAgent and AUT (Autrun) via SSH by using XFrameBuffer.

But if I execute my testcase (with Testexecute Tool), I received a Java (AWT) Headless exception...
Because of that, I think XFrameBuffer don't work.

Is a real graphic surface required on Linux to execute Jubula GUI Testcases?
If so, what should I use?
The AUT is an Eclipse Application with SWT.

Headless Exception [message #1113208 is a reply to message #1112910] Fri, 20 September 2013 16:17 Go to previous message
Heinz Christoph Dau-Schmidt is currently offline Heinz Christoph Dau-Schmidt
Messages: 14
Registered: July 2013
Junior Member
I have installed KDE and GTK2/3 on my Ubuntu Server now.
But the same issue occurs, if I want to execute my testcase... Sad Sad Sad
Do you have any idea what could be the cause?

Following Error Log:
 <step duration="0:00:00.334">
            <name>Select Menu Entry by Textpath on Menu Bar</name>
            <status>2</status>
            <timestamp>Fri Sep 20 21:41:08 CEST 2013</timestamp>
            <component-name>Menu</component-name>
            <component-type>Menu Bar</component-type>
            <action-type>Select Menu Entry by Textpath</action-type>
            <error>
              <type>Action Error</type>
              <description>Execution Error: "(Translated AWTException) headless environment"</description>
            </error>
            <parameter>
              <parameter-name>Menupath</parameter-name>
              <parameter-type>String</parameter-type>
              <parameter-value>File/Exit</parameter-value>
            </parameter>
            <parameter>
              <parameter-name>Operator</parameter-name>
              <parameter-type>String</parameter-type>
              <parameter-value>equals</parameter-value>
            </parameter>
          </step>
Sad Sad

[Updated on: Fri, 20 September 2013 16:17]

Report message to a moderator

Previous Topic:Skip a test case based on variable
Next Topic:making project
Goto Forum:
  


Current Time: Wed Apr 16 06:41:52 EDT 2014

Powered by FUDForum. Page generated in 0.11025 seconds