Error:Not using a proxy to reach RTC URL with the scheduled builds
I have one buildengine: TestIntegrationBuildEngine and two build definitions :
CIBuild: For CI builds
MilestoneBuild: For Milestone builds
Below mentioned are the contents for the CI build:
Build.proj:
<target Name="CIBuild">
<calltarget Targets="Compile"/>
<<calltarget Targets="AfterCIBuild"/>
</target>
<import Project="TestCIProperties.xml"/>
<target Name="AfterCIBuild" Condition="'$(fetchDestination)' !='' ">
<exec Command="$(AntCommand) -DactivityLabel=publishActivity $(propertyFile) $(jazzbuildForCI) publishActivity"/>
</target>
TestCIProperties.xml:
<project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<propertygroup>
<antcommand>"C:\Program Files (x86)\IBM\TeamConcertBuild\jre\bin\java.exe" -cp "C:\Program Files (x86)\IBM\TeamConcertBuild\buildsystem\buildengine\eclipse\plugins\org.apache.ant_1.7.1.v20100518-1145\lib\ant-launcher.jar" org.apache.tools.ant.launch.Launcher -cp "C:\Program Files (x86)\IBM\TeamConcert\jdk\lib" -lib "C:\Program Files (x86)\IBM\TeamConcertBuild\buildsystem\buildtoolkit"</antcommand>
<propertyfile>-propertyfile "C:\Program Files (x86)\IBM\TeamConcertBuild\buildsystem\buildengine\eclipse\IWRF_CIBuild.properties"</propertyfile>
<jazzbuildforci>-f $(fetchDestination)\dev\jazzbuildForCI.xml</jazzbuildforci>
</propertygroup>
</project>
jazzbuildForCI.xml:
<project name="jazz build targets" default="startActivity">
<property name="userId" value="xxxxxxxxxxxxxxxxx"/>
<property name="password" value="xxxxxxxx"/>
<import file="C:\Program Files (x86)\IBM\TeamConcertBuild\buildsystem\buildtoolkit\BuildToolkitTaskDefs.xml"/>
<taskdef name="if" classname="ise.antelope.tasks.IfTask"/>
<target name="startActivity">
<startbuildactivity repositoryAddress="${repositoryAddress}" <="" div="">
userId="${userId}"
password="${password}"
activityIdProperty="buildactivityId"
label="building..."
autoComplete="true"
verbose="true"
buildResultUUID="${buildResultUUID}" />
</target>
<target name="publishActivity">
<tstamp/>
<startbuildactivity <="" div="">
buildResultUUID="${buildResultUUID}"
label="Publishing build artifacts..."
autoComplete="true"
repositoryAddress="${repositoryAddress}"
userId="${userId}"
password="${password}"/>
<if name="IsMileStoneBuild" value="true">
<artifactfilepublisher repositoryAddress="${repositoryAddress}" <="" div="">
userId="${userId}"
password="${password}"
buildResultUUID="${buildResultUUID}"
filePath="${BuildOutputZipFileName}"
label="Test Deployment Zip" />
</if>
</target>
</project>
I have managed the properties files, load directory separate for CI and Milestone builds . I am able to trigger the CI and Milestone builds successfully in case where I am running the jbe engine manually. Now when I am trying to run the jbe as a service in windows and requesting a CI or Milestone build then I am getting the below mentioned error.
BUILD FAILED:
[startBuildActivity] Not using a proxy to reach RTC URL
[startBuildActivity] Error: com.ibm.team.build.common.TeamBuildStateException: Unable to "start" build activity with label because the build with ID, build definition ID , is in the "COMPLETED" state.
[startBuildActivity] at com.ibm.team.build.internal.service.TeamBuildService.createIllegalBuildStateForActivityException(TeamBuildService.java:1583)
[startBuildActivity] at com.ibm.team.build.internal.service.TeamBuildService$20.run(TeamBuildService.java:1319)
[startBuildActivity] at com.ibm.team.build.internal.service.AbstractTeamBuildService.runAsRetryable(AbstractTeamBuildService.java:404)
[startBuildActivity] at com.ibm.team.build.internal.service.AbstractTeamBuildService.runAsRetryableIncludingStaleData(AbstractTeamBuildService.java:363)
[startBuildActivity] at com.ibm.team.build.internal.service.TeamBuildService.startBuildActivityWithoutProcess(TeamBuildService.java:1309)
[startBuildActivity] at com.ibm.team.build.internal.service.TeamBuildService$21.run(TeamBuildService.java:1420)
[startBuildActivity] at com.ibm.team.process.internal.common.advice.runtime.OperationAdviceManager.runOperation(OperationAdviceManager.java:1391)
[startBuildActivity] at com.ibm.team.process.internal.common.advice.runtime.OperationAdviceManager.advise(OperationAdviceManager.java:325)
[startBuildActivity] at com.ibm.team.process.internal.common.util.AbstractProcess.doAdvise(AbstractProcess.java:197)
[startBuildActivity] at com.ibm.team.process.internal.service.ServerProcess.access$2(ServerProcess.java:1)
[startBuildActivity] at com.ibm.team.process.internal.service.ServerProcess$2.run(ServerProcess.java:159)
[startBuildActivity] at com.ibm.team.repository.service.internal.PrimitiveTransactionService$3.run(PrimitiveTransactionService.java:163)
[startBuildActivity] at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:501)
[startBuildActivity] at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:322)
[startBuildActivity] at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:448)
[startBuildActivity] at sun.reflect.GeneratedMethodAccessor25.invoke(null)
[startBuildActivity] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[startBuildActivity] at java.lang.reflect.Method.invoke(Method.java:611)
[startBuildActivity] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
[startBuildActivity] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
[startBuildActivity] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
[startBuildActivity] at com.sun.proxy.$Proxy112.withCurrentConnection(null)
[startBuildActivity] at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:318)
[startBuildActivity] at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:273)
[startBuildActivity] at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:96)
[startBuildActivity] at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:91)
[startBuildActivity] at sun.reflect.GeneratedMethodAccessor100.invoke(null)
[startBuildActivity] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[startBuildActivity] at java.lang.reflect.Method.invoke(Method.java:611)
[startBuildActivity] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
[startBuildActivity] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
[startBuildActivity] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
[startBuildActivity] at com.sun.proxy.$Proxy151.runInTransaction(null)
[startBuildActivity] at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:37)
[startBuildActivity] at sun.reflect.GeneratedMethodAccessor153.invoke(null)
[startBuildActivity] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[startBuildActivity] at java.lang.reflect.Method.invoke(Method.java:611)
[startBuildActivity] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
[startBuildActivity] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
[startBuildActivity] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
[startBuildActivity] at com.sun.proxy.$Proxy239.runInTransaction(null)
[startBuildActivity] at com.ibm.team.process.internal.service.ProcessService.runInTransaction(ProcessService.java:4786)
[startBuildActivity] at com.ibm.team.process.internal.service.ProcessService.runInTransaction(ProcessService.java:4793)
[startBuildActivity] at com.ibm.team.process.internal.service.ServerProcess.adviseAndExecute(ServerProcess.java:156)
[startBuildActivity] at com.ibm.team.build.internal.service.TeamBuildService.startBuildActivity(TeamBuildService.java:1416)
[startBuildActivity] at sun.reflect.GeneratedMethodAccessor855.invoke(null)
[startBuildActivity] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[startBuildActivity] at java.lang.reflect.Method.invoke(Method.java:611)
[startBuildActivity] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
[startBuildActivity] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
[startBuildActivity] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
[startBuildActivity] at com.sun.proxy.$Proxy452.startBuildActivity(null)
[startBuildActivity] at sun.reflect.GeneratedMethodAccessor855.invoke(null)
[startBuildActivity] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[startBuildActivity] at java.lang.reflect.Method.invoke(Method.java:611)
[startBuildActivity] at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleMethod(AbstractTeamServerServlet.java:1376)
[startBuildActivity] at com.ibm.team.repository.servlet.AbstractTeamServerServlet.executeMethod(AbstractTeamServerServlet.java:932)
[startBuildActivity] at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doPost(AbstractTeamServerServlet.java:704)
[startBuildActivity] at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
[startBuildActivity] at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2201)
[startBuildActivity] at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1990)
[startBuildActivity] at com.ibm.team.repository.servlet.AbstractTeamServerServlet.access$0(AbstractTeamServerServlet.java:1975)
[startBuildActivity] at com.ibm.team.repository.servlet.AbstractTeamServerServlet$1.service(AbstractTeamServerServlet.java:214)
[startBuildActivity] at com.ibm.team.repository.internal.service.auth.impl.JAuthHandler$1.run(JAuthHandler.java:109)
[startBuildActivity] at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1629)
[startBuildActivity] at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[startBuildActivity] at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
[startBuildActivity] at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
[startBuildActivity] at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
[startBuildActivity] at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
[startBuildActivity] at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[startBuildActivity] at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
[startBuildActivity] at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:74)
[startBuildActivity] at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[startBuildActivity] at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1225)
[startBuildActivity] at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
[startBuildActivity] at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
[startBuildActivity] at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
[startBuildActivity] at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
[startBuildActivity] at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
[startBuildActivity] at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:165)
[startBuildActivity] at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:198)
[startBuildActivity] at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[startBuildActivity] at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[startBuildActivity] at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
[startBuildActivity] at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
[startBuildActivity] at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
[startBuildActivity] at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:908)
[startBuildActivity] at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
[startBuildActivity] at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
[startBuildActivity] at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:453)
[startBuildActivity] at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515)
[startBuildActivity] at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:306)
[startBuildActivity] at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
[startBuildActivity] at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
[startBuildActivity] at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:166)
[startBuildActivity] at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[startBuildActivity] at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[startBuildActivity] at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
[startBuildActivity] at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
[startBuildActivity] at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
[startBuildActivity] at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
[startBuildActivity] at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1691)
[startBuildActivity] at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:326)
[startBuildActivity] at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:296)
[startBuildActivity] at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeFault(MarshallerUtil.java:261)
[startBuildActivity] at com.ibm.team.repository.transport.client.RemoteTeamService.constructExceptionFromFault(RemoteTeamService.java:609)
[startBuildActivity] at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:493)
[startBuildActivity] at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:194)
[startBuildActivity] at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
[startBuildActivity] at $Proxy13.startBuildActivity(Unknown Source)
[startBuildActivity] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[startBuildActivity] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
[startBuildActivity] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[startBuildActivity] at java.lang.reflect.Method.invoke(Method.java:611)
[startBuildActivity] at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:164)
[startBuildActivity] at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:88)
[startBuildActivity] at $Proxy13.startBuildActivity(Unknown Source)
[startBuildActivity] at com.ibm.team.build.internal.client.TeamBuildClient$1StartBuildActivityRunnable.run(TeamBuildClient.java:289)
[startBuildActivity] at com.ibm.team.process.internal.common.advice.runtime.OperationAdviceManager.runRunnable(OperationAdviceManager.java:1453)
[startBuildActivity] at com.ibm.team.process.internal.common.advice.runtime.OperationAdviceManager.execute(OperationAdviceManager.java:204)
[startBuildActivity] at com.ibm.team.process.internal.client.ProcessClientService.execute(ProcessClientService.java:783)
[startBuildActivity] at com.ibm.team.build.internal.client.TeamBuildClient$9.run(TeamBuildClient.java:303)
[startBuildActivity] at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1288)
[startBuildActivity] at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)
[startBuildActivity] at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1281)
[startBuildActivity] at com.ibm.team.build.internal.client.AbstractTeamBuildClient.callCancelableService(AbstractTeamBuildClient.java:266)
[startBuildActivity] at com.ibm.team.build.internal.client.TeamBuildClient.startBuildActivity(TeamBuildClient.java:297)
[startBuildActivity] at com.ibm.team.build.ant.task.StartBuildActivityTask.updateBuildResult(StartBuildActivityTask.java:153)
[startBuildActivity] at com.ibm.team.build.ant.task.AbstractPublisherTask.doExecute(AbstractPublisherTask.java:105)
[startBuildActivity] at com.ibm.team.build.ant.task.AbstractTeamBuildTask.execute(AbstractTeamBuildTask.java:661)
[startBuildActivity] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[startBuildActivity] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[startBuildActivity] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[startBuildActivity] at java.lang.reflect.Method.invoke(Method.java:611)
[startBuildActivity] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[startBuildActivity] at org.apache.tools.ant.Task.perform(Task.java:348)
[startBuildActivity] at org.apache.tools.ant.Target.execute(Target.java:357)
[startBuildActivity] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[startBuildActivity] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[startBuildActivity] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[startBuildActivity] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[startBuildActivity] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[startBuildActivity] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[startBuildActivity] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[startBuildActivity] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[startBuildActivity] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Can anyone help me to resolve the issue?