It's all about the answers!

Ask a question

Build Enginee Process is not running


K p (611216) | asked Apr 02 '10, 2:20 p.m.
Hi,

Currently we are evaluating RTC. I have installed RTC server eclipse client and Buildsystem.

Im trying compile my java project with ant build.xml. Im getting this message " The build engines supporting 'kpolasan' do not appear to be processing requests".

I also see warning message on my build engine "Warning: The build enginer process may not be running
Th ebuild enginee process represented by this engine does not appear to be processing requests. The process has never contacted the repository"

Please let me know you suggestions to resolve this.


Thanks,
Kiran

6 answers



permanent link
Ralph Schoon (63.1k33646) | answered Apr 03 '10, 10:10 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

you probably haven't setup a build process or did not start the JBE.
Please have a look at http://jazz.net/projects/rational-team-concert/learnmore/ especially in the section Build for how it works.

In a nutshell you
* Install the Buildsystem
* Have a build user with build license added to the project
* Define a build engine in the project
* Start the Jazz build engine (JBE) process
* Define a build definition that is executed by the build engine



Hi,

Currently we are evaluating RTC. I have installed RTC server eclipse client and Buildsystem.

Im trying compile my java project with ant build.xml. Im getting this message " The build engines supporting 'kpolasan' do not appear to be processing requests".

I also see warning message on my build engine "Warning: The build enginer process may not be running
Th ebuild enginee process represented by this engine does not appear to be processing requests. The process has never contacted the repository"

Please let me know you suggestions to resolve this.


Thanks,
Kiran

permanent link
Kiran Nagara (10741823) | answered Oct 14 '10, 8:15 a.m.
When we try to start the jbe we gett the error

KSH: jbe : Cannot Execute

and also by running... /opt/java1.5/bin> ./java -jar /u03/DEV02/RTC/jazz/buildsystem/buildengine/eclipse/plugin/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar -repository ht
tps://WHBVTHMDS017:9443/jazz -userId build1 -pass build1 -engineId whithp01.build


We get the below exception

/opt/java1.5/bin> ./java -jar /u03/DEV02/RTC/jazz/buildsystem/buildengine/eclipse/plugin/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar -repository ht
tps://WHBVTHMDS017:9443/jazz -userId build1 -pass build1 -engineId whithp01.build
2010-10-14 12:46:55 Running build loop...
2010-10-14 12:46:55 Waiting for request...
2010-10-14 12:46:56 Exception occurred in build loop: org/ec
lipse/emf/ecore/util/EcoreUtil
java.lang.NoClassDefFoundError: org/eclipse/emf/ecore/util/EcoreUtil
at com.ibm.team.repository.common.UUID.generate(UUID.java:47)
at com.ibm.team.repository.transport.client.CertificateStore.computeAl
ias(CertificateStore.java:110)
at com.ibm.team.repository.transport.client.CertificateStore.enterCert
ificate(CertificateStore.java:166)
at com.ibm.team.repository.transport.client.CertificateStore.enterCert
ificates(CertificateStore.java:183)
at com.ibm.team.repository.transport.client.CertificateStore.loadCerti
ficates(CertificateStore.java:215)
at com.ibm.team.repository.transport.client.SharedTrustStoreProvider.a
ddCertificatesFromStore(SharedTrustStoreProvider.java:119)
at com.ibm.team.repository.transport.client.SharedTrustStoreProvider.l
oadSystemCertificates(SharedTrustStoreProvider.java:101)
at com.ibm.team.repository.transport.client.SharedTrustStoreProvider.b
uildRuntimeTrustStore(SharedTrustStoreProvider.java:80)
at com.ibm.team.repository.transport.client.SharedTrustStoreProvider.<init>(SharedTrustStoreProvider.java:133)
at com.ibm.team.repository.transport.client.ValidatingX509TrustManager
.<init>(ValidatingX509TrustManager.java:79)
at com.ibm.team.repository.transport.client.SecureInterruptableSocketF
actory.<init>(SecureInterruptableSocketFactory.java:112)
at com.ibm.team.repository.transport.client.RemoteTeamServer.ensureIni
tialized(RemoteTeamServer.java:198)
at com.ibm.team.repository.transport.client.RemoteTeamServer.setCreden
tials(RemoteTeamServer.java:418)
at com.ibm.team.repository.client.internal.TeamRepository.<init>(TeamR
epository.java:373)
at com.ibm.team.repository.client.internal.TeamRepositoryService.getTe
amRepository(TeamRepositoryService.java:82)
at com.ibm.team.repository.client.internal.TeamRepositoryService.getUn
managedRepository(TeamRepositoryService.java:119)
at com.ibm.team.build.internal.engine.BuildLoop.getTeamRepository(Buil
dLoop.java:1048)
at com.ibm.team.build.internal.engine.BuildLoop.runLoop(BuildLoop.java
:215)
at com.ibm.team.build.internal.engine.BuildLoop$1.run(BuildLoop.java:1
70)
at java.lang.Thread.run(Thread.java:595)
2010-10-14 12:47:26 Exception occurred in build loop: org/ec
lipse/emf/ecore/util/EcoreUtil
java.lang.NoClassDefFoundError: org/eclipse/emf/ecore/util/EcoreUtil
at com.ibm.team.repository.common.UUID.generate(UUID.java:47)
at com.ibm.team.repository.transport.client.CertificateStore.computeAl
ias(CertificateStore.java:110)
at com.ibm.team.repository.transport.client.CertificateStore.enterCert
ificate(CertificateStore.java:166)
at com.ibm.team.repository.transport.client.CertificateStore.enterCert
ificates(CertificateStore.java:183)
at com.ibm.team.repository.transport.client.CertificateStore.loadCerti
ficates(CertificateStore.java:215)
at com.ibm.team.repository.transport.client.SharedTrustStoreProvider.a
ddCertificatesFromStore(SharedTrustStoreProvider.java:119)
at com.ibm.team.repository.transport.client.SharedTrustStoreProvider.l
oadSystemCertificates(SharedTrustStoreProvider.java:101)
at com.ibm.team.repository.transport.client.SharedTrustStoreProvider.b
uildRuntimeTrustStore(SharedTrustStoreProvider.java:80)
at com.ibm.team.repository.transport.client.SharedTrustStoreProvider.<init>(SharedTrustStoreProvider.java:133)
at com.ibm.team.repository.transport.client.ValidatingX509TrustManager
.<init>(ValidatingX509TrustManager.java:79)
at com.ibm.team.repository.transport.client.SecureInterruptableSocketF
actory.<init>(SecureInterruptableSocketFactory.java:112)
at com.ibm.team.repository.transport.client.RemoteTeamServer.ensureIni
tialized(RemoteTeamServer.java:198)
at com.ibm.team.repository.transport.client.RemoteTeamServer.setCreden
tials(RemoteTeamServer.java:418)
at com.ibm.team.repository.client.internal.TeamRepository.<init>(TeamR
epository.java:373)
at com.ibm.team.repository.client.internal.TeamRepositoryService.getTe
amRepository(TeamRepositoryService.java:82)
at com.ibm.team.repository.client.internal.TeamRepositoryService.getUn
managedRepository(TeamRepositoryService.java:119)
at com.ibm.team.build.internal.engine.BuildLoop.getTeamRepository(Buil
dLoop.java:1048)
at com.ibm.team.build.internal.engine.BuildLoop.runLoop(BuildLoop.java
:215)
at com.ibm.team.build.internal.engine.BuildLoop$1.run(BuildLoop.java:1
70)
at java.lang.Thread.run(Thread.java:595)

