Using TeamPlatform safely in a multithreaded environment
Hi,
I have written a Hudson plugin for RTC SCM. It works fine for me most of the time, however I occasionally see problems with TeamPlatform not being started when I think it should be and other times it won't start at all.
I'm guessing this is because when I see the problems I am using static elements of TeamPlatform from multiple threads simultaneously.
Could this be the root of my problem?
Hope someone can help.
TIA
Regs, Andrew
I have written a Hudson plugin for RTC SCM. It works fine for me most of the time, however I occasionally see problems with TeamPlatform not being started when I think it should be and other times it won't start at all.
I'm guessing this is because when I see the problems I am using static elements of TeamPlatform from multiple threads simultaneously.
Could this be the root of my problem?
Hope someone can help.
TIA
Regs, Andrew
One answer
did you get an answer to this? i may have a similar issue in that i am trying to create a web app which will have more than one instance of TeamPlatform
Comments
I found these:
But I still encountered the same problem, though my RTC version is 6.0.3 :
java.lang.IllegalStateException: Already stopped
at com.ibm.team.repository.common.internal.util.InternalTeamPlatform.shutdown(InternalTeamPlatform.java:120)
at com.ibm.team.repository.client.TeamPlatform.shutdown(TeamPlatform.java:63)