"The specified folder not found" error with TC3.1 and StarTeam VCS
I'm having problems after upgrading from 3.0.1 to 3.1. We use StarTeam 5, and it worked fine with TeamCity 3.0.1 with the Starteam60.jar installed.
After upgrading I always get the error message "The specified folder not found" when checking the VCS root. All of our projects use the same root, so we are basically dead in the water right now. I'm hoping it's some sort of simple oversight on my part.
Starteam60.jar is still installed. The rest of TeamCity seems to be running just fine, I'm not getting any errors in the Tomcat stderr log.
Here's the stack trace I get in the teamcity-vcs.log:
WARN - jetbrains.buildServer.VCS - Error occured in test connection
jetbrains.buildServer.vcs.VcsException: The specified folder not found
at jetbrains.buildServer.buildTriggers.vcs.starteam.adapt.StarteamConnectionImpl.]]>(StarteamConnectionImpl.java:92)
at jetbrains.buildServer.buildTriggers.vcs.starteam.adapt.StarteamConnectionFactoryImpl.createConnection(StarteamConnectionFactoryImpl.java:17)
at jetbrains.buildServer.buildTriggers.vcs.starteam.StarteamSupport.testConnection(StarteamSupport.java:101)
at jetbrains.buildServer.controllers.admin.projects.EditVcsRootsController.doPost(EditVcsRootsController.java:160)
at jetbrains.buildServer.controllers.BaseFormXmlController$1.handleRequest(BaseFormXmlController.java:2)
at jetbrains.buildServer.controllers.AjaxRequestProcessor.processRequest(AjaxRequestProcessor.java:7)
at jetbrains.buildServer.controllers.BaseFormXmlController.doHandle(BaseFormXmlController.java:1)
at jetbrains.buildServer.controllers.BaseController.handleRequestInternal(BaseController.java:0)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:874)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:808)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFragmentFilter.java:15)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Please sign in to leave a comment.
Hello Ryan,
Would you please describe your folder tree structure and the URL you're using.
Thank you.
--
Sergey Anchipolevsky
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Sure,
\TeamName\SourceCode\
starteam://10.1.1.30:1024/TeamName/51_View/TeamName/SourceCode
The Project in StarTeam is "TeamName" and the view is "51_View". We use a custom StarTeam port on 1024.
Hello Ryan,
If TeamName is the root folder you don't need to specify it in the URL.
TeamCity 3.0 contained a bug wich has been fixed in 3.1.
So your URL should look as follows
starteam://10.1.1.30:1024/TeamName/51_View/SourceCode
Sorry for inconvenience.
--
Sergey Anchipolevsky
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
*It works! *Thanks, you might want to put a note into your upgrade guide!
+Connection Successful!
Client SDK version detected: 6.0
Server version reported: 5.1
ATTENTION:
Server and client SDK have different major versions.
This may (but not necessarily) cause problems during client-server interaction.+
Hello Ryan,
You're right. Will do.
Thank you.
--
Sergey Anchipolevsky
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"