Try to use -repositories file for acces to 2 ccm linked server, but jbe start failed
![](http://jazz.net/_images/myphoto/34e0ae09a3f252ca5291e41fc865b89d.jpg)
- 1 main RTC server 4.0.4 with /JTS and /ccm applications and
- 1 "cache" RTC server 4.0.4 with /ccm2 application registered into the main server
On the Main server I've a Project area with Streams as well as developpers Repository workspaces, 1 "main" repository workspace for Bulld purpose, 1 build engine and 1 build definition "Main" based on the "continuous load - IBM i" template and the "Main" Repo wrokspace.
On the Cache server I've a project area, A repository workspace "cache" used for Build, a Build engine, and a Build definition also based on the "continuous load - IBM i" template.
my goal is to do Build from the "Cache" server : I use Continuous Build from a Repository workspace created on the Cache server that is close to the Build machine (IBM i).
So I'm trying to use the "Repositories file" feature of the JBE but I'm unable to make the jbe working. it start bu have this error :
--------------------------------------------------------------
2014-09-16 09:01:50 [Jazz build engine] Exception occurred in build loop: Repository "https://PSVM-RTC404svr.arcadsoftware.fr:9443/ccm/" has not been configured for use in the repositories file
com.ibm.team.repository.common.TeamRepositoryException: Repository "https://PSVM-RTC404svr.arcadsoftware.fr:9443/ccm/" has not been configured for use in the repositories file
at com.ibm.team.build.internal.scm.RepositoryManager.getRepository(RepositoryManager.java:231)
at com.ibm.team.build.internal.engine.BuildLoop.getTeamRepository(BuildLoop.java:1455)
at com.ibm.team.build.internal.engine.BuildLoop.initializeRepositories(BuildLoop.java:1439)
at com.ibm.team.build.internal.engine.BuildLoop.getRepositoryManager(BuildLoop.java:1444)
at com.ibm.team.build.internal.engine.BuildLoop.getTeamRepository(BuildLoop.java:1455)
at com.ibm.team.build.internal.engine.BuildLoop.runLoop(BuildLoop.java:279)
at com.ibm.team.build.internal.engine.BuildLoop$1.run(BuildLoop.java:211)
at java.lang.Thread.run(Thread.java:738)
--------------------------------------------------------------
the generated repositories file is like this :
----------------------
### reporeg 0
https://main:9443/ccm/,,mmouchon,,false,oebPeEkyRQk=,_HayAs1bEEeOF7LsWFkefqA
https://cache:9443/ccm/,,mmouchon,,false,oebPeEkyRQk=,_4jnC8DghEeSxsuJn1_uUxA
-----------------------
Note that when I generate a password file it give a differrent value for the Crypted password !!! (I tried with both crypted sentences but same result).
My jbe server start sentence is this :
jbe.sh -jobName MMO_BEREPO -repository https://main:9443/ccm -engineID MMO_PSPWDEM0Repos -repositories /home/michel/.jazz-scm/repositories.txt
Note : the JBE run on IBM i
Does somebody know the Syntax of Repositories files ?
I've a doubt on the way it works: It seems the -Repository parameter indicate a repository that must be found into the Repositories file for user and Password, but my understanding of the message is that it doesn’t find it.
One answer
![](http://jazz.net/_images/myphoto/34e0ae09a3f252ca5291e41fc865b89d.jpg)