It's all about the answers!

Ask a question

Unable to restart synchronization engine...


Karim Heredia (622) | asked Jul 22 '08, 6:08 a.m.
Hi,

I have set up synchronization between ClearCase and RTC successfully. I managed also to exchange once the contents from one to the other with no problems.

My synchronization host is a Linux RedHat RHEL 5 system with RTC 1.0 RC4 and ClearCase 7.0.1. I verified that everything works fine for ClearCase, as we use it as our source control system already.

In one synchronization, there was a timeout due to network problems, so the synchronization stalled for 48 hours. After that time, I decided to stop the ClearCaseConnector process. I used kill -9 to remove the synchronization engine, as I couldn't find any option to do it from RTC.

Now, the problem is that RTC is reporting this error every time I want to restart the synchronization engine:


Sync:
[Sync] action: SYNCHRONIZE
[Sync] synchronization stream location string: Stream|URI:itemOid/com.ibm.team.scm.Workspace/_DiAgQEjlEd2AWoqu9yg4Ow
[Sync] synchronizer version number 'I20080530-1457'
[Sync] running on host '<removed>'
[Sync] Synchronization exception: Synchronized stream in use by other process


There is also this exception in the "Synchronization Stack Trace.0" file:


javax.wvcm.WvcmException: Synchronized stream in use by other process
at com.ibm.rational.wvcm.interop.InteropStream.lockInteropStream(InteropStream.java:420)
at com.ibm.rational.wvcm.interop.InteropStream.sync(InteropStream.java:3178)
at com.ibm.team.connector.scm.operations.ConnectorOps.synchronizeStream(ConnectorOps.java:158)
at com.ibm.team.connector.scm.task.ConnectorTasks.updateBuildResult(ConnectorTasks.java:87)
at com.ibm.team.build.ant.task.AbstractPublisherTask.doExecute(AbstractPublisherTask.java:107)
at com.ibm.team.build.ant.task.AbstractTeamBuildTask.execute(AbstractTeamBuildTask.java:419)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.Main.runBuild(Main.java:698)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)


I couldn't find any process that might be using this synchronized stream, and even restarted the synchronization host to start with a clean environment.

Any pointers would be helpful.

Thanks,

Karim

2 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Jul 22 '08, 7:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Please see the dynamic help topic: "Unlocking a synchronized stream".

In particular, it says:
---------
If the synchronization engine process is terminated or the Jazz Team
Server becomes unreachable during a synchronization, the synchronized
stream remains locked. You must unlock the stream and then re-start the
synchronization process.
To unlock a synchronized stream:

Open the ClearCase Synchronized Streams view, right-click the stream
that is locked and click Properties.
On the ClearCase Provider Properties page, click Unlock.
Re-start the synchronization process. For more information, see
Re-starting the synchronization process.
---------

Cheers,
Geoff


karim.heredia wrote:
Hi,

I have set up synchronization between ClearCase and RTC successfully.
I managed also to exchange once the contents from one to the other
with no problems.

My synchronization host is a Linux RedHat RHEL 5 system with RTC 1.0
RC4 and ClearCase 7.0.1. I verified that everything works fine for
ClearCase, as we use it as our source control system already.

In one synchronization, there was a timeout due to network problems,
so the synchronization stalled for 48 hours. After that time, I
decided to stop the ClearCaseConnector process. I used kill -9 to
remove the synchronization engine, as I couldn't find any option to
do it from RTC.

Now, the problem is that RTC is reporting this error every time I want
to restart the synchronization engine:


Sync:
action: SYNCHRONIZE
synchronization stream location string:
Stream|URI:itemOid/com.ibm.team.scm.Workspace/_DiAgQEjlEd2AWoqu9yg4Ow
synchronizer version number 'I20080530-1457'
running on host '<removed>'
Synchronization exception: Synchronized stream
in use by other process


There is also this exception in the "Synchronization Stack
Trace.0" file:


javax.wvcm.WvcmException: Synchronized stream in use by other
process
at
com.ibm.rational.wvcm.interop.InteropStream.lockInteropStream(InteropStream.java:420)
at
com.ibm.rational.wvcm.interop.InteropStream.sync(InteropStream.java:3178)
at
com.ibm.team.connector.scm.operations.ConnectorOps.synchronizeStream(ConnectorOps.java:158)
at
com.ibm.team.connector.scm.task.ConnectorTasks.updateBuildResult(ConnectorTasks.java:87)
at
com.ibm.team.build.ant.task.AbstractPublisherTask.doExecute(AbstractPublisherTask.java:107)
at
com.ibm.team.build.ant.task.AbstractTeamBuildTask.execute(AbstractTeamBuildTask.java:419)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
java.lang.reflect.Method.invoke(Method.java:618)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at
org.apache.tools.ant.Task.perform(Task.java:348)
at
org.apache.tools.ant.Target.execute(Target.java:357)
at
org.apache.tools.ant.Target.performTasks(Target.java:385)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at
org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at
org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at
org.apache.tools.ant.Main.runBuild(Main.java:698)
at
org.apache.tools.ant.Main.startAnt(Main.java:199)
at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)


I couldn't find any process that might be using this synchronized
stream, and even restarted the synchronization host to start with a
clean environment.

Any pointers would be helpful.

Thanks,

Karim

permanent link
Karim Heredia (622) | answered Jul 22 '08, 9:59 a.m.
Thanks Geoff. Worked perfectly,

Karim

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.