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

jbe compiled to PPC64

Hi, I know RTC 1.0 isn't supported on Linux/PPC64 (at least as far as I
know), but I've been trying to run the jbe on it anyway - that's the
server machine I've been given and it's fast so I don't want to give it up.

So here's the thing ... I would need to build the jbe for PPC64
architecture and I was wondering if anyone on the Build team has a
binary I can use?

Many thanks,
Jeremy

0 votes



6 answers

Permanent link
I managed to run jbe with the following Windows batch file, which, with
some minor platform specific adjustments, is likely to work on other
platforms. Clearly this should be all-on-one-line.

C:\jazz\buildsystem\buildengine\eclipse>java -Xmx512M -jar
plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar -app
lication com.ibm.team.build.engine.jazzBuildEngine

CRRTC3501E: Missing required argument "-repository".

Example usage: jbe -repository http://repository/jazz -userId buildUser

Required arguments:
-repository <repository> (address of a Jazz repository)
-userId <user> (user id of a user defined in the Jazz repository)

Optional arguments:
-engineId <engine> (engine id of a build engine defined in the Jazz
repository, default is "default")
-pass <password> (default is empty password)
-passwordFile <password> (path to a file created with
-createPasswordFile)
-createPasswordFile <password> (for creating a password file)
-sleepTime <seconds> (sleep interval for build request polling,
default is 30 seconds)
-verbose (for detailed logging of build engine activity)

0 votes


Permanent link
This is a common question. I've created a wiki topic to answer it.

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


---
Ryan Manwiller
Jazz Team

0 votes


Permanent link
Simon, thanks v. much for this!

On 16/09/2008 16:29, Simon Archer wrote:
I managed to run jbe with the following Windows batch file, which, with
some minor platform specific adjustments, is likely to work on other
platforms. Clearly this should be all-on-one-line.

C:\jazz\buildsystem\buildengine\eclipse>java -Xmx512M -jar
plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar -app
lication com.ibm.team.build.engine.jazzBuildEngine

CRRTC3501E: Missing required argument "-repository".

Example usage: jbe -repository http://repository/jazz -userId buildUser

Required arguments:
-repository <repository> (address of a Jazz repository)
-userId <user> (user id of a user defined in the Jazz repository)

Optional arguments:
-engineId <engine> (engine id of a build engine defined in the Jazz
repository, default is "default")
-pass <password> (default is empty password)
-passwordFile <password> (path to a file created with
-createPasswordFile)
-createPasswordFile <password> (for creating a password file)
-sleepTime <seconds> (sleep interval for build request polling,
default is 30 seconds)
-verbose (for detailed logging of build engine activity)

0 votes


Permanent link
Hi Ryan, thanks. I notice that you give the ADMIN user id and password
to jbe to access the repository. Does this have to be an admin? The
reason I ask is that I can't get it to work with an id that has user
only access even if I've given the user a build license or a developer
license or both! It seems to be a permissions problem with performing
the getNextRequest action. The exception I get in the jbe output is:

