Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Linux JBE Runtime Error on 64-bit RedHat Enterprise

QUESTION:
Is the RTC BuildSystemToolkit 32-bit only?

THE DETAILS:
I'm running RedHat Enterprise 5.5

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)

uname -a
Linux stpls130 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

I installed Sun JDK 1.6:

java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)

I installed the RTC BuildSystemToolkit:

RTC-BuildSystemToolkit-2.0.0.2-Linux.zip

I am able to run a JBE successfully, but when it picks up a build, the JBE encounters a runtime error:

2010-07-22 15:41:34 Found a user request for build definition "Dragon 1.0 - Acceptance".
2010-07-22 15:41:34 Should build occur?
2010-07-22 15:41:34 Yes: Always build a user initiated request.
2010-07-22 15:41:35 Invoking pre-build participant "com.ibm.team.build.jazzscm"
!SESSION 2010-07-22 15:40:54.309 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -repository https://latrtc.stp.guidant.com/jazz -engineId Linux1 -verbose -userId scmadm -passwordFile password.txt
Command-line arguments: -os linux -ws gtk -arch x86 -repository https://latrtc.stp.guidant.com/jazz -engineId Linux1 -consolelog -verbose -userId scmadm -passwordFil e password.txt

!ENTRY org.eclipse.core.filesystem 1 1 2010-07-22 15:41:37.699
!MESSAGE Could not load library: liblocalfile_1_0_0.so. This library provides platform-specific optimizations for certain file system operations. This library is no t present on all platforms, so this may not be an error. The resources plug-in will safely fall back to using java.io.File functionality.
!STACK 0
java.lang.UnsatisfiedLinkError: /usr/local/jazz/buildsystem/buildengine/eclipse/configuration/org.eclipse.osgi/bundles/95/1/.cp/os/linux/x86/liblocalfile_1_0_0.so: /u sr/local/jazz/buildsystem/buildengine/eclipse/configuration/org.eclipse.osgi/bundles/95/1/.cp/os/linux/x86/liblocalfile_1_0_0.so: wrong ELF class: ELFCLASS32 (Possibl e cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1712)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at org.eclipse.core.internal.filesystem.local.LocalFileNatives.<clinit>(LocalFileNatives.java:32)
at org.eclipse.core.internal.filesystem.local.LocalFileSystem.attributes(LocalFileSystem.java:82)
at com.ibm.team.filesystem.client.internal.ManagedFileStore.<clinit>(ManagedFileStore.java:142)
at com.ibm.team.filesystem.client.internal.FileStorageWrapper.getFileStore(FileStorageWrapper.java:329)
at com.ibm.team.filesystem.client.internal.FileStorageWrapper.exists(FileStorageWrapper.java:356)
at com.ibm.team.filesystem.client.internal.Shareable.exists(Shareable.java:635)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.checkForCollision(LoadOperation.java:1562)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.getElementsToLoad(LoadOperation.java:1193)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.evaluateLoadRequests(LoadOperation.java:463)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation$2.run(LoadOperation.java:685)
at com.ibm.team.filesystem.client.internal.SharingManager.runWithinFileSystemLock(SharingManager.java:742)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:173)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:153)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.execute(LoadOperation.java:720)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:90)
at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:365)
at com.ibm.team.build.internal.engine.JazzScmPreBuildParticipant.preBuild(JazzScmPreBuildParticipant.java:193)
at com.ibm.team.build.internal.engine.BuildLoop.invokePreBuildParticipants(BuildLoop.java:628)
at com.ibm.team.build.internal.engine.BuildLoop$2.run(BuildLoop.java:466)
at java.lang.Thread.run(Thread.java:619)
2010-07-22 15:41:40 Invoking build participant "com.ibm.team.build.ant"
2010-07-22 15:41:42 Build "20100722-1541" complete.

0 votes



One answer

Permanent link
The executable is 32-bit but you can run JBE on 64-bit windows using these instructions.

https://jazz.net/wiki/bin/view/Main/JbeOtherPlatforms

