It's all about the answers!

Ask a question

CC Synchrnisation engine not starting - hints?


Ralph Schoon (63.4k33646) | asked Nov 18 '08, 6:07 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

we are trying to setup the cc-RTC (1.0.1) synchronization up at a customer site.

The synchronization stream always hangs in

"Synchronization pending, but synchronization engine 'main_proto_rtc-testsetup_MAIN_01.synchronizer' is not active, may need to be restarted"

The user has rights to access CC (read write), there is a branch and data, the user has rights in RTC to do anything possible.

However the sync engine (installed from zip) does not come up. Unlocking does not solve the problem and we tried to start from scratch several times.

I am running out of options and I don't find anywhere to look for debugg or to start the engine manually. Any hint?

Thanks,

Ralph

Accepted answer


permanent link
Geoffrey Clemm (30.1k33035) | answered Nov 18 '08, 11:28 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
This issue is being discussed in workitem 64560.

Quoting from a comment in that workitem, if the sync engine is not being
started by the GUI request, you can debug the startup of the sync engine
as follows:

Go to the directory identified by the SCRIPT_LOCATION_PROPERTY of the
Jazz provider (on windows, it would be C:\Documents and Settings\<user>\ClearCaseConnector). There should be a directory there named
\<stream>.synchronizer, in which there should be a file called
synchronizer.bat, with contents something like:

start "synchronization engine for stream Int1" /D"C:\Documents and
Settings\caroly\ClearCaseConnector\Int1.synchronizer" /MIN "C:\Program
Files\IBM\TeamConcert\buildsystem\buildengine\eclipse\jbe" -repository
"https://localhost:9443/jazz/" -userId "ccsync" -passwordFile
"../ccsync.cred.txt" -engineId "Int1.synchronizer" -sleepTime 20 -vm
"C:\Program Files\IBM\TeamConcert\jdk\bin\java.exe"

Copy the file to, say, synchronizer-debug.bat. Delete the first part of
the line, up until the path to the jbe; e.g. for my file the result
would look like:

"C:\Program Files\IBM\TeamConcert\buildsystem\buildengine\eclipse\jbe"
-repository "https://localhost:9443/jazz/" -userId "ccsync"
-passwordFile "../ccsync.cred.txt" -engineId "Int1.synchronizer"
-sleepTime 20 -vm "C:\Program Files\IBM\TeamConcert\jdk\bin\java.exe"

Then open a Command Prompt window and run synchronizer-debug2.bat from
the command line. You should then be able to say why it is failing.

Cheers,
Geoff


rschoon wrote:
Hi,

we tried a couple of things.
We ru on Windows. I moved the Apache Tomcat for the JazzTeamServer
into a service. So the JazzTeamServer is now launched as a startup
service.

Then for one time we could see the cmd/build console coming up on the
machine
:D
Unfortunately it was more than one that came up, maybe because I got
impatient and did not see the first one happening. So I killed both,
assuming that it would come up after I succeeded once.

It did not :cry:

We tried different things, different users to run the service,
different users to request the engine to be restarted. To no avail.
:shock:

Any suggestions? How can I manually start the sync engine process? My
main issue is I don't see any error - nothing to work with.

Thanks,

Ralph
Ralph Schoon selected this answer as the correct answer

3 other answers



permanent link
Ralph Schoon (63.4k33646) | answered Nov 18 '08, 10:38 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

we tried a couple of things.
We ru on Windows. I moved the Apache Tomcat for the JazzTeamServer into a service. So the JazzTeamServer is now launched as a startup service.

Then for one time we could see the cmd/build console coming up on the machine
:D
Unfortunately it was more than one that came up, maybe because I got impatient and did not see the first one happening. So I killed both, assuming that it would come up after I succeeded once.

It did not :cry:

We tried different things, different users to run the service, different users to request the engine to be restarted. To no avail. :shock:

Any suggestions? How can I manually start the sync engine process? My main issue is I don't see any error - nothing to work with.

Thanks,

Ralph

permanent link
Brian Nelson (361) | answered Nov 18 '08, 1:18 p.m.
Go into the ClearCase Synchronized Streams view, right click on the sync
stream in
question, and select Restart Synchronization Engine.

One should have been started for you by the wizard, unless you un-checked
the checkbox
on the last page of the wizard. But if you shut down your system, that's
the case when you'd
need to restart the sync engine.


--
Brian Nelson
Jazz ClearCase Connector Team

"rschoon" <ralph> wrote in message
news:gfuo3f$i8b$1@localhost.localdomain...
Hi,

we tried a couple of things.
We ru on Windows. I moved the Apache Tomcat for the JazzTeamServer
into a service. So the JazzTeamServer is now launched as a startup
service.

Then for one time we could see the cmd/build console coming up on the
machine
:D
Unfortunately it was more than one that came up, maybe because I got
impatient and did not see the first one happening. So I killed both,
assuming that it would come up after I succeeded once.

It did not :cry:

We tried different things, different users to run the service,
different users to request the engine to be restarted. To no avail.
:shock:

Any suggestions? How can I manually start the sync engine process? My
main issue is I don't see any error - nothing to work with.

Thanks,

Ralph

permanent link
Ralph Schoon (63.4k33646) | answered Nov 23 '08, 10:32 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hello Brian,

thanks for trying to help. This seems to be a harder one in the customers
environment.

Ralph

Go into the ClearCase Synchronized Streams view, right click on the
sync
stream in
question, and select Restart Synchronization Engine.
One should have been started for you by the wizard, unless you
un-checked
the checkbox
on the last page of the wizard. But if you shut down your system,
that's
the case when you'd
need to restart the sync engine.
"rschoon" <ralph> wrote in
message news:gfuo3f$i8b$1@localhost.localdomain...

Hi,

we tried a couple of things.
We ru on Windows. I moved the Apache Tomcat for the JazzTeamServer
into a service. So the JazzTeamServer is now launched as a startup
service.
Then for one time we could see the cmd/build console coming up on the
machine
:D
Unfortunately it was more than one that came up, maybe because I got
impatient and did not see the first one happening. So I killed both,
assuming that it would come up after I succeeded once.
It did not :cry:

We tried different things, different users to run the service,
different users to request the engine to be restarted. To no avail.
:shock:

Any suggestions? How can I manually start the sync engine process? My
main issue is I don't see any error - nothing to work with.

Thanks,

Ralph

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.