permanent link
Nick Edgar (6.5k711) | answered Oct 14 '10, 10:35 a.m.
JAZZ DEVELOPER
Which platform or you running on, and which version of java are you using (./java -version)? If it's not one of the supported platforms, that would explain why running jbe directly does not work. As for the java version, we recommend running with the JDK included in the RTC Eclipse client (if possible for your platform).

We've seen this occur once before in 103271: RTC Buildengine crashes after several hours with java.lang.NoClassDefFoundError and it turned out to be related to the permissions. JBE needs to have write access to the directory that it's started from in order to write temp files. I do find it surprising that it would fail in that way due to a permission issue.

Could you try running from your home directory instead.
i.e.
cd ~
/opt/java1.5/bin/java -jar ...

Regards,
Nick

permanent link
Kiran Nagara (10741823) | answered Oct 14 '10, 11:10 a.m.
We are running on HP-UX 11.11 which is not supported and the Java version is 1.5.18.

Well home directory did the trick, Its working now.

"Could you try running from your home directory instead.
i.e.
cd ~
/opt/java1.5/bin/java -jar ..."




Which platform or you running on, and which version of java are you using (./java -version)? If it's not one of the supported platforms, that would explain why running jbe directly does not work. As for the java version, we recommend running with the JDK included in the RTC Eclipse client (if possible for your platform).

We've seen this occur once before in 103271: RTC Buildengine crashes after several hours with java.lang.NoClassDefFoundError and it turned out to be related to the permissions. JBE needs to have write access to the directory that it's started from in order to write temp files. I do find it surprising that it would fail in that way due to a permission issue.

Could you try running from your home directory instead.
i.e.
cd ~
/opt/java1.5/bin/java -jar ...

Regards,
Nick

permanent link
Thomman TJ (9521111) | answered May 07 '11, 6:05 a.m.
When tried to start jazz build engine, jbe starts and dies immediately . While check for errors , found following error message found in the log ../jazz/..../configuration


java.lang.UnsatisfiedLinkError: /opt/java1.5/jre/lib/PA_RISC2.0/libnio.sl: Can't dlopen() a library containing Thread Local Storage:
/opt/oracle/PRAP/prapora/8.0.6/network/jre11/lib/PA_RISC/native_threads/libjava.sl
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1670)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.nio.ch.Util.load(Util.java:342)


Resolution :

export LD_PRELOAD=/opt/java1.5/jre/lib/PA_RISC2.0/libnio.sl:/opt/java1.5/jre/lib/PA_RISC2.0/libjava.sl

start jbe

./java -jar /u03/RTC/jazz/buildsystem/buildengine/eclipse/plugin/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar -repository ht
tps://hostname:9443/jazz -userId <build> -pass <build> -engineId <builden>

permanent link
Nick Edgar (6.5k711) | answered May 09 '11, 12:06 p.m.
JAZZ DEVELOPER
I've not seen that error before. Which platform are you running on? We recommend running with the JDK included in the RTC client (or server) if at all possible. See https://jazz.net/wiki/bin/view/Main/BuildFAQ#WhichJDK

Your answer


Register or 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.