Hope this helps,
JohnC
SCM Server

QUESTION:
Is the RTC BuildSystemToolkit 32-bit only?

THE DETAILS:
I'm running RedHat Enterprise 5.5

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)

uname -a
Linux stpls130 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

I installed Sun JDK 1.6:

java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)

I installed the RTC BuildSystemToolkit:

RTC-BuildSystemToolkit-2.0.0.2-Linux.zip

I am able to run a JBE successfully, but when it picks up a build, the JBE encounters a runtime error:

2010-07-22 15:41:34 Found a user request for build definition "Dragon 1.0 - Acceptance".
2010-07-22 15:41:34 Should build occur?
2010-07-22 15:41:34 Yes: Always build a user initiated request.
2010-07-22 15:41:35 Invoking pre-build participant "com.ibm.team.build.jazzscm"
!SESSION 2010-07-22 15:40:54.309 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -repository https://latrtc.stp.guidant.com/jazz -engineId Linux1 -verbose -userId scmadm -passwordFile password.txt
Command-line arguments: -os linux -ws gtk -arch x86 -repository https://latrtc.stp.guidant.com/jazz -engineId Linux1 -consolelog -verbose -userId scmadm -passwordFil e password.txt

!ENTRY org.eclipse.core.filesystem 1 1 2010-07-22 15:41:37.699
!MESSAGE Could not load library: liblocalfile_1_0_0.so. This library provides platform-specific optimizations for certain file system operations. This library is no t present on all platforms, so this may not be an error. The resources plug-in will safely fall back to using java.io.File functionality.
!STACK 0
java.lang.UnsatisfiedLinkError: /usr/local/jazz/buildsystem/buildengine/eclipse/configuration/org.eclipse.osgi/bundles/95/1/.cp/os/linux/x86/liblocalfile_1_0_0.so: /u sr/local/jazz/buildsystem/buildengine/eclipse/configuration/org.eclipse.osgi/bundles/95/1/.cp/os/linux/x86/liblocalfile_1_0_0.so: wrong ELF class: ELFCLASS32 (Possibl e cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1712)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at org.eclipse.core.internal.filesystem.local.LocalFileNatives.<clinit>(LocalFileNatives.java:32)
at org.eclipse.core.internal.filesystem.local.LocalFileSystem.attributes(LocalFileSystem.java:82)
at com.ibm.team.filesystem.client.internal.ManagedFileStore.<clinit>(ManagedFileStore.java:142)
at com.ibm.team.filesystem.client.internal.FileStorageWrapper.getFileStore(FileStorageWrapper.java:329)
at com.ibm.team.filesystem.client.internal.FileStorageWrapper.exists(FileStorageWrapper.java:356)
at com.ibm.team.filesystem.client.internal.Shareable.exists(Shareable.java:635)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.checkForCollision(LoadOperation.java:1562)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.getElementsToLoad(LoadOperation.java:1193)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.evaluateLoadRequests(LoadOperation.java:463)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation$2.run(LoadOperation.java:685)
at com.ibm.team.filesystem.client.internal.SharingManager.runWithinFileSystemLock(SharingManager.java:742)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:173)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:153)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.execute(LoadOperation.java:720)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:90)
at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:365)
at com.ibm.team.build.internal.engine.JazzScmPreBuildParticipant.preBuild(JazzScmPreBuildParticipant.java:193)
at com.ibm.team.build.internal.engine.BuildLoop.invokePreBuildParticipants(BuildLoop.java:628)
at com.ibm.team.build.internal.engine.BuildLoop$2.run(BuildLoop.java:466)
at java.lang.Thread.run(Thread.java:619)
2010-07-22 15:41:40 Invoking build participant "com.ibm.team.build.ant"
2010-07-22 15:41:42 Build "20100722-1541" complete.

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jul 22 '10, 5:01 p.m.

Question was seen: 6,474 times

Last updated: Jul 22 '10, 5:01 p.m.

Confirmation Cancel Confirm