You can google for more information on Java error "wrong ELF class: 
ELFCLASS32 (Possible cause: architecture word width mismatch)".  You'll 
see that this usually means that you are running STAF Java code (e.g. from 
JSTAF.jar) that was compiled using a different architecture (e.g. 32-bit) 
than the Java executable that you're using (e.g. 64-bit).  So, this means 
that you probably installed the 32-bit version of STAF for Linux (which 
provides support for a 32-bit JVM) as stated on the STAF Download webpage 
at http://staf.sourceforge.net/getcurrent.php, but in your PATH, you have 
a 64-bit JVM.

You can either change which STAF or JVM version you are using.  For 
example, if want to use a 64-bit JVM, then install the AMD64 version of 
STAF for Linux which provides 64-bit Java support.  Or, change your PATH 
to use a 32-bit JVM (if you have one installed) if you want to use the 
32-bit version of STAF for Linux.

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313



----- Message from Tennis Smith <ten...@tripit.com> on Sat, 23 Jan 2010 
12:05:23 -0800 -----
To:
staf-users@lists.sourceforge.net
Subject:
Ant Interface: Wrong ELF Class
Hi,

When I use the staf/Ant interface on linux to execute a shell command on 
WinXP, I get an error.

Here is the code from the linux (Ubuntu) box:

    <target name="client_cleanup" if="client_cleanup.run">
        <for list="${build.client.ip.addresses}" delimiter="," param="ip">
            <sequential>
                <echo>@{ip}</echo>
                <for list="${build.client.apps}" delimiter="," 
param="app">
                    <sequential>
                        <echo>Stopping: @{app}</echo>
                        <staf
                            location="@{ip}"
                            service="process"
                            request='start shell command "dir"'
                            throwBuildException="true"/>
                    </sequential>
                </for>
            </sequential>
        </for>       
    </target>


Here is the error returned:

/opt/cruisecontrol/projects/nightly/build.xml:106: 
java.lang.UnsatisfiedLinkError: /usr/local/staf/lib/libJSTAF.so: 
/usr/local/staf/lib/libJSTAF.so: wrong EL
F class: ELFCLASS32 (Possible cause: architecture word width mismatch) 
                                                                                
     


Any ideas?

-- 

Tks,
-T
----- Message from staf-users-requ...@lists.sourceforge.net on Unknown 
-----
Subject:
confirm eaa7b37fb5da081c2a441c5a1218cfe0df25a34b
If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message.  Do this if the message is
spam.  If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list.  The Approved: header can also appear in the first line
of the body of the reply.
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to