com.ibm.team.process.common.advice.TeamOperationCanceledException:
'Control The Build Lifecycle' failed. Permission denied.
at
com.ibm.team.process.internal.common.advice.runtime.OperationAdviceManager.advise(OperationAdviceManager.java:351)
at
com.ibm.team.process.internal.common.util.AbstractProcess.doAdvise(AbstractProcess.java:170)
at
com.ibm.team.process.internal.service.ServerProcess.access$1(ServerProcess.java:1)
at
com.ibm.team.process.internal.service.ServerProcess$2.run(ServerProcess.java:116)
at
com.ibm.team.repository.service.internal.TransactionService$1.run(TransactionService.java:99)
at
com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:455)
at
com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:286)
at
com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:241)
at
com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:74)
at
com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:63)
at sun.reflect.GeneratedMethodAccessor90.invoke(null)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy32.runInTransaction(null)
at
com.ibm.team.process.internal.service.ProcessService.runInTransaction(ProcessService.java:2519)
at
com.ibm.team.process.internal.service.ProcessService.runInTransaction(ProcessService.java:2526)
at
com.ibm.team.process.internal.service.ServerProcess.adviseAndExecute(ServerProcess.java:114)
at
com.ibm.team.build.internal.service.TeamBuildRequestService.getNextRequest(TeamBuildRequestService.java:470)
at
com.ibm.team.build.internal.service.TeamBuildRequestService.getNextRequest(TeamBuildRequestService.java:439)
at sun.reflect.GeneratedMethodAccessor85.invoke(null)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy128.getNextRequest(null)
at sun.reflect.GeneratedMethodAccessor85.invoke(null)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleMethod(AbstractTeamServerServlet.java:1084)
at
com.ibm.team.repository.servlet.AbstractTeamServerServlet.executeMethod(AbstractTeamServerServlet.java:834)
at
com.ibm.team.repository.servlet.AbstractTeamServerServlet.doPost(AbstractTeamServerServlet.java:636)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at
com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1381)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:810)
at
com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:321)
at
com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeFault(MarshallerUtil.java:260)
at
com.ibm.team.repository.transport.client.RemoteTeamService.constructExceptionFromFault(RemoteTeamService.java:546)
at
com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:461)
at
com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:184)
at
com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
at $Proxy12.getNextRequest(Unknown Source)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at
com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:149)
at
com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:84)
at $Proxy12.getNextRequest(Unknown Source)
at
com.ibm.team.build.internal.client.TeamBuildRequestClient$1GetNextRequestRunnable.run(TeamBuildRequestClient.java:70)
at
com.ibm.team.process.common.advice.ProcessRunnable.internalRun(ProcessRunnable.java:123)
at
com.ibm.team.process.internal.common.advice.runtime.OperationAdviceManager.runRunnable(OperationAdviceManager.java:1317)
at
com.ibm.team.process.internal.common.advice.runtime.OperationAdviceManager.execute(OperationAdviceManager.java:192)
at
com.ibm.team.process.internal.client.ProcessClientService.execute(ProcessClientService.java:566)
at
com.ibm.team.build.internal.client.TeamBuildRequestClient$1.run(TeamBuildRequestClient.java:84)
at
com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1123)
at
com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:76)
at
com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1116)
at
com.ibm.team.build.internal.client.AbstractTeamBuildClient.callCancelableService(AbstractTeamBuildClient.java:266)
at
com.ibm.team.build.internal.client.TeamBuildRequestClient.getNextRequest(TeamBuildRequestClient.java:78)
at
com.ibm.team.build.internal.engine.BuildLoop.getNextRequest(BuildLoop.java:1025)
at
com.ibm.team.build.internal.engine.BuildLoop.runLoop(BuildLoop.java:208)
at
com.ibm.team.build.internal.engine.BuildLoop$1.run(BuildLoop.java:161)
at java.lang.Thread.run(Thread.java:810)
Name: Control The Build Lifecycle
Id: com.ibm.team.build.server.buildLifecycle
Severity: ERROR
Summary: Permission Denied
Description: You don't have permission to perform the
following actions:
Retrieve the Next Build Request (getNextRequest)
Severity: ERROR

Thanks,
Jeremy




On 16/09/2008 16:47, Ryan Manwiller wrote:
This is a common question. I've created a wiki topic to answer it.

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


---
Ryan Manwiller
Jazz Team

0 votes


Permanent link
You should not use ADMIN.

You should have a build user (it can have any user id). This build user must
have the Build System license.

In addition, the user must have all of the build related permissions. Your
build definition has an associated team area. You can see this team area in
the build definition editor. The permissions configured in this team area
(or inherited from its parent) will govern the build user (based on its
roles), just like any other user. My guess is that you've accidentally
removed permission for the build user. If you need help granting the
permissions, reply and I will add more detail.

---
Ryan Manwiller
Jazz Team

0 votes


Permanent link
Hi, thanks. It turned out that the build id only had the 'default'
process role and not the team-member role. Adding team-member role fixed it.

Many thanks,
Jeremy

On 17/09/2008 17:00, Ryan Manwiller wrote:
You should not use ADMIN.

You should have a build user (it can have any user id). This build user
must have the Build System license.

In addition, the user must have all of the build related permissions.
Your build definition has an associated team area. You can see this team
area in the build definition editor. The permissions configured in this
team area (or inherited from its parent) will govern the build user
(based on its roles), just like any other user. My guess is that you've
accidentally removed permission for the build user. If you need help
granting the permissions, reply and I will add more detail.

---
Ryan Manwiller
Jazz Team


0 votes

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: Sep 16 '08, 10:33 a.m.

Question was seen: 5,533 times

Last updated: Sep 16 '08, 10:33 a.m.

Confirmation Cancel Confirm